oh-my-til 0.14.0 → 1.0.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/README.ko.md +25 -16
- package/README.md +25 -16
- package/dist/cli.js +117 -95
- package/main.js +108 -116
- package/manifest.json +1 -1
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -15,7 +15,7 @@ AI 기반 TIL(Today I Learned) 학습 워크플로우를 위한 Claude Code 플
|
|
|
15
15
|
- **터미널 임베딩** — Obsidian 사이드바에서 Claude Code 터미널 실행 (xterm.js + node-pty)
|
|
16
16
|
- **MCP 서버 내장** — Claude Code가 HTTP로 vault에 직접 접근 (별도 플러그인 불필요)
|
|
17
17
|
- **학습 대시보드** — TIL 통계, 카테고리별 학습 현황을 한눈에
|
|
18
|
-
- **스킬 자동 설치** — `/til`, `/research`, `/backlog`, `/save`, `/til-review`, `/dashboard
|
|
18
|
+
- **스킬 자동 설치** — `/til`, `/research`, `/backlog`, `/save`, `/til-review`, `/dashboard` 명령을 바로 사용 가능
|
|
19
19
|
- **간격 반복 복습 (SRS)** — SM-2 알고리즘 기반 TIL 복습 스케줄링
|
|
20
20
|
- **마크다운 링크 감지** — 터미널의 `[텍스트](경로)` 링크를 클릭하면 노트 열기 (CJK 문자 지원)
|
|
21
21
|
- **백로그 → TIL 연동** — 빈 백로그 링크 클릭 시 TIL 학습 세션 시작 제안
|
|
@@ -25,14 +25,30 @@ AI 기반 TIL(Today I Learned) 학습 워크플로우를 위한 Claude Code 플
|
|
|
25
25
|
|
|
26
26
|
```
|
|
27
27
|
커맨드 팔레트 → 터미널 열기 → Claude Code 자동 시작
|
|
28
|
-
→ /til, /backlog, /research, /save, /til-review, /dashboard
|
|
28
|
+
→ /til, /backlog, /research, /save, /til-review, /dashboard 스킬 실행
|
|
29
29
|
→ Claude가 리서치 → 대화형 학습 → TIL 마크다운 저장
|
|
30
30
|
→ 새 파일 감지 → 에디터에서 자동 열기
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## 설치
|
|
34
34
|
|
|
35
|
-
### 방법 A:
|
|
35
|
+
### 방법 A: Claude Code Plugin (권장)
|
|
36
|
+
|
|
37
|
+
Claude Code 플러그인으로 직접 설치 — 스킬, MCP 서버, 훅이 자동 등록됩니다.
|
|
38
|
+
|
|
39
|
+
**요구 사항:** [Node.js](https://nodejs.org) 18 이상 / [Claude Code](https://docs.anthropic.com/en/docs/claude-code) v1.0.33 이상
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# marketplace 등록 (project scope 권장 — 해당 TIL vault에서만 활성화)
|
|
43
|
+
claude plugin marketplace add https://github.com/SongYunSeop/oh-my-til.git --scope project
|
|
44
|
+
|
|
45
|
+
# 플러그인 설치
|
|
46
|
+
claude plugin install oh-my-til@oh-my-til --scope project
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
스킬은 네임스페이스가 적용됩니다: `/oh-my-til:til`, `/oh-my-til:research`, `/oh-my-til:backlog` 등.
|
|
50
|
+
|
|
51
|
+
### 방법 B: 독립 CLI (Obsidian 없이)
|
|
36
52
|
|
|
37
53
|
git clone 없이 `npx`만으로 바로 시작할 수 있습니다.
|
|
38
54
|
|
|
@@ -65,7 +81,7 @@ git clone 없이 `npx`만으로 바로 시작할 수 있습니다.
|
|
|
65
81
|
|
|
66
82
|
> **팁:** 경로 없이 `npx oh-my-til init`을 실행하면 현재 디렉토리에 설치됩니다.
|
|
67
83
|
|
|
68
|
-
### 방법
|
|
84
|
+
### 방법 C: Obsidian 플러그인
|
|
69
85
|
|
|
70
86
|
**요구 사항:** [Obsidian](https://obsidian.md) v1.5.0 이상 / [Node.js](https://nodejs.org) 18 이상 / [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) (`claude`)
|
|
71
87
|
|
|
@@ -85,15 +101,6 @@ ELECTRON_VERSION=37.10.2 npx oh-my-til init /path/to/your/vault
|
|
|
85
101
|
|
|
86
102
|
> Electron 버전 확인: Obsidian 개발자 도구(Ctrl+Shift+I)에서 `process.versions.electron` 실행
|
|
87
103
|
|
|
88
|
-
#### Claude Code로 설치
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
git clone https://github.com/SongYunSeop/oh-my-til.git
|
|
92
|
-
cd oh-my-til
|
|
93
|
-
claude
|
|
94
|
-
# 실행 후: /install-plugin /path/to/your/vault
|
|
95
|
-
```
|
|
96
|
-
|
|
97
104
|
#### 수동 설치 (소스에서)
|
|
98
105
|
|
|
99
106
|
```bash
|
|
@@ -155,7 +162,9 @@ MCP 서버 연결 시 Claude Code에서 사용할 수 있는 도구:
|
|
|
155
162
|
| **backlog** | `/backlog [카테고리]` | 학습 백로그 조회 및 진행 상황 요약 |
|
|
156
163
|
| **save** | *(/til에서 자동 호출)* | TIL 마크다운 저장 + Daily 노트, MOC, 백로그 연동 |
|
|
157
164
|
| **til-review** | `/til-review [카테고리]` | SRS 기반 간격 반복 복습 세션 (SM-2 알고리즘) |
|
|
158
|
-
| **
|
|
165
|
+
| **dashboard** | `/dashboard` | 학습 대시보드 — 통계, 활동 히트맵, 카테고리, 백로그 진행률 |
|
|
166
|
+
| **omt-setup** | `/omt-setup [서브커맨드]` | 통합 설정 — init, deploy, oh-my-til 관리 |
|
|
167
|
+
| **setup-obsidian** | `/setup-obsidian` | 현재 vault에 Obsidian 데스크톱 플러그인 설치 |
|
|
159
168
|
|
|
160
169
|
## 개발
|
|
161
170
|
|
|
@@ -176,7 +185,7 @@ src/
|
|
|
176
185
|
│ ├── context.ts # 학습 컨텍스트 헬퍼 (순수 함수)
|
|
177
186
|
│ ├── stats.ts # TIL 통계 순수 함수
|
|
178
187
|
│ ├── srs.ts # SRS 간격 반복 (SM-2 알고리즘, 복습 카드/통계)
|
|
179
|
-
│ ├── migrate-links.ts # Wikilink [[]] → [](path) 변환
|
|
188
|
+
│ ├── migrate-links.ts # Wikilink [[]] → [](path) 변환 (내부 유틸리티)
|
|
180
189
|
│ ├── keyboard.ts # Shift+Enter → \n (멀티라인 지원)
|
|
181
190
|
│ ├── env.ts # macOS PATH 보정 (Homebrew)
|
|
182
191
|
│ ├── skills.ts # 버전 비교/플레이스홀더 치환 순수 함수
|
|
@@ -197,7 +206,7 @@ src/
|
|
|
197
206
|
│ └── tools.ts # MCP 도구 정의 (FileStorage + MetadataProvider 사용)
|
|
198
207
|
├── plugin-install.ts # 플러그인 에셋 자동 설치/업데이트 (skills, agents, CLAUDE.md 섹션)
|
|
199
208
|
├── cli/ # 독립 CLI 진입점
|
|
200
|
-
│ ├── index.ts # npx oh-my-til init / serve / deploy
|
|
209
|
+
│ ├── index.ts # npx oh-my-til init / serve / mcp / install-obsidian / deploy
|
|
201
210
|
│ └── obsidian-install.ts # Obsidian 플러그인 자동 설치 (Electron 감지, node-pty 재빌드)
|
|
202
211
|
└── obsidian/ # Obsidian 플랫폼 어댑터
|
|
203
212
|
├── main.ts # 플러그인 진입점
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ A Claude Code plugin for AI-powered TIL (Today I Learned) learning workflow. Wor
|
|
|
15
15
|
- **Embedded Terminal** — Claude Code terminal in Obsidian sidebar (xterm.js + node-pty)
|
|
16
16
|
- **Built-in MCP Server** — Claude Code can directly access your vault via HTTP
|
|
17
17
|
- **Learning Dashboard** — TIL statistics and category breakdown at a glance
|
|
18
|
-
- **Auto-installed Skills** — `/til`, `/research`, `/backlog`, `/save`, `/til-review`, `/dashboard
|
|
18
|
+
- **Auto-installed Skills** — `/til`, `/research`, `/backlog`, `/save`, `/til-review`, `/dashboard` commands ready out of the box
|
|
19
19
|
- **Spaced Repetition (SRS)** — SM-2 algorithm-based review scheduling for TIL notes
|
|
20
20
|
- **Markdown Link Detection** — `[text](path)` links in terminal are clickable and open notes (CJK-aware)
|
|
21
21
|
- **Backlog-to-TIL Trigger** — Click an empty backlog link to start a TIL session
|
|
@@ -25,14 +25,30 @@ A Claude Code plugin for AI-powered TIL (Today I Learned) learning workflow. Wor
|
|
|
25
25
|
|
|
26
26
|
```
|
|
27
27
|
Command Palette → Open Terminal → Claude Code starts
|
|
28
|
-
→ Run /til, /backlog, /research, /save, /til-review, /dashboard
|
|
28
|
+
→ Run /til, /backlog, /research, /save, /til-review, /dashboard skills
|
|
29
29
|
→ Claude researches → interactive learning → saves TIL markdown
|
|
30
30
|
→ New file detected → opens in editor
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## Installation
|
|
34
34
|
|
|
35
|
-
### Option A:
|
|
35
|
+
### Option A: Claude Code Plugin (Recommended)
|
|
36
|
+
|
|
37
|
+
Install directly as a Claude Code plugin — skills, MCP server, and hooks are auto-registered.
|
|
38
|
+
|
|
39
|
+
**Prerequisites:** [Node.js](https://nodejs.org) 18+ / [Claude Code](https://docs.anthropic.com/en/docs/claude-code) v1.0.33+
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Add marketplace (project scope recommended — only active in this TIL vault)
|
|
43
|
+
claude plugin marketplace add https://github.com/SongYunSeop/oh-my-til.git --scope project
|
|
44
|
+
|
|
45
|
+
# Install plugin
|
|
46
|
+
claude plugin install oh-my-til@oh-my-til --scope project
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Skills are namespaced: `/oh-my-til:til`, `/oh-my-til:research`, `/oh-my-til:backlog`, etc.
|
|
50
|
+
|
|
51
|
+
### Option B: Standalone CLI (without Obsidian)
|
|
36
52
|
|
|
37
53
|
No git clone needed. Just `npx`.
|
|
38
54
|
|
|
@@ -65,7 +81,7 @@ No git clone needed. Just `npx`.
|
|
|
65
81
|
|
|
66
82
|
> **Tip:** You can also run `npx oh-my-til init` without a path to initialize the current directory.
|
|
67
83
|
|
|
68
|
-
### Option
|
|
84
|
+
### Option C: Obsidian Plugin
|
|
69
85
|
|
|
70
86
|
**Prerequisites:** [Obsidian](https://obsidian.md) v1.5.0+ / [Node.js](https://nodejs.org) 18+ / [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) (`claude`)
|
|
71
87
|
|
|
@@ -85,15 +101,6 @@ ELECTRON_VERSION=37.10.2 npx oh-my-til init /path/to/your/vault
|
|
|
85
101
|
|
|
86
102
|
> To find your Electron version, open Obsidian's Developer Tools (Ctrl+Shift+I) and run `process.versions.electron`.
|
|
87
103
|
|
|
88
|
-
#### Using Claude Code
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
git clone https://github.com/SongYunSeop/oh-my-til.git
|
|
92
|
-
cd oh-my-til
|
|
93
|
-
claude
|
|
94
|
-
# Then run: /install-plugin /path/to/your/vault
|
|
95
|
-
```
|
|
96
|
-
|
|
97
104
|
#### Manual Installation (from source)
|
|
98
105
|
|
|
99
106
|
```bash
|
|
@@ -155,7 +162,9 @@ The plugin auto-installs these skills to `.claude/skills/`:
|
|
|
155
162
|
| **backlog** | `/backlog [category]` | View learning backlog and progress |
|
|
156
163
|
| **save** | *(auto-invoked by /til)* | Save TIL markdown with Daily note, MOC, and backlog updates |
|
|
157
164
|
| **til-review** | `/til-review [category]` | SRS-based spaced repetition review session (SM-2 algorithm) |
|
|
158
|
-
| **
|
|
165
|
+
| **dashboard** | `/dashboard` | Learning dashboard — stats, activity heatmap, categories, backlog progress |
|
|
166
|
+
| **omt-setup** | `/omt-setup [subcommand]` | Unified setup — init, deploy, and manage oh-my-til |
|
|
167
|
+
| **setup-obsidian** | `/setup-obsidian` | Install the Obsidian desktop plugin in the current vault |
|
|
159
168
|
|
|
160
169
|
## Development
|
|
161
170
|
|
|
@@ -176,7 +185,7 @@ src/
|
|
|
176
185
|
│ ├── context.ts # Learning context helpers (pure functions)
|
|
177
186
|
│ ├── stats.ts # TIL statistics (pure functions)
|
|
178
187
|
│ ├── srs.ts # Spaced repetition (SM-2 algorithm, review cards/stats)
|
|
179
|
-
│ ├── migrate-links.ts # Wikilink [[]] → [](path) conversion
|
|
188
|
+
│ ├── migrate-links.ts # Wikilink [[]] → [](path) conversion (internal utility)
|
|
180
189
|
│ ├── keyboard.ts # Shift+Enter → \n (multiline support)
|
|
181
190
|
│ ├── env.ts # macOS PATH resolution (Homebrew)
|
|
182
191
|
│ ├── skills.ts # Version comparison / placeholder substitution
|
|
@@ -197,7 +206,7 @@ src/
|
|
|
197
206
|
│ └── tools.ts # MCP tool definitions (FileStorage + MetadataProvider)
|
|
198
207
|
├── plugin-install.ts # Plugin asset auto-install/update (skills, agents, CLAUDE.md section)
|
|
199
208
|
├── cli/ # Standalone CLI entry point
|
|
200
|
-
│ ├── index.ts # npx oh-my-til init / serve / deploy
|
|
209
|
+
│ ├── index.ts # npx oh-my-til init / serve / mcp / install-obsidian / deploy
|
|
201
210
|
│ └── obsidian-install.ts # Auto-install Obsidian plugin (Electron detection, node-pty rebuild)
|
|
202
211
|
└── obsidian/ # Obsidian platform adapter
|
|
203
212
|
├── main.ts # Plugin entry point
|