Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
87 changes: 87 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: Publish FlyBot release
on:
workflow_run:
workflows: [FlyBot CI]
types: [completed]
branches: [main]

permissions: {}
concurrency:
group: flybot-release-${{ github.repository }}
cancel-in-progress: false

jobs:
publish:
if: >-
github.repository == 'ThinkFlowLab/FlyBot' &&
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'main' &&
github.event.workflow_run.head_repository.full_name == github.repository
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
contents: write
steps:
- name: Publish the tested version with committed release notes
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
TESTED_SHA: ${{ github.event.workflow_run.head_sha }}
shell: bash
run: |
[[ "$TESTED_SHA" =~ ^[0-9a-f]{40}$ ]]
version=$(gh api "repos/$GH_REPO/contents/VERSION?ref=$TESTED_SHA" -H 'Accept: application/vnd.github.raw+json')
if [[ ! "$version" =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$ ]]; then
echo "::error::VERSION must be a stable semantic version."
exit 1
fi
tag="v$version"

work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT
if ! gh api "repos/$GH_REPO/contents/docs/releases/$tag.md?ref=$TESTED_SHA" \
-H 'Accept: application/vnd.github.raw+json' >"$work/notes.md" 2>"$work/error"; then
if grep -Fq '(HTTP 404)' "$work/error"; then
echo "No release notes for $tag at $TESTED_SHA."
exit 0
fi
cat "$work/error" >&2
exit 1
fi
test -s "$work/notes.md"

release=$(gh api --paginate "repos/$GH_REPO/releases?per_page=100" --jq ".[] | select(.tag_name == \"$tag\") | .draft")
if [[ "$release" == false ]]; then
echo "$tag is already published."
exit 0
fi
if [[ -n "$release" ]]; then
echo "::error::A release for $tag already exists and is not published."
exit 1
fi

main_sha=$(gh api "repos/$GH_REPO/git/ref/heads/main" --jq .object.sha)
if [[ "$main_sha" != "$TESTED_SHA" ]]; then
echo "main advanced during CI. Its current commit will publish after its own successful run."
exit 0
fi

tag_ref="refs/tags/$tag"
existing_tag=$(gh api "repos/$GH_REPO/git/matching-refs/tags/$tag" --jq ".[] | select(.ref == \"$tag_ref\") | .ref")
if [[ -z "$existing_tag" ]]; then
gh api --method POST "repos/$GH_REPO/git/refs" -f "ref=$tag_ref" -f "sha=$TESTED_SHA" --silent
fi
tag_object=$(gh api "repos/$GH_REPO/git/ref/tags/$tag" --jq '.object | [.type, .sha] | @tsv')
read -r tag_type tagged_sha <<< "$tag_object"
if [[ "$tag_type" == tag ]]; then
tagged_sha=$(gh api "repos/$GH_REPO/git/tags/$tagged_sha" --jq '.object | select(.type == "commit") | .sha')
elif [[ "$tag_type" != commit ]]; then
echo "::error::$tag does not reference a commit."
exit 1
fi
if [[ "$tagged_sha" != "$TESTED_SHA" ]]; then
echo "::error::$tag points to $tagged_sha instead of the tested commit $TESTED_SHA."
exit 1
fi
gh release create "$tag" --repo "$GH_REPO" --verify-tag --title "FlyBot $tag" --notes-file "$work/notes.md"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
<a href="docs/media/flybot-feature-demo.mp4?raw=1">
<picture>
<source media="(prefers-reduced-motion: reduce)" srcset="docs/media/overview.webp">
<img src="docs/media/flybot-feature-demo.webp" width="940" alt="FlyBot feature preview showing streamed chat, shared groups, saved work, meeting actions, and automations">
<img src="docs/media/flybot-feature-demo.webp" width="940" alt="FlyBot preview showing a release question and a streamed checklist">
</picture>
</a>

# FlyBot

**A self-hosted workspace for AI agents, conversations, and teamwork.**

[**Download the feature demo** · 42 seconds, MP4](docs/media/flybot-feature-demo.mp4?raw=1)
[**Download the feature demo** · 1 min 16 sec, MP4](docs/media/flybot-feature-demo.mp4?raw=1)

