-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update schema in daemon ts files * add stub for streaming endpoint * add failing streaming test! * use empty json array * fix test and make it pass!!!! * trunk fixes * 🔄 "improve readme " Update anysphere/asphr commit SHA 🔗 anysphere/asphr@ef7929a * make it easier to run two things at once * save last_mono_index * use empty array not null * fix tests * 🔄 "Merge branch 'main' into arvid/streaming " Update anysphere/asphr commit SHA 🔗 anysphere/asphr@256f3df * small qol improvements * 🔄 "small qol improvements " Update anysphere/asphr commit SHA 🔗 anysphere/asphr@f178ab6 * update gui proto * sort based on timestamp * fix race condition on independent things by removing forced coupling * 🔄 "fix race condition on independent things by removing forced coupling " Update anysphere/asphr commit SHA 🔗 anysphere/asphr@0503176 * get each message exactly once * not working! * 🔄 "not working! " Update anysphere/asphr commit SHA 🔗 anysphere/asphr@69957a8 * update gui proto * make new messages also streamed * update tests for new filtering mechanism * fix problems' * only update when actuallynecessary * add wrap3 because useful * make sent and outbox work * comply with iso c++ * trunk fmt * clarifying comment * clarify sorting order * typescript super linter use prettier * fix shellcheck i love shellcheck * linting things * add a generated comment on top * add language to make linter happy * trunk fmt all * document scripts * linter
- Loading branch information
Showing
34 changed files
with
802 additions
and
693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,39 +6,39 @@ This repository, along with [anysphere/asphr](https://github.com/anysphere/asphr | |
|
||
Clone anysphere/asphr and anysphere/client and put them in a directory side-by-side. Then, in the `client` directory, run: | ||
|
||
``` | ||
```bash | ||
bazel build //... | ||
``` | ||
|
||
to build, and | ||
|
||
``` | ||
```bash | ||
bazel test //... | ||
``` | ||
|
||
to test. | ||
|
||
## Develop GUI. | ||
## Develop GUI | ||
|
||
Checkout [the GUI Readme](gui/README.md)! | ||
|
||
## Package | ||
|
||
``` | ||
```bash | ||
npm run package-mac | ||
``` | ||
|
||
Make sure you have Xcode installed. | ||
|
||
To enable notarization, first run | ||
|
||
``` | ||
```bash | ||
security find-identity -p basic -v | ||
``` | ||
|
||
to see the developer certificates (there should be Developer ID Application and Developer ID Installer). Make note of the ten character code at the end: this is the teamId. Then run | ||
|
||
``` | ||
```bash | ||
xcrun notarytool store-credentials --apple-id "[email protected]" --team-id "ABCD123456" --keychain ~/Library/Keychains/login.keychain-db | ||
``` | ||
|
||
|
@@ -52,37 +52,30 @@ Let `.env` contain the environment variables specified by `helpers/scripts/packa | |
|
||
Build: | ||
|
||
``` | ||
```bash | ||
bazel build //... | ||
``` | ||
|
||
Run normal daemon: | ||
In one terminal, run normal daemon: | ||
|
||
``` | ||
```bash | ||
./bazel-bin/daemon/daemon | ||
``` | ||
|
||
Run daemon 2: | ||
Open a new terminal and run | ||
In a new terminal, run a second daemon: | ||
|
||
``` | ||
export XDG_CONFIG_HOME=$HOME/.anysphere2/data | ||
export XDG_RUNTIME_DIR=$HOME/.anysphere2/run | ||
rm -rf ~/.anysphere2 && mkdir ~/.anysphere2 && ./bazel-bin/daemon/daemon -d "$HOME/.anysphere2/anysphere.sock" -c "$HOME/.anysphere2/config.json" | ||
```bash | ||
./wrap2.sh ./bazel-bin/daemon/daemon | ||
``` | ||
|
||
Next, in a third terminal, run | ||
To connect to daemon 1, run: | ||
|
||
``` | ||
./bazel-bin/cli/asphr | ||
```bash | ||
./bazel-bin/cli/asphr [command] | ||
``` | ||
|
||
to connect to daemon 1, and in a fourth terminal, run | ||
To connect to daemon 2, run: | ||
|
||
```bash | ||
./wrap2.sh ./bazel-bin/cli/asphr [command] | ||
``` | ||
export XDG_CONFIG_HOME=$HOME/.anysphere2/data | ||
export XDG_RUNTIME_DIR=$HOME/.anysphere2/run | ||
./bazel-bin/cli/asphr [command] | ||
``` | ||
|
||
to connect to daemon 2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.