minimax-status 1.0.4 → 1.0.6

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.
@@ -1,77 +1,58 @@
1
- name: Build and Release VSCode Extension
2
-
3
- on:
4
- push:
5
- branches: [ main ]
6
- paths:
7
- - 'vscode-extension/**'
8
- - '.github/workflows/build-vscode-extension.yml'
9
- workflow_dispatch:
10
-
11
- jobs:
12
- build:
13
- runs-on: ubuntu-latest
14
-
15
- steps:
16
- - name: Checkout code
17
- uses: actions/checkout@v4
18
-
19
- - name: Setup Node.js
20
- uses: actions/setup-node@v4
21
- with:
22
- node-version: '18'
23
- cache: 'npm'
24
- cache-dependency-path: 'vscode-extension/package-lock.json'
25
-
26
- - name: Install dependencies
27
- working-directory: ./vscode-extension
28
- run: npm ci
29
-
30
- # - name: Run tests
31
- # working-directory: ./vscode-extension
32
- # run: npm test
33
- # Note: Tests temporarily disabled due to missing mocha dependency
34
-
35
- - name: Build VSIX
36
- working-directory: ./vscode-extension
37
- run: npx vsce package --allow-missing-repository
38
-
39
- - name: Get version
40
- id: version
41
- working-directory: ./vscode-extension
42
- run: |
43
- VERSION=$(node -p "require('./package.json').version")
44
- echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
45
- echo "Version: $VERSION"
46
-
47
- - name: Create Release
48
- uses: softprops/action-gh-release@v1
49
- with:
50
- tag_name: vscode-v${{ steps.version.outputs.VERSION }}
51
- name: VSCode Extension v${{ steps.version.outputs.VERSION }}
52
- body: |
53
- MiniMax Status - VSCode Extension v${{ steps.version.outputs.VERSION }}
54
-
55
- ## 安装说明
56
-
57
- 1. 点击下方 `minimax-status-vscode-${{ steps.version.outputs.VERSION }}.vsix` 下载扩展包
58
- 2. VS Code 中按 `Ctrl+Shift+P`
59
- 3. 输入 "Extensions: Install from VSIX..."
60
- 4. 选择下载的 `.vsix` 文件
61
-
62
- ## 更新内容
63
-
64
- 请查看 [完整更新日志](https://github.com/JochenYang/minimax-status/commits/main)
65
- files: |
66
- vscode-extension/minimax-status-vscode-${{ steps.version.outputs.VERSION }}.vsix
67
- draft: false
68
- prerelease: false
69
- env:
70
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71
-
72
- - name: Upload VSIX artifact
73
- uses: actions/upload-artifact@v4
74
- with:
75
- name: minimax-status-vscode-${{ steps.version.outputs.VERSION }}
76
- path: vscode-extension/minimax-status-vscode-${{ steps.version.outputs.VERSION }}.vsix
77
- retention-days: 30
1
+ name: Build and Release VSCode Extension
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ paths:
7
+ - 'vscode-extension/**'
8
+ - '.github/workflows/build-vscode-extension.yml'
9
+ workflow_dispatch:
10
+
11
+ jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
+
19
+ - name: Setup Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: '20'
23
+ cache: 'npm'
24
+ cache-dependency-path: 'vscode-extension/package-lock.json'
25
+
26
+ - name: Install dependencies
27
+ working-directory: ./vscode-extension
28
+ run: npm ci
29
+
30
+ # - name: Run tests
31
+ # working-directory: ./vscode-extension
32
+ # run: npm test
33
+ # Note: Tests temporarily disabled due to missing mocha dependency
34
+
35
+ - name: Build VSIX
36
+ working-directory: ./vscode-extension
37
+ run: npx vsce package --allow-missing-repository
38
+
39
+ - name: Get version
40
+ id: version
41
+ working-directory: ./vscode-extension
42
+ run: |
43
+ VERSION=$(node -p "require('./package.json').version")
44
+ echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
45
+ echo "Version: $VERSION"
46
+
47
+ - name: Upload VSIX artifact
48
+ uses: actions/upload-artifact@v4
49
+ with:
50
+ name: minimax-status-vscode-${{ steps.version.outputs.VERSION }}
51
+ path: vscode-extension/minimax-status-vscode-${{ steps.version.outputs.VERSION }}.vsix
52
+ retention-days: 30
53
+
54
+ - name: Display download info
55
+ run: |
56
+ echo "VSIX file built successfully!"
57
+ echo "Download from Actions tab or artifact:"
58
+ echo "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Jochen Yang
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Jochen Yang
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.