opencode-plugin-mimic 0.1.9 → 0.2.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 CHANGED
@@ -62,17 +62,17 @@ Mimic은 `~/.config/opencode/mimic.json`을 읽어 사용자 설정을 적용합
62
62
 
63
63
  기본값은 `en-US`입니다.
64
64
 
65
- 프로젝트 설정은 `.opencode/mimic/state.json`에 저장되며 `mimic:configure`로 변경할 수 있습니다.
65
+ 프로젝트 설정은 `.opencode/mimic/state.json`에 저장되며 `mimic_configure`로 변경할 수 있습니다.
66
66
 
67
67
  ```
68
- mimic:configure({ learningEnabled: false })
69
- mimic:configure({ suggestionEnabled: false })
70
- mimic:configure({ minPatternCount: 5 })
68
+ mimic_configure({ learningEnabled: false })
69
+ mimic_configure({ suggestionEnabled: false })
70
+ mimic_configure({ minPatternCount: 5 })
71
71
  ```
72
72
 
73
73
  ## 기능 흐름도 (draw.io)
74
74
 
75
- - 다이어그램 파일: `docs/mimic-flow.drawio`
75
+ - 다이어그램 파일: `docs/mimic_flow.drawio`
76
76
  - diagrams.net(draw.io)에서 열어 확인/편집 가능합니다.
77
77
 
78
78
  ## 사용법
@@ -81,113 +81,113 @@ mimic:configure({ minPatternCount: 5 })
81
81
 
82
82
  Mimic은 다음 도구들을 제공합니다:
83
83
 
84
- #### `mimic:init`
84
+ #### `mimic_init`
85
85
 
86
86
  프로젝트를 위해 Mimic을 초기화하거나 깨웁니다. 세션 통계, 최근 관찰 사항, 그리고 잠재적인 연속성 힌트가 포함된 환영 메시지를 표시합니다.
87
87
 
88
- #### `mimic:status`
88
+ #### `mimic_status`
89
89
 
90
90
  세션 수, 패턴 통계, 최근 수정된 파일, 활성 제안 등을 포함한 현재 상태를 확인합니다.
91
91
 
92
- #### `mimic:journey`
92
+ #### `mimic_journey`
93
93
 
94
94
  마일스톤, 최근 관찰 사항, git 활동을 포함하여 프로젝트 진화의 내러티브 이야기를 확인합니다.
95
95
 
96
- #### `mimic:patterns`
96
+ #### `mimic_patterns`
97
97
 
98
98
  유형 및 빈도별로 정리된 모든 감지된 패턴(도구, 파일, 커밋 등)을 확인합니다.
99
99
 
100
- #### `mimic:instincts`
100
+ #### `mimic_instincts`
101
101
 
102
102
  학습된 행동 본능을 확인합니다. 본능은 사용자의 작업 스타일로부터 Mimic이 배운 "프로젝트별 규칙"입니다.
103
103
 
104
- #### `mimic:apply`
104
+ #### `mimic_apply`
105
105
 
106
106
  최근 도구, 수정된 파일 등을 기반으로 현재 컨텍스트에 어떤 본능이 적용되는지 수동으로 확인합니다.
107
107
 
108
- #### `mimic:identity`
108
+ #### `mimic_identity`
109
109
 
110
110
  성격 유형, "각성" 날짜 및 학습 통계를 포함한 Mimic의 프로젝트 아이덴티티를 확인합니다.
111
111
 
112
- #### `mimic:sequences`
112
+ #### `mimic_sequences`
113
113
 
114
114
  자주 사용되는 도구 시퀀스를 확인하여 일반적인 워크플로 패턴을 파악합니다.
115
115
 
116
- #### `mimic:observations`
116
+ #### `mimic_observations`
117
117
 
118
118
  현재 프로젝트의 하위 수준 관찰 로그(도구, 파일, 세션)를 확인합니다.
119
119
 
120
- #### `mimic:observe`
120
+ #### `mimic_observe`
121
121
 
122
122
  수동으로 관찰 사항 추가:
123
123
 
124
124
  ```
125
- mimic:observe({ observation: "보안 강화를 위해 인증 모듈 리팩터링 완료" })
125
+ mimic_observe({ observation: "보안 강화를 위해 인증 모듈 리팩터링 완료" })
126
126
  ```
127
127
 
128
- #### `mimic:milestone`
128
+ #### `mimic_milestone`
129
129
 
130
130
  프로젝트 마일스톤 기록:
131
131
 
132
132
  ```
133
- mimic:milestone({ milestone: "v1.0.0 릴리스" })
133
+ mimic_milestone({ milestone: "v1.0.0 릴리스" })
134
134
  ```
135
135
 
136
- #### `mimic:stats`
136
+ #### `mimic_stats`
137
137
 
138
138
  상세 통계 확인: 총 세션, 도구 호출, 패턴/마일스톤 수, 학습 상태 등.
139
139
 
140
- #### `mimic:configure`
140
+ #### `mimic_configure`
141
141
 
142
142
  Mimic의 행동 조정:
143
143
 
