@elevasis/sdk 1.10.0 → 1.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.
package/dist/index.js CHANGED
@@ -38,126 +38,6 @@ var ToolingError = class extends ExecutionError {
38
38
  }
39
39
  };
40
40
 
41
- // ../core/src/platform/registry/domains.ts
42
- var DOMAINS = {
43
- // Business domains
44
- INBOUND_PIPELINE: "inbound-pipeline",
45
- LEAD_GEN_PIPELINE: "lead-gen-pipeline",
46
- SUPPORT: "support",
47
- CLIENT_SUPPORT: "client-support",
48
- DELIVERY: "delivery",
49
- OPERATIONS: "operations",
50
- FINANCE: "finance",
51
- EXECUTIVE: "executive",
52
- INSTANTLY: "instantly",
53
- // Technical domains
54
- TESTING: "testing",
55
- INTERNAL: "internal",
56
- INTEGRATION: "integration",
57
- UTILITY: "utility",
58
- DIAGNOSTIC: "diagnostic"
59
- };
60
- var INBOUND_PIPELINE_DOMAIN = {
61
- id: DOMAINS.INBOUND_PIPELINE,
62
- name: "Inbound Pipeline",
63
- description: "End-to-end inbound client acquisition from first reply to onboarding",
64
- color: "blue"
65
- };
66
- var LEAD_GEN_PIPELINE_DOMAIN = {
67
- id: DOMAINS.LEAD_GEN_PIPELINE,
68
- name: "Lead Gen Pipeline",
69
- description: "Lead scraping, enrichment, qualification, and personalization",
70
- color: "cyan"
71
- };
72
- var SUPPORT_DOMAIN = {
73
- id: DOMAINS.SUPPORT,
74
- name: "Customer Support",
75
- description: "Ticket triage, knowledge base, escalations",
76
- color: "green"
77
- };
78
- var CLIENT_SUPPORT_DOMAIN = {
79
- id: DOMAINS.CLIENT_SUPPORT,
80
- name: "Client Support",
81
- description: "Client change requests, bug reports, and feature requests",
82
- color: "teal"
83
- };
84
- var DELIVERY_DOMAIN = {
85
- id: DOMAINS.DELIVERY,
86
- name: "Client Delivery",
87
- description: "Project execution and milestone tracking",
88
- color: "orange"
89
- };
90
- var OPERATIONS_DOMAIN = {
91
- id: DOMAINS.OPERATIONS,
92
- name: "Operations",
93
- description: "Internal business operations and administration",
94
- color: "violet"
95
- };
96
- var FINANCE_DOMAIN = {
97
- id: DOMAINS.FINANCE,
98
- name: "Finance",
99
- description: "Billing, invoicing, and financial operations",
100
- color: "pink"
101
- };
102
- var EXECUTIVE_DOMAIN = {
103
- id: DOMAINS.EXECUTIVE,
104
- name: "Executive Operations",
105
- description: "High-level business orchestration and decision-making",
106
- color: "indigo"
107
- };
108
- var TESTING_DOMAIN = {
109
- id: DOMAINS.TESTING,
110
- name: "Testing",
111
- description: "Test resources and development workflows",
112
- color: "gray"
113
- };
114
- var INTERNAL_DOMAIN = {
115
- id: DOMAINS.INTERNAL,
116
- name: "Internal",
117
- description: "Internal platform resources",
118
- color: "dark"
119
- };
120
- var INTEGRATION_DOMAIN = {
121
- id: DOMAINS.INTEGRATION,
122
- name: "Integration",
123
- description: "External service integrations",
124
- color: "teal"
125
- };
126
- var INSTANTLY_DOMAIN = {
127
- id: DOMAINS.INSTANTLY,
128
- name: "Instantly Toolkit",
129
- description: "Instantly campaign creation, analytics, and optimization",
130
- color: "lime"
131
- };
132
- var UTILITY_DOMAIN = {
133
- id: DOMAINS.UTILITY,
134
- name: "Utility",
135
- description: "Utility workflows for maintenance and diagnostics",
136
- color: "grape"
137
- };
138
- var DIAGNOSTIC_DOMAIN = {
139
- id: DOMAINS.DIAGNOSTIC,
140
- name: "Diagnostic",
141
- description: "Diagnostic workflows for testing integrations and services",
142
- color: "yellow"
143
- };
144
- var DOMAIN_MAP = {
145
- [DOMAINS.INBOUND_PIPELINE]: INBOUND_PIPELINE_DOMAIN,
146
- [DOMAINS.LEAD_GEN_PIPELINE]: LEAD_GEN_PIPELINE_DOMAIN,
147
- [DOMAINS.SUPPORT]: SUPPORT_DOMAIN,
148
- [DOMAINS.CLIENT_SUPPORT]: CLIENT_SUPPORT_DOMAIN,
149
- [DOMAINS.DELIVERY]: DELIVERY_DOMAIN,
150
- [DOMAINS.OPERATIONS]: OPERATIONS_DOMAIN,
151
- [DOMAINS.FINANCE]: FINANCE_DOMAIN,
152
- [DOMAINS.EXECUTIVE]: EXECUTIVE_DOMAIN,
153
- [DOMAINS.TESTING]: TESTING_DOMAIN,
154
- [DOMAINS.INTERNAL]: INTERNAL_DOMAIN,
155
- [DOMAINS.INSTANTLY]: INSTANTLY_DOMAIN,
156
- [DOMAINS.INTEGRATION]: INTEGRATION_DOMAIN,
157
- [DOMAINS.UTILITY]: UTILITY_DOMAIN,
158
- [DOMAINS.DIAGNOSTIC]: DIAGNOSTIC_DOMAIN
159
- };
160
-
161
41
  // ../core/src/platform/registry/reserved.ts
