@elevasis/sdk 0.4.9 → 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 +456 -56
- package/dist/index.d.ts +4343 -3
- package/dist/templates.js +60 -50
- package/dist/types/worker/index.d.ts +1 -0
- package/dist/worker/index.js +245 -1
- package/package.json +10 -10
- package/reference/_navigation.md +60 -58
- package/reference/deployment/command-view.mdx +154 -0
- package/reference/platform-tools/adapters.mdx +927 -0
- package/reference/platform-tools/examples.mdx +89 -106
- package/reference/platform-tools/index.mdx +61 -47
- package/reference/troubleshooting/common-errors.mdx +36 -0
- package/reference/_index.md +0 -95
package/reference/_navigation.md
CHANGED
|
@@ -1,104 +1,106 @@
|
|
|
1
1
|
# SDK Reference Navigation
|
|
2
2
|
|
|
3
|
-
Auto-generated from reference file frontmatter.
|
|
3
|
+
Auto-generated from reference file frontmatter. 31 files indexed.
|
|
4
4
|
|
|
5
5
|
All paths are relative to `node_modules/@elevasis/sdk/reference/`.
|
|
6
6
|
|
|
7
7
|
## General
|
|
8
8
|
|
|
9
|
-
| Resource | Location | When to Load |
|
|
10
|
-
| --- | --- | --- |
|
|
11
|
-
| Elevasis SDK | `index.mdx` | First session or new to the SDK |
|
|
9
|
+
| Resource | Location | Description | When to Load |
|
|
10
|
+
| --- | --- | --- | --- |
|
|
11
|
+
| Elevasis SDK | `index.mdx` | Build and deploy workflows, agents, and resources with the Elevasis SDK | First session or new to the SDK |
|
|
12
12
|
|
|
13
13
|
## Cli
|
|
14
14
|
|
|
15
|
-
| Resource | Location | When to Load |
|
|
16
|
-
| --- | --- | --- |
|
|
17
|
-
| CLI Reference | `cli/index.mdx` | Running CLI operations |
|
|
15
|
+
| Resource | Location | Description | When to Load |
|
|
16
|
+
| --- | --- | --- | --- |
|
|
17
|
+
| CLI Reference | `cli/index.mdx` | Full reference for every elevasis CLI command -- scaffold, validate, deploy, execute, and inspect resources | Running CLI operations |
|
|
18
18
|
|
|
19
19
|
## Concepts
|
|
20
20
|
|
|
21
|
-
| Resource | Location | When to Load |
|
|
22
|
-
| --- | --- | --- |
|
|
23
|
-
| Concepts Reference | `concepts/index.mdx` | User asks what is or needs conceptual grounding |
|
|
21
|
+
| Resource | Location | Description | When to Load |
|
|
22
|
+
| --- | --- | --- | --- |
|
|
23
|
+
| Concepts Reference | `concepts/index.mdx` | Plain-English explanations of Elevasis SDK concepts -- glossary, workflow analogies, Zod schemas, execution model, platform tools, common errors, and design decisions | User asks what is or needs conceptual grounding |
|
|
24
24
|
|
|
25
25
|
## Deployment
|
|
26
26
|
|
|
27
|
-
| Resource | Location | When to Load |
|
|
28
|
-
| --- | --- | --- |
|
|
29
|
-
| Execution API | `deployment/api.mdx` | Calling the API directly or debugging API responses |
|
|
30
|
-
|
|
|
27
|
+
| Resource | Location | Description | When to Load |
|
|
28
|
+
| --- | --- | --- | --- |
|
|
29
|
+
| Execution API | `deployment/api.mdx` | REST endpoints for executing resources, querying execution history, and managing deployments via the Elevasis external API | Calling the API directly or debugging API responses |
|
|
30
|
+
| Command View | `deployment/command-view.mdx` | How the Command View graph works -- node types, relationships, what is enforced vs decorative, and what the platform needs to render your resource graph | Deploying resources or building resources that invoke other resources |
|
|
31
|
+
| Deploying Resources | `deployment/index.mdx` | How to deploy your Elevasis SDK resources to the platform using elevasis deploy, including configuration, validation, and environment setup | Preparing to deploy or debugging deploy failures |
|
|
31
32
|
|
|
32
33
|
## Developer
|
|
33
34
|
|
|
34
|
-
| Resource | Location | When to Load |
|
|
35
|
-
| --- | --- | --- |
|
|
36
|
-
| Interaction Guidance | `developer/interaction-guidance.mdx` | Unsure how to adapt for a skill combination |
|
|
35
|
+
| Resource | Location | Description | When to Load |
|
|
36
|
+
| --- | --- | --- | --- |
|
|
37
|
+
| Interaction Guidance | `developer/interaction-guidance.mdx` | Full dimensional adaptation rules per skill axis -- programming, TypeScript, API integration, automation concepts, domain expertise -- with growth tracking protocol | Unsure how to adapt for a skill combination |
|
|
37
38
|
|
|
38
39
|
## Framework
|
|
39
40
|
|
|
40
|
-
| Resource | Location | When to Load |
|
|
41
|
-
| --- | --- | --- |
|
|
42
|
-
| Agent System | `framework/agent.mdx` | Configuring agent behavior or capabilities |
|
|
43
|
-
| Resource Documentation | `framework/documentation.mdx` | Writing or updating project documentation |
|
|
44
|
-
| Development Framework | `framework/index.mdx` | Understanding the agent framework structure |
|
|
45
|
-
| Memory System | `framework/memory.mdx` | Working with agent memory or session state |
|
|
46
|
-
| Project Structure | `framework/project-structure.mdx` | Understanding scaffolded files or project layout |
|
|
41
|
+
| Resource | Location | Description | When to Load |
|
|
42
|
+
| --- | --- | --- | --- |
|
|
43
|
+
| Agent System | `framework/agent.mdx` | CLAUDE.md drives all agent behavior -- project instructions, slash commands, memory-based developer profile, and three-tier adaptive guidance | Configuring agent behavior or capabilities |
|
|
44
|
+
| Resource Documentation | `framework/documentation.mdx` | Write and deploy MDX documentation alongside your Elevasis resources | Writing or updating project documentation |
|
|
45
|
+
| Development Framework | `framework/index.mdx` | The SDK scaffolds a complete development environment for Claude Code -- project instructions, slash commands, cross-session memory, and template versioning | Understanding the agent framework structure |
|
|
46
|
+
| Memory System | `framework/memory.mdx` | Cross-session project knowledge stored in .claude/memory/ -- deployment state, environment, decisions, and error patterns that persist between Claude Code sessions | Working with agent memory or session state |
|
|
47
|
+
| Project Structure | `framework/project-structure.mdx` | Each file scaffolded by elevasis init and its purpose in the development workflow | Understanding scaffolded files or project layout |
|
|
47
48
|
|
|
48
49
|
## Getting-started
|
|
49
50
|
|
|
50
|
-
| Resource | Location | When to Load |
|
|
51
|
-
| --- | --- | --- |
|
|
52
|
-
| Getting Started | `getting-started/index.mdx` | Setting up a new project or onboarding |
|
|
51
|
+
| Resource | Location | Description | When to Load |
|
|
52
|
+
| --- | --- | --- | --- |
|
|
53
|
+
| Getting Started | `getting-started/index.mdx` | Install the Elevasis SDK, scaffold a project, and run your first deployment | Setting up a new project or onboarding |
|
|
53
54
|
|
|
54
55
|
## Platform-tools
|
|
55
56
|
|
|
56
|
-
| Resource | Location | When to Load |
|
|
57
|
-
| --- | --- | --- |
|
|
58
|
-
|
|
|
59
|
-
|
|
|
57
|
+
| Resource | Location | Description | When to Load |
|
|
58
|
+
| --- | --- | --- | --- |
|
|
59
|
+
| Typed Adapters | `platform-tools/adapters.mdx` | Type-safe wrappers over platform.call() for all integrations and platform tools -- Attio, Stripe, Notion, Google Sheets, Trello, and more -- with full autocomplete, compile-time checking, and zero boilerplate | Using typed adapters instead of raw platform.call(), or needs to know what adapter methods are available |
|
|
60
|
+
| Integration Examples | `platform-tools/examples.mdx` | Working code examples for email, CRM, PDF, LLM inference, resource triggering, and storage using typed adapters and platform.call() | Implementing a platform tool call in a workflow step |
|
|
61
|
+
| Platform Tools | `platform-tools/index.mdx` | Access 70+ tools across integration adapters and platform services from your SDK workflows -- typed adapters with full autocomplete for all tools, plus platform.call() as a fallback | Connecting to external services |
|
|
60
62
|
|
|
61
63
|
## Resources
|
|
62
64
|
|
|
63
|
-
| Resource | Location | When to Load |
|
|
64
|
-
| --- | --- | --- |
|
|
65
|
-
| Writing Resources | `resources/index.mdx` | Building or modifying a workflow |
|
|
66
|
-
| Common Patterns | `resources/patterns.mdx` | Building or modifying a workflow |
|
|
67
|
-
| SDK Types | `resources/types.mdx` | Looking up type signatures or SDK exports |
|
|
65
|
+
| Resource | Location | Description | When to Load |
|
|
66
|
+
| --- | --- | --- | --- |
|
|
67
|
+
| Writing Resources | `resources/index.mdx` | Guide to creating workflows and agents using WorkflowDefinition, AgentDefinition, and OrganizationResources with the Elevasis SDK | Building or modifying a workflow |
|
|
68
|
+
| Common Patterns | `resources/patterns.mdx` | Common resource patterns for Elevasis SDK developers -- sequential steps, conditional branching, platform tools, error handling, and resource status management | Building or modifying a workflow |
|
|
69
|
+
| SDK Types | `resources/types.mdx` | Complete type reference for @elevasis/sdk -- package exports, re-exported platform types, ElevasConfig interface, StepHandler context, and runtime values | Looking up type signatures or SDK exports |
|
|
68
70
|
|
|
69
71
|
## Roadmap
|
|
70
72
|
|
|
71
|
-
| Resource | Location | When to Load |
|
|
72
|
-
| --- | --- | --- |
|
|
73
|
-
| Roadmap | `roadmap/index.mdx` | Asking about future features or planned capabilities |
|
|
73
|
+
| Resource | Location | Description | When to Load |
|
|
74
|
+
| --- | --- | --- | --- |
|
|
75
|
+
| Roadmap | `roadmap/index.mdx` | Planned SDK features -- error taxonomy, retry semantics, circuit breaker, metrics, alerting, and resource lifecycle extensions | Asking about future features or planned capabilities |
|
|
74
76
|
|
|
75
77
|
## Runtime
|
|
76
78
|
|
|
77
|
-
| Resource | Location | When to Load |
|
|
78
|
-
| --- | --- | --- |
|
|
79
|
-
| Execution Runtime | `runtime/index.mdx` | Debugging execution behavior or understanding the runtime model |
|
|
80
|
-
| Resource Limits & Quotas | `runtime/limits.mdx` | Hitting resource limits or planning for scale |
|
|
79
|
+
| Resource | Location | Description | When to Load |
|
|
80
|
+
| --- | --- | --- | --- |
|
|
81
|
+
| Execution Runtime | `runtime/index.mdx` | How your code runs on the Elevasis platform -- execution lifecycle, concurrency, timeouts, cancellation, error handling, and observability | Debugging execution behavior or understanding the runtime model |
|
|
82
|
+
| Resource Limits & Quotas | `runtime/limits.mdx` | Memory limits, execution timeouts, scale quotas, networking constraints, and v1 platform limitations for SDK resources | Hitting resource limits or planning for scale |
|
|
81
83
|
|
|
82
84
|
## Security
|
|
83
85
|
|
|
84
|
-
| Resource | Location | When to Load |
|
|
85
|
-
| --- | --- | --- |
|
|
86
|
-
| Credential Security | `security/credentials.mdx` | Setting up integrations or configuring tool access |
|
|
86
|
+
| Resource | Location | Description | When to Load |
|
|
87
|
+
| --- | --- | --- | --- |
|
|
88
|
+
| Credential Security | `security/credentials.mdx` | Three-layer credential model: platform tools (server-side injection), http tool (arbitrary APIs), getCredential() (explicit opt-in raw access) -- .env scope and security boundaries | Setting up integrations or configuring tool access |
|
|
87
89
|
|
|
88
90
|
## Templates
|
|
89
91
|
|
|
90
|
-
| Resource | Location | When to Load |
|
|
91
|
-
| --- | --- | --- |
|
|
92
|
-
| Template: Data Enrichment | `templates/data-enrichment.mdx` | Applying the data-enrichment workflow template |
|
|
93
|
-
| Template: Email Sender | `templates/email-sender.mdx` | Applying the email-sender workflow template |
|
|
94
|
-
| Template: Lead Scorer | `templates/lead-scorer.mdx` | Applying the lead-scorer workflow template |
|
|
95
|
-
| Template: PDF Generator | `templates/pdf-generator.mdx` | Applying the pdf-generator workflow template |
|
|
96
|
-
| Template: Recurring Job | `templates/recurring-job.mdx` | Applying the recurring-job workflow template |
|
|
97
|
-
| Template: Text Classifier | `templates/text-classifier.mdx` | Applying the text-classifier workflow template |
|
|
98
|
-
| Template: Web Scraper | `templates/web-scraper.mdx` | Applying the web-scraper workflow template |
|
|
92
|
+
| Resource | Location | Description | When to Load |
|
|
93
|
+
| --- | --- | --- | --- |
|
|
94
|
+
| Template: Data Enrichment | `templates/data-enrichment.mdx` | LLM-powered enrichment of existing database records -- read rows, enrich each with an LLM, write results back to Supabase | Applying the data-enrichment workflow template |
|
|
95
|
+
| Template: Email Sender | `templates/email-sender.mdx` | Transactional email via Resend with template support -- send styled emails to one or multiple recipients | Applying the email-sender workflow template |
|
|
96
|
+
| Template: Lead Scorer | `templates/lead-scorer.mdx` | LLM-based lead scoring with Supabase storage -- receive a lead, score it with an LLM, store the result | Applying the lead-scorer workflow template |
|
|
97
|
+
| Template: PDF Generator | `templates/pdf-generator.mdx` | PDF generation from structured data with platform storage upload -- render a PDF from a template and upload to platform storage | Applying the pdf-generator workflow template |
|
|
98
|
+
| Template: Recurring Job | `templates/recurring-job.mdx` | Scheduler-triggered periodic workflow -- run a task on a schedule (daily, weekly, hourly, or custom cron) | Applying the recurring-job workflow template |
|
|
99
|
+
| Template: Text Classifier | `templates/text-classifier.mdx` | Multi-label text classification with structured output -- classify text into predefined categories using an LLM with JSON output | Applying the text-classifier workflow template |
|
|
100
|
+
| Template: Web Scraper | `templates/web-scraper.mdx` | Apify-based web scraper that stores results in Supabase -- fetch structured data from any website via Apify actors | Applying the web-scraper workflow template |
|
|
99
101
|
|
|
100
102
|
## Troubleshooting
|
|
101
103
|
|
|
102
|
-
| Resource | Location | When to Load |
|
|
103
|
-
| --- | --- | --- |
|
|
104
|
-
| Common Errors | `troubleshooting/common-errors.mdx` | Debugging an unknown error not found in workspace memory |
|
|
104
|
+
| Resource | Location | Description | When to Load |
|
|
105
|
+
| --- | --- | --- | --- |
|
|
106
|
+
| Common Errors | `troubleshooting/common-errors.mdx` | Static SDK-level error catalog -- CLI errors, deployment errors, schema validation, platform tool failures, and runtime errors with diagnostic steps | Debugging an unknown error not found in workspace memory |
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Command View
|
|
3
|
+
description: How the Command View graph works -- node types, relationships, what is enforced vs decorative, and what the platform needs to render your resource graph
|
|
4
|
+
loadWhen: "Deploying resources or building resources that invoke other resources"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
The Command View is a visual graph in the Elevasis command center that shows how your organization's resources connect. Nodes are resources (workflows, agents, integrations). Edges are relationships you declare between them. The graph helps operators understand how automation flows through the system at a glance.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Node Types
|
|
12
|
+
|
|
13
|
+
Every resource you deploy becomes a node in the Command View. Some nodes are executable (the platform runs them); others are visual-only (they exist for the graph but have no runtime behavior).
|
|
14
|
+
|
|
15
|
+
### Executable Nodes
|
|
16
|
+
|
|
17
|
+
| Type | What It Does | Deployed By |
|
|
18
|
+
| ---- | ------------ | ----------- |
|
|
19
|
+
| Workflow | Runs step handlers in sequence or branching paths | `elevasis deploy` |
|
|
20
|
+
| Agent | Autonomous LLM-powered resource with tools | `elevasis deploy` |
|
|
21
|
+
|
|
22
|
+
### Visual-Only Nodes
|
|
23
|
+
|
|
24
|
+
These exist solely for the Command View graph. They have no runtime behavior -- the platform does not execute them.
|
|
25
|
+
|
|
26
|
+
| Type | What It Represents | Why It Exists |
|
|
27
|
+
| ---- | ------------------ | ------------- |
|
|
28
|
+
| Trigger | A webhook or schedule that starts a workflow | Shows how executions begin |
|
|
29
|
+
| Integration | A credential reference (provider + credential name) | Shows which external services a resource uses |
|
|
30
|
+
| External Resource | A third-party automation (n8n, Make, Zapier) | Documents automations outside the platform |
|
|
31
|
+
| Human Checkpoint | A point where a human makes a decision | Shows where HITL approval gates exist |
|
|
32
|
+
|
|
33
|
+
Visual-only nodes are declarations. A `TriggerDefinition` does not set up actual trigger routing -- the webhook gateway routes independently. An `IntegrationDefinition` does not configure or connect to anything -- it is a visual node referencing a credential.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Relationships
|
|
38
|
+
|
|
39
|
+
Relationships are edges in the Command View graph. You declare them in `OrganizationResources` to tell the platform how resources connect.
|
|
40
|
+
|
|
41
|
+
### Declaring Relationships
|
|
42
|
+
|
|
43
|
+
```typescript
|
|
44
|
+
const org: OrganizationResources = {
|
|
45
|
+
workflows: {
|
|
46
|
+
'score-lead': scoreLeadWorkflow,
|
|
47
|
+
'send-proposal': sendProposalWorkflow,
|
|
48
|
+
},
|
|
49
|
+
agents: {
|
|
50
|
+
'research-agent': researchAgent,
|
|
51
|
+
},
|
|
52
|
+
relationships: {
|
|
53
|
+
'score-lead': {
|
|
54
|
+
triggers: {
|
|
55
|
+
workflows: ['send-proposal'], // score-lead triggers send-proposal
|
|
56
|
+
agents: ['research-agent'], // score-lead triggers research-agent
|
|
57
|
+
},
|
|
58
|
+
uses: {
|
|
59
|
+
integrations: ['attio-integration'], // score-lead uses Attio
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Relationship Fields
|
|
67
|
+
|
|
68
|
+
| Field | Type | Meaning |
|
|
69
|
+
| ----- | ---- | ------- |
|
|
70
|
+
| `triggers.workflows` | `string[]` | Workflows this resource starts |
|
|
71
|
+
| `triggers.agents` | `string[]` | Agents this resource starts |
|
|
72
|
+
| `uses.integrations` | `string[]` | Integrations this resource depends on |
|
|
73
|
+
|
|
74
|
+
All referenced IDs must exist in the same organization. Missing targets cause a validation error at deploy time.
|
|
75
|
+
|
|
76
|
+
### Relationships Are Declarations, Not Routing
|
|
77
|
+
|
|
78
|
+
Relationships tell the Command View what edges to draw. They do **not** create execution paths. If you declare that workflow A triggers workflow B, the platform does not automatically route A's output to B. Your handler code must explicitly invoke B using the `execution` adapter or `platform.call()`.
|
|
79
|
+
|
|
80
|
+
This means the graph can drift from reality:
|
|
81
|
+
|
|
82
|
+
- If your code invokes resource B but you forgot to declare the relationship, the edge is **missing** from the graph
|
|
83
|
+
- If you declared a relationship to resource B but your code never invokes it, the edge is **stale** in the graph
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## What Is Enforced vs Decorative
|
|
88
|
+
|
|
89
|
+
| Category | Validated at Deploy | Matches Runtime | Status |
|
|
90
|
+
| -------- | ------------------- | --------------- | ------ |
|
|
91
|
+
| Resource IDs unique | Yes | Yes | **Enforced** |
|
|
92
|
+
| Input schema matches execution interface | Yes | Yes | **Enforced** |
|
|
93
|
+
| Relationship targets exist | Yes | No -- invocations are hardcoded strings in handlers | **Decorative** |
|
|
94
|
+
| Trigger routing | No | No -- webhook handlers route independently | **Decorative** |
|
|
95
|
+
| Tool availability per agent | No | No -- tools built dynamically at runtime | **Decorative** |
|
|
96
|
+
| Model config | Yes (provider + model valid) | No -- runtime uses environment config | **Decorative** |
|
|
97
|
+
| Integration usage | Partial (IDs checked) | No -- credentials resolved at runtime | **Decorative** |
|
|
98
|
+
|
|
99
|
+
**Enforced** means the platform rejects invalid state. **Decorative** means the platform trusts your declaration but does not verify it matches what the code actually does.
|
|
100
|
+
|
|
101
|
+
### What This Means for You
|
|
102
|
+
|
|
103
|
+
- Keep relationships in sync with your handler code. When you add an `execution.trigger('other-resource')` call, add the corresponding relationship declaration.
|
|
104
|
+
- When you remove an invocation, remove the relationship.
|
|
105
|
+
- The Command View is only as accurate as your declarations.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## Deploy-Time Validation
|
|
110
|
+
|
|
111
|
+
When you run `elevasis deploy` or `elevasis check`, the SDK validates your resource definitions locally using the same `ResourceRegistry` the platform uses.
|
|
112
|
+
|
|
113
|
+
### What Gets Checked
|
|
114
|
+
|
|
115
|
+
- **Duplicate resource IDs** -- two resources with the same key in `workflows` or `agents`
|
|
116
|
+
- **Relationship targets exist** -- every ID in `triggers` and `uses` must match a resource or integration in the same `OrganizationResources`
|
|
117
|
+
- **Model configuration** -- agent model params (provider, model name, temperature bounds) are valid
|
|
118
|
+
- **Step chains** -- `next.target` values in multi-step workflows point to existing step names
|
|
119
|
+
|
|
120
|
+
### What Does Not Get Checked
|
|
121
|
+
|
|
122
|
+
- Whether your handler code actually invokes the resources you declared in relationships
|
|
123
|
+
- Whether your handler code invokes resources you did **not** declare in relationships
|
|
124
|
+
- Whether triggers route to the workflows you declared
|
|
125
|
+
- Whether agents use the tools you expect
|
|
126
|
+
|
|
127
|
+
These are the decorative gaps listed above. The graph is a best-effort representation that depends on you keeping declarations in sync with code.
|
|
128
|
+
|
|
129
|
+
### Validation Error Examples
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
ERROR Relationship target 'send-proposal' not found in organization resources
|
|
133
|
+
Resource: score-lead
|
|
134
|
+
Field: relationships.triggers.workflows
|
|
135
|
+
|
|
136
|
+
ERROR Duplicate resource ID 'score-lead' in organization
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Fix relationship errors by checking that the target resource ID is spelled correctly and exists in your `OrganizationResources` export. If the resource was renamed or removed, update the relationship to match.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Graph Serialization
|
|
144
|
+
|
|
145
|
+
The platform converts your resource definitions and relationships into a visual graph using two data structures:
|
|
146
|
+
|
|
147
|
+
- **`CommandViewNode`** -- one per resource (workflow, agent, trigger, integration, etc.). Contains the resource ID, type, name, status, and metadata.
|
|
148
|
+
- **`CommandViewEdge`** -- one per relationship. Contains source node, target node, and edge type (triggers, uses).
|
|
149
|
+
|
|
150
|
+
The `buildEdges()` function in the platform registry reads your `relationships` declarations and produces `CommandViewEdge[]`. This is a pure transformation -- it does not add or remove edges based on runtime behavior.
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
**Last Updated:** 2026-03-02
|