-
-
Notifications
You must be signed in to change notification settings - Fork 19
🚀 release: v1.1.0 #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
0d15382
📦 new: add update checker functionality and context injection
warengonzaga ec863b1
📦 new: implement update checker with caching and runtime detection
warengonzaga 054b7c8
🧪 test: add comprehensive tests for update checker module
warengonzaga 59c79d9
📦 new: add updateContext to AgentContext for software updates
warengonzaga c0a9883
📦 new: add software update check and context to start command
warengonzaga 9398d21
📦 new: update package versions to 1.0.1 across all packages
warengonzaga 4e31c8a
⚙️ setup: update CI workflows for release process and permissions
warengonzaga 1cd2fca
🔧 update: enhance version parsing in isNewerVersion function
warengonzaga 3f91a71
📦 new: add build step for all packages in CI workflow
warengonzaga 080224e
⚙️ setup (ci): update package-build-flow-action to v2.0.1
warengonzaga 6e46e61
⚙️ setup: enforce clean commit convention with husky and ci
warengonzaga 57d3d0f
⚙️ setup (husky): add clean commit validation hook
warengonzaga d71d865
⚙️ setup (ci): fix security, guards, and validation issues
warengonzaga 0407858
⚙️ setup (ci): remove redundant permissions from reusable workflow calls
warengonzaga a240bb6
🔧 update (ci): handle initial push and improve update-checker test
warengonzaga 283a069
📦 new (landing): add landing page with svelte and tailwindcss
warengonzaga cbe57e2
⚙️ setup (ci): add deploy workflow for landing page
warengonzaga 01135d6
⚙️ setup (landing): add build:landing script and update lockfile
warengonzaga af268be
⚙️ setup (husky): add error handling and allow revert commits
warengonzaga cf70b85
🔒 security (update-checker): sanitize version and url for prompt inje…
warengonzaga 7094636
🧪 test (update-checker): add sanitizeForPrompt tests and improve mocking
warengonzaga 858ff22
⚙️ setup (ci): pin action shas and scope deploy permissions
warengonzaga a5c1305
🔒 security (core): harden update checker cache and fetch logic
warengonzaga ea45a35
📦 new (landing): extract GitHubIcon component and improve accessibility
warengonzaga c142513
🔧 update (landing): improve scrollbar styling and Firefox support
warengonzaga 302f44b
🔧 update (landing): clarify QuickStart step 3 description
warengonzaga 99c228a
⚙️ setup (ci): streamline CI workflows by removing unused jobs
warengonzaga bab10e0
🗑️ remove: delete pre-commit script for bun test
warengonzaga 3004a38
🔧 update (ci): add build step for workspace packages
warengonzaga 67f0a76
🔧 update (dockerfile): upgrade bun version for builder and production…
warengonzaga 8dc6789
🚀 release: bump version to 1.1.0 for all packages
warengonzaga 4422bf3
🔧 update (dockerfile): remove frozen-lockfile option from bun install
warengonzaga 958e520
📦 new: add dev:landing script for development of landing page
warengonzaga 61699d8
📖 docs: update README with model names and licensing information
warengonzaga 6e3e0bd
⚙️ setup: update release action to v1.2.1 and change token secret
warengonzaga 8bb8382
📖 docs: update commit message guidelines for breaking changes
warengonzaga 7c8f470
🔧 update: enhance commit message validation for breaking changes
warengonzaga File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| name: Commit Lint | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [main, dev] | ||
| push: | ||
| branches: [main, dev] | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| lint-commits: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Validate commit messages | ||
| run: | | ||
| # Clean Commit convention pattern | ||
| # Format: <emoji> <type>[(<scope>)]: <description> | ||
| PATTERN='^(📦|🔧|🗑️|🔒|⚙️|☕|🧪|📖|🚀) (new|update|remove|security|setup|chore|test|docs|release)( \([a-z0-9][a-z0-9-]*\))?: .{1,72}$' | ||
|
|
||
| if [ "${{ github.event_name }}" = "pull_request" ]; then | ||
| COMMITS=$(git log --format="%s" ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}) | ||
| else | ||
| COMMITS=$(git log --format="%s" -1) | ||
| fi | ||
warengonzaga marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| FAILED=0 | ||
| while IFS= read -r msg; do | ||
| [ -z "$msg" ] && continue | ||
| # Allow merge commits | ||
| if echo "$msg" | grep -qE "^Merge "; then | ||
| continue | ||
| fi | ||
| if ! echo "$msg" | grep -qP "$PATTERN"; then | ||
| echo "✖ Invalid commit message: $msg" | ||
| FAILED=1 | ||
| else | ||
| echo "✔ Valid commit message: $msg" | ||
| fi | ||
| done <<< "$COMMITS" | ||
|
|
||
| if [ "$FAILED" -eq 1 ]; then | ||
| echo "" | ||
| echo "One or more commit messages do not follow the Clean Commit convention." | ||
| echo "Format: <emoji> <type>[(<scope>)]: <description>" | ||
| echo "Reference: https://github.com/wgtechlabs/clean-commit" | ||
| exit 1 | ||
| fi | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| #!/bin/sh | ||
|
|
||
| bun "$(dirname "$0")/validate-commit-msg.mjs" "$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| bun test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| import { readFileSync } from "fs"; | ||
|
|
||
| const msgFile = process.argv[2]; | ||
| const raw = readFileSync(msgFile, "utf8"); | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| const firstLine = raw.replace(/\r/g, "").split("\n")[0].trim(); | ||
|
|
||
| // Allow merge commits | ||
| if (/^Merge /.test(firstLine)) process.exit(0); | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| // Clean Commit convention pattern | ||
| // Format: <emoji> <type>[(<scope>)]: <description> | ||
| const pattern = | ||
| /^(📦|🔧|🗑️|🔒|⚙️|☕|🧪|📖|🚀) (new|update|remove|security|setup|chore|test|docs|release)( \([a-z0-9][a-z0-9-]*\))?: .{1,72}$/u; | ||
warengonzaga marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| if (!pattern.test(firstLine)) { | ||
| console.error(""); | ||
| console.error("✖ Invalid commit message format."); | ||
| console.error(""); | ||
| console.error(" Expected: <emoji> <type>[(<scope>)]: <description>"); | ||
| console.error(""); | ||
| console.error(" Types and emojis:"); | ||
| console.error(" 📦 new – new features, files, or capabilities"); | ||
| console.error(" 🔧 update – changes, refactoring, improvements"); | ||
| console.error(" 🗑️ remove – removing code, files, or dependencies"); | ||
| console.error(" 🔒 security – security fixes or patches"); | ||
| console.error(" ⚙️ setup – configs, CI/CD, tooling, build systems"); | ||
| console.error(" ☕ chore – maintenance, dependency updates"); | ||
| console.error(" 🧪 test – adding or updating tests"); | ||
| console.error(" 📖 docs – documentation changes"); | ||
| console.error(" 🚀 release – version releases"); | ||
| console.error(""); | ||
| console.error(" Examples:"); | ||
| console.error(" 📦 new: user authentication system"); | ||
| console.error(" 🔧 update (api): improve error handling"); | ||
| console.error(" ⚙️ setup (ci): configure github actions workflow"); | ||
| console.error(""); | ||
| console.error(" Reference: https://github.com/wgtechlabs/clean-commit"); | ||
| console.error(""); | ||
| process.exit(1); | ||
| } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.