@claudetree/core 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/README.ja.md +61 -0
- package/README.ko.md +61 -0
- package/README.md +7 -0
- package/README.zh.md +61 -0
- package/package.json +1 -1
package/README.ja.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="README.md">English</a> |
|
|
3
|
+
<a href="README.ko.md">한국어</a> |
|
|
4
|
+
<a href="README.ja.md">日本語</a> |
|
|
5
|
+
<a href="README.zh.md">中文</a>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
# @claudetree/core
|
|
9
|
+
|
|
10
|
+
claudetreeのコアドメインとインフラストラクチャ。
|
|
11
|
+
|
|
12
|
+
## 概要
|
|
13
|
+
|
|
14
|
+
このパッケージには以下が含まれます:
|
|
15
|
+
- **ドメインレイヤー**: Repositoryインターフェースとビジネスロジック
|
|
16
|
+
- **インフラレイヤー**: Git worktree、Claude CLI、GitHub API、Slackアダプター
|
|
17
|
+
- **アプリケーションレイヤー**: セッション管理とオーケストレーション
|
|
18
|
+
|
|
19
|
+
## インストール
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install @claudetree/core
|
|
23
|
+
# または
|
|
24
|
+
pnpm add @claudetree/core
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 主要コンポーネント
|
|
28
|
+
|
|
29
|
+
### アダプター
|
|
30
|
+
- `GitWorktreeAdapter` - Git worktree管理
|
|
31
|
+
- `ClaudeSessionAdapter` - Claude CLIプロセス管理
|
|
32
|
+
- `GitHubAdapter` - GitHub API(課題、PR)
|
|
33
|
+
- `SlackNotifier` - Slackウェブフック通知
|
|
34
|
+
- `WebSocketBroadcaster` - リアルタイムイベントブロードキャスト
|
|
35
|
+
|
|
36
|
+
### リポジトリ
|
|
37
|
+
- `FileSessionRepository` - セッション状態永続化
|
|
38
|
+
- `FileEventRepository` - イベントロギング
|
|
39
|
+
- `TemplateLoader` - セッションテンプレート管理
|
|
40
|
+
|
|
41
|
+
## 使用方法
|
|
42
|
+
|
|
43
|
+
```typescript
|
|
44
|
+
import {
|
|
45
|
+
GitWorktreeAdapter,
|
|
46
|
+
ClaudeSessionAdapter,
|
|
47
|
+
FileSessionRepository,
|
|
48
|
+
} from '@claudetree/core';
|
|
49
|
+
|
|
50
|
+
const git = new GitWorktreeAdapter(projectPath);
|
|
51
|
+
const worktrees = await git.list();
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## リンク
|
|
55
|
+
|
|
56
|
+
- [GitHubリポジトリ](https://github.com/wonjangcloud9/claude-tree)
|
|
57
|
+
- [CLIパッケージ](https://www.npmjs.com/package/@claudetree/cli)
|
|
58
|
+
|
|
59
|
+
## ライセンス
|
|
60
|
+
|
|
61
|
+
MIT
|
package/README.ko.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="README.md">English</a> |
|
|
3
|
+
<a href="README.ko.md">한국어</a> |
|
|
4
|
+
<a href="README.ja.md">日本語</a> |
|
|
5
|
+
<a href="README.zh.md">中文</a>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
# @claudetree/core
|
|
9
|
+
|
|
10
|
+
claudetree의 핵심 도메인과 인프라스트럭처.
|
|
11
|
+
|
|
12
|
+
## 개요
|
|
13
|
+
|
|
14
|
+
이 패키지는 다음을 포함합니다:
|
|
15
|
+
- **도메인 레이어**: Repository 인터페이스와 비즈니스 로직
|
|
16
|
+
- **인프라 레이어**: Git worktree, Claude CLI, GitHub API, Slack 어댑터
|
|
17
|
+
- **애플리케이션 레이어**: 세션 관리와 오케스트레이션
|
|
18
|
+
|
|
19
|
+
## 설치
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install @claudetree/core
|
|
23
|
+
# 또는
|
|
24
|
+
pnpm add @claudetree/core
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 주요 컴포넌트
|
|
28
|
+
|
|
29
|
+
### 어댑터
|
|
30
|
+
- `GitWorktreeAdapter` - Git worktree 관리
|
|
31
|
+
- `ClaudeSessionAdapter` - Claude CLI 프로세스 관리
|
|
32
|
+
- `GitHubAdapter` - GitHub API (이슈, PR)
|
|
33
|
+
- `SlackNotifier` - Slack 웹훅 알림
|
|
34
|
+
- `WebSocketBroadcaster` - 실시간 이벤트 브로드캐스팅
|
|
35
|
+
|
|
36
|
+
### 리포지토리
|
|
37
|
+
- `FileSessionRepository` - 세션 상태 영속화
|
|
38
|
+
- `FileEventRepository` - 이벤트 로깅
|
|
39
|
+
- `TemplateLoader` - 세션 템플릿 관리
|
|
40
|
+
|
|
41
|
+
## 사용법
|
|
42
|
+
|
|
43
|
+
```typescript
|
|
44
|
+
import {
|
|
45
|
+
GitWorktreeAdapter,
|
|
46
|
+
ClaudeSessionAdapter,
|
|
47
|
+
FileSessionRepository,
|
|
48
|
+
} from '@claudetree/core';
|
|
49
|
+
|
|
50
|
+
const git = new GitWorktreeAdapter(projectPath);
|
|
51
|
+
const worktrees = await git.list();
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## 링크
|
|
55
|
+
|
|
56
|
+
- [GitHub 저장소](https://github.com/wonjangcloud9/claude-tree)
|
|
57
|
+
- [CLI 패키지](https://www.npmjs.com/package/@claudetree/cli)
|
|
58
|
+
|
|
59
|
+
## 라이선스
|
|
60
|
+
|
|
61
|
+
MIT
|
package/README.md
CHANGED
package/README.zh.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="README.md">English</a> |
|
|
3
|
+
<a href="README.ko.md">한국어</a> |
|
|
4
|
+
<a href="README.ja.md">日本語</a> |
|
|
5
|
+
<a href="README.zh.md">中文</a>
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
# @claudetree/core
|
|
9
|
+
|
|
10
|
+
claudetree的核心领域和基础设施。
|
|
11
|
+
|
|
12
|
+
## 概述
|
|
13
|
+
|
|
14
|
+
此包包含:
|
|
15
|
+
- **领域层**: Repository接口和业务逻辑
|
|
16
|
+
- **基础设施层**: Git worktree、Claude CLI、GitHub API、Slack适配器
|
|
17
|
+
- **应用层**: 会话管理和编排
|
|
18
|
+
|
|
19
|
+
## 安装
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install @claudetree/core
|
|
23
|
+
# 或
|
|
24
|
+
pnpm add @claudetree/core
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 主要组件
|
|
28
|
+
|
|
29
|
+
### 适配器
|
|
30
|
+
- `GitWorktreeAdapter` - Git worktree管理
|
|
31
|
+
- `ClaudeSessionAdapter` - Claude CLI进程管理
|
|
32
|
+
- `GitHubAdapter` - GitHub API(问题、PR)
|
|
33
|
+
- `SlackNotifier` - Slack webhook通知
|
|
34
|
+
- `WebSocketBroadcaster` - 实时事件广播
|
|
35
|
+
|
|
36
|
+
### 存储库
|
|
37
|
+
- `FileSessionRepository` - 会话状态持久化
|
|
38
|
+
- `FileEventRepository` - 事件日志
|
|
39
|
+
- `TemplateLoader` - 会话模板管理
|
|
40
|
+
|
|
41
|
+
## 使用方法
|
|
42
|
+
|
|
43
|
+
```typescript
|
|
44
|
+
import {
|
|
45
|
+
GitWorktreeAdapter,
|
|
46
|
+
ClaudeSessionAdapter,
|
|
47
|
+
FileSessionRepository,
|
|
48
|
+
} from '@claudetree/core';
|
|
49
|
+
|
|
50
|
+
const git = new GitWorktreeAdapter(projectPath);
|
|
51
|
+
const worktrees = await git.list();
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## 链接
|
|
55
|
+
|
|
56
|
+
- [GitHub仓库](https://github.com/wonjangcloud9/claude-tree)
|
|
57
|
+
- [CLI包](https://www.npmjs.com/package/@claudetree/cli)
|
|
58
|
+
|
|
59
|
+
## 许可证
|
|
60
|
+
|
|
61
|
+
MIT
|