Skip to content

Commit 4343aec

Browse files
Promoting it to a stable project, with release process, changelog and updated readme
1 parent 1ed1b0c commit 4343aec

4 files changed

Lines changed: 157 additions & 2 deletions

File tree

.github/workflows/nightly.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Nightly Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest, macos-latest]
14+
include:
15+
- os: ubuntu-latest
16+
target: linux
17+
- os: windows-latest
18+
target: windows
19+
- os: macos-latest
20+
target: darwin
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
27+
- name: Setup Deno
28+
uses: denoland/setup-deno@v2
29+
with:
30+
deno-version: v2.x
31+
32+
- name: Get latest tag and commit hash
33+
id: version
34+
shell: bash
35+
run: |
36+
LATEST_TAG=$(git describe --tags --abbrev=0)
37+
COMMIT_HASH=$(git rev-parse --short HEAD)
38+
echo "version=${LATEST_TAG}-${COMMIT_HASH}" >> $GITHUB_OUTPUT
39+
40+
- name: Build binary
41+
run: deno compile --allow-all --target ${{ matrix.target }} --output ComputerUseAgent src/main.ts
42+
43+
- name: Upload Release Asset
44+
uses: softprops/action-gh-release@v2
45+
with:
46+
files: |
47+
ComputerUseAgent*
48+
name: Nightly ${{ steps.version.outputs.version }}
49+
tag_name: nightly
50+
draft: false
51+
prerelease: true
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest, macos-latest]
14+
include:
15+
- os: ubuntu-latest
16+
target: linux
17+
- os: windows-latest
18+
target: windows
19+
- os: macos-latest
20+
target: darwin
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- name: Setup Deno
26+
uses: denoland/setup-deno@v2
27+
with:
28+
deno-version: v2.x
29+
30+
- name: Build binary
31+
run: deno compile --allow-all --target ${{ matrix.target }} --output ComputerUseAgent src/main.ts
32+
33+
- name: Upload Release Asset
34+
uses: softprops/action-gh-release@v2
35+
with:
36+
files: |
37+
ComputerUseAgent*
38+
name: Release ${{ github.ref_name }}
39+
tag_name: ${{ github.ref_name }}
40+
draft: false
41+
prerelease: false
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Changelog
2+
3+
## [Unreleased]
4+
5+
### Added
6+
- Automated build system with GitHub Actions:
7+
- Nightly builds on every push to main branch
8+
- Version releases on every tag push
9+
- Cross-platform binary builds (Windows, Linux, macOS)
10+
- Enhanced logging system with text response content tracking in HybridSession
11+
- Tool configuration management and validation
12+
- User settings management with synchronous file operations
13+
- Jina API integration for page reading and searching capabilities
14+
- History management feature with database integration
15+
- Clipboard management with cross-platform read functionality
16+
- Debug logging for history entry viewing
17+
18+
### Changed
19+
- Promoted hybrid tool from beta to main status
20+
- Improved session management architecture
21+
- Enhanced settings handling system
22+
23+
### Latest Changes (by commit)
24+
- 1ed1b0c - Add logging for text response content in HybridSession and clean up code
25+
- 9e0af9e - Enhance logging and user settings management
26+
- 9f04f30 - Add tool configuration management and session handling integration
27+
- 0377ff1 - Add Jina API integration with fetch utility functions
28+
- f24caf5 - Refactor session management and improve settings handling
29+
- 943b0d5 - Add user settings management
30+
- 785402f - Add debug logging for viewing history
31+
- bec3ab3 - Implement history management feature
32+
- c9babff - Promoted hybrid tool as main instead of beta
33+
- e952464 - Add clipboard management capabilities

README.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# ComputerUseAgent
2+
[![Nightly Build](https://github.com/yourusername/ComputerUseAgent/actions/workflows/nightly.yml/badge.svg)](https://github.com/yourusername/ComputerUseAgent/actions/workflows/nightly.yml)
23

34
A sophisticated Deno-based CLI tool that provides AI-powered file editing and bash command execution capabilities using Claude 3 API.
45

@@ -7,12 +8,19 @@ A sophisticated Deno-based CLI tool that provides AI-powered file editing and ba
78
- **Dual Mode Operation**:
89
- Editor mode for AI-assisted text file manipulation
910
- Bash mode for intelligent command execution
11+
- Hybrid mode for combined capabilities
1012
- **Memory Management**
1113
- **Comprehensive Logging**
12-
- **Token Usage Tracking**
14+
- Text response content tracking
15+
- Debug logging for history entries
16+
- Token usage tracking
1317
- **Cost Calculation**
18+
- **History Management** with database integration
19+
- **Clipboard Management** with cross-platform support
20+
- **Tool Configuration Management**
21+
- **User Settings Management**
22+
- **Jina API Integration** for enhanced search capabilities
1423

15-
1624
## Demo
1725

1826

@@ -85,8 +93,18 @@ Key configuration files:
8593

8694
- [`src/config/constants.ts`](src/config/constants.ts): System-wide constants and API settings
8795
- [`src/config/logging.ts`](src/config/logging.ts): Logging configuration
96+
- [`src/config/tool_config.ts`](src/config/tool_config.ts): Tool configuration
8897
- [`deno.json`](deno.json): Deno project configuration
8998

99+
## Documentation
100+
101+
- See [CHANGELOG.md](CHANGELOG.md) for detailed version history and latest changes
102+
- Key configuration files:
103+
- [`src/config/constants.ts`](src/config/constants.ts): System-wide constants and API settings
104+
- [`src/config/logging.ts`](src/config/logging.ts): Logging configuration
105+
- [`src/config/tool_config.ts`](src/config/tool_config.ts): Tool configuration
106+
- [`deno.json`](deno.json): Deno project configuration
107+
90108
## Development
91109

92110
```sh
@@ -117,3 +135,11 @@ Logs are stored in `app.log` with both console and file output. The logging syst
117135
## License
118136

119137
See [LICENSE](LICENSE) file.
138+
139+
## Releases
140+
### Installation
141+
You can download pre-built binaries for your platform from:
142+
- Latest stable release: [Releases page](https://github.com/PrashamTrivedi/ComputerUseAgent/releases/latest)
143+
- Nightly builds: [Nightly Release](https://github.com/PrashamTrivedi/ComputerUseAgent/releases/tag/nightly)
144+
145+
Binaries are automatically built for Windows, Linux, and macOS.

0 commit comments

Comments
 (0)