@giwonn/claude-daily-review 0.3.9 → 0.3.11
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.
|
@@ -90,7 +90,7 @@ TMPEOF
|
|
|
90
90
|
|
|
91
91
|
Then try to read the shared config:
|
|
92
92
|
```bash
|
|
93
|
-
node "${CLAUDE_PLUGIN_ROOT}/lib/storage-cli.mjs" read .config.json
|
|
93
|
+
CLAUDE_PLUGIN_DATA="${CLAUDE_PLUGIN_DATA}" node "${CLAUDE_PLUGIN_ROOT}/lib/storage-cli.mjs" read .config.json
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
If `.config.json` exists in the repo, parse it and **skip Steps 2-3** (Profile and Periods). Use the values from the shared config. Tell the user:
|
|
@@ -107,7 +107,7 @@ The local config will be:
|
|
|
107
107
|
"owner": "<owner>",
|
|
108
108
|
"repo": "<repo>",
|
|
109
109
|
"token": "<access_token>",
|
|
110
|
-
"basePath": "
|
|
110
|
+
"basePath": ""
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -202,7 +202,7 @@ For **local storage**, the config includes everything:
|
|
|
202
202
|
For **GitHub storage**, the local config only has storage credentials:
|
|
203
203
|
```json
|
|
204
204
|
{
|
|
205
|
-
"storage": { "type": "github", "github": { "owner": "...", "repo": "...", "token": "...", "basePath": "
|
|
205
|
+
"storage": { "type": "github", "github": { "owner": "...", "repo": "...", "token": "...", "basePath": "" } },
|
|
206
206
|
"language": "ko",
|
|
207
207
|
"periods": { "daily": true, "weekly": true, "monthly": true, "quarterly": true, "yearly": false },
|
|
208
208
|
"profile": { "company": "...", "role": "...", "team": "...", "context": "..." }
|
|
@@ -211,7 +211,7 @@ For **GitHub storage**, the local config only has storage credentials:
|
|
|
211
211
|
|
|
212
212
|
Additionally, **save shared config to the repo** so other machines can restore it:
|
|
213
213
|
```bash
|
|
214
|
-
echo '<shared_config_json>' | node "${CLAUDE_PLUGIN_ROOT}/lib/storage-cli.mjs" write .config.json
|
|
214
|
+
echo '<shared_config_json>' | CLAUDE_PLUGIN_DATA="${CLAUDE_PLUGIN_DATA}" node "${CLAUDE_PLUGIN_ROOT}/lib/storage-cli.mjs" write .config.json
|
|
215
215
|
```
|
|
216
216
|
|
|
217
217
|
The shared config contains only profile, periods, and language (NO storage credentials):
|
package/package.json
CHANGED