Skip to content

Commit 6170164

Browse files
os-zhuanghotlongCopilot
authored
chore: remove apps/objectos (split to objectstack-ai/cloud) (#1259)
The tenant runtime serving *.objectos.app now lives in the private cloud repo (objectstack-ai/cloud/apps/objectos) alongside the control plane. Production traffic continues uninterrupted — the new repo deploys to the same Cloudflare Worker name 'objectos' under the same CF account, atomically overwriting the framework-deployed image. What this commit removes: - apps/objectos/ — full tenant runtime (Dockerfile, server templates, cloudflare worker, tests, scripts) - .github/workflows/deploy.yml — final remaining job was objectos; framework no longer deploys to Cloudflare - Root package.json scripts: pnpm dev / pnpm start / pnpm doctor (aliases of pnpm --filter @objectstack/objectos …) - README.md + CLAUDE.md mentions of @objectstack/objectos - 711 lines of stale objectos entries in pnpm-lock.yaml What stays: - All packages/ (spec, core, runtime, drivers, plugins, services except service-cloud which was removed in #1257) - apps/{studio,docs,account,console} reference apps - examples/ (app-todo, app-crm, plugin-bi) - Doc comments mentioning objectos historically (no code coupling) Verification: - pnpm install → clean (57 workspace projects, down from 58) - turbo build → 54/54 tasks green - turbo test → 106/106 tasks green - CLI smoke → 'os --help' works (no service-cloud / no objectos) - Production cut-over verified: cloud-repo deploy-objectos workflow pushed worker version 6e385b34 to CF at 2026-05-21 12:49 UTC, *.objectos.app/api/v1/health continues to return 200. Rollback: tag pre-cloud-split → @64875c01 (pre split). Co-authored-by: Jack Zhuang <50353452+hotlong@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b31af92 commit 6170164

42 files changed

Lines changed: 16 additions & 5388 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 0 additions & 160 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,24 @@ What this means for framework consumers:
2222
56 files. Lives in `objectstack-ai/cloud` going forward.
2323
- **`apps/cloud`** — deleted from this repo. The reference cloud host now
2424
lives in `objectstack-ai/cloud/apps/cloud`.
25+
- **`apps/objectos`** — deleted from this repo. The tenant runtime
26+
(serving `*.objectos.app`) now lives in `objectstack-ai/cloud/apps/objectos`.
27+
Production traffic continues uninterrupted on the same Cloudflare Worker
28+
(atomic flip by overwriting the worker named `objectos` from the cloud
29+
repo, which uses the same CF account). The framework `deploy.yml`
30+
GitHub Actions workflow has been deleted along with it.
2531
- **`@objectstack/cli`** — no longer hard-depends on
2632
`@objectstack/service-cloud`. The `serve --mode=cloud` boot path keeps
2733
the existing optional dynamic `import('@objectstack/service-cloud')`
2834
with a try/catch that surfaces a clear "install / use cloud-aware
2935
distribution" hint when the package is absent. The ambient TypeScript
3036
stub (`packages/cli/src/types/service-cloud.d.ts`) is retained so the
3137
optional path still typechecks.
32-
- **`apps/objectos`** — unchanged. The reference *tenant* runtime stays
33-
in this repo and reaches the control plane over HTTP via
34-
`OS_CLOUD_URL`. Defaults: `OS_CLOUD_URL=https://cloud.objectos.app`
35-
in production, or `local` to disable cloud routing.
38+
- **Root `pnpm dev` / `pnpm start` / `pnpm doctor` scripts removed**
39+
these were thin aliases for `pnpm --filter @objectstack/objectos …`
40+
which no longer exists in this repo. Use the cloud repo for objectos
41+
development, or `pnpm --filter @example/app-crm dev` for a local
42+
reference runtime.
3643
- **Structural couplings remain `any`-typed.** `packages/runtime/`,
3744
`packages/rest/`, and `packages/adapters/hono/` previously documented
3845
service-cloud as the source of `KernelManager` / `EnvironmentDriverRegistry`

CLAUDE.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ pnpm build # turbo run build --filter=!@objectstack/docs
2424
# Run all tests
2525
pnpm test # turbo run test
2626

27-
# Dev server
28-
pnpm dev # runs @objectstack/objectos in dev mode
29-
3027
# Studio UI dev
3128
pnpm studio:dev # runs @objectstack/studio in dev mode
3229

@@ -93,8 +90,7 @@ objectstack-ai/framework/
9390
9491
├── apps/
9592
│ ├── studio/ # 🎨 Studio UI (React + Hono, web-based)
96-
│ ├── docs/ # 📖 Documentation site (Fumadocs + Next.js)
97-
│ └── objectos/ # 🚀 ObjectOS Runtime (multi-app orchestration)
93+
│ └── docs/ # 📖 Documentation site (Fumadocs + Next.js)
9894
9995
├── examples/ # 📚 Reference implementations
10096
├── skills/ # 🤖 AI skill definitions (for Claude Code, Copilot, Cursor)

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,9 @@ pnpm docs:dev
112112
| Script | Description |
113113
| :--- | :--- |
114114
| `pnpm build` | Build all packages (excludes docs) |
115-
| `pnpm dev` | Run the reference `@objectstack/objectos` host in dev mode |
116-
| `pnpm dev:cloud` | Run `@objectstack/cloud` (multi-project, control-plane mode) |
117115
| `pnpm dev:crm` | Run the CRM example end-to-end (`@example/app-crm`) |
118116
| `pnpm studio:start` | Start the prebuilt Studio IDE |
119117
| `pnpm test` | Run all tests (Turborepo) |
120-
| `pnpm doctor` | Check environment health |
121118
| `pnpm setup` | Install dependencies and build the spec package |
122119
| `pnpm docs:dev` | Start the documentation site locally |
123120
| `pnpm docs:build` | Build documentation for production |
@@ -235,7 +232,6 @@ Cloud, package registry, and project management subcommands (`os projects`, `os
235232
| [`@objectstack/cli`](packages/cli) | CLI binary (`os` / `objectstack`) — `init`, `dev`, `serve`, `studio`, `compile`, `validate`, `generate`, `lint`, `doctor` |
236233
| [`create-objectstack`](packages/create-objectstack) | Project scaffolder (`npx create-objectstack`) |
237234
| [`objectstack-vscode`](packages/vscode-objectstack) | VS Code extension — autocomplete, validation, diagnostics |
238-
| [`@objectstack/objectos`](apps/objectos) | Reference host — local and self-contained ObjectOS runtime |
239235
| [`@objectstack/studio`](apps/studio) | Studio IDE — metadata explorer, schema inspector, AI assistant |
240236
| [`@objectstack/console`](apps/console) | Cloud console — org / project / branch management UI |
241237
| [`@objectstack/account`](apps/account) | Account & identity portal — sign in, organizations, connected apps |

apps/objectos/.dockerignore

Lines changed: 0 additions & 48 deletions
This file was deleted.

apps/objectos/.env.cloudflare.example

Lines changed: 0 additions & 13 deletions
This file was deleted.

apps/objectos/.env.cloudflare.secrets.example

Lines changed: 0 additions & 26 deletions
This file was deleted.

apps/objectos/.env.example

Lines changed: 0 additions & 23 deletions
This file was deleted.

apps/objectos/.gitignore

Lines changed: 0 additions & 27 deletions
This file was deleted.

apps/objectos/.vercelignore

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)