144
144
  ```
145
- mimic:configure({ learningEnabled: false }) # 학습 중지
146
- mimic:configure({ suggestionEnabled: false }) # 제안 중지
147
- mimic:configure({ minPatternCount: 5 }) # 최소 반복 횟수를 5회로 설정
145
+ mimic_configure({ learningEnabled: false }) # 학습 중지
146
+ mimic_configure({ suggestionEnabled: false }) # 제안 중지
147
+ mimic_configure({ minPatternCount: 5 }) # 최소 반복 횟수를 5회로 설정
148
148
  ```
149
149
 
150
- #### `mimic:surface`
150
+ #### `mimic_surface`
151
151
 
152
152
  패턴을 인지됨/표면화됨 상태로 표시합니다.
153
153
 
154
- #### `mimic:reset`
154
+ #### `mimic_reset`
155
155
 
156
156
  현재 프로젝트의 모든 학습된 데이터를 삭제합니다.
157
157
 
158
- #### `mimic:grow`
158
+ #### `mimic_grow`
159
159
 
160
160
  활동 로그를 기반으로 프로젝트의 방향성과 성장 기회를 분석합니다.
161
161
 
162
- #### `mimic:evolve`
162
+ #### `mimic_evolve`
163
163
 
164
164
  반복된 패턴을 기반으로 새로운 기능(Shortcuts, Hooks, Commands, Agents, MCP) 진화를 제안하고 생성합니다.
165
165
 
166
- #### `mimic:generate-skills`
166
+ #### `mimic_generate-skills`
167
167
 
168
168
  프로젝트 컨텍스트를 분석하고 향후 세션의 정확도를 높이기 위한 `.agent/skills`를 자동으로 생성합니다.
169
169
 
170
- #### `mimic:export` / `mimic:import`
170
+ #### `mimic_export` / `mimic_import`
171
171
 
172
172
  학습된 본능을 JSON 파일로 내보내거나 다른 프로젝트에서 가져옵니다.
173
173
 
174
- #### `mimic:session-context`
174
+ #### `mimic_session-context`
175
175
 
176
176
  세션 간 컨텍스트 요약 및 연속성 힌트를 확인합니다.
177
177
 
178
- #### `mimic:level`
178
+ #### `mimic_level`
179
179
 
180
180
  숙련도 수준(technical, semi-technical, non-technical, chaotic)을 설정하여 Mimic의 피드백을 개인화합니다.
181
181
 
182
- #### `mimic:focus`
182
+ #### `mimic_focus`
183
183
 
184
184
  현재 프로젝트의 집중 분야 또는 기술 스택을 설정합니다.
185
185
 
186
- #### `mimic:mcp-search` / `mimic:mcp`
186
+ #### `mimic_mcp-search` / `mimic_mcp`
187
187
 
188
188
  MCP 서버를 검색하고 프로젝트 설정에 추가합니다.
189
189
 
190
- #### `mimic:capabilities`
190
+ #### `mimic_capabilities`
191
191
 
192
192
  진화된 모든 기능 목록을 확인합니다.
193
193
 
package/README.md CHANGED
@@ -63,17 +63,17 @@ Mimic reads `~/.config/opencode/mimic.json` for user-level settings.
63
63
 
64
64
  Default language is `en-US`.
65
65
 
66
- Project preferences live in `.opencode/mimic/state.json` and can be adjusted via `mimic:configure`:
66
+ Project preferences live in `.opencode/mimic/state.json` and can be adjusted via `mimic_configure`:
67
67
 
68
68
  ```
69
- mimic:configure({ learningEnabled: false })
70
- mimic:configure({ suggestionEnabled: false })
71
- mimic:configure({ minPatternCount: 5 })
69
+ mimic_configure({ learningEnabled: false })
70
+ mimic_configure({ suggestionEnabled: false })
71
+ mimic_configure({ minPatternCount: 5 })
72
72
  ```
73
73
 
74
74
  ## Flow Diagram (draw.io)
75
75
 
76
- - Diagram file: `docs/mimic-flow.drawio`
76
+ - Diagram file: `docs/mimic_flow.drawio`
77
77
  - Open it in diagrams.net (draw.io) to view or edit.
78
78
 
79
79
  ## Usage
@@ -82,113 +82,113 @@ mimic:configure({ minPatternCount: 5 })
82
82
 
83
83
  Mimic adds the following tools to OpenCode:
84
84
 
85
- #### `mimic:init`
85
+ #### `mimic_init`
86
86
 
87
87
  Initialize or wake up Mimic for this project. Shows welcome message with session stats, recent observations, and potential continuity hints.
88
88
 
89
- #### `mimic:status`
89
+ #### `mimic_status`
90
90
 
91
91
  Check current status including session count, pattern stats, recently modified files, and active suggestions.
92
92
 
93
- #### `mimic:journey`
93
+ #### `mimic_journey`
94
94
 
95
95
  View the narrative story of your project's evolution, including milestones, recent observations, and git activity.
96
96
 
97
- #### `mimic:patterns`
97
+ #### `mimic_patterns`
98
98
 
