Skip to content

Commit

Permalink
feat: run abilities code in a Docker container (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
ri-nat committed Mar 19, 2024
1 parent 3c65fa8 commit 3c4a2db
Show file tree
Hide file tree
Showing 13 changed files with 379 additions and 108 deletions.
26 changes: 19 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,37 @@
# StarfleetAI Bridge

Bridge is a self-contained fully-featured IDE for building and running autonomous AI agents.
Bridge is a self-contained, fully-featured IDE for building and running autonomous AI agents.

## Download

You can download the latest version of Bridge from the [releases page](https://github.com/StarfleetAI/bridge/releases).

### Fixing "App is damaged and can't be opened" error on macOS

This error occurs because the app is not yet signed. To fix it, run the following command:

```shell
xattr -cr /Applications/Bridge.app
```

## Development Setup

0. Ensure you have Rust, `tauri-cli` and pnpm installed locally
1. Clone the repository
2. Prepare config file
1. Ensure you have Rust, Docker, `tauri-cli` and pnpm installed locally
2. Clone the repository
3. Prepare config file

```shell
cp src-tauri/.env{.example,}
```

3. Run the application
4. Run the application

```shell
SQLX_OFFLINE=true cargo tauri dev
```

The `SQLX_OFFLINE=true` is only required for the cold start, since we have the `DATABASE_URL` set in `.env`, which forces SQLx to build against the databse it points to.
The `SQLX_OFFLINE=true` is only required for the cold start, since we have the `DATABASE_URL` set in `.env`, which forces SQLx to build against the database it points to.

## Vue DevTools
### Vue DevTools

Just run `pnpm devtools` and enjoy!
1 change: 0 additions & 1 deletion entities/settings/model/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { Provider } from '~/shared/model'

export interface Settings {
api_keys: Record<Provider, string>
python_path: string
agents?: unknown
default_model: Nullable<string>
}
1 change: 0 additions & 1 deletion features/settings/model/UpdateSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type { Provider } from '~/shared/model'

export interface UpdateSettings {
api_keys?: Record<Provider, string>
python_path?: string
agents?: unknown
default_model: Nullable<string>
}
219 changes: 205 additions & 14 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3c4a2db

Please sign in to comment.