[Quick start](#quick-start) · [Deployment](#deployment) · [Architecture](#architecture) · [Documentation](#documentation)

[![FlyBot CI](https://github.com/ThinkFlowLab/FlyBot/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/ThinkFlowLab/FlyBot/actions/workflows/tests.yml)

</div>

FlyBot gives each account a private DS-Bot runtime for its agents, conversations, skills, and memory. People and agents can collaborate in shared groups through Bot Social. The demo uses a sample workspace captured in Chromium on desktop and mobile.
FlyBot gives each account a private DS-Bot runtime for its agents, conversations, skills, and memory. People and agents can collaborate in shared groups through Bot Social. The narrated demo follows a sample team from its release checklist to a shared conversation, saved work, and recurring follow-up. It uses real Chromium captures and includes English and Simplified Chinese captions.

## Capabilities

Expand Down
11 changes: 8 additions & 3 deletions docs/inventory/visible-controls.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,14 @@
},
"controls": [
{"source": "flybot_workspace/static/about/index.html", "line": 16, "tag": "a", "id": null, "name": null, "href": "#main", "type": null, "label": " 跳到主要内容", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 20, "tag": "a", "id": null, "name": null, "href": "/settings", "type": null, "label": "返回 ‹", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 21, "tag": "a", "id": null, "name": null, "href": "/chat", "type": null, "label": "FlyBot FlyBot ", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 48, "tag": "a", "id": null, "name": null, "href": "https://github.com/ThinkFlowLab/FlyBot", "type": null, "label": " github.com/ThinkFlowLab/FlyBot", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 23, "tag": "a", "id": null, "name": null, "href": "/settings", "type": null, "label": "返回设置 ‹ 设置", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 24, "tag": "a", "id": null, "name": null, "href": "/chat", "type": null, "label": " FlyBot", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 81, "tag": "a", "id": null, "name": null, "href": "https://github.com/ThinkFlowLab/FlyBot/releases/tag/v0.3.0", "type": null, "label": " v0.3.0", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 41, "tag": "a", "id": null, "name": null, "href": "https://github.com/ThinkFlowLab/FlyBot#readme", "type": null, "label": " 观看特性演示", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 42, "tag": "a", "id": null, "name": null, "href": "https://github.com/ThinkFlowLab/FlyBot/releases/tag/v0.3.0", "type": null, "label": " 查看版本说明", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 67, "tag": "a", "id": null, "name": null, "href": "https://github.com/ThinkFlowLab/FlyBot/blob/main/docs/GETTING_STARTED.md", "type": null, "label": " 自托管指南", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 71, "tag": "a", "id": null, "name": null, "href": "https://github.com/ThinkFlowLab/FlyBot", "type": null, "label": " 源代码", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/about/index.html", "line": 72, "tag": "a", "id": null, "name": null, "href": "https://github.com/ThinkFlowLab/FlyBot/issues", "type": null, "label": " 问题反馈", "initially_disabled": false, "data": {}, "execution_profile": "about", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/agents/index.html", "line": 19, "tag": "a", "id": null, "name": null, "href": "#main", "type": null, "label": " 跳到主要内容", "initially_disabled": false, "data": {}, "execution_profile": "agents", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/agents/index.html", "line": 23, "tag": "a", "id": null, "name": null, "href": "/", "type": null, "label": "FlyBot", "initially_disabled": false, "data": {}, "execution_profile": "agents", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
{"source": "flybot_workspace/static/agents/index.html", "line": 27, "tag": "a", "id": null, "name": null, "href": "/", "type": null, "label": "首页 首页", "initially_disabled": false, "data": {}, "execution_profile": "agents", "verification": "unverified individual control/state; route-level evidence is not universal acceptance"},
Expand Down
Binary file modified docs/media/flybot-feature-demo.mp4
Binary file not shown.
Binary file modified docs/media/flybot-feature-demo.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/releases/v0.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FlyBot 0.3.0 introduces a self-hosted workspace for people and AI agents. Each account runs its own DS-Bot container, and Bot Social connects people and agents in shared conversations.

## Highlights

- **Personal and group chat.** Work with a personal agent, share a room with teammates and other agents, and read streaming replies with Markdown, tables, and flowcharts.
- **Workspace library.** Save agent outputs, manage versions and sharing, and bring workspace context back into conversations.
- **Meetings and automations.** Capture meeting action items, assign follow-up work, and schedule recurring checks.
- **Account isolation.** The gateway routes each signed-in account to its dedicated runtime and data volume. Operators can set a default model API for new accounts.
- **Updated workspace.** The refreshed FlyBot brand, responsive interface, and About page introduce the product and link to the feature demo.

## Get started

- [Watch the feature demo in the README](https://github.com/ThinkFlowLab/FlyBot/tree/v0.3.0#readme)
- [Run the local preview](https://github.com/ThinkFlowLab/FlyBot/blob/v0.3.0/docs/GETTING_STARTED.md)
- [Deploy with Docker Compose](https://github.com/ThinkFlowLab/FlyBot/blob/v0.3.0/docs/COMPOSE_MANAGER.md)
- [Configure Bot Social and the gateway](https://github.com/ThinkFlowLab/FlyBot/blob/v0.3.0/deploy/isolated/BOT_SOCIAL_DEPLOY.md)

The runtime pins [DS-Bot v0.3.10](https://github.com/ThinkFlowLab/FlyBot/blob/v0.3.0/runtime/ds-bot-upstream.pin.json). FlyBot CI verifies the pinned runtime, the workspace interface in Chromium, per-account container isolation, and shared Bot Social flows. See the [licensing inventory](https://github.com/ThinkFlowLab/FlyBot/blob/v0.3.0/docs/LICENSING.md) for source attribution and component licenses.
Loading
Loading