99
99
  View all detected patterns (Tool, File, Commit, etc.) organized by type and frequency.
100
100
 
101
- #### `mimic:instincts`
101
+ #### `mimic_instincts`
102
102
 
103
103
  View learned behavioral instincts. Instincts are "rules of thumb" that Mimic has learned from your work style.
104
104
 
105
- #### `mimic:apply`
105
+ #### `mimic_apply`
106
106
 
107
107
  Manually check which instincts apply to the current context (recent tools, modified files, etc.).
108
108
 
109
- #### `mimic:identity`
109
+ #### `mimic_identity`
110
110
 
111
111
  Check Mimic's project identity, including its personality trait, "awakened" date, and learning stats.
112
112
 
113
- #### `mimic:sequences`
113
+ #### `mimic_sequences`
114
114
 
115
115
  View frequently used tool sequences to understand your common cross-tool workflows.
116
116
 
117
- #### `mimic:observations`
117
+ #### `mimic_observations`
118
118
 
119
119
  View low-level observation logs (tools, files, sessions) for the current project.
120
120
 
121
- #### `mimic:observe`
121
+ #### `mimic_observe`
122
122
 
123
123
  Manually add an observation:
124
124
 
125
125
  ```
126
- mimic:observe({ observation: "Refactored auth module for better security" })
126
+ mimic_observe({ observation: "Refactored auth module for better security" })
127
127
  ```
128
128
 
129
- #### `mimic:milestone`
129
+ #### `mimic_milestone`
130
130
 
131
131
  Record a project milestone:
132
132
 
133
133
  ```
134
- mimic:milestone({ milestone: "v1.0.0 released" })
134
+ mimic_milestone({ milestone: "v1.0.0 released" })
135
135
  ```
136
136
 
137
- #### `mimic:stats`
137
+ #### `mimic_stats`
138
138
 
139
139
  View detailed statistics: total sessions, tool calls, pattern/milestone counts, and learning status.
140
140
 
141
- #### `mimic:configure`
141
+ #### `mimic_configure`
142
142
 
143
143
  Adjust Mimic's behavior:
144
144
 
145
145
  ```
146
- mimic:configure({ learningEnabled: false }) # Stop learning
147
- mimic:configure({ suggestionEnabled: false }) # Stop suggestions
148
- mimic:configure({ minPatternCount: 5 }) # Require 5 repetitions
146
+ mimic_configure({ learningEnabled: false }) # Stop learning
147
+ mimic_configure({ suggestionEnabled: false }) # Stop suggestions
148
+ mimic_configure({ minPatternCount: 5 }) # Require 5 repetitions
149
149
  ```
150
150
 
151
- #### `mimic:surface`
151
+ #### `mimic_surface`
152
152
 
153
153
  Mark a pattern as acknowledged/surfaced.
154
154
 
155
- #### `mimic:reset`
155
+ #### `mimic_reset`
156
156
 
157
157
  Clear all learned data for the current project.
158
158
 
159
- #### `mimic:grow`
159
+ #### `mimic_grow`
160
160
 
161
161
  Analyze project direction and growth opportunities based on activity logs.
162
162
 
163
- #### `mimic:evolve`
163
+ #### `mimic_evolve`
164
164
 
165
165
  Suggest and create new capabilities (Shortcuts, Hooks, Commands, Agents, MCP) based on repeated patterns.
166
166
 
167
- #### `mimic:generate-skills`
167
+ #### `mimic_generate-skills`
168
168
 
169
169
  Analyze project context and automatically generate `.agent/skills` to improve accuracy for future sessions.
170
170
 
171
- #### `mimic:export` / `mimic:import`
171
+ #### `mimic_export` / `mimic_import`
172
172
 
173
173
  Export your learned instincts to a JSON file or import them from another project.
174
174
 
175
- #### `mimic:session-context`
175
+ #### `mimic_session-context`
176
176
 
177
177
  View cross-session context summary and continuity hints.
178
178
 
179
- #### `mimic:level`
179
+ #### `mimic_level`
180
180
 
181
181
  Set your technical level (technical, semi-technical, non-technical, chaotic) to personalize Mimic's feedback.
182
182
 
183
- #### `mimic:focus`
183
+ #### `mimic_focus`
184
184
 
185
185
  Set current project focus or tech stack.
186
186
 
187
- #### `mimic:mcp-search` / `mimic:mcp`
187
+ #### `mimic_mcp-search` / `mimic_mcp`
188
188
 
189
189
  Search for MCP servers and add them to project configuration.
190
190
 
191
- #### `mimic:capabilities`
191
+ #### `mimic_capabilities`
192
192
 
193
193
  List all evolved capabilities.
194
194
 
@@ -219,9 +219,9 @@ List all evolved capabilities.
219
219
  ## Development
220
220
 
221
221
  ```bash
222
- pnpm install
223
- pnpm run build
224
- pnpm run dev # watch mode
222
+ bun install
223
+ bun run build
224
+ bun run dev # watch mode
225
225
  ```
226
226
 
227
227
  ## Inspiration