Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
2783494
Initial commit - Windows fixed version
Aug 3, 2025
3ab0310
Fix PowerShell execution error - v1.0.2
Aug 3, 2025
eee8da2
Fix PowerShell execution error - v1.0.2
Aug 3, 2025
d0d3798
Update documentation for v1.0.2 release
Aug 3, 2025
b0451de
Update MCP configuration to specify v1.0.2
Aug 3, 2025
94527cd
Add comprehensive usage examples and slash commands from original pro…
Aug 3, 2025
2671a5a
Update README.md
orzcls Aug 3, 2025
aa70941
Update README.md
orzcls Aug 3, 2025
2cca843
feat: Add PowerShell path parameter support (v1.0.3)
Aug 4, 2025
50d7a2e
Merge remote changes
Aug 4, 2025
caf20a0
docs: Update documentation for v1.0.3 with PowerShell path parameter
Aug 4, 2025
c2dc6f4
docs: Ensure all documentation uses v1.0.3 and add PowerShell path co…
Aug 4, 2025
fa647aa
fix: Update final v1.0.2 reference to v1.0.3 in INSTALL-GUIDE.md
Aug 4, 2025
c718578
docs: Add PowerShell path configuration examples to MCP JSON configs
Aug 4, 2025
a9001b5
chore: Clean up project by removing test files and development artifacts
Aug 4, 2025
f4214cf
fix: Fix brainstorm tool undefined error and set default model to 2.5…
Aug 4, 2025
b3a6910
chore: Bump version to 1.0.4
Aug 4, 2025
0b636f4
docs: update version references to v1.0.4 in README and INSTALL-GUIDE
Aug 4, 2025
c689339
v1.0.21: 修复跨终端兼容性和fetch-chunk格式问题
Aug 4, 2025
ef2a5df
更新文档到v1.0.21并添加终端配置指南
Aug 4, 2025
29279e2
添加测试检测脚本
Aug 4, 2025
5e5f13d
Update README.md
orzcls Aug 4, 2025
b5c07e4
Update README.md
orzcls Aug 4, 2025
6bcac06
Update README.md to English version
Aug 4, 2025
3be01af
Update README.md
orzcls Aug 4, 2025
df0bd87
Update README.md
orzcls Aug 4, 2025
5e1519a
Merge upstream/main with Windows compatibility improvements
Aug 5, 2025
af57803
cleanup: Remove unnecessary files and debug artifacts before PR
Aug 5, 2025
595c8e7
Sync with windows-fixed version: merge latest Windows compatibility i…
Aug 5, 2025
2f2bd02
Sync with windows-fixed version: add Windows compatibility files and …
Aug 5, 2025
325ffd8
Update README.md: change package references from windows-fixed to gem…
Aug 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 64 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,87 @@
name: CI
name: CI/CD Pipeline

on:
push:
branches: [ main ]
branches: [ main, develop ]
pull_request:
branches: [ main ]
release:
types: [ published ]

jobs:
test:
runs-on: ubuntu-latest
runs-on: windows-latest

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Install Gemini CLI
run: npm install -g @google/generative-ai-cli

- name: Test basic functionality
run: |
node index.js --help
echo "Basic test completed"
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}

- name: Test NPX functionality
run: |
npm pack
$package = Get-ChildItem -Name "*.tgz"
npm install -g $package
echo "NPX test completed"

publish:
needs: test
runs-on: windows-latest
if: github.event_name == 'release'

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Run tests
run: npm test
continue-on-error: true
- name: Create GitHub Release Assets
run: |
npm pack
$package = Get-ChildItem -Name "*.tgz"
echo "Package created: $package"

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./*.tgz
asset_name: gemini-mcp-tool-windows-fixed.tgz
asset_content_type: application/gzip
84 changes: 72 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,80 @@
# Dependencies
node_modules/
dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/

# nyc test coverage
.nyc_output

# Dependency directories
node_modules/
jspm_packages/

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.DS_Store
*.swp
*.swo

# IDE files
.vscode/
.idea/
.npmignore
*.swp
*.swo
*~

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Windows specific
*.lnk

# Temporary files
*.tmp
*.temp

# Build outputs
dist/
build/

# Docs Site
docs/.vitepress/cache/
docs/.vitepress/dist/
# Test outputs
test-results/

# Desktop Extension build artifacts
*.dxt
extension-build/
CLAUDE.md
# Cache
.cache/
75 changes: 75 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Development files
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/

# nyc test coverage
.nyc_output

# Dependency directories
node_modules/

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test
.env.local
.env.production

# IDE files
.vscode/
.idea/
*.swp
*.swo
*~

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Git files
.git/
.gitignore

# Documentation that's not needed in package
README-FIXED.md

# Test files
test/
tests/
*.test.js
*.spec.js

# Build artifacts
build/
dist/

# Temporary files
tmp/
temp/
Loading