Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
95601bc
RIK register
paoloanzn Jun 10, 2026
67e1fab
feat: 了解全项目
366522695qqcom Jun 19, 2026
0af7f36
feat: 了解全项目
366522695qqcom Jun 19, 2026
60fe618
feat: 了解全项目
366522695qqcom Jun 19, 2026
92f6dbb
feat: 了解全项目
366522695qqcom Jun 19, 2026
05b26d2
feat: 了解全项目
366522695qqcom Jun 20, 2026
102eafe
feat: 了解全项目
366522695qqcom Jun 20, 2026
3b6101f
feat: 了解全项目
366522695qqcom Jun 20, 2026
f062ad9
ci: add GitHub Actions workflow for building Windows .exe and Linux b…
bot Jun 20, 2026
87618b1
Merge trae/solo-agent-kT3OVK into main
bot Jun 20, 2026
1f0e5b1
feat: 了解全项目
366522695qqcom Jun 20, 2026
5c1cf71
fix: add stub files and fix gitignore for src/cli/
bot Jun 20, 2026
6db9fdc
fix(ci): add DEFAULT_GRANT_FLAGS export to @ant/computer-use-mcp/type…
bot Jun 20, 2026
3331986
docs(ci): add Windows 7 compatibility note to release
bot Jun 21, 2026
c12a5b2
ci: package JS bundle as zip for Windows 7 users
bot Jun 21, 2026
90145ee
docs(ci): correct Win7 instructions to recommend Bun 1.0.14
bot Jun 21, 2026
6867e9e
Revert "docs(ci): correct Win7 instructions to recommend Bun 1.0.14"
366522695qqcom Jun 21, 2026
999961f
Revert "ci: package JS bundle as zip for Windows 7 users"
366522695qqcom Jun 21, 2026
35f1dee
Revert "docs(ci): add Windows 7 compatibility note to release"
366522695qqcom Jun 21, 2026
032cbad
Revert "fix(ci): add DEFAULT_GRANT_FLAGS export to @ant/computer-use-…
366522695qqcom Jun 21, 2026
2670fb4
Revert "ci: add GitHub Actions workflow for building Windows .exe and…
366522695qqcom Jun 21, 2026
393969e
feat: 了解全项目
366522695qqcom Jun 21, 2026
35591e4
ci: add build & release workflow for Windows/Linux
366522695qqcom Jun 21, 2026
968e505
feat: 基于设计稿搭建可运行项目
366522695qqcom Jun 25, 2026
de9d05e
feat: 基于设计稿搭建可运行项目
366522695qqcom Jun 25, 2026
747b1f4
feat: 基于设计稿搭建可运行项目
366522695qqcom Jun 26, 2026
74a3659
feat: 基于设计稿搭建可运行项目
366522695qqcom Jun 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
123 changes: 123 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
name: Build & Release

on:
push:
tags:
- 'v*'
workflow_dispatch:
inputs:
version:
description: 'Version tag (e.g. v2.1.87)'
required: false
default: ''

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2

- name: Install dependencies
run: bun install

- name: Create @ant stub packages
run: |
mkdir -p node_modules/@ant/computer-use-mcp
cat > node_modules/@ant/computer-use-mcp/package.json << 'EOF'
{ "name": "@ant/computer-use-mcp", "version": "0.0.0", "main": "index.js" }
EOF
cat > node_modules/@ant/computer-use-mcp/index.js << 'EOF'
export function buildComputerUseTools() { return []; }
export function createComputerUseMcpServer() { return null; }
export const API_RESIZE_PARAMS = {};
export const targetImageSize = 768;
export function bindSessionContext() {}
export const DEFAULT_GRANT_FLAGS = [];
EOF
cat > node_modules/@ant/computer-use-mcp/types.js << 'EOF'
export const DEFAULT_GRANT_FLAGS = {};
EOF
cat > node_modules/@ant/computer-use-mcp/sentinelApps.js << 'EOF'
export function getSentinelCategory() { return null; }
EOF

mkdir -p node_modules/@ant/computer-use-input
cat > node_modules/@ant/computer-use-input/package.json << 'EOF'
{ "name": "@ant/computer-use-input", "version": "0.0.0", "main": "index.js" }
EOF
cat > node_modules/@ant/computer-use-input/index.js << 'EOF'
export const isSupported = false;
EOF

mkdir -p node_modules/@ant/computer-use-swift
cat > node_modules/@ant/computer-use-swift/package.json << 'EOF'
{ "name": "@ant/computer-use-swift", "version": "0.0.0", "main": "index.js" }
EOF
cat > node_modules/@ant/computer-use-swift/index.js << 'EOF'
export {};
EOF

mkdir -p node_modules/@ant/claude-for-chrome-mcp
cat > node_modules/@ant/claude-for-chrome-mcp/package.json << 'EOF'
{ "name": "@ant/claude-for-chrome-mcp", "version": "0.0.0", "main": "index.js" }
EOF
cat > node_modules/@ant/claude-for-chrome-mcp/index.js << 'EOF'
export const BROWSER_TOOLS = [];
export function createClaudeForChromeMcpServer() { return null; }
EOF

- name: Build Windows .exe
run: bun run scripts/build.ts --compile --windows

- name: Build Linux binary
run: bun run scripts/build.ts --compile

- name: Build JS bundle
run: bun run scripts/build.ts

- name: Package JS bundle
run: |
mkdir -p dist-bundle
cp -r dist-js dist-bundle/
cp package.json dist-bundle/
cd dist-bundle
cat > README.md << 'EOF'
# free-code CLI — JS Bundle

## Usage
```bash
# With Bun
bun cli.js --version

# With Node.js 18+
node cli.js --version
```
EOF
zip -r ../cli-js-bundle.zip .

- name: Determine version
id: version
run: |
if [ -n "${{ github.event.inputs.version }}" ]; then
echo "tag=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
else
echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
fi

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.version.outputs.tag }}
name: Release ${{ steps.version.outputs.tag }}
generate_release_notes: true
files: |
dist/cli.exe
dist/cli
cli-js-bundle.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
node_modules/
dist/
cli
cli-dev
/cli
/cli-dev
openclaw/
Loading