@giwonn/claude-daily-review 0.3.6 → 0.3.8
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.
|
@@ -13,10 +13,9 @@
|
|
|
13
13
|
"source": {
|
|
14
14
|
"source": "url",
|
|
15
15
|
"url": "https://github.com/giwonn/claude-daily-review.git",
|
|
16
|
-
"
|
|
16
|
+
"ref": "v0.3.8"
|
|
17
17
|
},
|
|
18
18
|
"description": "Auto-capture conversations for daily review and career documentation",
|
|
19
|
-
"version": "0.3.6",
|
|
20
19
|
"author": {
|
|
21
20
|
"name": "giwonn"
|
|
22
21
|
},
|
|
@@ -44,28 +44,3 @@ jobs:
|
|
|
44
44
|
- run: npm install -g npm@latest
|
|
45
45
|
|
|
46
46
|
- run: npm publish --access public --provenance
|
|
47
|
-
|
|
48
|
-
update-marketplace:
|
|
49
|
-
needs: release
|
|
50
|
-
runs-on: ubuntu-latest
|
|
51
|
-
permissions:
|
|
52
|
-
contents: write
|
|
53
|
-
steps:
|
|
54
|
-
- uses: actions/checkout@v4
|
|
55
|
-
with:
|
|
56
|
-
ref: master
|
|
57
|
-
|
|
58
|
-
- name: Update SHA and version in marketplace.json
|
|
59
|
-
run: |
|
|
60
|
-
SHA=$(git rev-parse HEAD)
|
|
61
|
-
VERSION=$(node -p "require('./package.json').version")
|
|
62
|
-
sed -i "s/\"sha\": \"[a-f0-9]*\"/\"sha\": \"$SHA\"/" .claude-plugin/marketplace.json
|
|
63
|
-
sed -i "s/\"version\": \"[0-9.]*\"/\"version\": \"$VERSION\"/" .claude-plugin/marketplace.json
|
|
64
|
-
cat .claude-plugin/marketplace.json
|
|
65
|
-
|
|
66
|
-
- name: Commit and push
|
|
67
|
-
run: |
|
|
68
|
-
git config user.name "github-actions[bot]"
|
|
69
|
-
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
70
|
-
git add .claude-plugin/marketplace.json
|
|
71
|
-
git diff --cached --quiet && echo "No changes" || (git commit -m "chore: update marketplace SHA [skip ci]" && git push)
|
|
@@ -80,12 +80,20 @@ Ask using AskUserQuestion:
|
|
|
80
80
|
|
|
81
81
|
**1c. Check for shared config in repo:**
|
|
82
82
|
|
|
83
|
-
After repo is selected/created,
|
|
83
|
+
After repo is selected/created, **save a minimal config first** so `storage-cli.mjs` can connect to the repo:
|
|
84
|
+
```bash
|
|
85
|
+
cat > "${CLAUDE_PLUGIN_DATA}/config.json" << 'TMPEOF'
|
|
86
|
+
{"storage":{"type":"github","github":{"owner":"<owner>","repo":"<repo>","token":"<access_token>","basePath":"daily-review"}}}
|
|
87
|
+
TMPEOF
|
|
88
|
+
```
|
|
89
|
+
(Replace `<owner>`, `<repo>`, `<access_token>` with actual values.)
|
|
90
|
+
|
|
91
|
+
Then try to read the shared config:
|
|
84
92
|
```bash
|
|
85
93
|
node "${CLAUDE_PLUGIN_ROOT}/lib/storage-cli.mjs" read .config.json
|
|
86
94
|
```
|
|
87
95
|
|
|
88
|
-
If `.config.json` exists in the repo, parse it and **skip Steps
|
|
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:
|
|
89
97
|
> "이전에 저장된 설정을 찾았습니다! 프로필과 주기 설정을 자동으로 복원합니다."
|
|
90
98
|
|
|
91
99
|
If `.config.json` does not exist, proceed to Step 2 (Profile).
|