@elevasis/sdk 0.4.10 → 0.4.11

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/cli.cjs CHANGED
@@ -43816,7 +43816,7 @@ async function apiDelete(endpoint, apiUrl = resolveApiUrl()) {
43816
43816
  // package.json
43817
43817
  var package_default = {
43818
43818
  name: "@elevasis/sdk",
43819
- version: "0.4.9",
43819
+ version: "0.4.11",
43820
43820
  description: "SDK for building Elevasis organization resources",
43821
43821
  "comment:bin": "IMPORTANT: This package shares the 'elevasis' binary name with @repo/cli. They never conflict because @elevasis/sdk must NEVER be added as a dependency of any workspace package (apps/*, packages/*, organizations/*). Workspace projects use @repo/cli for the 'elevasis' binary. External developers (outside the workspace) get this SDK's binary via npm install.",
43822
43822
  type: "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elevasis/sdk",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "SDK for building Elevasis organization resources",
5
5
  "comment:bin": "IMPORTANT: This package shares the 'elevasis' binary name with @repo/cli. They never conflict because @elevasis/sdk must NEVER be added as a dependency of any workspace package (apps/*, packages/*, organizations/*). Workspace projects use @repo/cli for the 'elevasis' binary. External developers (outside the workspace) get this SDK's binary via npm install.",
6
6
  "type": "module",
@@ -63,6 +63,42 @@ This is the static SDK-level error catalog. Check `.claude/memory/errors/` first
63
63
 
64
64
  ---
65
65
 
66
+ ## Relationship Validation Errors
67
+
68
+ ### Relationship declared for non-existent resource
69
+
70
+ **Message:** `Relationship source 'resource-id' is not a known resource in 'org-name'`
71
+
72
+ **Cause:** The `relationships` map in your organization export contains a key that does not match any workflow, agent, trigger, or external resource ID.
73
+
74
+ **Fix:** Check the resource ID in your `relationships` declaration. Each key must exactly match a `resourceId` defined in your workflows, agents, triggers, or external resources.
75
+
76
+ ### Resource triggers non-existent agent
77
+
78
+ **Message:** `Relationship target 'agent-id' (agent) not found in 'org-name'`
79
+
80
+ **Cause:** A relationship's `triggers.agents` array references an agent ID that does not exist.
81
+
82
+ **Fix:** Verify the agent ID spelling in `triggers: \{ agents: ['agent-id'] \}`. The ID must match the `resourceId` of an agent defined in your organization.
83
+
84
+ ### Resource triggers non-existent workflow
85
+
86
+ **Message:** `Relationship target 'workflow-id' (workflow) not found in 'org-name'`
87
+
88
+ **Cause:** A relationship's `triggers.workflows` array references a workflow ID that does not exist.
89
+
90
+ **Fix:** Verify the workflow ID spelling in `triggers: \{ workflows: ['workflow-id'] \}`. The ID must match the `resourceId` of a workflow defined in your organization.
91
+
92
+ ### Resource uses non-existent integration
93
+
94
+ **Message:** `Relationship target 'integration-id' (integration) not found in 'org-name'`
95
+
96
+ **Cause:** A relationship's `uses.integrations` array references an integration ID that does not exist.
97
+
98
+ **Fix:** Verify the integration ID spelling in `uses: \{ integrations: ['integration-id'] \}`. The ID must match the `resourceId` of an integration defined in your organization.
99
+
100
+ ---
101
+
66
102
  ## Schema Validation Errors
67
103
 
68
104
  ### Schema validation failed (input)