Skip to content

Commit decdf02

Browse files
committed
chore: extract chat clients to mosh
1 parent 36dbd40 commit decdf02

128 files changed

Lines changed: 3 additions & 21092 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci-dev.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,3 @@ jobs:
8383

8484
- name: Re-run mesh package with retries
8585
run: go test ./internal/mesh -count=3 -timeout 1800s
86-
87-
build-tauri-web:
88-
name: Build Tauri Frontend
89-
runs-on: ubuntu-latest
90-
defaults:
91-
run:
92-
working-directory: apps/moss-chat-tauri
93-
steps:
94-
- name: Checkout
95-
uses: actions/checkout@v4
96-
97-
- name: Setup Node
98-
uses: actions/setup-node@v4
99-
with:
100-
node-version: 22
101-
cache: npm
102-
cache-dependency-path: apps/moss-chat-tauri/package-lock.json
103-
104-
- name: Install frontend dependencies
105-
run: npm ci
106-
107-
- name: Build frontend
108-
run: npm run build

.github/workflows/release-dev-tauri.yml

Lines changed: 0 additions & 123 deletions
This file was deleted.

.github/workflows/release-main.yml

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -79,55 +79,3 @@ jobs:
7979
${{ matrix.output }}
8080
${{ matrix.header }}
8181
if-no-files-found: error
82-
83-
build-chat:
84-
name: Build Chat (${{ matrix.label }})
85-
runs-on: ${{ matrix.os }}
86-
strategy:
87-
fail-fast: false
88-
matrix:
89-
include:
90-
- os: ubuntu-latest
91-
label: linux-amd64
92-
output: moss-chat
93-
goos: linux
94-
goarch: amd64
95-
- os: windows-latest
96-
label: windows-amd64
97-
output: moss-chat.exe
98-
goos: windows
99-
goarch: amd64
100-
- os: macos-15-intel
101-
label: macos-amd64
102-
output: moss-chat
103-
goos: darwin
104-
goarch: amd64
105-
- os: macos-latest
106-
label: macos-arm64
107-
output: moss-chat
108-
goos: darwin
109-
goarch: arm64
110-
env:
111-
GOOS: ${{ matrix.goos }}
112-
GOARCH: ${{ matrix.goarch }}
113-
steps:
114-
- name: Checkout
115-
uses: actions/checkout@v4
116-
117-
- name: Setup Go
118-
uses: actions/setup-go@v5
119-
with:
120-
go-version-file: go.mod
121-
cache: true
122-
123-
- name: Build native chat
124-
run: go build -trimpath -ldflags "-s -w" -o ${{ matrix.output }} ./cmd/moss-chat
125-
126-
- name: Upload chat artifact
127-
uses: actions/upload-artifact@v4
128-
with:
129-
name: moss-chat-${{ matrix.label }}
130-
path: |
131-
${{ matrix.output }}
132-
cmd/moss-chat/README.md
133-
if-no-files-found: error

README.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Moss is an embeddable P2P mesh core written in Go and exported through CGO as a
1010
- topic-based pub/sub routing with GRAFT/PRUNE control messages, BLAKE2s message IDs, and peer scoring
1111
- NAT profiling, relay rate limiting primitives, and supernode eligibility checks
1212
- C FFI surface with examples for C, C++, Python (`ctypes`), and Rust
13-
- native single-binary terminal chat in `cmd/moss-chat`
14-
- separate Tauri desktop client in `apps/moss-chat-tauri` for the `dev` branch migration
1513
- unit, integration, and shared-library smoke tests
1614

15+
Desktop chat clients now live in the separate [MOSH](https://github.com/redstone-md/mosh) repository, which consumes `MOSS` through the shared runtime and a Git submodule pin for compatibility.
16+
1717
FFI docs:
1818

1919
- API reference: [docs/API.md](docs/API.md)
@@ -23,8 +23,6 @@ FFI docs:
2323

2424
```text
2525
cmd/moss-ffi/ CGO shared library entrypoint
26-
cmd/moss-chat/ Native single-binary TUI chat
27-
apps/moss-chat-tauri/ Dev-branch Tauri desktop shell
2826
internal/bootstrap/ tracker clients and infohash generation
2927
internal/transport/ encrypted sessions and handshake
3028
internal/gossip/ pubsub cache, scoring, envelopes
@@ -53,19 +51,10 @@ The generated header is emitted next to the shared library as `moss.h` or `libmo
5351

5452
GitHub Actions publishes release artifacts only from tags.
5553

56-
Main release tags (`v*`) publish separate macOS artifacts for both architectures:
54+
Main release tags (`v*`) publish separate shared-library artifacts for both macOS architectures:
5755

5856
- `moss-macos-amd64-shared`
5957
- `moss-macos-arm64-shared`
60-
- `moss-chat-macos-amd64`
61-
- `moss-chat-macos-arm64`
62-
63-
Dev desktop tags (`dev-*`) publish dedicated Tauri desktop artifacts:
64-
65-
- `moss-chat-tauri-dev-linux-amd64`
66-
- `moss-chat-tauri-dev-windows-amd64`
67-
- `moss-chat-tauri-dev-macos-amd64`
68-
- `moss-chat-tauri-dev-macos-arm64`
6958

7059
Regular `main` / `dev` branch CI now runs tests and smoke builds only. It does not upload release artifacts on every push.
7160

apps/moss-chat-tauri/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

apps/moss-chat-tauri/README.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

apps/moss-chat-tauri/index.html

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)