oh-my-claude-sisyphus 3.6.0 → 3.6.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/commands/omc-setup.md +3 -3
- package/commands/psm.md +180 -0
- package/commands/release.md +1 -1
- package/dist/__tests__/analytics/transcript-scanner.test.js +69 -27
- package/dist/__tests__/analytics/transcript-scanner.test.js.map +1 -1
- package/dist/__tests__/installer.test.js +2 -1
- package/dist/__tests__/installer.test.js.map +1 -1
- package/dist/analytics/session-manager.d.ts +24 -0
- package/dist/analytics/session-manager.d.ts.map +1 -1
- package/dist/analytics/session-manager.js +98 -9
- package/dist/analytics/session-manager.js.map +1 -1
- package/dist/analytics/transcript-scanner.d.ts +9 -8
- package/dist/analytics/transcript-scanner.d.ts.map +1 -1
- package/dist/analytics/transcript-scanner.js +146 -16
- package/dist/analytics/transcript-scanner.js.map +1 -1
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.js +416 -0
- package/dist/hooks/empty-message-sanitizer/__tests__/index.test.js.map +1 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.js +427 -0
- package/dist/hooks/keyword-detector/__tests__/index.test.js.map +1 -0
- package/dist/hooks/subagent-tracker/index.d.ts +83 -0
- package/dist/hooks/subagent-tracker/index.d.ts.map +1 -0
- package/dist/hooks/subagent-tracker/index.js +207 -0
- package/dist/hooks/subagent-tracker/index.js.map +1 -0
- package/dist/hooks/think-mode/__tests__/index.test.d.ts +2 -0
- package/dist/hooks/think-mode/__tests__/index.test.d.ts.map +1 -0
- package/dist/hooks/think-mode/__tests__/index.test.js +556 -0
- package/dist/hooks/think-mode/__tests__/index.test.js.map +1 -0
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +8 -0
- package/dist/installer/index.js.map +1 -1
- package/docs/design/project-session-manager.md +1033 -0
- package/package.json +1 -1
- package/skills/omc-setup/SKILL.md +27 -3
- package/skills/project-session-manager/SKILL.md +410 -0
- package/skills/project-session-manager/lib/config.sh +86 -0
- package/skills/project-session-manager/lib/parse.sh +121 -0
- package/skills/project-session-manager/lib/session.sh +132 -0
- package/skills/project-session-manager/lib/tmux.sh +103 -0
- package/skills/project-session-manager/lib/worktree.sh +171 -0
- package/skills/project-session-manager/psm.sh +629 -0
- package/skills/project-session-manager/templates/feature.md +56 -0
- package/skills/project-session-manager/templates/issue-fix.md +57 -0
- package/skills/project-session-manager/templates/pr-review.md +65 -0
- package/skills/project-session-manager/templates/projects.json +19 -0
- package/skills/release/SKILL.md +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Issue Fix Context
|
|
2
|
+
|
|
3
|
+
You are fixing Issue #{{ISSUE_NUMBER}}: **{{ISSUE_TITLE}}**
|
|
4
|
+
|
|
5
|
+
## Issue Details
|
|
6
|
+
|
|
7
|
+
- **URL**: {{ISSUE_URL}}
|
|
8
|
+
- **Labels**: {{ISSUE_LABELS}}
|
|
9
|
+
- **Branch**: `{{BRANCH_NAME}}`
|
|
10
|
+
|
|
11
|
+
## Description
|
|
12
|
+
|
|
13
|
+
{{ISSUE_BODY}}
|
|
14
|
+
|
|
15
|
+
## Approach
|
|
16
|
+
|
|
17
|
+
1. **Understand the Issue**
|
|
18
|
+
- Reproduce the problem if applicable
|
|
19
|
+
- Identify root cause
|
|
20
|
+
- Consider edge cases
|
|
21
|
+
|
|
22
|
+
2. **Plan the Fix**
|
|
23
|
+
- Minimal changes to fix the issue
|
|
24
|
+
- Don't introduce regressions
|
|
25
|
+
- Consider backwards compatibility
|
|
26
|
+
|
|
27
|
+
3. **Implement**
|
|
28
|
+
- Write the fix
|
|
29
|
+
- Add/update tests
|
|
30
|
+
- Update documentation if needed
|
|
31
|
+
|
|
32
|
+
4. **Verify**
|
|
33
|
+
- Run existing tests
|
|
34
|
+
- Test the specific fix
|
|
35
|
+
- Check for regressions
|
|
36
|
+
|
|
37
|
+
## Commands
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# Run tests
|
|
41
|
+
npm test # or appropriate test command
|
|
42
|
+
|
|
43
|
+
# Check build
|
|
44
|
+
npm run build # or appropriate build command
|
|
45
|
+
|
|
46
|
+
# Create PR when done
|
|
47
|
+
gh pr create --title "Fix #{{ISSUE_NUMBER}}: <description>" --body "Fixes #{{ISSUE_NUMBER}}"
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Fix Checklist
|
|
51
|
+
|
|
52
|
+
- [ ] Root cause identified
|
|
53
|
+
- [ ] Fix implemented
|
|
54
|
+
- [ ] Tests added/updated
|
|
55
|
+
- [ ] All tests pass
|
|
56
|
+
- [ ] No regressions introduced
|
|
57
|
+
- [ ] Ready for PR
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# PR Review Context
|
|
2
|
+
|
|
3
|
+
You are reviewing PR #{{PR_NUMBER}}: **{{PR_TITLE}}**
|
|
4
|
+
|
|
5
|
+
## PR Details
|
|
6
|
+
|
|
7
|
+
- **Author**: @{{PR_AUTHOR}}
|
|
8
|
+
- **Branch**: `{{HEAD_BRANCH}}` → `{{BASE_BRANCH}}`
|
|
9
|
+
- **URL**: {{PR_URL}}
|
|
10
|
+
|
|
11
|
+
## Description
|
|
12
|
+
|
|
13
|
+
{{PR_BODY}}
|
|
14
|
+
|
|
15
|
+
## Changed Files
|
|
16
|
+
|
|
17
|
+
{{CHANGED_FILES}}
|
|
18
|
+
|
|
19
|
+
## Review Focus
|
|
20
|
+
|
|
21
|
+
1. **Code Quality**
|
|
22
|
+
- Follow existing patterns and conventions
|
|
23
|
+
- Clean, readable, maintainable code
|
|
24
|
+
- Appropriate abstractions
|
|
25
|
+
|
|
26
|
+
2. **Correctness**
|
|
27
|
+
- Does it do what it claims?
|
|
28
|
+
- Edge cases handled?
|
|
29
|
+
- Error handling appropriate?
|
|
30
|
+
|
|
31
|
+
3. **Security**
|
|
32
|
+
- Input validation
|
|
33
|
+
- No hardcoded secrets
|
|
34
|
+
- Safe dependencies
|
|
35
|
+
|
|
36
|
+
4. **Testing**
|
|
37
|
+
- Adequate test coverage
|
|
38
|
+
- Tests are meaningful
|
|
39
|
+
- Edge cases tested
|
|
40
|
+
|
|
41
|
+
5. **Documentation**
|
|
42
|
+
- Code is self-documenting
|
|
43
|
+
- Complex logic explained
|
|
44
|
+
- API changes documented
|
|
45
|
+
|
|
46
|
+
## Commands
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# View diff
|
|
50
|
+
git diff {{BASE_BRANCH}}...HEAD
|
|
51
|
+
|
|
52
|
+
# Run tests
|
|
53
|
+
npm test # or appropriate test command
|
|
54
|
+
|
|
55
|
+
# Check build
|
|
56
|
+
npm run build # or appropriate build command
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Review Checklist
|
|
60
|
+
|
|
61
|
+
- [ ] Code follows project style
|
|
62
|
+
- [ ] No obvious bugs or logic errors
|
|
63
|
+
- [ ] Security concerns addressed
|
|
64
|
+
- [ ] Tests pass and cover changes
|
|
65
|
+
- [ ] Documentation updated if needed
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"aliases": {
|
|
3
|
+
"omc": {
|
|
4
|
+
"repo": "Yeachan-Heo/oh-my-claudecode",
|
|
5
|
+
"local": "~/Workspace/oh-my-claudecode",
|
|
6
|
+
"default_base": "main"
|
|
7
|
+
},
|
|
8
|
+
"cc": {
|
|
9
|
+
"repo": "anthropics/claude-code",
|
|
10
|
+
"local": "~/Workspace/claude-code",
|
|
11
|
+
"default_base": "main"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"defaults": {
|
|
15
|
+
"worktree_root": "~/.psm/worktrees",
|
|
16
|
+
"cleanup_after_days": 14,
|
|
17
|
+
"auto_cleanup_merged": true
|
|
18
|
+
}
|
|
19
|
+
}
|
package/skills/release/SKILL.md
CHANGED
|
@@ -57,7 +57,7 @@ gh release create v<version> --title "v<version> - <title>" --notes "<release no
|
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
### 7. Verify
|
|
60
|
-
- [ ] npm: https://www.npmjs.com/package/oh-my-
|
|
60
|
+
- [ ] npm: https://www.npmjs.com/package/oh-my-claude-sisyphus
|
|
61
61
|
- [ ] GitHub: https://github.com/Yeachan-Heo/oh-my-claudecode/releases
|
|
62
62
|
|
|
63
63
|
## Version Files Reference
|