oh-my-til 0.13.0 → 1.0.0
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 +27 -12
- package/README.md +27 -12
- package/dist/cli.js +228 -182
- package/main.js +135 -204
- 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
|
|
|
@@ -55,13 +71,17 @@ git clone 없이 `npx`만으로 바로 시작할 수 있습니다.
|
|
|
55
71
|
3. **(선택) MCP 서버 시작** — Claude Code가 TIL 파일을 조회할 수 있게 합니다:
|
|
56
72
|
|
|
57
73
|
```bash
|
|
74
|
+
# HTTP 모드 — 상주 서버 실행
|
|
58
75
|
npx oh-my-til serve ~/my-til
|
|
59
76
|
claude mcp add --transport http oh-my-til http://localhost:22360/mcp
|
|
77
|
+
|
|
78
|
+
# stdio 모드 — 필요 시 자동 실행 (서버 불필요, Claude Desktop 호환)
|
|
79
|
+
claude mcp add oh-my-til -- npx oh-my-til mcp ~/my-til
|
|
60
80
|
```
|
|
61
81
|
|
|
62
82
|
> **팁:** 경로 없이 `npx oh-my-til init`을 실행하면 현재 디렉토리에 설치됩니다.
|
|
63
83
|
|
|
64
|
-
### 방법
|
|
84
|
+
### 방법 C: Obsidian 플러그인
|
|
65
85
|
|
|
66
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`)
|
|
67
87
|
|
|
@@ -129,19 +149,15 @@ MCP 서버 연결 시 Claude Code에서 사용할 수 있는 도구:
|
|
|
129
149
|
|
|
130
150
|
| 도구 | 설명 |
|
|
131
151
|
|------|------|
|
|
132
|
-
| `vault_read_note` | 경로로 노트 내용 읽기 |
|
|
133
|
-
| `vault_list_files` | 폴더 내 파일 목록 (필터링 가능) |
|
|
134
|
-
| `vault_search` | vault 전체 텍스트 검색 |
|
|
135
152
|
| `vault_get_active_file` | 현재 열린 파일 가져오기 |
|
|
136
153
|
| `til_list` | 카테고리별 TIL 파일 목록 (`search` 필터 지원) |
|
|
137
|
-
| `
|
|
138
|
-
| `til_save_note` | frontmatter 형식/경로 규칙을 보장하는 TIL 노트 저장 |
|
|
154
|
+
| `til_save_note` | TIL 노트 저장 (frontmatter/경로 규칙 보장, 백로그 자동 체크) |
|
|
139
155
|
| `til_backlog_status` | 백로그 진행률 요약 (체크박스 카운트) |
|
|
140
|
-
| `til_backlog_check` | 백로그 항목을 slug로 완료 처리 |
|
|
156
|
+
| `til_backlog_check` | 백로그 항목을 slug로 완료 처리 (단독 사용 시) |
|
|
141
157
|
| `til_get_context` | 주제 관련 기존 학습 컨텍스트 (파일, 링크 관계, 미작성 주제) |
|
|
142
158
|
| `til_recent_context` | 최근 학습 활동을 날짜별로 조회 |
|
|
143
159
|
| `til_dashboard` | 학습 통계 요약 |
|
|
144
|
-
| `til_review_list` | 복습 대상 카드 목록 + 통계 (SRS) |
|
|
160
|
+
| `til_review_list` | 복습 대상 카드 목록 + 통계 (SRS, `include_content` 지원) |
|
|
145
161
|
| `til_review_update` | 복습 결과 기록 또는 복습 해제 |
|
|
146
162
|
|
|
147
163
|
## Claude 스킬
|
|
@@ -155,7 +171,6 @@ MCP 서버 연결 시 Claude Code에서 사용할 수 있는 도구:
|
|
|
155
171
|
| **backlog** | `/backlog [카테고리]` | 학습 백로그 조회 및 진행 상황 요약 |
|
|
156
172
|
| **save** | *(/til에서 자동 호출)* | TIL 마크다운 저장 + Daily 노트, MOC, 백로그 연동 |
|
|
157
173
|
| **til-review** | `/til-review [카테고리]` | SRS 기반 간격 반복 복습 세션 (SM-2 알고리즘) |
|
|
158
|
-
| **migrate-links** | `/migrate-links` | `[[wikilink]]`를 표준 마크다운 링크로 일괄 변환 |
|
|
159
174
|
|
|
160
175
|
## 개발
|
|
161
176
|
|
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
|
|
|
@@ -55,13 +71,17 @@ No git clone needed. Just `npx`.
|
|
|
55
71
|
3. **(Optional) Start MCP server** — lets Claude Code query your TIL files:
|
|
56
72
|
|
|
57
73
|
```bash
|
|
74
|
+
# HTTP mode — runs a persistent server
|
|
58
75
|
npx oh-my-til serve ~/my-til
|
|
59
76
|
claude mcp add --transport http oh-my-til http://localhost:22360/mcp
|
|
77
|
+
|
|
78
|
+
# stdio mode — spawned on demand (no server needed, works with Claude Desktop)
|
|
79
|
+
claude mcp add oh-my-til -- npx oh-my-til mcp ~/my-til
|
|
60
80
|
```
|
|
61
81
|
|
|
62
82
|
> **Tip:** You can also run `npx oh-my-til init` without a path to initialize the current directory.
|
|
63
83
|
|
|
64
|
-
### Option
|
|
84
|
+
### Option C: Obsidian Plugin
|
|
65
85
|
|
|
66
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`)
|
|
67
87
|
|
|
@@ -129,19 +149,15 @@ When the MCP server is connected, Claude Code can use these tools:
|
|
|
129
149
|
|
|
130
150
|
| Tool | Description |
|
|
131
151
|
|------|-------------|
|
|
132
|
-
| `vault_read_note` | Read note content by path |
|
|
133
|
-
| `vault_list_files` | List files in a folder with optional filtering |
|
|
134
|
-
| `vault_search` | Full-text search across the vault |
|
|
135
152
|
| `vault_get_active_file` | Get the currently open file |
|
|
136
153
|
| `til_list` | List TIL files grouped by category (supports `search` filter) |
|
|
137
|
-
| `
|
|
138
|
-
| `til_save_note` | Save a TIL note with validated frontmatter and path conventions |
|
|
154
|
+
| `til_save_note` | Save a TIL note with validated frontmatter and path conventions (auto backlog check) |
|
|
139
155
|
| `til_backlog_status` | Backlog progress summary with checkbox counts |
|
|
140
|
-
| `til_backlog_check` | Mark a backlog item as done by slug |
|
|
156
|
+
| `til_backlog_check` | Mark a backlog item as done by slug (standalone use) |
|
|
141
157
|
| `til_get_context` | Get existing knowledge context for a topic (files, links, unresolved mentions) |
|
|
142
158
|
| `til_recent_context` | Recent learning activity grouped by date |
|
|
143
159
|
| `til_dashboard` | Learning statistics summary |
|
|
144
|
-
| `til_review_list` | Due review cards list + stats (SRS) |
|
|
160
|
+
| `til_review_list` | Due review cards list + stats (SRS, supports `include_content`) |
|
|
145
161
|
| `til_review_update` | Record review result or remove from review |
|
|
146
162
|
|
|
147
163
|
## Claude Skills
|
|
@@ -155,7 +171,6 @@ The plugin auto-installs these skills to `.claude/skills/`:
|
|
|
155
171
|
| **backlog** | `/backlog [category]` | View learning backlog and progress |
|
|
156
172
|
| **save** | *(auto-invoked by /til)* | Save TIL markdown with Daily note, MOC, and backlog updates |
|
|
157
173
|
| **til-review** | `/til-review [category]` | SRS-based spaced repetition review session (SM-2 algorithm) |
|
|
158
|
-
| **migrate-links** | `/migrate-links` | Batch-convert `[[wikilinks]]` to standard markdown links |
|
|
159
174
|
|
|
160
175
|
## Development
|
|
161
176
|
|