162
42
  var RESERVED_RESOURCE_IDS = /* @__PURE__ */ new Set(["command-center-assistant"]);
163
43
  Array.from(RESERVED_RESOURCE_IDS);
@@ -2952,16 +2832,6 @@ function serializeAllOrganizations(registry) {
2952
2832
  }
2953
2833
  return cache;
2954
2834
  }
2955
- function deriveDomainDefinitions(resources) {
2956
- const domainIds = /* @__PURE__ */ new Set();
2957
- resources.workflows?.forEach((w) => w.config.domains?.forEach((d) => domainIds.add(d)));
2958
- resources.agents?.forEach((a) => a.config.domains?.forEach((d) => domainIds.add(d)));
2959
- resources.triggers?.forEach((t) => t.domains?.forEach((d) => domainIds.add(d)));
2960
- resources.integrations?.forEach((i) => i.domains?.forEach((d) => domainIds.add(d)));
2961
- resources.externalResources?.forEach((e) => e.domains?.forEach((d) => domainIds.add(d)));
2962
- resources.humanCheckpoints?.forEach((h) => h.domains?.forEach((d) => domainIds.add(d)));
2963
- return Array.from(domainIds).map((id) => DOMAIN_MAP[id]);
2964
- }
2965
2835
  function serializeOrganization(resources) {
2966
2836
  const workflowDefinitions = /* @__PURE__ */ new Map();
2967
2837
  const workflowResources = [];
@@ -2976,7 +2846,9 @@ function serializeOrganization(resources) {
2976
2846
  description: workflow.config.description,
2977
2847
  version: workflow.config.version,
2978
2848
  type: "workflow",
2979
- status: workflow.config.status
2849
+ status: workflow.config.status,
2850
+ links: workflow.config.links,
2851
+ category: workflow.config.category
2980
2852
  });
