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
7 changes: 3 additions & 4 deletions apps/app/src/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ if (given) {
/** The deployed app's chosen host, shown when it cannot be reached. */
export const chosen = deployed ? stored() : undefined;

export const gateway: string | undefined = import.meta.env.VITE_ACE_HOST
|| (deployed
? chosen && `wss://${chosen}/ws`
: `${location.protocol === "https:" ? "wss:" : "ws:"}//${location.host}/ws`);
export const gateway: string | undefined = deployed
? chosen && `wss://${chosen}/ws`
: `${location.protocol === "https:" ? "wss:" : "ws:"}//${location.host}/ws`;
1 change: 0 additions & 1 deletion apps/app/src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
interface ImportMetaEnv {
readonly VITE_ACE_HOST?: string;
readonly VITE_ACE_WEB?: string;
}
1 change: 0 additions & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"version": "0.0.46",
"exports": { "./protocol": "./src/protocol.ts" },
"scripts": {
"stage": "bun scripts/stage.ts",
"dev": "bun scripts/build.ts dev --run",
"build": "bun scripts/build.ts",
"ci": "bun scripts/ci.ts",
Expand Down
8 changes: 1 addition & 7 deletions apps/host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"private": true,
"type": "module",
"license": "MIT",
"bin": {
"ace": "./src/cli.ts"
},
"scripts": {
"types": "tsgo --noEmit"
},
Expand All @@ -21,13 +18,10 @@
"@types/bun": "catalog:bun"
},
"exports": {
".": "./src/cli.ts",
"./protocol": "./src/protocol.ts",
"./gateway-client": "./src/gateway-client.ts",
"./gateway": "./src/gateway.ts",
"./config": "./src/config.ts",
"./auth": "./src/auth.ts",
"./health": "./src/health.ts",
"./keys": "./src/keys.ts"
"./health": "./src/health.ts"
}
}
4 changes: 2 additions & 2 deletions apps/host/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const config = {
/** HTTPS for browsers on the tailnet; defaults to port + 1000. */
webPort: process.env.ACE_WEB_PORT ? Number(process.env.ACE_WEB_PORT) : undefined,
peerPort: process.env.ACE_PEER_PORT ? Number(process.env.ACE_PEER_PORT) : undefined,
app: process.env.ACE_APP_DIR || fileURLToPath(new URL("../../app/dist", import.meta.url)),
app: fileURLToPath(new URL("../../app/dist", import.meta.url)),
appUrl: process.env.ACE_APP_URL,
helper: false,
/** Ace Helper's app version, reported by /health so a conflict can name the build on the port. */
Expand All @@ -27,7 +27,7 @@ export const config = {
worker: [
process.execPath,
"--no-env-file",
process.env.ACE_WORKER || fileURLToPath(new URL("./worker.ts", import.meta.url)),
fileURLToPath(new URL("./worker.ts", import.meta.url)),
] as [string, ...string[]],
};

Expand Down
1 change: 0 additions & 1 deletion bun.lock

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

1 change: 0 additions & 1 deletion services/channel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"dependencies": {
"@ace/channel": "workspace:*",
"@earendil-works/chord": "catalog:pi",
"@earendil-works/pi-ai": "catalog:pi",
"@earendil-works/pi-durable": "catalog:pi"
},
Expand Down