Skip to content

Commit f7f155b

Browse files
authored
Merge pull request #254 from objectstack-ai/copilot/upgrade-to-latest-version-please-work
2 parents 9cd8fd0 + 86a07b7 commit f7f155b

File tree

26 files changed

+353
-362
lines changed

26 files changed

+353
-362
lines changed

DEVELOPMENT_PLAN.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> **Version**: 6.0.0
44
> **Date**: February 11, 2026
55
> **Status**: Phase H — @object-ui Driven Development
6-
> **Spec SDK**: `@objectstack/spec@2.0.7`
6+
> **Spec SDK**: `@objectstack/spec@3.0.0`
77
> **ObjectUI**: `@object-ui/*@2.0.0`
88
>
99
> **Roadmap**: See [ROADMAP.md](./ROADMAP.md) for the consolidated roadmap reassessed around @object-ui integration.
@@ -40,7 +40,7 @@
4040
|--------|-------|
4141
| **Plugin Packages** | 13/13 (100%) — All implemented with lifecycle compliance |
4242
| **Spec Compliance** | ✅ 100% — All packages pass `@objectstack/spec` audit |
43-
| **ObjectStack SDK** | `v2.0.7` |
43+
| **ObjectStack SDK** | `v3.0.0` |
4444
| **ObjectUI Packages** | 6 packages at `v2.0.0` |
4545
| **Spec Protocol Namespaces** | 14 |
4646
| **Spec Service Contracts** | 25 |
@@ -70,7 +70,7 @@
7070
-`@objectstack/spec` protocol compliance audit passed
7171
- ✅ Vercel serverless deployment configured and operational
7272
- ✅ 10/14 plugins adopt `@objectstack/spec/contracts` interfaces
73-
-@objectstack/* packages upgraded to v2.0.7
73+
-@objectstack/* packages upgraded to v3.0.0
7474
-@object-ui v2.0.0 packages integrated (6 packages: core, react, components, layout, fields, data-objectstack)
7575
- ✅ ObjectStack data adapter for @object-ui configured
7676
- ✅ Business App Shell pages created (app, object-list, object-record)
@@ -312,13 +312,13 @@ All packages are at version `0.1.0`, licensed under `AGPL-3.0`, and output ESM v
312312

313313
| Dependency | Version | Role | Consumers |
314314
|-----------|---------|------|-----------|
315-
| `@objectstack/runtime` | 2.0.7 | Microkernel — plugin lifecycle, service registry, event bus | All 13 plugins |
316-
| `@objectstack/spec` | 2.0.7 | Protocol contracts — Zod schemas, TypeScript interfaces, Contracts module | audit, automation, auth, jobs, permissions, workflow, browser |
317-
| `@objectstack/cli` | 2.0.7 | Server bootstrap — `objectstack serve` command | Root devDependency |
318-
| `@objectstack/objectql` | 2.0.7 | ObjectQL plugin for metadata loading | Root dependency |
319-
| `@objectstack/driver-memory` | 2.0.7 | In-memory data driver for development/serverless | Root dependency |
320-
| `@objectstack/plugin-hono-server` | 2.0.7 | Hono HTTP server plugin | Root dependency |
321-
| `@objectstack/client` | 2.0.7 | Frontend SDK for API integration | apps/web |
315+
| `@objectstack/runtime` | 3.0.0 | Microkernel — plugin lifecycle, service registry, event bus | All 13 plugins |
316+
| `@objectstack/spec` | 3.0.0 | Protocol contracts — Zod schemas, TypeScript interfaces, Contracts module | audit, automation, auth, jobs, permissions, workflow, browser |
317+
| `@objectstack/cli` | 3.0.0 | Server bootstrap — `objectstack serve` command | Root devDependency |
318+
| `@objectstack/objectql` | 3.0.0 | ObjectQL plugin for metadata loading | Root dependency |
319+
| `@objectstack/driver-memory` | 3.0.0 | In-memory data driver for development/serverless | Root dependency |
320+
| `@objectstack/plugin-hono-server` | 3.0.0 | Hono HTTP server plugin | Root dependency |
321+
| `@objectstack/client` | 3.0.0 | Frontend SDK for API integration | apps/web |
322322
| `@objectql/core` | 4.2.0 | Data engine — metadata registry, query compiler | Root dependency |
323323
| `@objectql/driver-sql` | 4.2.0 | SQL database driver (PostgreSQL, MySQL, SQLite) | Root dependency |
324324
| `@objectql/driver-mongo` | 4.2.0 | MongoDB database driver | Root dependency |
@@ -546,7 +546,7 @@ The microkernel architecture (`@objectstack/runtime`) provides:
546546
| Build optimization (Vite code splitting) || Vendor, router, query manual chunks + lazy routes |
547547
| Docker build pipeline || Multi-stage Dockerfile + docker-compose.yml (ObjectOS + PostgreSQL + Redis) |
548548
| E2E smoke tests (Playwright) || Auth, Admin, and App Shell smoke tests (`e2e/*.spec.ts`) with Playwright config |
549-
| @objectstack/* packages upgrade to v2.0.7 || All packages updated |
549+
| @objectstack/* packages upgrade to v3.0.0 || All packages updated |
550550
| @object-ui v2.0.0 integration || 6 packages installed, adapter configured, demo page functional |
551551
| Spec Contracts adoption (10/14 plugins) || ICacheService, II18nService, INotificationService, IJobService, IAuthService, IAutomationService, IWorkflowService, IRealtimeService, IUIService, IStorageService |
552552
| Business App Shell pages || app.tsx, object-list.tsx, object-record.tsx with TanStack Query hooks |
@@ -585,10 +585,10 @@ The microkernel architecture (`@objectstack/runtime`) provides:
585585
| Plugin Interface | All plugins implement `Plugin` from `@objectstack/runtime` ||
586586
| Runtime Dependency | All plugins declare `@objectstack/runtime` as dependency ||
587587
| Spec Dependency | Packages importing from `@objectstack/spec` declare it ||
588-
| Version Consistency | `@objectstack/spec: 2.0.7`, `@objectstack/runtime: ^2.0.7` ||
588+
| Version Consistency | `@objectstack/spec: 3.0.0`, `@objectstack/runtime: ^3.0.0` ||
589589
| Lifecycle Methods | All plugins implement `init()`, `start()`, `destroy()` ||
590590

591-
### Spec v2.0.7 — Capabilities
591+
### Spec v3.0.0 — Capabilities
592592

593593
**Contracts Module** — 25 service interfaces (`@objectstack/spec/contracts`):
594594
- Typed service contracts for all `CoreServiceNames` (metadata, data, auth, cache, etc.)
@@ -920,7 +920,7 @@ states:
920920
| G.2 | Adopt Contracts interfaces for core plugins | 🔴 | ✅ (10/14) |
921921
| G.3 | @object-ui v2.0.0 package integration | 🔴 | ✅ |
922922
| G.4 | Business App Shell pages (app, object-list, object-record) | 🔴 | ✅ |
923-
| G.5 | @objectstack/* packages upgrade to v2.0.7 | 🔴 | ✅ |
923+
| G.5 | @objectstack/* packages upgrade to v3.0.0 | 🔴 | ✅ |
924924
| G.6 | Consolidate development plan documents | 🟡 | ✅ |
925925
926926
### 12.3 Phase H — @object-ui Driven Development (Complete — February 2026)
@@ -983,7 +983,7 @@ states:
983983
| 2.0.4 | Sync Protocol | Client-server delta sync with conflict resolution |
984984
| 2.0.5 | AI Agent Framework | LLM-powered automation actions and data extraction |
985985
| 2.0.6 | Module Federation | Dynamic CDN loading of plugin UIs |
986-
| 2.0.7 | Offline Admin Console | Service Worker + @objectos/browser for offline access |
986+
| 3.0.0 | Offline Admin Console | Service Worker + @objectos/browser for offline access |
987987
| 2.0.8 | GraphQL plugin | Full GraphQL resolver layer with schema stitching |
988988
| 2.0.9 | Analytics plugin | Business analytics and reporting engine |
989989
| 2.0.10 | AI plugin | AI-powered data extraction, classification, suggestions |
@@ -1170,5 +1170,5 @@ Keep Next.js only for `apps/site` (Fumadocs documentation framework dependency).
11701170
---
11711171

11721172
<div align="center">
1173-
<sub>ObjectOS v6.0.0 — The Enterprise Operating System | Built with @objectstack/spec@2.0.7 + @object-ui@2.0.0</sub>
1173+
<sub>ObjectOS v6.0.0 — The Enterprise Operating System | Built with @objectstack/spec@3.0.0 + @object-ui@2.0.0</sub>
11741174
</div>

ROADMAP.md

Lines changed: 113 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,36 @@
11
# ObjectOS Roadmap
22

3-
> **Version**: 9.0.0
3+
> **Version**: 10.0.0
44
> **Date**: February 12, 2026
5-
> **Status**: Phase NEnterprise Features 🔄 In Progress
6-
> **Spec SDK**: `@objectstack/spec@2.0.7`
5+
> **Status**: Phase OPlatform Expansion 🔄 In Progress
6+
> **Spec SDK**: `@objectstack/spec@3.0.0`
77
> **ObjectUI**: `@object-ui/*@2.0.0`
88
99
---
1010

1111
## Executive Summary
1212

13-
ObjectOS is a metadata-driven enterprise runtime platform built on the ObjectStack protocol. With all 13 server-side plugins fully implemented, spec compliance at 100%, and the Admin Console operational with 31 pages (including record create/edit), **Phases A–L are complete**. The platform now enters **Phase MTechnical Debt Resolution**, addressing 8 identified technical debt items critical for production readiness.
13+
ObjectOS is a metadata-driven enterprise runtime platform built on the ObjectStack protocol. With all 14 server-side plugins fully implemented, spec compliance at 100%, and the Admin Console operational with 31 pages (including record create/edit), **Phases A–N are complete**. The platform now enters **Phase OPlatform Expansion**, focusing on GraphQL, Plugin Marketplace, and AI Agent Framework.
1414

1515
The integration of **@object-ui** (6 packages at v2.0.0) marks a strategic shift: the Admin Console's Business App Shell now leverages @object-ui's `SchemaRenderer` for metadata-driven UI rendering, replacing hand-built components with protocol-compliant controls.
1616

17-
> **Technical Debt Resolution**: Detailed technical proposals for all 8 debt items are documented in [Technical Debt Resolution Guide](docs/guide/technical-debt-resolution.md).
17+
> **@objectstack/* v3.0.0 Upgrade**: All ObjectStack SDK packages upgraded to v3.0.0 — the new major version aligns the protocol spec, runtime, CLI, client, and all plugins to the 3.x series.
1818
1919
### What Changed
2020

21-
| Before (Plan v5.0) | After (Plan v7.0 — This Roadmap) |
21+
| Before (Plan v9.0) | After (Plan v10.0 — This Roadmap) |
2222
|---|---|
23-
| @object-ui listed as v1.1 future work | @object-ui v2.0.0 already installed and integrated |
24-
| Hand-built DataGrid, MetadataForm, KanbanBoard | @object-ui SchemaRenderer as primary rendering engine |
25-
| ObjectUI integration planned for April 2026 | ObjectUI integration active **now** — February 2026 |
26-
| Business App Shell was Phase 1 "foundation" | Business App Shell upgraded to @object-ui powered |
27-
| Custom field renderers for each type | @object-ui/fields provides field registry |
28-
| @objectstack/* packages at v2.0.6 | @objectstack/* packages upgraded to v2.0.7 |
29-
| Technical debt deferred | Phase M — Technical Debt Resolution with detailed proposals |
23+
| @objectstack/* packages at v2.0.7 | @objectstack/* packages upgraded to v3.0.0 |
24+
| Phase N — Enterprise Features in progress | Phase N — Enterprise Features ✅ complete |
25+
| Telemetry + Multi-tenancy planned | Telemetry + Multi-tenancy fully implemented |
26+
| Platform Expansion deferred | Phase O — Platform Expansion 🔄 in progress |
27+
| @object-ui v2.0.0 installed | @object-ui v2.0.0 (no change) |
3028

3129
---
3230

3331
## Current State (February 2026)
3432

35-
### Server — ✅ Complete (13 Plugins)
33+
### Server — ✅ Complete (14 Plugins)
3634

3735
| Plugin | Package | Status |
3836
|--------|---------|:------:|
@@ -51,7 +49,7 @@ The integration of **@object-ui** (6 packages at v2.0.0) marks a strategic shift
5149
| Telemetry | `@objectos/telemetry` ||
5250
| Workflow | `@objectos/workflow` ||
5351

54-
**Server Metrics**: 21,947 source lines · 107 TypeScript files · 47 test files · 350+ tests
52+
**Server Metrics**: 22,000+ source lines · 110+ TypeScript files · 50+ test files · 370+ tests
5553

5654
### Frontend — ✅ Phase I Complete
5755

@@ -99,12 +97,13 @@ The integration of **@object-ui** (6 packages at v2.0.0) marks a strategic shift
9997
| K | Offline & Sync | Feb 2026 ||
10098
| L | Polish & Performance | Feb 2026 ||
10199
| **M** | **Technical Debt Resolution** | **Feb–Sep 2026** | **✅ Complete** |
102-
| **N** | **Enterprise Features** | **Feb 2026** | **🔄 In Progress** |
100+
| **N** | **Enterprise Features** | **Feb 2026** | **✅ Complete** |
101+
| **O** | **Platform Expansion** | **Feb 2026** | **🔄 In Progress** |
103102

104103
### Phase G Outcomes
105104

106105
- ✅ All 10 core plugins adopt `@objectstack/spec/contracts` interfaces
107-
-@objectstack/* packages upgraded to v2.0.7
106+
-@objectstack/* packages upgraded to v3.0.0
108107
-@object-ui v2.0.0 packages installed in apps/web
109108
- ✅ ObjectStack data adapter created (`object-ui-adapter.ts`)
110109
- ✅ SchemaRenderer integration example working
@@ -276,7 +275,7 @@ Integrate `@objectos/browser` with the Admin Console for offline-first capabilit
276275

277276
---
278277

279-
## Phase N — Enterprise Features (Current — Feb 2026)
278+
## Phase N — Enterprise Features (✅ Complete — Feb 2026)
280279

281280
Enterprise-grade capabilities for production multi-tenant deployments and observability.
282281

@@ -310,6 +309,81 @@ Extend permissions system with organization-scoped data access control.
310309
| N.2.6 | Metadata fallback for `organizationId` extraction | 🟡 ||
311310
| N.2.7 | 12 tenant isolation tests (write, read, custom field, disabled) | 🟡 ||
312311

312+
### N.3 — @objectstack/* v3.0.0 Upgrade
313+
314+
| # | Task | Priority | Status |
315+
|---|------|:--------:|:------:|
316+
| N.3.1 | Upgrade all @objectstack/* packages from v2.0.7 to v3.0.0 | 🔴 ||
317+
| N.3.2 | Update pnpm-lock.yaml with new dependency tree | 🔴 ||
318+
| N.3.3 | Verify build and test compatibility with v3.0.0 | 🔴 ||
319+
| N.3.4 | Update documentation references (ROADMAP, DEVELOPMENT_PLAN) | 🟡 ||
320+
321+
---
322+
323+
## Phase O — Platform Expansion (Current — Feb 2026)
324+
325+
Building towards the v2.0.0 platform release with extensibility, AI, and advanced query capabilities.
326+
327+
### O.1 — Full GraphQL Layer
328+
329+
Complete GraphQL API alongside existing REST endpoints.
330+
331+
| # | Task | Priority | Status |
332+
|---|------|:--------:|:------:|
333+
| O.1.1 | GraphQL schema generation from ObjectStack metadata | 🔴 ||
334+
| O.1.2 | Query resolvers with permission enforcement | 🔴 ||
335+
| O.1.3 | Mutation resolvers with audit logging | 🔴 ||
336+
| O.1.4 | Subscription support via WebSocket | 🟡 ||
337+
| O.1.5 | DataLoader pattern for N+1 prevention | 🟡 ||
338+
| O.1.6 | GraphQL Playground / Explorer integration | 🟢 ||
339+
340+
### O.2 — Plugin Marketplace
341+
342+
Enable discovery, installation, and management of community plugins.
343+
344+
| # | Task | Priority | Status |
345+
|---|------|:--------:|:------:|
346+
| O.2.1 | Plugin registry API (`/api/v1/plugins/registry`) | 🔴 ||
347+
| O.2.2 | Plugin manifest validation and dependency resolution | 🔴 ||
348+
| O.2.3 | Dynamic plugin installation from registry | 🟡 ||
349+
| O.2.4 | Plugin versioning and upgrade paths | 🟡 ||
350+
| O.2.5 | Admin Console marketplace UI page | 🟡 ||
351+
| O.2.6 | Plugin sandboxing and security review | 🟢 ||
352+
353+
### O.3 — AI Agent Framework
354+
355+
Integrate LLM-powered agents into the ObjectOS kernel.
356+
357+
| # | Task | Priority | Status |
358+
|---|------|:--------:|:------:|
359+
| O.3.1 | Agent plugin interface and lifecycle hooks | 🔴 ||
360+
| O.3.2 | Tool registry for agent actions (CRUD, workflow, notification) | 🔴 ||
361+
| O.3.3 | Conversation context with tenant isolation | 🟡 ||
362+
| O.3.4 | Agent orchestration (multi-step reasoning) | 🟡 ||
363+
| O.3.5 | Admin Console AI assistant page | 🟢 ||
364+
| O.3.6 | Agent audit logging and cost tracking | 🟢 ||
365+
366+
### O.4 — Analytics Plugin
367+
368+
Metadata-driven analytics and reporting engine.
369+
370+
| # | Task | Priority | Status |
371+
|---|------|:--------:|:------:|
372+
| O.4.1 | Analytics plugin with aggregation pipeline | 🔴 ||
373+
| O.4.2 | Report definition format (YAML/JSON) | 🟡 ||
374+
| O.4.3 | Dashboard widget system | 🟡 ||
375+
| O.4.4 | Scheduled report generation via Jobs | 🟢 ||
376+
| O.4.5 | Admin Console analytics dashboard page | 🟢 ||
377+
378+
### O.5 — Dynamic Plugin Loading (Module Federation)
379+
380+
| # | Task | Priority | Status |
381+
|---|------|:--------:|:------:|
382+
| O.5.1 | Module Federation host configuration | 🔴 ||
383+
| O.5.2 | Remote plugin loading at runtime | 🔴 ||
384+
| O.5.3 | Shared dependency management | 🟡 ||
385+
| O.5.4 | Hot-reload support for development | 🟢 ||
386+
313387
---
314388

315389
## Release Timeline
@@ -318,9 +392,9 @@ Extend permissions system with organization-scoped data access control.
318392

319393
| Criterion | Status |
320394
|-----------|:------:|
321-
| All 13 plugins implemented ||
395+
| All 14 plugins implemented ||
322396
| Spec compliance 100% ||
323-
| Admin Console operational (29 pages) ||
397+
| Admin Console operational (31 pages) ||
324398
| Security review passed ||
325399
| Integration test suite ||
326400
| Performance baseline (P95 < 100ms) ||
@@ -358,11 +432,12 @@ Extend permissions system with organization-scoped data access control.
358432
- Phase L: Polish & Performance ✅
359433
- Phase M.3: Platform Hardening ✅
360434
- Plugin isolation (Worker Threads + Child Process) (TD-7) ✅
361-
- Plugin Marketplace
362-
- Dynamic Plugin Loading (Module Federation)
363-
- AI Agent Framework
364-
- Full GraphQL layer
365-
- Analytics plugin
435+
- @objectstack/* v3.0.0 upgrade ✅ Phase N.3
436+
- Phase O.1: Full GraphQL layer
437+
- Phase O.2: Plugin Marketplace
438+
- Phase O.3: AI Agent Framework
439+
- Phase O.4: Analytics plugin
440+
- Phase O.5: Dynamic Plugin Loading (Module Federation)
366441

367442
### Master Timeline
368443

@@ -386,12 +461,16 @@ Feb 2026 Sep 2026
386461
│ v1.1.0 Release │
387462
│ │ │
388463
├── Phase K: Offline & Sync ──────────────────┤ │
464+
├── Phase N: Enterprise Features ─────────────┤ │
465+
│ (Telemetry, Multi-tenancy, SDK v3.0.0) │ │
389466
│ ▼ │
390467
│ v1.2.0 Release │
391468
│ │ │
392469
├── Phase L: Polish & Performance ────────────┤ │
393470
├── Phase M.3: Platform Hardening ────────────┤ │
394471
│ (Plugin isolation) │ │
472+
├── Phase O: Platform Expansion ──────────────┤ │
473+
│ (GraphQL, Marketplace, AI, Analytics) │ │
395474
│ ▼ │
396475
│ v2.0.0 Release │
397476
▼ ▼ ▼
@@ -493,14 +572,14 @@ User Action → React Component → @object-ui/react SchemaRenderer
493572

494573
| Dependency | Version | Role |
495574
|-----------|---------|------|
496-
| `@objectstack/runtime` | 2.0.7 | Microkernel — plugin lifecycle |
497-
| `@objectstack/spec` | 2.0.7 | Protocol contracts |
498-
| `@objectstack/cli` | 2.0.7 | Server bootstrap |
499-
| `@objectstack/client` | 2.0.7 | Frontend SDK |
500-
| `@objectstack/objectql` | 2.0.7 | ObjectQL plugin |
501-
| `@objectstack/driver-memory` | 2.0.7 | In-memory driver |
502-
| `@objectstack/plugin-hono-server` | 2.0.7 | Hono HTTP server |
503-
| `@objectstack/plugin-auth` | 2.0.7 | Authentication |
575+
| `@objectstack/runtime` | 3.0.0 | Microkernel — plugin lifecycle |
576+
| `@objectstack/spec` | 3.0.0 | Protocol contracts |
577+
| `@objectstack/cli` | 3.0.0 | Server bootstrap |
578+
| `@objectstack/client` | 3.0.0 | Frontend SDK |
579+
| `@objectstack/objectql` | 3.0.0 | ObjectQL plugin |
580+
| `@objectstack/driver-memory` | 3.0.0 | In-memory driver |
581+
| `@objectstack/plugin-hono-server` | 3.0.0 | Hono HTTP server |
582+
| `@objectstack/plugin-auth` | 3.0.0 | Authentication |
504583
| `@object-ui/core` | 2.0.0 | UI core logic |
505584
| `@object-ui/react` | 2.0.0 | React components |
506585
| `@object-ui/components` | 2.0.0 | Standard controls |
@@ -534,5 +613,5 @@ User Action → React Component → @object-ui/react SchemaRenderer
534613
---
535614

536615
<div align="center">
537-
<sub>ObjectOS v7.0.0 Roadmap — Technical Debt Resolution | Built with @objectstack/spec@2.0.7</sub>
616+
<sub>ObjectOS v10.0.0 Roadmap — Platform Expansion | Built with @objectstack/spec@3.0.0</sub>
538617
</div>

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@object-ui/fields": "^2.0.0",
1919
"@object-ui/layout": "^2.0.0",
2020
"@object-ui/react": "^2.0.0",
21-
"@objectstack/client": "2.0.7",
21+
"@objectstack/client": "3.0.0",
2222
"@radix-ui/react-dialog": "^1.1.15",
2323
"@radix-ui/react-dropdown-menu": "^2.1.16",
2424
"@radix-ui/react-select": "^2.2.6",

0 commit comments

Comments
 (0)