2981
2853
  commandViewWorkflows.push({
2982
2854
  resourceId,
@@ -2985,7 +2857,8 @@ function serializeOrganization(resources) {
2985
2857
  version: workflow.config.version,
2986
2858
  type: "workflow",
2987
2859
  status: workflow.config.status,
2988
- domains: workflow.config.domains,
2860
+ links: workflow.config.links,
2861
+ category: workflow.config.category,
2989
2862
  stepCount: Object.keys(workflow.steps).length,
2990
2863
  entryPoint: workflow.entryPoint
2991
2864
  });
@@ -3003,7 +2876,9 @@ function serializeOrganization(resources) {
3003
2876
  description: agent.config.description,
3004
2877
  version: agent.config.version,
3005
2878
  type: "agent",
3006
- status: agent.config.status
2879
+ status: agent.config.status,
2880
+ links: agent.config.links,
2881
+ category: agent.config.category
3007
2882
  });
3008
2883
  commandViewAgents.push({
3009
2884
  resourceId,
@@ -3012,7 +2887,8 @@ function serializeOrganization(resources) {
3012
2887
  version: agent.config.version,
3013
2888
  type: "agent",
3014
2889
  status: agent.config.status,
3015
- domains: agent.config.domains,
2890
+ links: agent.config.links,
2891
+ category: agent.config.category,
3016
2892
  modelProvider: agent.modelConfig.provider,
3017
2893
  modelId: agent.modelConfig.model,
3018
2894
  toolCount: agent.tools.length,
@@ -3026,7 +2902,6 @@ function serializeOrganization(resources) {
3026
2902
  const integrations = resources.integrations ?? [];
3027
2903
  const externalResources = resources.externalResources ?? [];
3028
2904
  const humanCheckpoints = resources.humanCheckpoints ?? [];
3029
- const domainDefinitions = deriveDomainDefinitions(resources);
3030
2905
  return {
3031
2906
  version: resources.version,
3032
2907
  resources: {
@@ -3045,8 +2920,7 @@ function serializeOrganization(resources) {
3045
2920
  integrations,
3046
2921
  externalResources,
3047
2922
  humanCheckpoints,
3048
- edges,
3049
- domainDefinitions
2923
+ edges
3050
2924
  },
3051
2925
  triggers,
3052
2926
  integrations,
@@ -3304,7 +3178,8 @@ var ResourceRegistry = class {
3304
3178
  version: def.config.version,
3305
3179
  type: def.config.type,
3306
3180
  status: def.config.status,
3307
- domains: def.config.domains,
3181
+ links: def.config.links,
3182
+ category: def.config.category,
3308
3183
  origin: this.remoteResources.has(`${organizationName}/${def.config.resourceId}`) ? "remote" : "local"
3309
3184
  })).filter((resource) => !environment || resource.status === environment);
3310
3185
  const agents = (orgResources.agents || []).map((def) => ({
@@ -3314,7 +3189,8 @@ var ResourceRegistry = class {
3314
3189
  version: def.config.version,
3315
3190
  type: def.config.type,
3316
3191
  status: def.config.status,
3317
- domains: def.config.domains,
3192
+ links: def.config.links,
3193
+ category: def.config.category,
3318
3194
  sessionCapable: def.config.sessionCapable ?? false,
3319
3195
  origin: this.remoteResources.has(`${organizationName}/${def.config.resourceId}`) ? "remote" : "local"
3320
3196
  })).filter((resource) => !environment || resource.status === environment);
@@ -4339,12 +4339,12 @@ declare const DealSchemas: {
4339
4339
  }, z.core.$strip>;
4340
4340
  ListDealsQuery: z.ZodObject<{
4341
4341
  stage: z.ZodOptional<z.ZodEnum<{
4342
+ nurturing: "nurturing";
4343
+ closed_won: "closed_won";
4344
+ closed_lost: "closed_lost";
4342
4345
  interested: "interested";
4343
4346
  proposal: "proposal";
4344
4347
  closing: "closing";
4345
- closed_won: "closed_won";
4346
- closed_lost: "closed_lost";
4347
- nurturing: "nurturing";
4348
4348
  }>>;
4349
4349
  search: z.ZodOptional<z.ZodString>;
4350
4350
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -4356,10 +4356,10 @@ declare const DealSchemas: {
4356
4356
  }, z.core.$strict>;
4357
4357
  ListDealTasksDueQuery: z.ZodObject<{
4358
4358
  window: z.ZodOptional<z.ZodEnum<{
4359
+ upcoming: "upcoming";
4359
4360
  overdue: "overdue";
4360
4361
  today: "today";
4361
4362
  today_and_overdue: "today_and_overdue";
4362
- upcoming: "upcoming";
4363
4363
  }>>;
4364
4364
  assigneeUserId: z.ZodOptional<z.ZodString>;
4365
4365
  }, z.core.$strict>;
@@ -4380,12 +4380,12 @@ declare const DealSchemas: {
4380
4380
  }, z.core.$strict>;
4381
4381
  SyncDealStageRequest: z.ZodObject<{
4382
4382
  stage: z.ZodEnum<{
4383
+ nurturing: "nurturing";
4384
+ closed_won: "closed_won";
4385
+ closed_lost: "closed_lost";
4383
4386
  interested: "interested";
4384
4387
  proposal: "proposal";
4385
4388
  closing: "closing";
4386
- closed_won: "closed_won";
4387
- closed_lost: "closed_lost";
4388
- nurturing: "nurturing";
4389
4389
  }>;
4390
4390
  }, z.core.$strict>;
4391
4391
  DealListResponse: z.ZodObject<{
@@ -6279,18 +6279,18 @@ declare const ProjectSchemas: {
6279
6279
  CreateProjectRequest: z.ZodObject<{
6280
6280
  name: z.ZodString;
6281
6281
  kind: z.ZodEnum<{
6282
+ internal: "internal";
6282
6283
  other: "other";
6283
6284
  client_engagement: "client_engagement";
6284
- internal: "internal";
6285
6285
  research: "research";
6286
6286
  }>;
6287
6287
  status: z.ZodOptional<z.ZodEnum<{
6288
- completed: "completed";
6289
6288
  active: "active";
6290
- paused: "paused";
6291
6289
  on_track: "on_track";
6292
6290
  at_risk: "at_risk";
6293
6291
  blocked: "blocked";
6292
+ paused: "paused";
6293
+ completed: "completed";
6294
6294
  }>>;
6295
6295
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6296
6296
  deal_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6303,18 +6303,18 @@ declare const ProjectSchemas: {
6303
6303
  UpdateProjectRequest: z.ZodObject<{
6304
6304
  name: z.ZodOptional<z.ZodString>;
6305
6305
  kind: z.ZodOptional<z.ZodEnum<{
6306
+ internal: "internal";
6306
6307
  other: "other";
6307
6308
  client_engagement: "client_engagement";
6308
- internal: "internal";
6309
6309
  research: "research";
6310
6310
  }>>;
6311
6311
  status: z.ZodOptional<z.ZodEnum<{
6312
- completed: "completed";
6313
6312
  active: "active";
6314
- paused: "paused";
6315
6313
  on_track: "on_track";
6316
6314
  at_risk: "at_risk";
6317
6315
  blocked: "blocked";
6316
+ paused: "paused";
6317
+ completed: "completed";
6318
6318
  }>>;
6319
6319
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6320
6320
  deal_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6327,18 +6327,18 @@ declare const ProjectSchemas: {
6327
6327
  }, z.core.$strict>;
6328
6328
  GetProjectsQuery: z.ZodObject<{
6329
6329
  kind: z.ZodOptional<z.ZodEnum<{
6330
+ internal: "internal";
6330
6331
  other: "other";
6331
6332
  client_engagement: "client_engagement";
6332
- internal: "internal";
6333
6333
  research: "research";
6334
6334
  }>>;
6335
6335
  status: z.ZodOptional<z.ZodEnum<{
6336
- completed: "completed";
6337
6336
  active: "active";
6338
- paused: "paused";
6339
6337
  on_track: "on_track";
6340
6338
  at_risk: "at_risk";
6341
6339
  blocked: "blocked";
6340
+ paused: "paused";
6341
+ completed: "completed";
6342
6342
  }>>;
6343
6343
  search: z.ZodOptional<z.ZodString>;
6344
6344
  }, z.core.$strict>;
@@ -6348,11 +6348,11 @@ declare const ProjectSchemas: {
6348
6348
  CreateMilestoneRequest: z.ZodObject<{
6349
6349
  name: z.ZodString;
6350
6350
  status: z.ZodOptional<z.ZodEnum<{
6351
+ blocked: "blocked";
6351
6352
  completed: "completed";
6352
- overdue: "overdue";
6353
6353
  upcoming: "upcoming";
6354
- blocked: "blocked";
6355
6354
  in_progress: "in_progress";
6355
+ overdue: "overdue";
6356
6356
  }>>;
6357
6357
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6358
6358
  due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6362,11 +6362,11 @@ declare const ProjectSchemas: {
6362
6362
  UpdateMilestoneRequest: z.ZodObject<{
6363
6363
  name: z.ZodOptional<z.ZodString>;
6364
6364
  status: z.ZodOptional<z.ZodEnum<{
6365
+ blocked: "blocked";
6365
6366
  completed: "completed";
6366
- overdue: "overdue";
6367
6367
  upcoming: "upcoming";
6368
- blocked: "blocked";
6369
6368
  in_progress: "in_progress";
6369
+ overdue: "overdue";
6370
6370
  }>>;
6371
6371
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6372
6372
  due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6390,25 +6390,25 @@ declare const ProjectSchemas: {
6390
6390
  name: z.ZodString;
6391
6391
  type: z.ZodOptional<z.ZodEnum<{
6392
6392
  code: "code";
6393
+ feature: "feature";
6393
6394
  other: "other";
6394
6395
  research: "research";
6395
6396
  documentation: "documentation";
6396
6397
  report: "report";
6397
6398
  design: "design";
6398
6399
  refactor: "refactor";
6399
- feature: "feature";
6400
6400
  bug: "bug";
6401
6401
  }>>;
6402
6402
  status: z.ZodOptional<z.ZodEnum<{
6403
- completed: "completed";
6404
- cancelled: "cancelled";
6405
6403
  blocked: "blocked";
6404
+ completed: "completed";
6406
6405
  in_progress: "in_progress";
6407
6406
  planned: "planned";
6408
6407
  submitted: "submitted";
6409
6408
  approved: "approved";
6410
- rejected: "rejected";
6411
6409
  revision_requested: "revision_requested";
6410
+ rejected: "rejected";
6411
+ cancelled: "cancelled";
6412
6412
  }>>;
6413
6413
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6414
6414
  milestone_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6426,25 +6426,25 @@ declare const ProjectSchemas: {
6426
6426
  name: z.ZodOptional<z.ZodString>;
6427
6427
  type: z.ZodOptional<z.ZodEnum<{
6428
6428
  code: "code";
6429
+ feature: "feature";
6429
6430
  other: "other";
6430
6431
  research: "research";
6431
6432
  documentation: "documentation";
6432
6433
  report: "report";
6433
6434
  design: "design";
6434
6435
  refactor: "refactor";
6435
- feature: "feature";
6436
6436
  bug: "bug";
6437
6437
  }>>;
6438
6438
  status: z.ZodOptional<z.ZodEnum<{
6439
- completed: "completed";
6440
- cancelled: "cancelled";
6441
6439
  blocked: "blocked";
6440
+ completed: "completed";
6442
6441
  in_progress: "in_progress";
6443
6442
  planned: "planned";
6444
6443
  submitted: "submitted";
6445
6444
  approved: "approved";
6446
- rejected: "rejected";
6447
6445
  revision_requested: "revision_requested";
6446
+ rejected: "rejected";
6447
+ cancelled: "cancelled";
6448
6448
  }>>;
6449
6449
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6450
6450
  milestone_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6463,15 +6463,15 @@ declare const ProjectSchemas: {
6463
6463
  MergeResumeContextRequest: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6464
6464
  GetTasksQuery: z.ZodObject<{
6465
6465
  status: z.ZodOptional<z.ZodEnum<{
6466
- completed: "completed";
6467
- cancelled: "cancelled";
6468
6466
  blocked: "blocked";
6467
+ completed: "completed";
6469
6468
  in_progress: "in_progress";
6470
6469
  planned: "planned";
6471
6470
  submitted: "submitted";
6472
6471
  approved: "approved";
6473
- rejected: "rejected";
6474
6472
  revision_requested: "revision_requested";
6473
+ rejected: "rejected";
6474
+ cancelled: "cancelled";
6475
6475
  }>>;
6476
6476
  milestone_id: z.ZodOptional<z.ZodString>;
6477
6477
  parent_task_id: z.ZodOptional<z.ZodString>;
@@ -7794,8 +7794,10 @@ interface ResourceDefinition {
7794
7794
  type: ResourceType;
7795
7795
  /** Environment/deployment status */
7796
7796
  status: ResourceStatus;
7797
- /** Domain tags for filtering and organization */
7798
- domains?: ResourceDomain[];
7797
+ /** Graph links to Organization Model nodes */
7798
+ links?: ResourceLink[];
7799
+ /** Infrastructure category for filtering */
7800
+ category?: ResourceCategory;
7799
7801
  /** Whether the agent supports multi-turn sessions (agents only) */
7800
7802
  sessionCapable?: boolean;
7801
7803
  /** Whether the resource is local (monorepo) or remote (externally deployed) */
@@ -7839,7 +7841,7 @@ type TriggerConfig = WebhookTriggerConfig | ScheduleTriggerConfig | EventTrigger
7839
7841
  * scheduled cron jobs, platform events, or manual user actions.
7840
7842
  *
7841
7843
  * BREAKING CHANGES (2025-11-30):
7842
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
7844
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
7843
7845
  * - Field renames: `id` -> `resourceId` (inherited), `type` -> `triggerType`
7844
7846
  * - Relationship rename: `invokes` -> `triggers` (unified vocabulary)
7845
7847
  * - New required fields: `version` (inherited), `type: 'trigger'` (inherited)
@@ -7884,7 +7886,7 @@ interface TriggerDefinition extends ResourceDefinition {
7884
7886
  * stored here (queried at runtime from credentials table).
7885
7887
  *
7886
7888
  * BREAKING CHANGES (2025-11-30):
7887
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
7889
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
7888
7890
  * - Field renames: `id` -> `resourceId` (inherited)
7889
7891
  * - New required field: `status` (inherited) - organizations must add status to all integrations
7890
7892
  * - New required field: `version` (inherited) - organizations must add version to all integrations
@@ -7964,7 +7966,7 @@ type ExternalPlatform = 'n8n' | 'make' | 'zapier' | 'other';
7964
7966
  * no API integration with external platforms, no status syncing.
7965
7967
  *
7966
7968
  * BREAKING CHANGES (2025-11-30):
7967
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
7969
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
7968
7970
  * - Field renames: `id` -> `resourceId` (inherited)
7969
7971
  * - New required field: `version` (inherited) - organizations must add version to all external resources
7970
7972
  * - New required field: `type: 'external'` (inherited) - resource type discriminator
@@ -8013,7 +8015,7 @@ interface ExternalResourceDefinition extends ResourceDefinition {
8013
8015
  * Tasks with matching command_queue_group are routed to this checkpoint.
8014
8016
  *
8015
8017
  * BREAKING CHANGES (2025-11-30):
8016
- * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, domains)
8018
+ * - Now extends ResourceDefinition (inherits: resourceId, name, description, version, type, status, links, category)
8017
8019
  * - Field renames: `id` -> `resourceId` (inherited)
8018
8020
  * - description is now REQUIRED (was optional) - organizations must add description to all human checkpoints
8019
8021
  * - New required field: `version` (inherited) - organizations must add version to all human checkpoints
@@ -8050,32 +8052,27 @@ interface HumanCheckpointDefinition extends ResourceDefinition {
8050
8052
  };
8051
8053
  }
8052
8054
 
8053
- /**
8054
- * Standard Domain Definitions
8055
- * Centralized domain constants and definitions for all organization resources.
8056
- */
8055
+ declare const LinkSchema: z.ZodObject<{
8056
+ nodeId: z.ZodString;
8057
+ kind: z.ZodEnum<{
8058
+ contains: "contains";
8059
+ references: "references";
8060
+ exposes: "exposes";
8061
+ maps_to: "maps_to";
8062
+ "operates-on": "operates-on";
8063
+ uses: "uses";
8064
+ }>;
8065
+ }, z.core.$strip>;
8066
+ type Link = z.infer<typeof LinkSchema>;
8057
8067
 
8058
- declare const DOMAINS: {
8059
- readonly INBOUND_PIPELINE: "inbound-pipeline";
8060
- readonly LEAD_GEN_PIPELINE: "lead-gen-pipeline";
8061
- readonly SUPPORT: "support";
8062
- readonly CLIENT_SUPPORT: "client-support";
8063
- readonly DELIVERY: "delivery";
8064
- readonly OPERATIONS: "operations";
8065
- readonly FINANCE: "finance";
8066
- readonly EXECUTIVE: "executive";
8067
- readonly INSTANTLY: "instantly";
8068
- readonly TESTING: "testing";
8069
- readonly INTERNAL: "internal";
8070
- readonly INTEGRATION: "integration";
8071
- readonly UTILITY: "utility";
8072
- readonly DIAGNOSTIC: "diagnostic";
8073
- };
8074
- /**
8075
- * ResourceDomain - Strongly typed domain identifier
8076
- * Use this type for all domain references to ensure compile-time validation.
8077
- */
8078
- type ResourceDomain = (typeof DOMAINS)[keyof typeof DOMAINS];
8068
+ declare const ResourceCategorySchema: z.ZodEnum<{
8069
+ production: "production";
8070
+ diagnostic: "diagnostic";
8071
+ internal: "internal";
8072
+ testing: "testing";
8073
+ }>;
8074
+ type ResourceCategory = z.infer<typeof ResourceCategorySchema>;
8075
+ type ResourceLink = Link;
8079
8076
 
8080
8077
  /**
8081
8078
  * ResourceRegistry - Resource discovery and lookup
@@ -5290,7 +5290,8 @@ function startWorker(org) {
5290
5290
  status: w.config.status,
5291
5291
  description: w.config.description,
5292
5292
  version: w.config.version,
5293
- domains: w.config.domains,
5293
+ links: w.config.links,
5294
+ category: w.config.category,
5294
5295
  contract: {
5295
5296
  inputSchema: safeZodToJsonSchema(w.contract?.inputSchema),
5296
5297
  outputSchema: safeZodToJsonSchema(w.contract?.outputSchema)
@@ -5312,7 +5313,8 @@ function startWorker(org) {
5312
5313
  status: a.config.status,
5313
5314
  description: a.config.description,
5314
5315
  version: a.config.version,
5315
- domains: a.config.domains,
5316
+ links: a.config.links,
5317
+ category: a.config.category,
5316
5318
  contract: {
5317
5319
  inputSchema: safeZodToJsonSchema(a.contract?.inputSchema),
5318
5320
  outputSchema: safeZodToJsonSchema(a.contract?.outputSchema)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "type": "module",
6
6
  "bin": {
@@ -50,7 +50,7 @@
50
50
  "tsup": "^8.0.0",
51
51
  "typescript": "5.9.2",
52
52
  "zod": "^4.1.0",
53
- "@repo/core": "0.10.0",
53
+ "@repo/core": "0.11.0",
54
54
  "@repo/typescript-config": "0.0.0"
55
55
  },
56
56
  "scripts": {