Skip to content

Commit a5fa3d7

Browse files
authored
Merge pull request #242 from objectstack-ai/copilot/upgrade-objectstack-to-latest-again
2 parents be70745 + 954fb95 commit a5fa3d7

57 files changed

Lines changed: 370 additions & 464 deletions

Some content is hidden

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

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ packages/server/objectstack.config.js
2727

2828
# Vercel
2929
.vercel/
30+
*.tgz
31+
package/

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
77
![Objects](https://img.shields.io/badge/Objects-~148-brightgreen)
88
![Tests](https://img.shields.io/badge/Tests-3799%20passing-brightgreen)
9-
![Spec](https://img.shields.io/badge/%40objectstack%2Fspec-v3.0.8-blue)
9+
![Spec](https://img.shields.io/badge/%40objectstack%2Fspec-v3.0.11-blue)
1010

11-
> A world-class Customer Relationship Management system built on @objectstack/spec v3.0.8 protocol with Salesforce-level functionality and Apple/Linear-level UX.
11+
> A world-class Customer Relationship Management system built on @objectstack/spec v3.0.11 protocol with Salesforce-level functionality and Apple/Linear-level UX.
1212
1313
## ⚡ Quick Start in 60 Seconds
1414

@@ -31,7 +31,7 @@ pnpm test # Vitest — expect 3,799+ tests passing
3131
3232
## 🌟 Overview
3333

34-
HotCRM is a **comprehensive, AI-native enterprise CRM** covering the complete Lead-to-Cash lifecycle. Built on @objectstack/spec v3.0.8:
34+
HotCRM is a **comprehensive, AI-native enterprise CRM** covering the complete Lead-to-Cash lifecycle. Built on @objectstack/spec v3.0.11:
3535

3636
- **~148 Business Objects** across 13 packages: Sales, Marketing, Revenue, Service, HR, AI, Analytics, Integration, Community, Real Estate, Healthcare, Financial Services, Education
3737
- **Metadata-Driven**: All objects defined in TypeScript (`.object.ts`) — the single source of truth

ROADMAP.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# HotCRM Development Roadmap
22

33
> Comprehensive development plan for HotCRM — the world's first AI-Native CRM.
4-
> Protocol: @objectstack/spec v3.0.8 | Last Updated: February 2026
4+
> Protocol: @objectstack/spec v3.0.11 | Last Updated: February 2026
55
66
## Strategic Direction
77

@@ -22,7 +22,7 @@
2222

2323
| Metric | Value |
2424
|--------|-------|
25-
| Protocol Version | @objectstack/spec v3.0.8 |
25+
| Protocol Version | @objectstack/spec v3.0.11 |
2626
| Business Objects | ~148 across 13 packages |
2727
| Business Packages | 13 (6 core clouds + AI + Analytics + Integration + Community + 4 verticals) |
2828
| Hook Files | 121+ across 13 packages |
@@ -211,6 +211,7 @@ These items were deferred during Phase 13 and have been completed:
211211

212212
| Date | From | To | Breaking Changes | Tests |
213213
|------|------|----|-----------------|-------|
214+
| 2026-02-26 | v3.0.8 | v3.0.11 | ViewFilterRule format changed from array tuples to objects `{ field, operator, value }` (34 view files updated) | 3817 ✅ |
214215
| 2026-02-26 | v3.0.8 | v3.0.8 | None (Phase 15: Added EventTypeDefinitionSchema validation to all 9 events.ts files; 100% metadata schema compliance) | 3817 ✅ |
215216
| 2026-02-25 | v3.0.8 | v3.0.8 | None (Phase 15: Fixed tsconfig.json path aliases for node16 ESM module resolution — changed directory paths to explicit index.ts files) | 3813 ✅ |
216217
| 2026-02-21 | v3.0.8 | v3.0.8 | None (Phase 15 continued: Structured pino logging across 154 files, CacheManager test isolation, db.ts deprecation annotations, emoji removal from logs) | 3813 ✅ |

content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Explore the six business clouds that power every stage of the customer lifecycle
8484

8585
| Metric | Value |
8686
|--------|-------|
87-
| **Protocol Version** | @objectstack/spec v3.0.8 |
87+
| **Protocol Version** | @objectstack/spec v3.0.11 |
8888
| **Business Packages** | 13 (6 core clouds + AI + Analytics + Integration + Community + 4 verticals) |
8989
| **Business Objects** | ~148 across 13 packages |
9090
| **Server-Side Hooks** | 121+ hooks enforcing business logic |

content/docs/roadmap.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Strategic direction and completed development milestones for HotCRM
77

88
HotCRM has completed **16 development phases** (1–14 including 10.5, 10.6, 12A-D, and 12E), establishing a full-featured, production-ready **13-package CRM** with **~148 business objects**, AI agent workflows, enterprise security, full UI metadata, Salesforce feature parity (~95%), 4 vertical industry solutions, Activity Feed/Chatter system, Interface Builder, and comprehensive developer tooling.
99

10-
> **Protocol Version**: @objectstack/spec v3.0.8 | **Tests**: 3,799 passing (192 files) | **Spec Schema Adoption**: ~95 / ~95 (~100%) | **Last Updated**: February 21, 2027
10+
> **Protocol Version**: @objectstack/spec v3.0.11 | **Tests**: 3,799 passing (192 files) | **Spec Schema Adoption**: ~95 / ~95 (~100%) | **Last Updated**: February 21, 2027
1111
1212
---
1313

@@ -16,7 +16,7 @@ HotCRM has completed **16 development phases** (1–14 including 10.5, 10.6, 12A
1616
```
1717
2025 ████████████████████████████████ Phases 1-9: Foundation → AI → Quality → Test → Integration → Schema → v3.0 → UI → DX
1818
2026 Q1-Q4 ████████████████████████████████ Phases 10-12D: Salesforce Parity → Deep Metadata → Forms & Pages → Ecosystem → Verticals ✅ COMPLETE
19-
2027 Q1-Q3 ████████████████████████████████ Phase 13: Module Optimization & Seed Data → Phase 14: v3.0.8 Feed & Interface Builder ✅ COMPLETE
19+
2027 Q1-Q3 ████████████████████████████████ Phase 13: Module Optimization & Seed Data → Phase 14: v3.0.11 Feed & Interface Builder ✅ COMPLETE
2020
2027+ ████████████████████████████████ Phase 12E: Advanced AI & Enterprise Features ✅ COMPLETE
2121
```
2222

@@ -43,7 +43,7 @@ HotCRM has completed **16 development phases** (1–14 including 10.5, 10.6, 12A
4343
| **11** | Ecosystem & Connectivity | +3 packages (Analytics, Integration, Community); 10 connectors; iPaaS layer |
4444
| **12A-D** | Vertical Solutions | +4 verticals (Real Estate, Healthcare, Financial Services, Education); 28 objects |
4545
| **13** | Module Optimization & Seed Data | 39 seed files, 13/13 plugins registered, metadata equalization, 13 state machines |
46-
| **14** | v3.0.8 Feed & Interface Builder | Activity feed/Chatter across 6 clouds, interface builder, dashboard headers/filters, Feed API, ~100% schema adoption |
46+
| **14** | v3.0.11 Feed & Interface Builder | Activity feed/Chatter across 6 clouds, interface builder, dashboard headers/filters, Feed API, ~100% schema adoption |
4747
| **12E** | Advanced AI & Enterprise | Computer vision, voice AI, anomaly detection, multi-tenancy, SOC 2, marketplace |
4848

4949
---
@@ -52,7 +52,7 @@ HotCRM has completed **16 development phases** (1–14 including 10.5, 10.6, 12A
5252

5353
| Metric | Value |
5454
|--------|-------|
55-
| Protocol Version | @objectstack/spec v3.0.8 |
55+
| Protocol Version | @objectstack/spec v3.0.11 |
5656
| Business Objects | ~148 across 13 packages |
5757
| Business Packages | 13 (6 core + AI + Analytics + Integration + Community + 4 verticals) |
5858
| Hook Files | 121+ across 13 packages |

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@
5959
"@changesets/cli": "^2.29.8",
6060
"@hono/node-server": "^1.19.9",
6161
"@object-ui/console": "^3.0.3",
62-
"@objectstack/cli": "^3.0.9",
63-
"@objectstack/driver-memory": "^3.0.8",
64-
"@objectstack/objectql": "^3.0.8",
65-
"@objectstack/plugin-hono-server": "^3.0.8",
66-
"@objectstack/runtime": "^3.0.8",
67-
"@objectstack/spec": "^3.0.8",
68-
"@objectstack/studio": "^3.0.8",
62+
"@objectstack/cli": "^3.0.11",
63+
"@objectstack/driver-memory": "^3.0.11",
64+
"@objectstack/objectql": "^3.0.11",
65+
"@objectstack/plugin-hono-server": "^3.0.11",
66+
"@objectstack/runtime": "^3.0.11",
67+
"@objectstack/spec": "^3.0.11",
68+
"@objectstack/studio": "^3.0.11",
6969
"@types/node": "^25.2.3",
7070
"@typescript-eslint/eslint-plugin": "^7.18.0",
7171
"@typescript-eslint/parser": "^7.18.0",

packages/ai/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
],
3535
"author": "HotCRM Team",
3636
"dependencies": {
37-
"@objectstack/spec": "^3.0.8",
37+
"@objectstack/spec": "^3.0.11",
3838
"axios": "^1.13.5",
3939
"zod": "^4.3.6"
4040
},
4141
"devDependencies": {
42-
"@objectstack/cli": "^3.0.9",
42+
"@objectstack/cli": "^3.0.11",
4343
"typescript": "^5.9.3"
4444
}
4545
}

packages/analytics/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
"author": "HotCRM Team",
3737
"dependencies": {
3838
"@hotcrm/ai": "workspace:*",
39-
"@objectstack/spec": "^3.0.8",
39+
"@objectstack/spec": "^3.0.11",
4040
"zod": "^4.3.6"
4141
},
4242
"devDependencies": {
43-
"@objectstack/cli": "^3.0.9",
43+
"@objectstack/cli": "^3.0.11",
4444
"typescript": "^5.9.3"
4545
}
4646
}

packages/analytics/src/kpi.view.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const KPIsAtRiskView = {
3838
type: 'grid' as const,
3939
name: 'kpis_at_risk',
4040
label: 'At Risk',
41-
filter: [['trend', '=', 'declining']],
41+
filter: [{ field: 'trend', operator: '=', value: 'declining' }],
4242
columns: [
4343
{ field: 'name', width: 200, link: true },
4444
{ field: 'current_value', width: 120, align: 'right' as const },
@@ -60,7 +60,7 @@ export const KPIsOnTrackView = {
6060
type: 'grid' as const,
6161
name: 'kpis_on_track',
6262
label: 'On Track',
63-
filter: [['trend', '=', 'improving']],
63+
filter: [{ field: 'trend', operator: '=', value: 'improving' }],
6464
columns: [
6565
{ field: 'name', width: 200, link: true },
6666
{ field: 'metric_type', width: 120 },
@@ -79,7 +79,7 @@ export const MyKPIsView = {
7979
type: 'grid' as const,
8080
name: 'my_kpis',
8181
label: 'My KPIs',
82-
filter: [['owner_id', '=', '${currentUser.id}']],
82+
filter: [{ field: 'owner_id', operator: '=', value: '${currentUser.id}' }],
8383
columns: [
8484
{ field: 'name', width: 200, link: true },
8585
{ field: 'metric_type', width: 120 },

packages/analytics/src/report.view.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const MyReportsView = {
3333
type: 'grid' as const,
3434
name: 'my_reports',
3535
label: 'My Reports',
36-
filter: [['owner_id', '=', '${currentUser.id}']],
36+
filter: [{ field: 'owner_id', operator: '=', value: '${currentUser.id}' }],
3737
columns: [
3838
{ field: 'name', width: 250, link: true },
3939
{ field: 'report_type', width: 120 },
@@ -51,7 +51,7 @@ export const PublicReportsView = {
5151
type: 'grid' as const,
5252
name: 'public_reports',
5353
label: 'Public Reports',
54-
filter: [['is_public', '=', true]],
54+
filter: [{ field: 'is_public', operator: '=', value: true }],
5555
columns: [
5656
{ field: 'name', width: 250, link: true },
5757
{ field: 'report_type', width: 120 },
@@ -69,7 +69,7 @@ export const RecentReportsView = {
6969
type: 'grid' as const,
7070
name: 'recent_reports',
7171
label: 'Recently Run',
72-
filter: [['last_run_at', '>=', 'LAST_30_DAYS']],
72+
filter: [{ field: 'last_run_at', operator: '>=', value: 'LAST_30_DAYS' }],
7373
columns: [
7474
{ field: 'name', width: 250, link: true },
7575
{ field: 'report_type', width: 120 },

0 commit comments

Comments
 (0)