Skip to content

Commit d0884ea

Browse files
committed
feat: add plugin loading protocol and schemas for enhanced plugin management
- Introduced `plugin-loading.zod.ts` with comprehensive schemas for plugin loading strategies, preloading, code splitting, dynamic imports, initialization, dependency resolution, hot reload, caching, sandboxing, and performance monitoring. - Created `plugin.zod.ts` defining plugin context, lifecycle hooks, and shared plugin types. - Added `service-registry.zod.ts` for service metadata and registry configuration schemas. - Implemented `identifiers.zod.ts` for system identifier validation, including strict snake case and event name schemas.
1 parent 26c0059 commit d0884ea

17 files changed

+4246
-0
lines changed

.agents/skills/objectstack-kernel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../skills/objectstack-kernel

.claude/skills/objectstack-kernel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../skills/objectstack-kernel

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ The `skills/` directory contains domain-specific AI skill definitions. When work
226226
| Skill | Path | Use When |
227227
|:---|:---|:---|
228228
| **Quickstart** | `skills/objectstack-quickstart/SKILL.md` | Project creation, defineStack(), drivers, adapters, bootstrap |
229+
| **Kernel** | `skills/objectstack-kernel/SKILL.md` | Plugin lifecycle, DI, EventBus, Kernel config |
229230
| Data Design | `skills/objectstack-data/SKILL.md` | Designing Objects, Fields, Relations |
230231
| API Design | `skills/objectstack-api/SKILL.md` | Designing REST/GraphQL endpoints |
231232
| UI Design | `skills/objectstack-ui/SKILL.md` | Designing Views, Dashboards, Apps |

packages/spec/scripts/build-skill-references.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,16 @@ const SKILL_MAP: Record<string, string[]> = {
8989
'data/datasource.zod.ts',
9090
'data/dataset.zod.ts',
9191
],
92+
'objectstack-kernel': [
93+
'kernel/plugin.zod.ts',
94+
'kernel/context.zod.ts',
95+
'kernel/service-registry.zod.ts',
96+
'kernel/plugin-lifecycle-events.zod.ts',
97+
'kernel/plugin-capability.zod.ts',
98+
'kernel/plugin-loading.zod.ts',
99+
'kernel/feature.zod.ts',
100+
'kernel/metadata-plugin.zod.ts',
101+
],
92102
};
93103

94104
// ── Import resolver ──────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)