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
4 changes: 2 additions & 2 deletions OTTER.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ different and how to keep the fork aligned with upstream.
| URL scheme | `ottercode` (`ottercode-dev`, `ottercode-preview`) |
| Data home | `~/.otter-code` (never `~/.t3`, so it can sit beside an installed T3 Code) |
| Background service | `otter-code.service` (systemd user unit), `dev.otterware.code.service` (launchd) |
| Releases and updates | GitHub Releases of `acme-acme-acme/otter-code`, nightly channel |
| Releases and updates | GitHub Releases of `otterware-app/otter-code`, nightly channel |
| Relay | `https://relay.otterware.dev` (Cloudflare Worker, deployed from `infra/relay`) |
| Tunnels | `prod-<digest>.otterware.dev`, one per linked machine |
| Hosted web app | `https://code.otterware.dev` (Vercel project `otter-code-web`) |
Expand Down Expand Up @@ -131,7 +131,7 @@ source. Run it with `--dry-run` first.
anything fails:

```sh
curl -fsSL https://raw.githubusercontent.com/acme-acme-acme/otter-code/main/scripts/install.sh \
curl -fsSL https://raw.githubusercontent.com/otterware-app/otter-code/main/scripts/install.sh \
| T3CODE_HOME=~/.otter-code T3CODE_CHANNEL=nightly sh
scripts/otter/migrate-from-t3.sh --from ~/.t3/orchestrator-preview-2829 \
--stop-unit t3code-pr2829.service --wait-idle 10 --install-service
Expand Down
2 changes: 1 addition & 1 deletion apps/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/acme-acme-acme/otter-code",
"url": "https://github.com/otterware-app/otter-code",
"directory": "apps/server"
},
"bin": {
Expand Down
6 changes: 3 additions & 3 deletions apps/web/src/components/desktopUpdate.logic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,13 @@ describe("getDesktopUpdateActionError", () => {
describe("desktop update UI helpers", () => {
it("builds the stable release URL for a downloaded version", () => {
expect(getDesktopUpdateReleaseUrl("0.0.30")).toBe(
"https://github.com/acme-acme-acme/otter-code/releases/tag/v0.0.30",
"https://github.com/otterware-app/otter-code/releases/tag/v0.0.30",
);
});

it("builds the nightly release URL without dropping its version suffix", () => {
expect(getDesktopUpdateReleaseUrl("0.0.30-nightly.20260728.931")).toBe(
"https://github.com/acme-acme-acme/otter-code/releases/tag/v0.0.30-nightly.20260728.931",
"https://github.com/otterware-app/otter-code/releases/tag/v0.0.30-nightly.20260728.931",
);
});

Expand All @@ -199,7 +199,7 @@ describe("desktop update UI helpers", () => {

it("builds the release history URL", () => {
expect(getDesktopUpdateReleaseHistoryUrl()).toBe(
"https://github.com/acme-acme-acme/otter-code/releases",
"https://github.com/otterware-app/otter-code/releases",
);
});

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/desktopUpdate.logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { DesktopUpdateActionResult, DesktopUpdateState } from "@t3tools/con

export type DesktopUpdateButtonAction = "download" | "install" | "none";

const DESKTOP_RELEASE_HISTORY_URL = "https://github.com/acme-acme-acme/otter-code/releases";
const DESKTOP_RELEASE_HISTORY_URL = "https://github.com/otterware-app/otter-code/releases";
const DESKTOP_RELEASE_TAG_URL = `${DESKTOP_RELEASE_HISTORY_URL}/tag`;

/**
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/desktopUpdate.toast.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe("showDesktopUpdateDownloadedToast", () => {
link?.props.onClick?.();
await vi.waitFor(() => {
expect(openExternal).toHaveBeenCalledWith(
"https://github.com/acme-acme-acme/otter-code/releases/tag/v0.0.30",
"https://github.com/otterware-app/otter-code/releases/tag/v0.0.30",
);
});
expect(testState.addToast).toHaveBeenCalledTimes(1);
Expand All @@ -91,7 +91,7 @@ describe("showDesktopUpdateDownloadedToast", () => {

await vi.waitFor(() => {
expect(openExternal).toHaveBeenCalledWith(
"https://github.com/acme-acme-acme/otter-code/releases/tag/v0.0.30",
"https://github.com/otterware-app/otter-code/releases/tag/v0.0.30",
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ describe("SidebarUpdateReleaseNotes", () => {
);

expect(anchors.map(({ props }) => props.href)).toEqual([
"https://github.com/acme-acme-acme/otter-code/releases/tag/v0.0.36-nightly.3",
"https://github.com/acme-acme-acme/otter-code/releases/tag/v0.0.36-nightly.2",
"https://github.com/acme-acme-acme/otter-code/releases/tag/v0.0.36-nightly.1",
"https://github.com/otterware-app/otter-code/releases/tag/v0.0.36-nightly.3",
"https://github.com/otterware-app/otter-code/releases/tag/v0.0.36-nightly.2",
"https://github.com/otterware-app/otter-code/releases/tag/v0.0.36-nightly.1",
]);
expect(anchors.map(({ props }) => textContent(props.children))).toEqual([
"View release on GitHub",
Expand All @@ -107,9 +107,7 @@ describe("SidebarUpdateReleaseNotes", () => {
}),
);

expect(anchors.at(-1)?.props.href).toBe(
"https://github.com/acme-acme-acme/otter-code/releases",
);
expect(anchors.at(-1)?.props.href).toBe("https://github.com/otterware-app/otter-code/releases");
expect(textContent(anchors.at(-1)?.props.children)).toBe("1 older release on GitHub");
});

Expand Down Expand Up @@ -143,7 +141,7 @@ describe("SidebarUpdateReleaseNotes", () => {
expect(preventDefault).toHaveBeenCalledOnce();
await vi.waitFor(() => {
expect(openExternal).toHaveBeenCalledWith(
"https://github.com/acme-acme-acme/otter-code/releases/tag/v0.0.36-nightly.3",
"https://github.com/otterware-app/otter-code/releases/tag/v0.0.36-nightly.3",
);
expect(testState.addToast).toHaveBeenCalledWith({
type: "error",
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/src/cliRelease.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe("cliRelease", () => {

it("resolves download URLs under the tagged release, honoring a mirror", () => {
expect(cliReleaseDownloadBaseUrl("1.2.3")).toBe(
"https://github.com/acme-acme-acme/otter-code/releases/download/v1.2.3",
"https://github.com/otterware-app/otter-code/releases/download/v1.2.3",
);
expect(cliReleaseDownloadBaseUrl("1.2.3", "https://mirror.example/t3/")).toBe(
"https://mirror.example/t3/v1.2.3",
Expand Down Expand Up @@ -87,7 +87,7 @@ describe("cliRelease", () => {

it("pages through the release index at the largest page GitHub allows", () => {
expect(cliReleaseIndexPageUrl(1)).toBe(
"https://api.github.com/repos/acme-acme-acme/otter-code/releases?per_page=100&page=1",
"https://api.github.com/repos/otterware-app/otter-code/releases?per_page=100&page=1",
);
expect(cliReleaseIndexPageUrl(3)).toContain("page=3");
});
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/cliRelease.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* platform key, so a rename here is a release-breaking change.
*/

const CLI_RELEASE_REPOSITORY = "acme-acme-acme/otter-code";
const CLI_RELEASE_REPOSITORY = "otterware-app/otter-code";
export const CLI_RELEASE_CHECKSUMS_FILE = "SHA256SUMS";
/** Overrides the download origin for mirrors and air-gapped installs. */
export const CLI_RELEASE_BASE_URL_ENV = "T3CODE_RELEASE_BASE_URL";
Expand Down
2 changes: 1 addition & 1 deletion packages/ssh/src/tunnel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe("ssh tunnel scripts", () => {
assert.include(script, "T3_NODE_SCRIPT_PATH=''");
assert.include(
script,
"T3_RELEASE_BASE_URL='https://github.com/acme-acme-acme/otter-code/releases/download'",
"T3_RELEASE_BASE_URL='https://github.com/otterware-app/otter-code/releases/download'",
);
assert.include(
script,
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-npm-platform-packages.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ it.layer(NodeServices.layer)("build-npm-platform-packages", (it) => {
assert.equal(unsupported.exitCode, 1);
assert.include(unsupported.stderr, "linux-x64");
assert.include(unsupported.stderr, "win32-arm64");
assert.include(unsupported.stderr, "https://github.com/acme-acme-acme/otter-code/releases");
assert.include(unsupported.stderr, "https://github.com/otterware-app/otter-code/releases");
}),
);
});
4 changes: 2 additions & 2 deletions scripts/build-npm-platform-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export function npmPlatformPackageReadme(platformKey: CliArchivePlatformKey): st
`npx ${NPM_LAUNCHER_PACKAGE_NAME}@latest`,
"```",
"",
"Source and documentation: https://github.com/acme-acme-acme/otter-code",
"Source and documentation: https://github.com/otterware-app/otter-code",
"",
].join("\n");
}
Expand Down Expand Up @@ -211,7 +211,7 @@ try {
"${NPM_LAUNCHER_PACKAGE_NAME}: no Otter Code CLI build is available for this platform (" + key + ").",
"Supported platforms: " + SUPPORTED.join(", ") + ".",
"If yours is listed, reinstall ${NPM_LAUNCHER_PACKAGE_NAME} so npm fetches its optional dependency.",
"The desktop app and release archives are at https://github.com/acme-acme-acme/otter-code/releases",
"The desktop app and release archives are at https://github.com/otterware-app/otter-code/releases",
"",
].join("\\n"),
);
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
$ErrorActionPreference = "Stop"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

$repo = "acme-acme-acme/otter-code"
$repo = "otterware-app/otter-code"
$baseUrl = if ($env:T3CODE_RELEASE_BASE_URL) { $env:T3CODE_RELEASE_BASE_URL.TrimEnd("/") } else { "https://github.com/$repo/releases/download" }
$t3Home = if ($env:T3CODE_HOME) { $env:T3CODE_HOME } else { Join-Path $HOME ".otter-code" }
$binDir = if ($env:T3CODE_INSTALL_BIN_DIR) { $env:T3CODE_INSTALL_BIN_DIR } else { Join-Path $HOME ".local\bin" }
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# instead of fetching the release again.
set -eu

repo="acme-acme-acme/otter-code"
repo="otterware-app/otter-code"
base_url="${T3CODE_RELEASE_BASE_URL:-https://github.com/${repo}/releases/download}"
t3_home="${T3CODE_HOME:-$HOME/.otter-code}"
bin_dir="${T3CODE_INSTALL_BIN_DIR:-$HOME/.local/bin}"
Expand Down