Skip to content

brand: comprehensive OmniRoute → Graze sweep#2

Merged
OriginalGary merged 8 commits intomainfrom
feat/graze-brand-sweep
May 5, 2026
Merged

brand: comprehensive OmniRoute → Graze sweep#2
OriginalGary merged 8 commits intomainfrom
feat/graze-brand-sweep

Conversation

@OriginalGary
Copy link
Copy Markdown
Owner

Summary

Full brand audit and rename pass on the graze fork. Seven commits, each scoped to a category:

Commit Scope Files
brand: rename OMNIROUTE_ env var prefix to GRAZE_ 48 env vars 95 files
brand: rename MCP tool names omniroute_* to graze_* 43 tool IDs 148 files
brand: rename DB migration tracking table to _graze_migrations schema + tests 9 files
brand: rename files and symbols with omniroute in the name 8 file renames + import fixups 61 files
brand: update CI workflows and GitHub issue templates workflow env vars + URLs 10 files
brand: update non-i18n docs, agent workflows, and root markdown docs + CLAUDE.md 40 files
brand: update i18n doc tree (937 files) all localization files 937 files
brand: rename product name, data paths, and internal identifiers in source UI strings, log lines, paths, headers, symbols 451 files

What was kept (fork lineage — intentional)

  • docs/GRAZE.md "Derived from OmniRoute" + divergence SHA
  • docs/ARCHITECTURE.md "underlying OmniRoute architecture unchanged"
  • bin/graze.mjs derivation docblock, README.md derivation notice
  • omniroute-field-encryption-v1 crypto salt — renaming breaks decryption of existing credentials

What was flagged (not in this PR)

  • @omniroute/open-sse TypeScript path alias — explicit prior decision to defer; touches every source-level import, its own PR
  • omniroute.online / cloud.omniroute.online — external domain not owned by OpenGaryBot; replaced with graze.openpaws.ai in docs, removed cloud URLs from config comments

What was fixed alongside

Two pre-existing upstream bugs also fixed in earlier commits on this branch:

  • base.ts:447 — null guard activeCredentials?.connectionId
  • chat-pipeline.test.ts:30 — duplicate setCliCompatProviders import

🤖 Generated with Claude Code

samtuckerdavis and others added 8 commits May 6, 2026 03:29
All 48 OMNIROUTE_* environment variables renamed to GRAZE_* in source
files (bin/, electron/, open-sse/, src/, scripts/, playwright.config.ts,
.env.example, Dockerfile). Legacy aliases for GRAZE_TOKEN/GRAZE_USER_ID
(previously CLI_TOKEN/CLI_USER_ID) and GRAZE_SERVER (SERVER_URL) are
unchanged — they are not OMNIROUTE_-prefixed and remain backward-compat.

The @omniroute/open-sse TypeScript path alias is deferred to a separate
PR (scope: touches every source-level import).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All 43 MCP tool identifiers (omniroute_get_health, omniroute_list_combos,
etc.) renamed to graze_* in tool definitions, schemas, tests, and
documentation. These names are part of the MCP server's public tool
catalogue; GaryOS is the only client and discovers tools dynamically,
so no client-side config changes are needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The internal SQLite table _omniroute_migrations is renamed to
_graze_migrations in migrationRunner.ts, core.ts, all test harnesses,
and scratch scripts. Safe for new deployments (table is created fresh).
Existing OmniRoute databases would need a one-time manual rename before
migrating; no public Graze deployments exist yet.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
File renames:
- src/domain/omnirouteResponseMeta.ts → grazeResponseMeta.ts
- src/shared/components/OmniRouteLogo.tsx → GrazeLogo.tsx
- src/shared/utils/resolveOmniRouteBaseUrl.ts → resolveGrazeBaseUrl.ts
- tests/unit/bin-omniroute-mcp.test.ts → bin-graze-mcp.test.ts
- tests/unit/omniroute-response-meta.test.ts → graze-response-meta.test.ts
- tests/unit/resolve-omniroute-base-url.test.ts → resolve-graze-base-url.test.ts
- docs/screenshots/MainOmniRoute.png → MainGraze.png
- images/omniroute.png → graze.png

All import paths, type names (OmniRouteLogoProps, OmniRouteResponseMeta),
and function references updated across the codebase.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- ci.yml: GRAZE_PLAYWRIGHT_SKIP_BUILD, graze-ci-* temp dirs,
  graze-coverage-report marker
- docker-publish.yml, npm-publish.yml, electron-release.yml,
  build-fork.yml, deploy-vps.yml: product name in job names and comments
- Issue templates: GitHub discussion URL updated to OpenGaryBot/graze

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- All docs/*.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md, SECURITY.md,
  README.md, .agents/workflows/*.md: OmniRoute → Graze product name,
  diegosouzapw/OmniRoute → OpenGaryBot/graze URLs,
  omniroute.online → graze.openpaws.ai,
  ~/.omniroute → ~/.graze data dir
- Fork lineage lines preserved: "Derived from OmniRoute",
  "diverged at 1ee3a95", "underlying OmniRoute architecture unchanged"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Bulk text replacement across all docs/i18n/ localization files:
- OmniRoute → Graze (product name)
- diegosouzapw/OmniRoute → OpenGaryBot/graze (GitHub URLs)
- diegosouzapw/graze → opengarybot/graze (Docker badge URLs)
- omniroute.online → graze.openpaws.ai
- cloud.omniroute.online → localhost:20128
- OMNIROUTE_ env prefix → GRAZE_
- ~/.omniroute → ~/.graze

Historical CHANGELOG attribution lines in each locale ("Thank you for
contributions to OmniRoute") preserved — they document upstream history.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ource

Covers all remaining OmniRoute references in source code (after env var
and MCP tool commits):

- UI strings, log lines, error messages: OmniRoute → Graze
- Data paths: ~/.omniroute → ~/.graze, /tmp/omniroute → /tmp/graze
- CLI help text: omniroute --port → graze --port, npx graze, etc.
- Internal HTTP headers: x-omniroute-* → x-graze-*
- Symbol.for() keys and localStorage namespaces: omniroute.* → graze.*
- Custom DOM events: omniroute:settings-updated → graze:settings-updated
- Fake base URLs for URL parsing: http://omniroute.local → graze.local
- PWA cache name: omniroute-pwa-v2 → graze-pwa-v2
- Cryptographic salts (no existing data): omniroute-token-cache → graze-*,
  omniroute-codex-installation → graze-codex-installation
- Function renames: createOmnirouteWsBridge → createGrazeWsBridge,
  omniRouteFetch → grazeFetch, omniRouteProviders → grazeProviders
- Internal property names: _omniroute → _graze, __omnirouteMcpAuditDb, etc.
- i18n translation key names: omnirouteConfiguredOpenAiCompatible →
  grazeConfiguredOpenAiCompatible, etc.
- Provider model prefix: omniroute/fast → graze/fast

KEPT: omniroute-field-encryption-v1 (legacy encryption backward-compat salt —
renaming makes existing encrypted credentials unreadable).
DEFERRED: @omniroute/open-sse TypeScript path alias (explicit prior decision).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@OriginalGary OriginalGary merged commit 2a7c1d0 into main May 5, 2026
44 checks passed
@OriginalGary OriginalGary deleted the feat/graze-brand-sweep branch May 5, 2026 17:43
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

CI Coverage Report

  • Coverage job: failure
  • PR test policy: success

Coverage artifact was not available for this run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants