Compare commits

...

2 Commits

Author SHA1 Message Date
Soybean
dacee143c0 feat(workflows): add opencode workflow for issue and PR comment triggers 2026-01-20 15:23:35 +08:00
Soybean
2a0231da55 chore(deps): update deps 2026-01-20 15:23:00 +08:00
5 changed files with 884 additions and 841 deletions

34
.github/workflows/opencode.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: opencode
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
jobs:
opencode:
if: |
contains(github.event.comment.body, ' /oc') ||
startsWith(github.event.comment.body, '/oc') ||
contains(github.event.comment.body, ' /opencode') ||
startsWith(github.event.comment.body, '/opencode')
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
pull-requests: read
issues: read
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run opencode
uses: anomalyco/opencode/github@latest
env:
GOOGLE_GENERATIVE_AI_API_KEY: ${{ secrets.GOOGLE_GENERATIVE_AI_API_KEY }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
with:
model: google/gemini-3-pro-preview

View File

@@ -64,44 +64,44 @@
"nprogress": "0.2.0", "nprogress": "0.2.0",
"pinia": "3.0.4", "pinia": "3.0.4",
"tailwind-merge": "3.4.0", "tailwind-merge": "3.4.0",
"vue": "3.5.26", "vue": "3.5.27",
"vue-draggable-plus": "0.6.0", "vue-draggable-plus": "0.6.1",
"vue-i18n": "11.2.7", "vue-i18n": "11.2.8",
"vue-router": "4.6.4" "vue-router": "4.6.4"
}, },
"devDependencies": { "devDependencies": {
"@elegant-router/vue": "0.3.8", "@elegant-router/vue": "0.3.8",
"@iconify/json": "2.2.417", "@iconify/json": "2.2.430",
"@sa/scripts": "workspace:*", "@sa/scripts": "workspace:*",
"@sa/uno-preset": "workspace:*", "@sa/uno-preset": "workspace:*",
"@soybeanjs/eslint-config": "1.7.5", "@soybeanjs/eslint-config": "1.7.5",
"@types/node": "25.0.3", "@types/node": "25.0.9",
"@types/nprogress": "0.2.3", "@types/nprogress": "0.2.3",
"@unocss/eslint-config": "66.5.10", "@unocss/eslint-config": "66.6.0",
"@unocss/preset-icons": "66.5.10", "@unocss/preset-icons": "66.6.0",
"@unocss/preset-uno": "66.5.10", "@unocss/preset-uno": "66.6.0",
"@unocss/transformer-directives": "66.5.10", "@unocss/transformer-directives": "66.6.0",
"@unocss/transformer-variant-group": "66.5.10", "@unocss/transformer-variant-group": "66.6.0",
"@unocss/vite": "66.5.10", "@unocss/vite": "66.6.0",
"@vitejs/plugin-vue": "6.0.3", "@vitejs/plugin-vue": "6.0.3",
"@vitejs/plugin-vue-jsx": "5.1.3", "@vitejs/plugin-vue-jsx": "5.1.3",
"consola": "3.4.2", "consola": "3.4.2",
"eslint": "9.39.2", "eslint": "9.39.2",
"eslint-plugin-vue": "10.6.2", "eslint-plugin-vue": "10.7.0",
"kolorist": "1.8.0", "kolorist": "1.8.0",
"sass": "1.97.1", "sass": "1.97.2",
"simple-git-hooks": "2.13.1", "simple-git-hooks": "2.13.1",
"tsx": "4.21.0", "tsx": "4.21.0",
"typescript": "5.9.3", "typescript": "5.9.3",
"unplugin-icons": "22.5.0", "unplugin-icons": "23.0.1",
"unplugin-vue-components": "30.0.0", "unplugin-vue-components": "31.0.0",
"vite": "7.3.0", "vite": "7.3.1",
"vite-plugin-progress": "0.0.7", "vite-plugin-progress": "0.0.7",
"vite-plugin-svg-icons": "2.0.1", "vite-plugin-svg-icons": "2.0.1",
"vite-plugin-vue-devtools": "8.0.5", "vite-plugin-vue-devtools": "8.0.5",
"vite-plugin-vue-transition-root-validator": "^0.0.4", "vite-plugin-vue-transition-root-validator": "^0.0.4",
"vue-eslint-parser": "10.2.0", "vue-eslint-parser": "10.2.0",
"vue-tsc": "3.2.1" "vue-tsc": "3.2.2"
}, },
"simple-git-hooks": { "simple-git-hooks": {
"commit-msg": "pnpm sa git-commit-verify", "commit-msg": "pnpm sa git-commit-verify",

View File

@@ -13,7 +13,7 @@
"@sa/utils": "workspace:*", "@sa/utils": "workspace:*",
"axios": "1.13.2", "axios": "1.13.2",
"axios-retry": "4.5.0", "axios-retry": "4.5.0",
"qs": "6.14.0" "qs": "6.14.1"
}, },
"devDependencies": { "devDependencies": {
"@types/qs": "6.14.0" "@types/qs": "6.14.0"

View File

@@ -14,14 +14,14 @@
}, },
"devDependencies": { "devDependencies": {
"@soybeanjs/changelog": "0.4.3", "@soybeanjs/changelog": "0.4.3",
"bumpp": "10.3.2", "bumpp": "10.4.0",
"c12": "3.3.3", "c12": "3.3.3",
"cac": "6.7.14", "cac": "6.7.14",
"consola": "3.4.2", "consola": "3.4.2",
"enquirer": "2.4.1", "enquirer": "2.4.1",
"execa": "9.6.1", "execa": "9.6.1",
"kolorist": "1.8.0", "kolorist": "1.8.0",
"npm-check-updates": "19.2.0", "npm-check-updates": "19.3.1",
"picomatch": "4.0.3", "picomatch": "4.0.3",
"rimraf": "6.1.2" "rimraf": "6.1.2"
} }

1651
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff