No description
  • TypeScript 90.4%
  • Svelte 6.7%
  • CSS 2.2%
  • PowerShell 0.5%
  • HTML 0.2%
Find a file
2026-07-31 17:14:54 +09:00
.codex/skills harden agentic page translation runtime 2026-07-31 17:14:54 +09:00
docs harden agentic page translation runtime 2026-07-31 17:14:54 +09:00
public chore: squash project history 2026-06-11 20:31:00 +09:00
scripts chore: squash project history 2026-06-11 20:31:00 +09:00
src harden agentic page translation runtime 2026-07-31 17:14:54 +09:00
.gitignore chore: squash project history 2026-06-11 20:31:00 +09:00
build_for_local_use.sh rebuild agentic page translation runtime 2026-07-29 16:42:06 +09:00
package.json prepare reproducible AMO source build 2026-07-30 09:40:28 +09:00
pnpm-lock.yaml prepare reproducible AMO source build 2026-07-30 09:40:28 +09:00
README.md prepare reproducible AMO source build 2026-07-30 09:40:28 +09:00
test.html chore: squash project history 2026-06-11 20:31:00 +09:00
tsconfig.json chore: squash project history 2026-06-11 20:31:00 +09:00
vitest.config.ts chore: squash project history 2026-06-11 20:31:00 +09:00
wxt.config.ts chore: squash project history 2026-06-11 20:31:00 +09:00

Translmate

LLM-powered Firefox translation extension built with WXT and Svelte.

AMO reviewer build instructions

The submitted source archive contains the original TypeScript and Svelte sources. WXT and Vite bundle those sources into the JavaScript files contained in the submitted Firefox extension archive.

Build environment

  • Linux x86_64 (the clean reproducibility build environment)
  • Node.js 24.14.0 or later
  • pnpm 10.28.1
  • The generated extension contains no architecture-specific native runtime binaries.
  • No credentials or environment variables are required to build the extension.
  • Dependencies are installed from the public npm registry and pinned by pnpm-lock.yaml.

Install the required package manager:

npm install --global pnpm@10.28.1

From the directory containing this README, install dependencies and create the Firefox archive:

pnpm install --frozen-lockfile
pnpm exec wxt zip -b firefox

The resulting extension is:

.output/translmate-0.0.4-firefox.zip

ZIP metadata such as timestamps may differ. The extracted extension contents must match the submitted Firefox archive.

Optional verification:

pnpm test
pnpm compile

The network-backed live tests are disabled by default and are not required for the build.

Architecture

  • Page-agent runtime: docs/page-agent-architecture.md
  • Planned document/chat/compaction refactor: docs/superpowers/plans/2026-06-10-page-agent-document-chat-compaction.md
  • AMO reviewer notes: docs/amo-reviewer-notes.md

Verification

pnpm test
pnpm compile
pnpm build:firefox