Skip to content

Rename the product brand from "Open Knowledge" to "OpenKnowledge" (one…#293

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jun 25, 2026
Merged

Rename the product brand from "Open Knowledge" to "OpenKnowledge" (one…#293
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Rename the product brand from "Open Knowledge" to "OpenKnowledge" (one word) across the desktop app, CLI output, MCP/skill copy, and docs.

The macOS app, its helper bundle, the DMG artifact, and the userData directory are renamed. A one-time, identity-verified migration runs on the first launch of a renamed build: it relocates an existing user's app state (recent projects, window restore, auto-update cache) from ~/Library/Application Support/Open Knowledge/ to .../OpenKnowledge/, but only after verifying the legacy directory is ours (its state.json parses as our schema), so another vendor's identically-named directory is never touched. It copies, verifies, then removes the legacy directory; any failure degrades to a clean first run.

Technical identifiers are unchanged: the npm package @inkeep/open-knowledge, the macOS appId com.inkeep.open-knowledge, the openknowledge:// deep-link scheme, the openknowledge.ai domain, and the open-knowledge MCP server name. "Open Knowledge Format" (Google's external standard) is also preserved.

* Rename brand from "Open Knowledge" to "OpenKnowledge"

Renames the product brand across the desktop app, CLI output, MCP and skill copy, and docs. The macOS app, helper bundle, DMG artifact, and userData directory are renamed.

Adds a one-time, identity-verified migration that relocates existing app state from the old "Open Knowledge" Application Support directory to "OpenKnowledge" on the first launch of a renamed build, after confirming the legacy directory is ours (its state.json parses as our schema). It copies, verifies, then removes the legacy directory; any failure degrades to a clean first run.

Technical identifiers are unchanged: the npm package @inkeep/open-knowledge, the appId com.inkeep.open-knowledge, the openknowledge:// scheme, the openknowledge.ai domain, and the open-knowledge MCP server name. "Open Knowledge Format" (Google's external standard) is preserved.

Adds a PRODUCT_NAME constant in core for runtime display surfaces. The process-scan matcher accepts both old and new bundle names so ok stop/ps still find a running pre-rename build.

* Address review: DMG asset name, migration logging, shim hardening

Fix the DMG artifact filename across the docs download infrastructure (download-links.ts, site.ts, the route/splash tests, the quickstart download button, and the public README): all referenced Open-Knowledge-arm64.dmg, but productName OpenKnowledge produces OpenKnowledge-arm64.dmg via the artifactName template, which would 404 every download link after the first renamed release.

Route userData migration events to the pino file logger and surface a failed migration via the result, instead of discarding the result and only writing to console.warn.

Restore the migration wiring comment the sweep over-applied (the source side of the arrow is the legacy spaced name).

Harden the shim: copy asynchronously via fs.promises.cp so a large legacy dir never blocks the main process at startup; let OS-level read errors in the identity gate surface as failed instead of being misreported as an unrecognized directory. Add tests for the failed path and for matching a pre-rename Open Knowledge process name.

* Rename brand in moved MCP_SERVER_NAME doc comment

* Keep docs DMG download link hyphenated until a renamed release ships

electron-builder now produces OpenKnowledge-arm64.dmg, but every release currently published on GitHub is still Open-Knowledge-arm64.dmg. Pointing the docs download links at the renamed asset before it exists would 404 every download between this PR merging (docs deploy) and the first renamed release. Keep the hyphenated name (matches published releases) and flip it once a renamed DMG is confirmed published. The flip sites are documented in download-links.ts.

* Centralize the DMG download URL on a single constant

site.ts's DOWNLOAD_URL, the quickstart DownloadButton, the beta route, and the download tests now all derive from DMG_ASSET_NAME / STABLE_DMG_URL in download-links.ts instead of duplicating the literal. The future rename flip is now a one-line change to DMG_ASSET_NAME (plus the public overlay README, a static markdown file that can't import the constant).

* Fix lint import order and align committed .okignore with renamed template

biome organizeImports sorts the STABLE_DMG_URL import in share-splash.test.ts (biome format alone doesn't run the assist). The committed root .okignore now matches the renamed OK_OKIGNORE_TEMPLATE byte-for-byte (the comment renamed to OpenKnowledge in the server template by the sweep, but the dotfile wasn't included).

GitOrigin-RevId: c5338f18ba565d29d642edfe42c1f898e83ad30f
@inkeep-oss-sync
inkeep-oss-sync Bot requested a review from nick-inkeep as a code owner June 25, 2026 23:34

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/28207077906). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync
inkeep-oss-sync Bot merged commit be90a55 into main Jun 25, 2026
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch June 25, 2026 23:34
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.

1 participant