oh-my-til 0.9.0 → 0.9.2
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 +22 -8
- package/README.md +22 -8
- package/dist/cli.js +376 -190
- package/main.js +125 -71
- package/manifest.json +1 -1
- package/migrate-links.mjs +173 -0
- package/package.json +3 -2
package/README.ko.md
CHANGED
|
@@ -37,10 +37,11 @@ git clone 없이 `npx`만으로 바로 시작할 수 있습니다.
|
|
|
37
37
|
|
|
38
38
|
**요구 사항:** [Node.js](https://nodejs.org) 18 이상 / [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) (`claude`)
|
|
39
39
|
|
|
40
|
-
1. **초기화** — 디렉토리를 생성(필요 시)하고 스킬, 규칙, CLAUDE.md 설정을
|
|
40
|
+
1. **초기화** — 디렉토리를 생성(필요 시)하고 스킬, 규칙, CLAUDE.md 설정을 설치합니다. Obsidian vault가 감지되면(`.obsidian/` 존재) 플러그인도 자동 설치됩니다:
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
43
|
npx oh-my-til init ~/my-til
|
|
44
|
+
npx oh-my-til init ~/my-til --no-obsidian # Obsidian 플러그인 설치 건너뛰기
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
2. **Claude Code 시작** — `/til`, `/research`, `/backlog` 스킬을 바로 사용할 수 있습니다:
|
|
@@ -63,7 +64,23 @@ git clone 없이 `npx`만으로 바로 시작할 수 있습니다.
|
|
|
63
64
|
|
|
64
65
|
**요구 사항:** [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`)
|
|
65
66
|
|
|
66
|
-
####
|
|
67
|
+
#### npx로 설치 (권장)
|
|
68
|
+
|
|
69
|
+
Obsidian vault 안에서 `init`을 실행하면 플러그인이 자동 설치됩니다:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npx oh-my-til init /path/to/your/vault
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
macOS에서는 Electron 버전이 자동 감지됩니다. 수동 지정:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
ELECTRON_VERSION=37.10.2 npx oh-my-til init /path/to/your/vault
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
> Electron 버전 확인: Obsidian 개발자 도구(Ctrl+Shift+I)에서 `process.versions.electron` 실행
|
|
82
|
+
|
|
83
|
+
#### Claude Code로 설치
|
|
67
84
|
|
|
68
85
|
```bash
|
|
69
86
|
git clone https://github.com/SongYunSeop/oh-my-til.git
|
|
@@ -72,9 +89,7 @@ claude
|
|
|
72
89
|
# 실행 후: /install-plugin /path/to/your/vault
|
|
73
90
|
```
|
|
74
91
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
#### 수동 설치
|
|
92
|
+
#### 수동 설치 (소스에서)
|
|
78
93
|
|
|
79
94
|
```bash
|
|
80
95
|
git clone https://github.com/SongYunSeop/oh-my-til.git
|
|
@@ -83,8 +98,6 @@ npm install
|
|
|
83
98
|
ELECTRON_VERSION=<Electron-버전> npm run deploy -- /path/to/your/vault
|
|
84
99
|
```
|
|
85
100
|
|
|
86
|
-
> Electron 버전 확인: Obsidian 개발자 도구(Ctrl+Shift+I)에서 `process.versions.electron` 실행
|
|
87
|
-
|
|
88
101
|
설치 후 Obsidian을 재시작하고, 설정 > Community plugins에서 **Oh My TIL**을 활성화합니다.
|
|
89
102
|
|
|
90
103
|
#### MCP 서버 연결 (선택)
|
|
@@ -169,7 +182,8 @@ src/
|
|
|
169
182
|
│ ├── server.ts # HTTP 서버 + Streamable HTTP 트랜스포트
|
|
170
183
|
│ └── tools.ts # MCP 도구 정의 (FileStorage + MetadataProvider 사용)
|
|
171
184
|
├── cli/ # 독립 CLI 진입점
|
|
172
|
-
│
|
|
185
|
+
│ ├── index.ts # npx oh-my-til init / serve
|
|
186
|
+
│ └── obsidian-install.ts # Obsidian 플러그인 자동 설치 (Electron 감지, node-pty 재빌드)
|
|
173
187
|
└── obsidian/ # Obsidian 플랫폼 어댑터
|
|
174
188
|
├── main.ts # 플러그인 진입점
|
|
175
189
|
├── settings.ts # 설정 탭 + 인터페이스
|
package/README.md
CHANGED
|
@@ -37,10 +37,11 @@ No git clone needed. Just `npx`.
|
|
|
37
37
|
|
|
38
38
|
**Prerequisites:** [Node.js](https://nodejs.org) 18+ / [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) (`claude`)
|
|
39
39
|
|
|
40
|
-
1. **Initialize** — creates the directory (if needed) and installs skills, rules, and CLAUDE.md config:
|
|
40
|
+
1. **Initialize** — creates the directory (if needed) and installs skills, rules, and CLAUDE.md config. If an Obsidian vault is detected (`.obsidian/` exists), the plugin is auto-installed too:
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
43
|
npx oh-my-til init ~/my-til
|
|
44
|
+
npx oh-my-til init ~/my-til --no-obsidian # Skip Obsidian plugin installation
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
2. **Start Claude Code** and use `/til`, `/research`, `/backlog` skills right away:
|
|
@@ -63,7 +64,23 @@ No git clone needed. Just `npx`.
|
|
|
63
64
|
|
|
64
65
|
**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`)
|
|
65
66
|
|
|
66
|
-
#### Using
|
|
67
|
+
#### Using npx (Recommended)
|
|
68
|
+
|
|
69
|
+
Run `init` inside your Obsidian vault — the plugin is installed automatically:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npx oh-my-til init /path/to/your/vault
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Electron version is auto-detected on macOS. To override:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
ELECTRON_VERSION=37.10.2 npx oh-my-til init /path/to/your/vault
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
> To find your Electron version, open Obsidian's Developer Tools (Ctrl+Shift+I) and run `process.versions.electron`.
|
|
82
|
+
|
|
83
|
+
#### Using Claude Code
|
|
67
84
|
|
|
68
85
|
```bash
|
|
69
86
|
git clone https://github.com/SongYunSeop/oh-my-til.git
|
|
@@ -72,9 +89,7 @@ claude
|
|
|
72
89
|
# Then run: /install-plugin /path/to/your/vault
|
|
73
90
|
```
|
|
74
91
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
#### Manual Installation
|
|
92
|
+
#### Manual Installation (from source)
|
|
78
93
|
|
|
79
94
|
```bash
|
|
80
95
|
git clone https://github.com/SongYunSeop/oh-my-til.git
|
|
@@ -83,8 +98,6 @@ npm install
|
|
|
83
98
|
ELECTRON_VERSION=<your-electron-version> npm run deploy -- /path/to/your/vault
|
|
84
99
|
```
|
|
85
100
|
|
|
86
|
-
> To find your Electron version, open Obsidian's Developer Tools (Ctrl+Shift+I) and run `process.versions.electron`.
|
|
87
|
-
|
|
88
101
|
After installation, restart Obsidian and enable **Oh My TIL** in Settings > Community plugins.
|
|
89
102
|
|
|
90
103
|
#### MCP Server Setup (Optional)
|
|
@@ -169,7 +182,8 @@ src/
|
|
|
169
182
|
│ ├── server.ts # HTTP server + Streamable HTTP transport
|
|
170
183
|
│ └── tools.ts # MCP tool definitions (FileStorage + MetadataProvider)
|
|
171
184
|
├── cli/ # Standalone CLI entry point
|
|
172
|
-
│
|
|
185
|
+
│ ├── index.ts # npx oh-my-til init / serve
|
|
186
|
+
│ └── obsidian-install.ts # Auto-install Obsidian plugin (Electron detection, node-pty rebuild)
|
|
173
187
|
└── obsidian/ # Obsidian platform adapter
|
|
174
188
|
├── main.ts # Plugin entry point
|
|
175
189
|
├── settings.ts # Settings tab & interface
|