Skip to content

Commit dfa0787

Browse files
authored
feat: initial implementation of claude-code-status-line
Add complete initial implementation with status line scripts, atomic file operations, comprehensive documentation, and CI/CD workflows. All 38 commits squashed.
1 parent f86d71d commit dfa0787

39 files changed

+2846
-0
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [RMNCLDYO]
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Bug Report
2+
description: File a bug report
3+
title: "[Bug]: "
4+
labels: ["bug", "triage"]
5+
assignees:
6+
- RMNCLDYO
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for taking the time to fill out this bug report!
12+
- type: input
13+
id: contact
14+
attributes:
15+
label: Contact Details
16+
description: How can we get in touch with you if we need more info?
17+
placeholder: ex. [email protected]
18+
validations:
19+
required: false
20+
- type: textarea
21+
id: what-happened
22+
attributes:
23+
label: What happened?
24+
description: Also tell us, what did you expect to happen?
25+
placeholder: Tell us what you see!
26+
value: "A bug happened!"
27+
validations:
28+
required: true
29+
- type: dropdown
30+
id: version
31+
attributes:
32+
label: Version
33+
description: What version of claude-code-status-line are you running?
34+
options:
35+
- 0.1.0
36+
default: 0
37+
validations:
38+
required: true
39+
- type: dropdown
40+
id: os
41+
attributes:
42+
label: What operating system are you using?
43+
multiple: false
44+
options:
45+
- Windows
46+
- macOS
47+
- Linux
48+
- Other
49+
validations:
50+
required: true
51+
- type: dropdown
52+
id: package-manager
53+
attributes:
54+
label: Package Manager
55+
description: Which package manager are you using?
56+
options:
57+
- npm
58+
- yarn
59+
- pnpm
60+
- bun
61+
validations:
62+
required: true
63+
- type: textarea
64+
id: logs
65+
attributes:
66+
label: Relevant log output
67+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
68+
render: shell
69+
- type: checkboxes
70+
id: terms
71+
attributes:
72+
label: Code of Conduct
73+
description: By submitting this issue, you agree to follow our Code of Conduct
74+
options:
75+
- label: I agree to follow this project's Code of Conduct
76+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Security Issue
4+
url: https://github.com/RMNCLDYO/claude-code-status-line/security/policy
5+
about: Please report security vulnerabilities here
6+
- name: Community Discussion
7+
url: https://github.com/RMNCLDYO/claude-code-status-line/discussions
8+
about: Ask questions and discuss ideas with the community
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
assignees:
6+
- RMNCLDYO
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thanks for suggesting a new feature! Please provide as much detail as possible.
12+
- type: textarea
13+
id: problem
14+
attributes:
15+
label: Is your feature request related to a problem?
16+
description: A clear and concise description of what the problem is.
17+
placeholder: I'm always frustrated when...
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: solution
22+
attributes:
23+
label: Describe the solution you'd like
24+
description: A clear and concise description of what you want to happen.
25+
placeholder: I would like...
26+
validations:
27+
required: true
28+
- type: textarea
29+
id: alternatives
30+
attributes:
31+
label: Describe alternatives you've considered
32+
description: A clear and concise description of any alternative solutions or features you've considered.
33+
placeholder: I have also considered...
34+
validations:
35+
required: false
36+
- type: textarea
37+
id: additional-context
38+
attributes:
39+
label: Additional context
40+
description: Add any other context or screenshots about the feature request here.
41+
validations:
42+
required: false
43+
- type: checkboxes
44+
id: terms
45+
attributes:
46+
label: Code of Conduct
47+
description: By submitting this issue, you agree to follow our Code of Conduct
48+
options:
49+
- label: I agree to follow this project's Code of Conduct
50+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## Summary
2+
3+
<!-- Brief description of what this PR does -->
4+
5+
## Type of Change
6+
7+
- [ ] Bug fix (non-breaking change that fixes an issue)
8+
- [ ] New feature (non-breaking change that adds functionality)
9+
- [ ] Breaking change (fix or feature that causes existing functionality to change)
10+
- [ ] Documentation update
11+
- [ ] Performance improvement
12+
- [ ] Code refactoring
13+
- [ ] Test improvements
14+
15+
## Related Issues
16+
17+
<!-- Link to related issues using "Closes #123" or "Fixes #123" -->
18+
19+
## Changes Made
20+
21+
<!-- List key changes made in this PR -->
22+
23+
## Testing
24+
25+
- [ ] Tests added for new functionality
26+
- [ ] All existing tests pass
27+
- [ ] Manual testing completed
28+
- [ ] Integration tests pass
29+
30+
## Checklist
31+
32+
- [ ] Code follows project style guidelines
33+
- [ ] Self-review completed
34+
- [ ] Documentation updated (if applicable)
35+
- [ ] CHANGELOG.md updated (if applicable)
36+
- [ ] No sensitive information exposed
37+
- [ ] Performance impact considered
38+
- [ ] Security implications reviewed
39+
40+
## Review Notes
41+
42+
<!-- Any specific areas you'd like reviewers to focus on -->

.github/dependabot.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
time: "06:00"
9+
open-pull-requests-limit: 10
10+
reviewers:
11+
- "RMNCLDYO"
12+
assignees:
13+
- "RMNCLDYO"
14+
commit-message:
15+
prefix: "chore"
16+
prefix-development: "chore"
17+
include: "scope"
18+
labels:
19+
- "dependencies"
20+
- "npm"
21+
versioning-strategy: increase
22+
23+
- package-ecosystem: "github-actions"
24+
directory: "/"
25+
schedule:
26+
interval: "weekly"
27+
day: "monday"
28+
time: "06:00"
29+
open-pull-requests-limit: 5
30+
reviewers:
31+
- "RMNCLDYO"
32+
assignees:
33+
- "RMNCLDYO"
34+
commit-message:
35+
prefix: "ci"
36+
include: "scope"
37+
labels:
38+
- "dependencies"
39+
- "github-actions"
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: NPM Audit Signatures
2+
3+
on:
4+
schedule:
5+
- cron: '0 6 * * *' # Daily at 6 AM UTC
6+
push:
7+
branches: [ "main" ]
8+
paths:
9+
- 'package*.json'
10+
pull_request:
11+
branches: [ "main" ]
12+
paths:
13+
- 'package*.json'
14+
15+
permissions:
16+
contents: read
17+
issues: write
18+
pull-requests: write
19+
20+
jobs:
21+
audit-signatures:
22+
name: Audit Package Signatures
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28+
29+
- name: Setup Node.js
30+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
31+
with:
32+
node-version: '22'
33+
cache: 'npm'
34+
35+
- name: Install dependencies
36+
run: npm ci
37+
38+
- name: Run npm audit
39+
run: npm audit --audit-level=moderate
40+
41+
- name: Verify package signatures
42+
run: npm audit signatures
43+
44+
- name: Check for vulnerabilities
45+
run: |
46+
AUDIT_RESULT=$(npm audit --json)
47+
VULN_COUNT=$(echo "$AUDIT_RESULT" | jq '.vulnerabilities | length')
48+
if [ "$VULN_COUNT" -gt 0 ]; then
49+
echo "::error::Security vulnerabilities found in dependencies ($VULN_COUNT vulnerabilities)"
50+
exit 1
51+
else
52+
echo "No security vulnerabilities found"
53+
fi

0 commit comments

Comments
 (0)