Skip to content

The Universal Architecture Standard. Shared JSON Schemas and TypeScript Interfaces for the ObjectStack ecosystem (Data, Control, View).

Notifications You must be signed in to change notification settings

objectstack-ai/spec

Repository files navigation

@objectstack/spec

TypeScript License: MIT

ObjectStack Protocol & Specification - The Constitution of the ObjectStack Ecosystem

📜 Overview

This monorepo contains the core interfaces, schemas, and conventions for the ObjectStack ecosystem. It serves as the "Constitution" - the shared language that ObjectOS, ObjectStudio, ObjectCloud, and all third-party plugins use to communicate.

Guiding Principle: "Strict Types, No Logic"

📦 Packages

This repository is organized as a monorepo with the following packages:

Core Packages

🚀 Installation

Install the main package (recommended)

pnpm install @objectstack/spec

Install individual packages (for smaller bundle sizes)

pnpm install @objectstack/spec-meta
pnpm install @objectstack/spec-plugin
pnpm install @objectstack/spec-schemas
pnpm install @objectstack/spec-constants

📚 Usage

Using the main package

import { 
  ObjectEntity,
  ObjectStackPlugin,
  ManifestSchema,
  PKG_CONVENTIONS
} from '@objectstack/spec';

Using individual packages

import { ObjectEntity } from '@objectstack/spec-meta';
import { ObjectStackPlugin } from '@objectstack/spec-plugin';
import { ManifestSchema } from '@objectstack/spec-schemas';
import { PKG_CONVENTIONS } from '@objectstack/spec-constants';

🏗️ Development

# Install dependencies
pnpm install

# Build all packages
pnpm run build

# Watch mode for development (all packages)
pnpm run dev

# Clean build artifacts
pnpm run clean

Building Individual Packages

# Build a specific package
cd packages/meta && pnpm run build

📄 License

MIT

About

The Universal Architecture Standard. Shared JSON Schemas and TypeScript Interfaces for the ObjectStack ecosystem (Data, Control, View).

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •