@elevasis/core 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/index.d.ts +67 -159
  2. package/dist/index.js +321 -613
  3. package/dist/organization-model/index.d.ts +67 -159
  4. package/dist/organization-model/index.js +321 -613
  5. package/dist/test-utils/index.d.ts +17 -45
  6. package/dist/test-utils/index.js +254 -600
  7. package/package.json +1 -1
  8. package/src/__tests__/template-core-compatibility.test.ts +73 -91
  9. package/src/_gen/__tests__/__snapshots__/contracts.md.snap +62 -148
  10. package/src/organization-model/README.md +101 -97
  11. package/src/organization-model/__tests__/domains/resource-mappings.test.ts +24 -93
  12. package/src/organization-model/__tests__/graph.test.ts +82 -894
  13. package/src/organization-model/__tests__/resolve.test.ts +59 -690
  14. package/src/organization-model/__tests__/schema.test.ts +83 -407
  15. package/src/organization-model/defaults.ts +276 -141
  16. package/src/organization-model/domains/features.ts +31 -22
  17. package/src/organization-model/foundation.ts +42 -54
  18. package/src/organization-model/graph/build.ts +42 -217
  19. package/src/organization-model/graph/index.ts +4 -4
  20. package/src/organization-model/graph/link.ts +10 -0
  21. package/src/organization-model/graph/schema.ts +21 -16
  22. package/src/organization-model/graph/types.ts +10 -10
  23. package/src/organization-model/helpers.ts +74 -0
  24. package/src/organization-model/index.ts +7 -7
  25. package/src/organization-model/organization-graph.mdx +89 -272
  26. package/src/organization-model/organization-model.mdx +149 -320
  27. package/src/organization-model/published.ts +15 -15
  28. package/src/organization-model/resolve.ts +8 -33
  29. package/src/organization-model/schema.ts +63 -205
  30. package/src/organization-model/types.ts +12 -11
  31. package/src/platform/registry/__tests__/command-view.test.ts +6 -5
  32. package/src/platform/registry/__tests__/resource-link.test.ts +30 -0
  33. package/src/platform/registry/__tests__/resource-registry.integration.test.ts +15 -15
  34. package/src/platform/registry/command-view.ts +10 -12
  35. package/src/platform/registry/index.ts +13 -8
  36. package/src/platform/registry/resource-link.ts +32 -0
  37. package/src/platform/registry/resource-registry.ts +12 -10
  38. package/src/platform/registry/serialization.ts +56 -73
  39. package/src/platform/registry/serialized-types.ts +17 -12
  40. package/src/platform/registry/types.ts +14 -43
  41. package/src/reference/_generated/contracts.md +62 -148
  42. package/src/reference/glossary.md +71 -105
  43. package/src/platform/registry/domains.ts +0 -165
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/core",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "license": "MIT",
5
5
  "description": "Minimal shared constants across Elevasis monorepo",
6
6
  "sideEffects": false,
@@ -1,5 +1,5 @@
1
1
  import { describe, expect, it } from 'vitest'
2
- import { PROJECTS_VIEW_CAPABILITY_ID, PROJECTS_FEATURE_ID } from '../organization-model/published'
2
+ import { PROJECTS_FEATURE_ID } from '../organization-model/published'
3
3
  import {
4
4
  getOrganizationSurface,
5
5
  homeLabel,
@@ -13,95 +13,77 @@ describe('template core compatibility', () => {
13
13
  expect(foundationOrganizationModel.navigation.quickAccessSurfaceIds).toEqual(quickAccessSurfaceIds)
14
14
  expect(foundationOrganizationModel.version).toBe(1)
15
15
  expect(foundationOrganizationModel.navigation.defaultSurfaceId).toBe('operations')
16
- expect(getOrganizationSurface('operations')).toMatchObject({
17
- id: 'operations',
18
- label: 'Organization Graph',
19
- path: '/operations',
20
- surfaceType: 'graph',
21
- featureId: 'operations'
22
- })
23
-
24
- expect(getOrganizationSurface('operations.organization-graph')).toMatchObject({
25
- id: 'operations.organization-graph',
26
- label: 'Organization Graph',
27
- path: '/operations',
28
- surfaceType: 'graph',
29
- featureId: 'operations'
30
- })
31
- })
32
-
33
- it('projects legacy template aliases with canonical navigation metadata', () => {
16
+ expect(getOrganizationSurface('operations')).toMatchObject({
17
+ id: 'operations',
18
+ label: 'Organization Graph',
19
+ path: '/operations',
20
+ surfaceType: 'graph'
21
+ })
22
+
23
+ expect(getOrganizationSurface('operations.graph')).toMatchObject({
24
+ id: 'operations.graph',
25
+ label: 'Organization Graph',
26
+ path: '/operations',
27
+ surfaceType: 'graph'
28
+ })
29
+ })
30
+
31
+ it('projects legacy template aliases with canonical navigation metadata', () => {
34
32
  const legacySurfaces = [
35
33
  {
36
- id: 'operations',
37
- label: 'Organization Graph',
38
- surfaceType: 'graph',
39
- expectedFeatureId: 'operations',
40
- expectedIcon: 'operations',
41
- expectedPath: '/operations',
42
- expectedEntityIds: [],
43
- expectedCapabilityIds: ['operations.organization-graph']
44
- },
45
- {
46
- id: PROJECTS_FEATURE_ID,
47
- label: 'Projects',
48
- surfaceType: 'list',
49
- expectedFeatureId: PROJECTS_FEATURE_ID,
50
- expectedIcon: 'projects',
51
- expectedPath: '/projects',
52
- expectedEntityIds: ['delivery.project'],
53
- expectedCapabilityIds: [PROJECTS_VIEW_CAPABILITY_ID]
54
- },
55
- {
56
- id: 'lead-gen',
57
- label: 'Lists',
58
- surfaceType: 'list',
59
- expectedFeatureId: 'lead-gen',
60
- expectedIcon: 'lead-gen',
61
- expectedPath: '/lead-gen/lists',
62
- expectedEntityIds: ['leadgen.list'],
63
- expectedCapabilityIds: ['leadgen.lists.manage']
64
- },
65
- {
66
- id: 'crm',
67
- label: 'Pipeline',
68
- surfaceType: 'graph',
69
- expectedFeatureId: 'crm',
70
- expectedIcon: 'crm',
71
- expectedPath: '/crm/pipeline',
72
- expectedEntityIds: ['crm.deal'],
73
- expectedCapabilityIds: ['crm.pipeline.manage']
74
- }
75
- ] as const
76
-
77
- expect(getOrganizationSurface('operations.organization-graph')).toBeDefined()
78
-
79
- for (const surface of legacySurfaces) {
80
- expect(getOrganizationSurface(surface.id)).toMatchObject({
81
- id: surface.id,
82
- label: surface.label,
83
- path: surface.expectedPath,
84
- surfaceType: surface.surfaceType,
85
- icon: surface.expectedIcon,
86
- featureId: surface.expectedFeatureId,
87
- entityIds: surface.expectedEntityIds,
88
- resourceIds: [],
89
- capabilityIds: surface.expectedCapabilityIds
90
- })
91
- }
92
- })
93
-
94
- it('maps grouped core features onto the legacy template feature vocabulary', () => {
95
- const features = foundationOrganizationModel.features as Array<{ id: string; label: string; enabled: boolean }>
96
- const featureById = (id: string) => features.find((f) => f.id === id)
97
-
98
- expect(featureById('crm')?.enabled).toBe(true)
99
- expect(featureById('lead-gen')?.enabled).toBe(true)
100
- expect(featureById('projects')?.enabled).toBe(true)
101
- expect(featureById('operations')?.enabled).toBe(true)
102
-
103
- expect(featureById('crm')?.label).toBe('CRM')
104
- expect(featureById('lead-gen')?.label).toBe('Lead Gen')
105
- expect(featureById('projects')?.label).toBe('Projects')
106
- })
107
- })
34
+ id: 'operations',
35
+ label: 'Organization Graph',
36
+ surfaceType: 'graph',
37
+ expectedIcon: 'operations',
38
+ expectedPath: '/operations',
39
+ },
40
+ {
41
+ id: PROJECTS_FEATURE_ID,
42
+ label: 'Projects',
43
+ surfaceType: 'list',
44
+ expectedIcon: 'projects',
45
+ expectedPath: '/projects',
46
+ },
47
+ {
48
+ id: 'lead-gen',
49
+ label: 'Lead Gen',
50
+ surfaceType: 'list',
51
+ expectedIcon: 'lead-gen',
52
+ expectedPath: '/lead-gen',
53
+ },
54
+ {
55
+ id: 'crm',
56
+ label: 'CRM',
57
+ surfaceType: 'graph',
58
+ expectedIcon: 'crm',
59
+ expectedPath: '/crm',
60
+ }
61
+ ] as const
62
+
63
+ expect(getOrganizationSurface('operations.graph')).toBeDefined()
64
+
65
+ for (const surface of legacySurfaces) {
66
+ expect(getOrganizationSurface(surface.id)).toMatchObject({
67
+ id: surface.id,
68
+ label: surface.label,
69
+ path: surface.expectedPath,
70
+ surfaceType: surface.surfaceType,
71
+ icon: surface.expectedIcon
72
+ })
73
+ }
74
+ })
75
+
76
+ it('maps grouped core features onto the legacy template feature vocabulary', () => {
77
+ const features = foundationOrganizationModel.features as Array<{ id: string; label: string; enabled: boolean }>
78
+ const featureById = (id: string) => features.find((f) => f.id === id)
79
+
80
+ expect(featureById('sales.crm')?.enabled).toBe(true)
81
+ expect(featureById('sales.lead-gen')?.enabled).toBe(true)
82
+ expect(featureById('projects')?.enabled).toBe(true)
83
+ expect(featureById('operations')?.enabled).toBe(true)
84
+
85
+ expect(featureById('sales.crm')?.label).toBe('CRM')
86
+ expect(featureById('sales.lead-gen')?.label).toBe('Lead Gen')
87
+ expect(featureById('projects')?.label).toBe('Projects')
88
+ })
89
+ })
@@ -45,22 +45,28 @@ export type OrganizationModelProjects = z.infer<typeof OrganizationModelProjects
45
45
  export type OrganizationModelFeature = z.infer<typeof FeatureSchema>
46
46
  ```
47
47
 
48
- ### `OrganizationModelNavigation`
48
+ ### `NodeIdPath`
49
49
 
50
50
  ```typescript
51
- export type OrganizationModelNavigation = z.infer<typeof OrganizationModelNavigationSchema>
51
+ export type NodeIdPath = z.infer<typeof NodeIdPathSchema>
52
52
  ```
53
53
 
54
- ### `OrganizationModelSurface`
54
+ ### `NodeIdString`
55
55
 
56
56
  ```typescript
57
- export type OrganizationModelSurface = z.infer<typeof SurfaceDefinitionSchema>
57
+ export type NodeIdString = z.infer<typeof NodeIdStringSchema>
58
+ ```
59
+
60
+ ### `OrganizationModelNavigation`
61
+
62
+ ```typescript
63
+ export type OrganizationModelNavigation = z.infer<typeof OrganizationModelNavigationSchema>
58
64
  ```
59
65
 
60
- ### `OrganizationModelResourceMapping`
66
+ ### `OrganizationModelSurface`
61
67
 
62
68
  ```typescript
63
- export type OrganizationModelResourceMapping = z.infer<typeof ResourceMappingSchema>
69
+ export type OrganizationModelSurface = z.infer<typeof SurfaceDefinitionSchema>
64
70
  ```
65
71
 
66
72
  ### `OrganizationModelTechStackEntry`
@@ -179,64 +185,34 @@ export type DeepPartial<T> = T extends Array<infer U> ? Array<DeepPartial<U>> :
179
185
 
180
186
  ## Feature System
181
187
 
182
- ### `FeatureNavLink`
183
-
184
- ```typescript
185
- export interface FeatureNavLink {
186
- label: string
187
- link: string
188
- featureKey?: string
189
- onClick?: () => void
190
- links?: FeatureNavLink[]
191
- }
192
- ```
193
-
194
- ### `FeatureNavEntry`
188
+ ### `FeatureSidebarComponent`
195
189
 
196
190
  ```typescript
197
- export interface FeatureNavEntry {
198
- label: string
199
- icon: ComponentType
200
- link?: string
201
- featureKey?: string
202
- requiresAdmin?: boolean
203
- dataOnboardingTourId?: string
204
- links?: FeatureNavLink[]
205
- }
191
+ export type FeatureSidebarComponent = ComponentType
192
+ export type FeatureIconComponent = ComponentType<{ size?: number;
206
193
  ```
207
194
 
208
- ### `FeatureSidebarComponent`
195
+ ### `FeatureIconComponent`
209
196
 
210
197
  ```typescript
211
- export type FeatureSidebarComponent = ComponentType
198
+ export type FeatureIconComponent = ComponentType<{ size?: number;
212
199
  ```
213
200
 
214
201
  ### `FeatureModule`
215
202
 
216
203
  ```typescript
217
204
  export interface FeatureModule {
218
- /** Unique stable identifier for this feature (e.g. `'crm'`, `'projects'`). */
205
+ /** Unique stable identifier for this feature module. */
219
206
  key: string
220
- /** Feature ID used for access-flag gating — must match the `id` of a feature in the organization model. */
207
+ /** Organization Model feature id this module presents. */
221
208
  featureId: string
222
- /**
223
- * Capability identifiers contributed by this feature.
224
- * Merged into `ResolvedFeatureSemantics.capabilityIds` at resolution time.
225
- * Not queried at runtime — kept for semantic graph completeness so that
226
- * capability membership is fully represented in the resolved model even when
227
- * a surface does not declare it directly.
228
- */
209
+ /** Capability identifiers contributed by this feature module. */
229
210
  capabilityIds?: string[]
230
- /** Top-level navigation entry rendered in the app shell when this feature is enabled. */
231
- navEntry?: FeatureNavEntry
232
- /** Sidebar component rendered when a matching subshell route is active. */
211
+ /** Icon used when this feature node appears in shell navigation. */
212
+ icon?: FeatureIconComponent
213
+ /** Sidebar component rendered when this feature's subtree route is active. */
233
214
  sidebar?: FeatureSidebarComponent
234
- /** Route path prefixes that activate this feature's sidebar and subshell context. */
235
- subshellRoutes?: string[]
236
- /**
237
- * Operations-only bridge surface connecting this feature to the organization graph.
238
- * Ignored by all other features. Only one manifest in the registry should set this.
239
- */
215
+ /** Operations-only bridge connecting this feature to the organization graph node. */
240
216
  organizationGraph?: OrganizationGraphFeatureBridge
241
217
  }
242
218
  ```
@@ -255,8 +231,6 @@ export interface ResolvedFeatureAccess {
255
231
  ```typescript
256
232
  export interface ResolvedFeatureSemantics {
257
233
  capabilityIds: string[]
258
- surfaceIds: string[]
259
- surfaces: OrganizationModelSurface[]
260
234
  }
261
235
  ```
262
236
 
@@ -269,25 +243,11 @@ export interface ResolvedFeatureModule extends FeatureModule {
269
243
  }
270
244
  ```
271
245
 
272
- ### `ShellNavPlacement`
273
-
274
- ```typescript
275
- export type ShellNavPlacement = 'primary' | 'bottom'
276
- ```
277
-
278
- ### `ShellNavSource`
279
-
280
- ```typescript
281
- export type ShellNavSource = 'app' | 'feature'
282
- ```
283
-
284
- ### `ResolvedShellNavItem`
246
+ ### `ResolvedShellFeature`
285
247
 
286
248
  ```typescript
287
- export interface ResolvedShellNavItem extends FeatureNavEntry {
288
- placement: ShellNavPlacement
289
- source: ShellNavSource
290
- featureId?: string
249
+ export interface ResolvedShellFeature extends OrganizationModelFeature {
250
+ iconComponent?: FeatureIconComponent
291
251
  }
292
252
  ```
293
253
 
@@ -295,16 +255,16 @@ export interface ResolvedShellNavItem extends FeatureNavEntry {
295
255
 
296
256
  ```typescript
297
257
  export interface ResolvedShellModel {
298
- navItems: ResolvedShellNavItem[]
299
- }
300
- ```
301
-
302
- ### `AppShellOverrides`
303
-
304
- ```typescript
305
- export interface AppShellOverrides {
306
- primaryNavItems?: FeatureNavEntry[]
307
- bottomNavItems?: FeatureNavEntry[]
258
+ features: readonly ResolvedShellFeature[]
259
+ findByPath: (path: string) => ResolvedShellFeature | undefined
260
+ findById: (id: string) => ResolvedShellFeature | undefined
261
+ childrenOf: (id: string) => ResolvedShellFeature[]
262
+ ancestorsOf: (id: string) => ResolvedShellFeature[]
263
+ parentOf: (id: string) => ResolvedShellFeature | undefined
264
+ topLevel: () => ResolvedShellFeature[]
265
+ uiPositionFor: (id: string) => OrganizationModelFeature['uiPosition'] | undefined
266
+ requiresAdminFor: (id: string) => boolean
267
+ devOnlyFor: (id: string) => boolean
308
268
  }
309
269
  ```
310
270
 
@@ -321,8 +281,7 @@ export interface ResolvedShellRouteMatch {
321
281
  status: ShellRouteMatchStatus
322
282
  path: string
323
283
  feature?: ResolvedFeatureModule
324
- navItem?: ResolvedShellNavItem
325
- navLink?: FeatureNavLink
284
+ node?: ResolvedShellFeature
326
285
  }
327
286
  ```
328
287
 
@@ -338,7 +297,7 @@ export interface ShellRuntime {
338
297
 
339
298
  ```typescript
340
299
  export interface OrganizationGraphFeatureBridge {
341
- surfaceId: string
300
+ featureId: string
342
301
  }
343
302
  ```
344
303
 
@@ -347,10 +306,8 @@ export interface OrganizationGraphFeatureBridge {
347
306
  ```typescript
348
307
  export interface OrganizationGraphContextValue {
349
308
  available: boolean
350
- surfaceId?: string
351
- surfacePath?: string
352
- surfaceType?: OrganizationModelSurface['surfaceType']
353
309
  featureId?: string
310
+ featurePath?: string
354
311
  }
355
312
  ```
356
313
 
@@ -360,7 +317,6 @@ export interface OrganizationGraphContextValue {
360
317
  export interface ElevasisFeaturesProviderProps {
361
318
  features: FeatureModule[]
362
319
  organizationModel?: OrganizationModel
363
- appShellOverrides?: AppShellOverrides
364
320
  timeRange?: TimeRange
365
321
  operationsApiUrl?: string
366
322
  operationsSSEManager?: SSEConnectionManagerLike
@@ -401,8 +357,8 @@ export interface ElevasisFeaturesContextValue {
401
357
  * Resource Registry type definitions
402
358
  */
403
359
 
404
- import type { IntegrationType } from '../../execution/engine/tools/integration'
405
- import type { ResourceDomain } from './domains'
360
+ import type { IntegrationType } from '../../execution/engine/tools/integration'
361
+ import type { ResourceCategory, ResourceLink } from './resource-link'
406
362
 
407
363
  // ============================================================================
408
364
  // Core Resource Type Definitions
@@ -479,8 +435,11 @@ export interface ResourceDefinition {
479
435
  /** Environment/deployment status */
480
436
  status: ResourceStatus
481
437
 
482
- /** Domain tags for filtering and organization */
483
- domains?: ResourceDomain[]
438
+ /** Graph links to Organization Model nodes */
439
+ links?: ResourceLink[]
440
+
441
+ /** Infrastructure category for filtering */
442
+ category?: ResourceCategory
484
443
 
485
444
  /** Whether the agent supports multi-turn sessions (agents only) */
486
445
  sessionCapable?: boolean
@@ -493,7 +452,7 @@ export interface ResourceDefinition {
493
452
  }
494
453
  ```
495
454
 
496
- ### `DomainDefinition`
455
+ ### `ResourceList`
497
456
 
498
457
  ```typescript
499
458
  /** Unique resource identifier */
@@ -514,8 +473,11 @@ export interface ResourceDefinition {
514
473
  /** Environment/deployment status */
515
474
  status: ResourceStatus
516
475
 
517
- /** Domain tags for filtering and organization */
518
- domains?: ResourceDomain[]
476
+ /** Graph links to Organization Model nodes */
477
+ links?: ResourceLink[]
478
+
479
+ /** Infrastructure category for filtering */
480
+ category?: ResourceCategory
519
481
 
520
482
  /** Whether the agent supports multi-turn sessions (agents only) */
521
483
  sessionCapable?: boolean
@@ -527,57 +489,9 @@ export interface ResourceDefinition {
527
489
  archived?: boolean
528
490
  }
529
491
 
530
- // ============================================================================
531
- // Domain Definition Types
532
- // ============================================================================
533
-
534
- /**
535
- * Domain definition for Command View filtering
536
- *
537
- * Domains are organizational metadata for UI filtering/grouping.
538
- * No execution impact - purely for visualization.
539
- *
540
- * @example
541
- * {
542
- * id: 'support',
543
- * name: 'Customer Support',
544
- * description: 'Ticket triage, knowledge base, escalations',
545
- * color: 'green',
546
- * icon: 'IconHeadset'
547
- * }
548
- */
549
- export interface DomainDefinition {
550
- /** Unique identifier (e.g., 'support') */
551
- id: string
552
- /** Display name (e.g., 'Customer Support') */
553
- name: string
554
- /** Purpose description */
555
- description: string
556
- /** Optional Mantine color for UI (e.g., 'blue', 'green', 'orange') */
557
- color?: string
558
- /** Optional Tabler icon name (e.g., 'IconHeadset') */
559
- icon?: string
560
- }
561
- ```
562
-
563
- ### `ResourceList`
564
-
565
- ```typescript
566
- /** Unique identifier (e.g., 'support') */
567
- id: string
568
- /** Display name (e.g., 'Customer Support') */
569
- name: string
570
- /** Purpose description */
571
- description: string
572
- /** Optional Mantine color for UI (e.g., 'blue', 'green', 'orange') */
573
- color?: string
574
- /** Optional Tabler icon name (e.g., 'IconHeadset') */
575
- icon?: string
576
- }
577
-
578
- /**
579
- * Resource list for organization
580
- * Returns ResourceDefinition metadata (not full definitions)
492
+ /**
493
+ * Resource list for organization
494
+ * Returns ResourceDefinition metadata (not full definitions)
581
495
  */
582
496
  export interface ResourceList {
583
497
  workflows: ResourceDefinition[]
@@ -676,7 +590,7 @@ export type TriggerConfig = WebhookTriggerConfig | ScheduleTriggerConfig | Event
676
590
  * scheduled cron jobs, platform events, or manual user actions.
677
591
  *
678
592
  * BREAKING CHANGES (2025-11-30):
679
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
593
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
680
594
  * - Field renames: `id` -> `resourceId` (inherited), `type` -> `triggerType`
681
595
  * - Relationship rename: `invokes` -> `triggers` (unified vocabulary)
682
596
  * - New required fields: `version` (inherited), `type: 'trigger'` (inherited)
@@ -712,7 +626,7 @@ export type TriggerConfig = WebhookTriggerConfig | ScheduleTriggerConfig | Event
712
626
  * scheduled cron jobs, platform events, or manual user actions.
713
627
  *
714
628
  * BREAKING CHANGES (2025-11-30):
715
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
629
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
716
630
  * - Field renames: `id` -> `resourceId` (inherited), `type` -> `triggerType`
717
631
  * - Relationship rename: `invokes` -> `triggers` (unified vocabulary)
718
632
  * - New required fields: `version` (inherited), `type: 'trigger'` (inherited)
@@ -790,7 +704,7 @@ export interface TriggerDefinition extends ResourceDefinition {
790
704
  * stored here (queried at runtime from credentials table).
791
705
  *
792
706
  * BREAKING CHANGES (2025-11-30):
793
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
707
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
794
708
  * - Field renames: `id` -> `resourceId` (inherited)
795
709
  * - New required field: `status` (inherited) - organizations must add status to all integrations
796
710
  * - New required field: `version` (inherited) - organizations must add version to all integrations
@@ -919,7 +833,7 @@ export type ExternalPlatform = 'n8n' | 'make' | 'zapier' | 'other'
919
833
  * no API integration with external platforms, no status syncing.
920
834
  *
921
835
  * BREAKING CHANGES (2025-11-30):
922
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
836
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
923
837
  * - Field renames: `id` -> `resourceId` (inherited)
924
838
  * - New required field: `version` (inherited) - organizations must add version to all external resources
925
839
  * - New required field: `type: 'external'` (inherited) - resource type discriminator
@@ -954,7 +868,7 @@ export type ExternalPlatform = 'n8n' | 'make' | 'zapier' | 'other'
954
868
  * no API integration with external platforms, no status syncing.
955
869
  *
956
870
  * BREAKING CHANGES (2025-11-30):
957
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
871
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
958
872
  * - Field renames: `id` -> `resourceId` (inherited)
959
873
  * - New required field: `version` (inherited) - organizations must add version to all external resources
960
874
  * - New required field: `type: 'external'` (inherited) - resource type discriminator
@@ -1048,7 +962,7 @@ export interface ExternalResourceDefinition extends ResourceDefinition {
1048
962
  * Tasks with matching command_queue_group are routed to this checkpoint.
1049
963
  *
1050
964
  * BREAKING CHANGES (2025-11-30):
1051
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
965
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
1052
966
  * - Field renames: `id` -> `resourceId` (inherited)
1053
967
  * - description is now REQUIRED (was optional) - organizations must add description to all human checkpoints
1054
968
  * - New required field: `version` (inherited) - organizations must add version to all human checkpoints