Skip to content

Commit c10ab1f

Browse files
docs(architecture): ObjectOS layer row in three-edition terms (#417) (#420)
* docs(i18n): translate the entry path into ja (index, why, start, editions, use) Phase 1 of the other-locale plan. Adds ja translations of the 19 entry-path pages (index, why, start/*, editions/*, use/*) and the ja sidebar labels for start/ and editions/. Every heading keeps its English id, fences match the English byte for byte, terms follow the glossary's ja column, and each page carries a --stamp. check-translations: ja 0 stale, 79 missing (was 98). Fixes #386 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): translate build/ and build/data/ into ja (#388, PR 1 of 7) Phase 2 of the other-locale plan, first batch: ja for the build/ top level (index, agents, ai-builder, ai-skills, extend-existing-systems, marketplace, packages, reports, templates) and build/data/ (index, relationships, formulas, validation-rules). Same rules as #386: English heading ids, fences byte for byte, glossary ja column, UI labels in English, one line per paragraph, each page stamped. check-translations: ja 0 stale, 66 missing (was 79). Refs #388 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): translate build/automation/ and build/interface/ into ja (#388, PR 2 of 7) Adds ja translations for the 11 automation and interface pages: build/automation/{index,flows,workflows,approvals} and build/interface/{index,apps,views,forms,dashboards,pages,actions}. Both sections' meta.ja.json already match the English pages list. Refs #388 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * fix(search): keep one locale index and read search text from build output (#393) /api/search kept every locale's Orama index (30-40 MB each) and every page module page.data.load() imported, so one Worker isolate grew from 58 MB after its first locale to 283 MB after all eight, and #390's ja pages tipped it past 128 MB into 503s. - scripts/gen-search-data.mjs computes each page's structuredData before next build with fumadocs-mdx's own remark chain and writes one gzipped module per locale to apps/docs/.search/; the route reads that instead of importing page modules. - The route keeps the most recently used locale's index only. - check-search-heap.mjs asks the built route in every locale twice and fails above 100 MB or when the second pass keeps growing; it runs in ci.yml after check-search-locales and its --self-test is in SELF_TESTED. Measured on the built route: levels at 50-54 MB across both passes. Fixes #393 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): re-land build/automation/ and build/interface/ ja pages (#388, PR 2 of 7) Reverts #392, which reverted #390 because /api/search ran out of Worker memory. #394 (#393) fixed that, so the same 11 ja pages come back unchanged. Refs #388 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * fix(worker): stop bundling every docs page twice (#395) Six route handlers (search, og, sitemap, llms.txt, llms-full.txt, llms.mdx) import lib/source.ts, whose fumadocs-mdx collection holds a lazy import() of every compiled page. Turbopack compiles route handlers as their own module graph, so the Worker carried a second copy of every page module: ~20 MB of upload, and each translated page cost ~170-235 KiB instead of ~86. #388's PR 3 would have gone over the 61,440 KiB budget. - scripts/gen-route-data.mjs (was gen-search-data.mjs) also writes .route-data/collection.ts: .source/server.ts with each page's body import replaced by a read of generated data, and markdown.ts, the English pages' processed Markdown the llms routes serve. With --dev it re-exports the full collection so next dev sees new pages. - lib/source.ts builds its loader on that collection; the page route loads bodies through lib/page-body.ts, the only module that imports the full collection. - lib/packed.ts unpacks the generated gzip+base64 strings. - The Worker budget step prints a per-page projection from the bundle's metafile (check-worker-page-cost.mjs, in SELF_TESTED). Measured, same machine: main f7e4a57 59,173 KiB, this change 38,909 KiB; with every ja page filled in, 43,700 KiB. Fixes #395 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): translate configure/ into ja (#388, PR 3 of 7) Adds ja translations for the 14 configure/ pages: index, ai, api-access, authentication, data-sources, email, localization, mcp, notifications, runtime, storage, system-settings, users and webhooks. configure/ meta.ja.json already matches the English pages list. Same rules as the earlier batches: English heading ids, fences byte for byte, glossary ja column, UI labels in English, one line per paragraph, each page stamped. check-translations: ja 0 stale, 41 missing (was 55). Refs #388 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): translate configure/permissions/ and cloud/ into ja (#388, PR 4 of 7) Adds ja translations for the 7 configure/permissions/ pages (index, managing-access, permission-sets, positions, record-access, field-level-security, hierarchy-visibility) and the 8 cloud/ pages (organization, environments, plans-and-seats, ai-credits-and-limits, storage-and-limits, domains, apps, cloud-connection), plus a new cloud/meta.ja.json whose pages match the English. configure/permissions/ meta.ja.json already matched. Same rules as the earlier batches. check-translations: ja 0 stale, 26 missing (was 41). Refs #388 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): translate deploy/ and operate/ into ja (#388, PR 5 of 7) Adds ja translations for the 4 deploy/ pages (index, docker, kubernetes, air-gapped) and the 7 operate/ pages. Both sections' meta.ja.json already match the English pages list. Same rules as the earlier batches. check-translations: ja 0 stale, 15 missing (was 26). Refs #388 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): translate reference/, architecture and ontology into ja (#388, PR 6 of 7) Adds ja translations for the 9 reference/ pages and the two root pages, architecture and ontology. reference/meta.ja.json already matches the English pages list; the root sidebar has only meta.json. Same rules as the earlier batches. check-translations: ja 0 stale, 4 missing (was 15). Refs #388 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): translate resources/ into ja, completing ja coverage (#388, PR 7 of 7) Adds ja translations for the 4 resources/ pages: changelog, faq, glossary and support. resources/meta.ja.json already matches the English pages list. Same rules as the earlier batches. With this batch every English page has a ja translation. check-translations: ja 0 stale, 0 missing (was 4). Fixes #388 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): re-sync start/cloud step 1 in zh-Hans, zh-Hant and ja (#404) #403 changed step 1 of "Start on ObjectOS Cloud" to link the console's register and sign-in pages instead of www.objectos.ai. This carries the same change into zh-Hans and ja, restamps both, and regenerates zh-Hant with gen:zh-hant. check-translations: zh-Hans and ja 0 stale, 0 missing. Fixes #404 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): re-sync six pages changed by #410 and #413 in zh-Hans, zh-Hant and ja (#414) #410 added subscription management, AI seat changes and Paddle as the seller to cloud/plans-and-seats and cloud/ai-credits-and-limits. #413 moved the sales contact to sales@objectos.ai on editions/license, resources/support, resources/faq and start/enterprise. This carries only the changed parts into zh-Hans and ja, restamps all twelve pages, and regenerates zh-Hant with gen:zh-hant. Paddle, emails and URLs are copied byte for byte. check-translations: zh-Hans and ja 0 stale, 0 missing. Fixes #414 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(positioning): quote the README's three-edition sentence (#341) objectstack#26148 replaced the README sentence OBJECTOS_DEFINITION quoted ("...the commercial runtime environment built on this stack") with one naming three editions: ObjectOS Community, shipped by the repository, free and self-hosted; ObjectOS Cloud, hosted; ObjectOS Enterprise, self-managed and licensed. - OBJECTOS_DEFINITION quotes README lines 27-31 from "To run it", with three declared changes: "this repository" spelled out as "the ObjectStack repository", the Markdown dropped, and the in-README "(Ship it)" link left out. - OBJECTOS_EDITIONS keeps only the #171 Q2 export clause, naming Cloud and Enterprise instead of "either edition". - POSITIONING_SHORT (152 characters) names the three editions in the README's words. - The index.mdx opening paragraph and description follow, and the zh-Hans and ja siblings are re-translated and restamped; zh-Hant is regenerated. check-positioning passes after a build. Fixes #341 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(i18n): re-sync editions/compare and editions/license after #407 (#418) #407 added Team's annual price ($20 / AI seat / month billed annually) to the Price row of editions/compare and editions/license. This adds the same to the zh-Hans and ja Price cells, in the annual-price wording each locale uses on cloud/plans-and-seats, restamps the four pages and regenerates zh-Hant. check-translations: zh-Hans and ja 0 stale, 0 missing. Fixes #418 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> * docs(architecture): ObjectOS layer row in three-edition terms (#417) The layer table on architecture still called ObjectOS "the commercial runtime environment built on the framework" with two editions, the definition objectstack#26148 retired and #416 removed from the positioning constants. The row now uses only positioning.ts's terms: ObjectOS Community free and self-hosted, ObjectOS Cloud the hosted edition, ObjectOS Enterprise the self-managed, licensed one. zh-Hans and ja use the wording their index.mdx carries since #416; both are restamped and zh-Hant is regenerated. check-positioning rule (c) now lists "commercial runtime environment" as a stale sentence, with a fixture, so the phrase cannot come back to an English source. Fixes #417 Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent cbf5c92 commit c10ab1f

5 files changed

Lines changed: 10 additions & 9 deletions

File tree

‎.github/scripts/check-positioning.mjs‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const STALE = [
4141
/[Dd]oes\s+not\s+phone\s+home/,
4242
/ObjectOS\s+is\s+distributed\s+under\s+the\s+Apache/, // ObjectOS only: the open ObjectStack runtime is, and may say so
4343
/[Cc]ustomer-hosted\s+runtime/,
44+
/[Cc]ommercial\s+runtime\s+environment/, // the two-edition definition objectstack#26148 retired (#341, #417)
4445
];
4546
const OPEN_SOURCE = /Open[\s-]+source,\s+Apache-2\.0/i; // checked inside the glossary's ObjectOS entry only
4647

@@ -166,7 +167,7 @@ const A_BAD = {
166167
};
167168
const B_BAD = ['ObjectStack Protocol', 'ObjectStack Documentation', 'Object OS', 'objectOS', 'ObjectOs'];
168169
const C_OK = 'No seats, no license server. Does ObjectOS phone home?\n\n```\nObjectOS is a self-hosted runtime\n```\n\n{/* was: never phones home */}\n';
169-
const C_BAD = 'ObjectOS is a self-hosted\nruntime. It never phones home, does not call home, never calls home.\n\nNo license server. Fully\nself-contained, inside your firewall.\n';
170+
const C_BAD = 'ObjectOS is a self-hosted\nruntime. It never phones home, does not call home, never calls home.\n\nNo license server. Fully\nself-contained, inside your firewall. The commercial runtime\nenvironment built on the framework.\n';
170171
const LEGAL_OK = "const content = {\n en: {\n text: 'ObjectOS Cloud is hosted. The open-source ObjectStack runtime has no telemetry, no license check, and no update ping.',\n },\n 'zh-Hans': {\n text: 'customer-hosted runtime; does not phone home',\n },\n};\n";
171172
const LEGAL_BAD = " en: {\n text: 'ObjectOS is distributed under the Apache License 2.0. ObjectOS is a customer-hosted\nruntime that does not phone home.',\n },\n";
172173
const glossary = (entry) => [GLOSSARY, `### ObjectOS\n\n${entry}\n\n### ObjectStack\n\nOpen source, Apache-2.0.\n`];
@@ -176,7 +177,7 @@ const CASES = [
176177
['(b) ObjectOS, the host and the package scope', () => ruleB([['a.html', 'Intro | ObjectOS, docs.objectos.ai, @objectos/docs']]), 0],
177178
['(b) the five wrong spellings, one file each', () => ruleB(B_BAD.map((s, i) => [`${i}.html`, `<p>${s} boots.</p>`])), 5],
178179
['(c) list form, a question, a fenced quote, a comment', () => ruleC([glossary('Commercial. Not open source.'), ['a.mdx', C_OK]]), 0],
179-
['(c) the eight stale sentences, three wrapped', () => ruleC([glossary('The runtime. Open\nsource, Apache-2.0.'), ['a.mdx', C_BAD]]), 8],
180+
['(c) the nine stale sentences, four wrapped', () => ruleC([glossary('The runtime. Open\nsource, Apache-2.0.'), ['a.mdx', C_BAD]]), 9],
180181
['(c) a legal page: a true en entry; its stale zh-Hans entry is not read', () => ruleC([glossary('Commercial.'), [LEGAL[0], englishEntry(LEGAL_OK)]]), 0],
181182
['(c) a legal page: the three licence sentences, one wrapped; a page with no en entry', () => ruleC([glossary('Commercial.'), [LEGAL[0], englishEntry(LEGAL_BAD)], [LEGAL[1], englishEntry('export default 1;\n')]]), 4],
182183
];

‎content/docs/architecture.ja.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ seoTitle: "アーキテクチャ:何が動き、データがどこにあるか
44
description: 実際に何を動かすことになるのか。導入するかどうかを評価しているエンジニアのために。
55
editions: [community, cloud, enterprise]
66
translation:
7-
source_sha: 9292459ed8a30885f3b5c660fb772187d5d1edb8ead66c12839ab7900dcbef3f
7+
source_sha: 2ba24bbe881fd5788bce400a2ab8042ab41ee849a2af902d99573d2b2cfdb083
88
guide_rev: 1
99
mode: auto
1010
---
@@ -96,7 +96,7 @@ ObjectOS runtime
9696
|---|---|---|
9797
| **フレームワーク**(`@objectstack/*`) | オープンソースのカーネル、ObjectQL、プラグイン、ドライバー | npm。ビルド時に取り込まれます |
9898
| **コントロールプレーン**(任意) | コンパイル済みの `objectstack.json` アーティファクトを公開します。ホスト型の ObjectOS Cloud を使うことも、自前で運用することも、まったく使わないこともできます | あなたの CI、私たちのクラウド、またはあなたのノートパソコン |
99-
| **ObjectOS** | フレームワーク上に構築された商用ランタイム環境 | **ObjectOS Cloud**(私たちが運用)または**あなたのインフラストラクチャ**(ObjectOS Enterprise) |
99+
| **ObjectOS** | ObjectOS Community は無料のセルフホスト版、ObjectOS Cloud はホスト型のエディション、ObjectOS Enterprise はセルフマネージドのライセンス制のエディションです | セルフホスト(**ObjectOS Community**)、ホスト型(**ObjectOS Cloud**)、またはセルフマネージド(**ObjectOS Enterprise**) |
100100

101101
単一のアプリを出荷するなら、コントロールプレーンは不要です。CI で `objectstack.config.ts → dist/objectstack.json` をコンパイルし、その JSON をイメージに入れて出荷します。複数のデプロイメントがインストールするアプリを公開する場合は、コントロールプレーンがそのカタログの置き場所になります。
102102

‎content/docs/architecture.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ want to know where the artifact comes from:
134134
|---|---|---|
135135
| **Framework** (`@objectstack/*`) | Open-source kernel, ObjectQL, plugins, drivers | npm — pulled in at build time |
136136
| **Control plane** (optional) | Publishes compiled `objectstack.json` artifacts; you can use the hosted ObjectOS Cloud, run your own, or skip it entirely | Your CI, our cloud, or your laptop |
137-
| **ObjectOS** | The commercial runtime environment built on the framework | **ObjectOS Cloud** (we operate it) or **your infrastructure** (ObjectOS Enterprise) |
137+
| **ObjectOS** | ObjectOS Community is free and self-hosted, ObjectOS Cloud the hosted edition, ObjectOS Enterprise the self-managed, licensed one | Self-hosted (**ObjectOS Community**), hosted (**ObjectOS Cloud**) or self-managed (**ObjectOS Enterprise**) |
138138

139139
If you're shipping a single app, you don't need a control plane —
140140
compile `objectstack.config.ts → dist/objectstack.json` in your CI and

‎content/docs/architecture.zh-Hans.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ seoTitle: "架构:运行什么,数据在哪里"
44
description: 你实际在运行的是什么 —— 写给正在评估是否引入它的工程师。
55
editions: [community, cloud, enterprise]
66
translation:
7-
source_sha: 9292459ed8a30885f3b5c660fb772187d5d1edb8ead66c12839ab7900dcbef3f
7+
source_sha: 2ba24bbe881fd5788bce400a2ab8042ab41ee849a2af902d99573d2b2cfdb083
88
guide_rev: 1
99
mode: auto
1010
---
@@ -126,7 +126,7 @@ API 密钥进行认证,同样的权限检查约束着它的工具调用能读
126126
|---|---|---|
127127
| **框架**(`@objectstack/*`) | 开源的内核、ObjectQL、插件、驱动 | npm —— 在构建时引入 |
128128
| **控制平面**(可选) | 发布编译好的 `objectstack.json` 产物;你可以使用托管的 ObjectOS Cloud、自己运行一个,或者完全不用 | 你的 CI、我们的云,或者你的笔记本 |
129-
| **ObjectOS** | 构建在框架之上的商业运行时环境 | **ObjectOS Cloud**(由我们运维)或**你的基础设施**(ObjectOS Enterprise) |
129+
| **ObjectOS** | ObjectOS Community 免费且自托管,ObjectOS Cloud 是托管版本,ObjectOS Enterprise 是自管理、需许可的版本 | 自托管(**ObjectOS Community**)、托管(**ObjectOS Cloud**)或自管理(**ObjectOS Enterprise**) |
130130

131131
如果你只交付一个应用,就不需要控制平面 —— 在你的 CI 中把
132132
`objectstack.config.ts → dist/objectstack.json` 编译好,然后把 JSON 放进

‎content/docs/architecture.zh-Hant.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ seoTitle: "架構:執行什麼,資料在哪裡"
55
description: 你實際在執行的是什麼 —— 寫給正在評估是否引入它的工程師。
66
editions: [community, cloud, enterprise]
77
translation:
8-
source_sha: 9292459ed8a30885f3b5c660fb772187d5d1edb8ead66c12839ab7900dcbef3f
8+
source_sha: 2ba24bbe881fd5788bce400a2ab8042ab41ee849a2af902d99573d2b2cfdb083
99
guide_rev: 1
1010
mode: auto
1111
---
@@ -127,7 +127,7 @@ API 金鑰進行認證,同樣的許可權檢查約束著它的工具呼叫能
127127
|---|---|---|
128128
| **框架**(`@objectstack/*`) | 開源的核心、ObjectQL、外掛、驅動 | npm —— 在構建時引入 |
129129
| **控制平面**(可選) | 釋出編譯好的 `objectstack.json` 產物;你可以使用託管的 ObjectOS Cloud、自己執行一個,或者完全不用 | 你的 CI、我們的雲,或者你的筆記本 |
130-
| **ObjectOS** | 構建在框架之上的商業執行時環境 | **ObjectOS Cloud**(由我們運維)或**你的基礎設施**(ObjectOS Enterprise) |
130+
| **ObjectOS** | ObjectOS Community 免費且自託管,ObjectOS Cloud 是託管版本,ObjectOS Enterprise 是自管理、需許可的版本 | 自託管(**ObjectOS Community**)、託管(**ObjectOS Cloud**)或自管理(**ObjectOS Enterprise**) |
131131

132132
如果你只交付一個應用,就不需要控制平面 —— 在你的 CI 中把
133133
`objectstack.config.ts → dist/objectstack.json` 編譯好,然後把 JSON 放進

0 commit comments

Comments
 (0)