@elevasis/sdk 1.20.2 → 1.22.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/cli.cjs +4220 -1583
- package/dist/index.d.ts +1035 -481
- package/dist/index.js +7381 -4187
- package/dist/node/index.d.ts +1 -3
- package/dist/node/index.js +40 -49
- package/dist/test-utils/index.d.ts +699 -123
- package/dist/test-utils/index.js +3826 -630
- package/dist/worker/index.js +3616 -442
- package/package.json +3 -3
- package/reference/_navigation.md +9 -7
- package/reference/_reference-manifest.json +1 -1
- package/reference/claude-config/hooks/post-edit-validate.mjs +98 -98
- package/reference/claude-config/hooks/scaffold-registry-reminder.mjs +188 -188
- package/reference/claude-config/hooks/tool-failure-recovery.mjs +73 -73
- package/reference/claude-config/registries/graph-skills.json +4 -4
- package/reference/claude-config/registries/knowledge-flags.json +0 -2
- package/reference/claude-config/rules/active-change-index.md +80 -80
- package/reference/claude-config/rules/agent-start-here.md +277 -273
- package/reference/claude-config/rules/deployment.md +57 -57
- package/reference/claude-config/rules/error-handling.md +56 -56
- package/reference/claude-config/rules/execution.md +40 -40
- package/reference/claude-config/rules/frontend.md +4 -4
- package/reference/claude-config/rules/observability.md +31 -31
- package/reference/claude-config/rules/operations.md +29 -17
- package/reference/claude-config/rules/organization-model.md +108 -40
- package/reference/claude-config/rules/organization-os.md +115 -113
- package/reference/claude-config/rules/package-taxonomy.md +33 -33
- package/reference/claude-config/rules/platform.md +42 -42
- package/reference/claude-config/rules/shared-types.md +49 -46
- package/reference/claude-config/rules/task-tracking.md +47 -47
- package/reference/claude-config/rules/ui.md +200 -200
- package/reference/claude-config/rules/vibe.md +235 -231
- package/reference/claude-config/scripts/statusline-command.js +18 -18
- package/reference/claude-config/settings.json +34 -34
- package/reference/claude-config/skills/deploy/{SKILL.md → skill.md} +156 -156
- package/reference/claude-config/skills/dsp/SKILL.md +66 -66
- package/reference/claude-config/skills/elevasis/SKILL.md +235 -235
- package/reference/claude-config/skills/explore/SKILL.md +6 -6
- package/reference/claude-config/skills/git-sync/SKILL.md +126 -126
- package/reference/claude-config/skills/knowledge/SKILL.md +330 -271
- package/reference/claude-config/skills/knowledge/operations/codify-level-a.md +100 -100
- package/reference/claude-config/skills/knowledge/operations/codify-level-b.md +159 -158
- package/reference/claude-config/skills/knowledge/operations/customers.md +109 -109
- package/reference/claude-config/skills/knowledge/operations/features.md +76 -113
- package/reference/claude-config/skills/knowledge/operations/goals.md +118 -118
- package/reference/claude-config/skills/knowledge/operations/identity.md +93 -93
- package/reference/claude-config/skills/knowledge/operations/labels.md +94 -89
- package/reference/claude-config/skills/knowledge/operations/offerings.md +109 -109
- package/reference/claude-config/skills/knowledge/operations/roles.md +99 -99
- package/reference/claude-config/skills/knowledge/operations/techStack.md +30 -30
- package/reference/claude-config/skills/project/SKILL.md +1088 -1088
- package/reference/claude-config/skills/run-ui/SKILL.md +73 -73
- package/reference/claude-config/skills/save/SKILL.md +3 -3
- package/reference/claude-config/skills/setup/SKILL.md +275 -275
- package/reference/claude-config/skills/status/SKILL.md +59 -59
- package/reference/claude-config/skills/submit-request/SKILL.md +180 -180
- package/reference/claude-config/skills/sync/SKILL.md +47 -47
- package/reference/claude-config/skills/tutorial/SKILL.md +259 -259
- package/reference/claude-config/skills/tutorial/progress-template.md +74 -74
- package/reference/claude-config/skills/tutorial/technical.md +1303 -1306
- package/reference/claude-config/skills/tutorial/vibe-coder.md +890 -890
- package/reference/claude-config/sync-notes/2026-04-22-git-sync-and-sync-notes.md +27 -27
- package/reference/claude-config/sync-notes/2026-04-22-lead-gen-deliverability-removal.md +30 -30
- package/reference/claude-config/sync-notes/2026-04-24-test-utils-and-template-tests.md +73 -73
- package/reference/claude-config/sync-notes/2026-04-24-ui-consolidation-and-sdk-cli-train.md +86 -86
- package/reference/claude-config/sync-notes/2026-04-25-auth-role-system-and-settings-roles.md +55 -55
- package/reference/claude-config/sync-notes/2026-04-27-crm-hitl-action-layer-cutover.md +97 -97
- package/reference/claude-config/sync-notes/2026-04-27-lead-gen-substrate-train.md +112 -112
- package/reference/claude-config/sync-notes/2026-04-29-crm-state-and-lead-gen-processing-status.md +93 -93
- package/reference/claude-config/sync-notes/2026-05-02-crm-ownership-next-action.md +58 -58
- package/reference/claude-config/sync-notes/2026-05-02-template-hardcode-workos-config.md +56 -56
- package/reference/claude-config/sync-notes/2026-05-04-elevasis-workspace.md +71 -71
- package/reference/claude-config/sync-notes/2026-05-04-knowledge-bundle.md +83 -83
- package/reference/claude-config/sync-notes/2026-05-04-template-skills-run-ui-and-tutorial.md +59 -59
- package/reference/claude-config/sync-notes/2026-05-05-list-builder.md +42 -42
- package/reference/claude-config/sync-notes/2026-05-06-crm-spine.md +60 -60
- package/reference/claude-config/sync-notes/2026-05-06-sdk-changes-release-train.md +37 -37
- package/reference/claude-config/sync-notes/2026-05-07-sdk-changes-release-train.md +34 -34
- package/reference/claude-config/sync-notes/2026-05-08-resource-governance-scaffold-guidance.md +38 -38
- package/reference/claude-config/sync-notes/2026-05-09-clients-domain.md +32 -32
- package/reference/claude-config/sync-notes/2026-05-09-command-system.md +33 -33
- package/reference/claude-config/sync-notes/2026-05-09-resource-governance-and-misc.md +69 -69
- package/reference/claude-config/sync-notes/2026-05-12-sdk-ready-release-train.md +30 -0
- package/reference/claude-config/sync-notes/2026-05-14-organization-model-ontology-refactor.md +42 -0
- package/reference/claude-config/sync-notes/README.md +43 -43
- package/reference/cli.mdx +808 -668
- package/reference/concepts.mdx +146 -146
- package/reference/deployment/api.mdx +297 -297
- package/reference/deployment/command-center.mdx +209 -209
- package/reference/deployment/index.mdx +195 -195
- package/reference/deployment/provided-features.mdx +107 -93
- package/reference/deployment/ui-execution.mdx +250 -250
- package/reference/examples/organization-model.ts +147 -84
- package/reference/framework/agent.mdx +156 -156
- package/reference/framework/index.mdx +195 -195
- package/reference/framework/interaction-guidance.mdx +182 -182
- package/reference/framework/memory.mdx +326 -326
- package/reference/framework/project-structure.mdx +282 -282
- package/reference/framework/tutorial-system.mdx +135 -135
- package/reference/getting-started.mdx +142 -142
- package/reference/index.mdx +106 -106
- package/reference/packages/core/src/README.md +14 -14
- package/reference/packages/core/src/business/README.md +2 -2
- package/reference/packages/core/src/knowledge/README.md +33 -32
- package/reference/packages/core/src/organization-model/README.md +149 -109
- package/reference/packages/core/src/test-utils/README.md +37 -37
- package/reference/packages/ui/src/api/README.md +18 -18
- package/reference/packages/ui/src/app/README.md +24 -24
- package/reference/packages/ui/src/auth/README.md +18 -18
- package/reference/packages/ui/src/components/README.md +24 -24
- package/reference/packages/ui/src/execution/README.md +16 -16
- package/reference/packages/ui/src/features/README.md +28 -28
- package/reference/packages/ui/src/graph/README.md +16 -16
- package/reference/packages/ui/src/hooks/README.md +23 -23
- package/reference/packages/ui/src/initialization/README.md +19 -19
- package/reference/packages/ui/src/knowledge/README.md +31 -31
- package/reference/packages/ui/src/organization/README.md +18 -18
- package/reference/packages/ui/src/profile/README.md +19 -19
- package/reference/packages/ui/src/provider/README.md +32 -32
- package/reference/packages/ui/src/router/README.md +18 -18
- package/reference/packages/ui/src/sse/README.md +13 -13
- package/reference/packages/ui/src/test-utils/README.md +7 -7
- package/reference/packages/ui/src/theme/README.md +23 -23
- package/reference/packages/ui/src/theme/presets/README.md +19 -19
- package/reference/packages/ui/src/types/README.md +16 -16
- package/reference/packages/ui/src/utils/README.md +18 -18
- package/reference/packages/ui/src/zustand/README.md +18 -18
- package/reference/platform-tools/adapters-integration.mdx +301 -301
- package/reference/platform-tools/adapters-platform.mdx +553 -553
- package/reference/platform-tools/index.mdx +217 -217
- package/reference/platform-tools/type-safety.mdx +82 -82
- package/reference/resources/index.mdx +349 -349
- package/reference/resources/patterns.mdx +449 -449
- package/reference/resources/types.mdx +116 -116
- package/reference/roadmap.mdx +165 -165
- package/reference/runtime.mdx +173 -173
- package/reference/scaffold/core/organization-graph.mdx +110 -89
- package/reference/scaffold/core/organization-model.mdx +226 -171
- package/reference/scaffold/index.mdx +67 -67
- package/reference/scaffold/operations/propagation-pipeline.md +77 -77
- package/reference/scaffold/operations/scaffold-maintenance.md +10 -10
- package/reference/scaffold/operations/workflow-recipes.md +138 -138
- package/reference/scaffold/recipes/add-a-feature.md +310 -88
- package/reference/scaffold/recipes/add-a-resource.md +137 -117
- package/reference/scaffold/recipes/customize-crm-actions.md +439 -439
- package/reference/scaffold/recipes/customize-knowledge-browser.md +384 -0
- package/reference/scaffold/recipes/customize-organization-model.md +281 -118
- package/reference/scaffold/recipes/extend-a-base-entity.md +8 -8
- package/reference/scaffold/recipes/extend-crm.md +40 -39
- package/reference/scaffold/recipes/extend-lead-gen.md +400 -401
- package/reference/scaffold/recipes/gate-by-feature-or-admin.md +118 -114
- package/reference/scaffold/recipes/index.md +47 -46
- package/reference/scaffold/recipes/query-the-knowledge-graph.md +227 -0
- package/reference/scaffold/reference/contracts.md +2389 -2121
- package/reference/scaffold/reference/feature-registry.md +9 -20
- package/reference/scaffold/reference/glossary.md +76 -76
- package/reference/scaffold/ui/composition-extensibility.mdx +233 -233
- package/reference/scaffold/ui/customization.md +243 -243
- package/reference/scaffold/ui/feature-flags-and-gating.md +46 -46
- package/reference/scaffold/ui/feature-shell.mdx +72 -72
- package/reference/scaffold/ui/recipes.md +221 -213
- package/reference/spine/spine-primer.md +96 -96
- package/reference/templates/index.mdx +47 -47
- package/reference/troubleshooting.mdx +223 -223
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Tutorial System
|
|
3
|
-
description: The /tutorial skill in the external project scaffold -- two-track onboarding (vibe-coder and technical), gate question, track persistence, and escape hatch
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
The `/tutorial` skill is included in every scaffolded external project. Run it from Claude Code inside a project to start interactive onboarding. It forks into two tracks on first invocation and adapts agent tone project-wide based on your choice.
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Getting Started
|
|
11
|
-
|
|
12
|
-
Open a scaffolded external project in Claude Code and run:
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
/tutorial
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
On first invocation in a fresh project, the skill asks one gate question:
|
|
19
|
-
|
|
20
|
-
> "Are you here to **build automations by describing what you want** (and I handle the technical side), or are you a **developer** who'll edit code directly?"
|
|
21
|
-
|
|
22
|
-
Your answer selects a track. The choice is saved to `.claude/memory/profile.md` and shapes agent vocabulary, tool-call visibility, and verbosity for every conversation in the project -- not just `/tutorial` sessions.
|
|
23
|
-
|
|
24
|
-
Subsequent `/tutorial` invocations skip the gate question and resume your progress.
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## Tracks at a Glance
|
|
29
|
-
|
|
30
|
-
### Vibe-Coder Track (8 lessons)
|
|
31
|
-
|
|
32
|
-
For users who want to describe what they want and have the agent handle the implementation. The agent never uses technical vocabulary -- no TypeScript, no pnpm, no CLI commands shown, no schemas explained. Everything is narrated in plain language.
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
Your Tutorial
|
|
36
|
-
==============
|
|
37
|
-
1 Welcome -- what this place does for you [ ]
|
|
38
|
-
2 How to talk to me [ ]
|
|
39
|
-
3 Your business profile [ ]
|
|
40
|
-
4 Your first automation [ ]
|
|
41
|
-
5 Your dashboard -- where everything lives [ ]
|
|
42
|
-
6 Your approval queue -- signing off on things [ ]
|
|
43
|
-
7 Changing things later [ ]
|
|
44
|
-
8 When things go wrong [ ]
|
|
45
|
-
|
|
46
|
-
Pick a number to start.
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
**What each lesson covers:**
|
|
50
|
-
|
|
51
|
-
- **1. Welcome** -- Plain analogy for the platform. Shows a real automation already running before any building.
|
|
52
|
-
- **2. How to talk to me** -- Conversation patterns for making requests, asking questions, and describing changes. No technical vocabulary introduced.
|
|
53
|
-
- **3. Your business profile** -- Conversational walk through org identity. Agent handles all edits silently; user answers questions.
|
|
54
|
-
- **4. Your first automation** -- User describes what they want. Agent builds, runs, and narrates. User never sees code.
|
|
55
|
-
- **5. Your dashboard** -- Tour of Command Center. Where automations live and how to read the visual map.
|
|
56
|
-
- **6. Your approval queue** -- Show a pending approval, approve it, see the automation continue.
|
|
57
|
-
- **7. Changing things later** -- Plain-language change requests. Agent handles implementation.
|
|
58
|
-
- **8. When things go wrong** -- "Tell me what looks wrong. I'll figure it out and tell you what I did." No error traces shown.
|
|
59
|
-
|
|
60
|
-
**Vocabulary rules in this track:** The agent never says workflow, schema, deploy, credential, TypeScript, or pnpm. "Automation" replaces all SDK resource terms. "Make it live" replaces "deploy." "Account connection" replaces "credential." "Your approval queue" replaces HITL.
|
|
61
|
-
|
|
62
|
-
### Technical Track (19 lessons, 5 sections)
|
|
63
|
-
|
|
64
|
-
For developers who will read and edit code directly. Lessons are code-first. All SDK concepts, CLI commands, and file structures are covered.
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
SECTION A -- The workspace (3 items)
|
|
68
|
-
1 What is this workspace [ ]
|
|
69
|
-
2 The skill layer -- slash commands you'll use [ ]
|
|
70
|
-
3 The vibe layer -- ambient intent classification [ ]
|
|
71
|
-
|
|
72
|
-
SECTION B -- Build your first thing (5 items)
|
|
73
|
-
4 Echo workflow tour [ ]
|
|
74
|
-
5 Custom workflow with schemas [ ]
|
|
75
|
-
6 Platform tools and credentials [ ]
|
|
76
|
-
7 Multi-step and conditionals [ ]
|
|
77
|
-
8 Going to production [ ]
|
|
78
|
-
|
|
79
|
-
SECTION C -- The Organization Model (3 items)
|
|
80
|
-
9 /knowledge ceremony -- identity, customers, [ ]
|
|
81
|
-
offerings via the layered flow
|
|
82
|
-
10 Features and labels [ ]
|
|
83
|
-
11 Entity extensions -- BaseProject, BaseDeal [ ]
|
|
84
|
-
|
|
85
|
-
SECTION D -- Modules (load on demand) (~6 items)
|
|
86
|
-
12 HITL [ ]
|
|
87
|
-
13 Schedules [ ]
|
|
88
|
-
14 Notifications + integrations [ ]
|
|
89
|
-
15 Error handling [ ]
|
|
90
|
-
16 LLM and agents [ ]
|
|
91
|
-
17 Composition (execution.trigger) [ ]
|
|
92
|
-
|
|
93
|
-
SECTION E -- Power user (2 items)
|
|
94
|
-
18 Rules, memory, scaffold registry [ ]
|
|
95
|
-
19 Template lifecycle and /git-sync [ ]
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
Section D modules are available any time -- no section order prerequisite. Sections A-C are designed to be completed in order on a first pass, though any item can be picked directly.
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## Track Persistence
|
|
103
|
-
|
|
104
|
-
The track choice is saved to `.claude/memory/profile.md` on selection. The agent reads this file at session start alongside `agent-start-here.md`. This means:
|
|
105
|
-
|
|
106
|
-
- Agent vocabulary and tone adjust for every conversation in the project, not just `/tutorial`
|
|
107
|
-
- The vibe-coder track suppresses all technical surface globally until switched
|
|
108
|
-
- Progress is tracked separately in `.claude/memory/tutorial-progress.md`
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
## Switching Tracks
|
|
113
|
-
|
|
114
|
-
Run `/tutorial switch` at any time to flip tracks and restart the menu. Progress from the previous track is preserved in the progress file for reference but the active lesson resets.
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
## Progress Indicators
|
|
119
|
-
|
|
120
|
-
The menu uses three states:
|
|
121
|
-
|
|
122
|
-
- `[ ]` -- not started
|
|
123
|
-
- `[>]` -- in progress
|
|
124
|
-
- `[x] YYYY-MM-DD` -- complete
|
|
125
|
-
|
|
126
|
-
Run `/tutorial` with no argument at any time to see the current menu with progress filled in. Run `/tutorial status` for the same view.
|
|
127
|
-
|
|
128
|
-
---
|
|
129
|
-
|
|
130
|
-
## Related Docs
|
|
131
|
-
|
|
132
|
-
- [SDK Concepts](../concepts.mdx) -- full technical reference for workflows, schemas, adapters, and the org model
|
|
133
|
-
- [Getting Started](../getting-started.mdx) -- scaffold setup and first deploy
|
|
134
|
-
- [CLI Reference](../cli.mdx) -- `elevasis-sdk` commands referenced in the technical track
|
|
135
|
-
- [Framework Overview](index.mdx) -- skill layer, memory system, and interaction guidance
|
|
1
|
+
---
|
|
2
|
+
title: Tutorial System
|
|
3
|
+
description: The /tutorial skill in the external project scaffold -- two-track onboarding (vibe-coder and technical), gate question, track persistence, and escape hatch
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
The `/tutorial` skill is included in every scaffolded external project. Run it from Claude Code inside a project to start interactive onboarding. It forks into two tracks on first invocation and adapts agent tone project-wide based on your choice.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Getting Started
|
|
11
|
+
|
|
12
|
+
Open a scaffolded external project in Claude Code and run:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
/tutorial
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
On first invocation in a fresh project, the skill asks one gate question:
|
|
19
|
+
|
|
20
|
+
> "Are you here to **build automations by describing what you want** (and I handle the technical side), or are you a **developer** who'll edit code directly?"
|
|
21
|
+
|
|
22
|
+
Your answer selects a track. The choice is saved to `.claude/memory/profile.md` and shapes agent vocabulary, tool-call visibility, and verbosity for every conversation in the project -- not just `/tutorial` sessions.
|
|
23
|
+
|
|
24
|
+
Subsequent `/tutorial` invocations skip the gate question and resume your progress.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Tracks at a Glance
|
|
29
|
+
|
|
30
|
+
### Vibe-Coder Track (8 lessons)
|
|
31
|
+
|
|
32
|
+
For users who want to describe what they want and have the agent handle the implementation. The agent never uses technical vocabulary -- no TypeScript, no pnpm, no CLI commands shown, no schemas explained. Everything is narrated in plain language.
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Your Tutorial
|
|
36
|
+
==============
|
|
37
|
+
1 Welcome -- what this place does for you [ ]
|
|
38
|
+
2 How to talk to me [ ]
|
|
39
|
+
3 Your business profile [ ]
|
|
40
|
+
4 Your first automation [ ]
|
|
41
|
+
5 Your dashboard -- where everything lives [ ]
|
|
42
|
+
6 Your approval queue -- signing off on things [ ]
|
|
43
|
+
7 Changing things later [ ]
|
|
44
|
+
8 When things go wrong [ ]
|
|
45
|
+
|
|
46
|
+
Pick a number to start.
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**What each lesson covers:**
|
|
50
|
+
|
|
51
|
+
- **1. Welcome** -- Plain analogy for the platform. Shows a real automation already running before any building.
|
|
52
|
+
- **2. How to talk to me** -- Conversation patterns for making requests, asking questions, and describing changes. No technical vocabulary introduced.
|
|
53
|
+
- **3. Your business profile** -- Conversational walk through org identity. Agent handles all edits silently; user answers questions.
|
|
54
|
+
- **4. Your first automation** -- User describes what they want. Agent builds, runs, and narrates. User never sees code.
|
|
55
|
+
- **5. Your dashboard** -- Tour of Command Center. Where automations live and how to read the visual map.
|
|
56
|
+
- **6. Your approval queue** -- Show a pending approval, approve it, see the automation continue.
|
|
57
|
+
- **7. Changing things later** -- Plain-language change requests. Agent handles implementation.
|
|
58
|
+
- **8. When things go wrong** -- "Tell me what looks wrong. I'll figure it out and tell you what I did." No error traces shown.
|
|
59
|
+
|
|
60
|
+
**Vocabulary rules in this track:** The agent never says workflow, schema, deploy, credential, TypeScript, or pnpm. "Automation" replaces all SDK resource terms. "Make it live" replaces "deploy." "Account connection" replaces "credential." "Your approval queue" replaces HITL.
|
|
61
|
+
|
|
62
|
+
### Technical Track (19 lessons, 5 sections)
|
|
63
|
+
|
|
64
|
+
For developers who will read and edit code directly. Lessons are code-first. All SDK concepts, CLI commands, and file structures are covered.
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
SECTION A -- The workspace (3 items)
|
|
68
|
+
1 What is this workspace [ ]
|
|
69
|
+
2 The skill layer -- slash commands you'll use [ ]
|
|
70
|
+
3 The vibe layer -- ambient intent classification [ ]
|
|
71
|
+
|
|
72
|
+
SECTION B -- Build your first thing (5 items)
|
|
73
|
+
4 Echo workflow tour [ ]
|
|
74
|
+
5 Custom workflow with schemas [ ]
|
|
75
|
+
6 Platform tools and credentials [ ]
|
|
76
|
+
7 Multi-step and conditionals [ ]
|
|
77
|
+
8 Going to production [ ]
|
|
78
|
+
|
|
79
|
+
SECTION C -- The Organization Model (3 items)
|
|
80
|
+
9 /knowledge ceremony -- identity, customers, [ ]
|
|
81
|
+
offerings via the layered flow
|
|
82
|
+
10 Features and labels [ ]
|
|
83
|
+
11 Entity extensions -- BaseProject, BaseDeal [ ]
|
|
84
|
+
|
|
85
|
+
SECTION D -- Modules (load on demand) (~6 items)
|
|
86
|
+
12 HITL [ ]
|
|
87
|
+
13 Schedules [ ]
|
|
88
|
+
14 Notifications + integrations [ ]
|
|
89
|
+
15 Error handling [ ]
|
|
90
|
+
16 LLM and agents [ ]
|
|
91
|
+
17 Composition (execution.trigger) [ ]
|
|
92
|
+
|
|
93
|
+
SECTION E -- Power user (2 items)
|
|
94
|
+
18 Rules, memory, scaffold registry [ ]
|
|
95
|
+
19 Template lifecycle and /git-sync [ ]
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Section D modules are available any time -- no section order prerequisite. Sections A-C are designed to be completed in order on a first pass, though any item can be picked directly.
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Track Persistence
|
|
103
|
+
|
|
104
|
+
The track choice is saved to `.claude/memory/profile.md` on selection. The agent reads this file at session start alongside `agent-start-here.md`. This means:
|
|
105
|
+
|
|
106
|
+
- Agent vocabulary and tone adjust for every conversation in the project, not just `/tutorial`
|
|
107
|
+
- The vibe-coder track suppresses all technical surface globally until switched
|
|
108
|
+
- Progress is tracked separately in `.claude/memory/tutorial-progress.md`
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Switching Tracks
|
|
113
|
+
|
|
114
|
+
Run `/tutorial switch` at any time to flip tracks and restart the menu. Progress from the previous track is preserved in the progress file for reference but the active lesson resets.
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Progress Indicators
|
|
119
|
+
|
|
120
|
+
The menu uses three states:
|
|
121
|
+
|
|
122
|
+
- `[ ]` -- not started
|
|
123
|
+
- `[>]` -- in progress
|
|
124
|
+
- `[x] YYYY-MM-DD` -- complete
|
|
125
|
+
|
|
126
|
+
Run `/tutorial` with no argument at any time to see the current menu with progress filled in. Run `/tutorial status` for the same view.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Related Docs
|
|
131
|
+
|
|
132
|
+
- [SDK Concepts](../concepts.mdx) -- full technical reference for workflows, schemas, adapters, and the org model
|
|
133
|
+
- [Getting Started](../getting-started.mdx) -- scaffold setup and first deploy
|
|
134
|
+
- [CLI Reference](../cli.mdx) -- `elevasis-sdk` commands referenced in the technical track
|
|
135
|
+
- [Framework Overview](index.mdx) -- skill layer, memory system, and interaction guidance
|
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Getting Started
|
|
3
|
-
description: Install the Elevasis SDK, scaffold a project, and run your first deployment
|
|
4
|
-
loadWhen: "Setting up a new project or onboarding"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
**Prerequisites:** Node.js 20+ and pnpm (`npm install -g pnpm`).
|
|
8
|
-
|
|
9
|
-
## Create a Project
|
|
10
|
-
|
|
11
|
-
Scaffold a new project and install dependencies:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
pnpm dlx @elevasis/sdk init my-project
|
|
15
|
-
cd my-project
|
|
16
|
-
pnpm install
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
`pnpm dlx` downloads the SDK temporarily to run `elevasis-sdk init`, which scaffolds your project with a working echo workflow, TypeScript config, and Claude Code integration. `pnpm install` then installs the SDK and its dependencies locally -- after that, all `elevasis-sdk` commands work directly via the scripts in `package.json` or `pnpm exec elevasis-sdk <command>`.
|
|
20
|
-
|
|
21
|
-
The command scaffolds 30 files covering configuration, source, documentation, and Claude Code integration:
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
my-project/
|
|
25
|
-
├── CLAUDE.md # Project instructions for Claude Code
|
|
26
|
-
├── .claude/
|
|
27
|
-
│ ├── settings.json # autoCompact: false
|
|
28
|
-
│ ├── commands/
|
|
29
|
-
│ │ ├── docs.md # Documentation lifecycle
|
|
30
|
-
│ │ ├── meta.md # Project lifecycle (init, fix, deploy, health)
|
|
31
|
-
│ │ ├── tutorial.md # Progressive learning
|
|
32
|
-
│ │ └── work.md # Task tracking
|
|
33
|
-
│ ├── hooks/
|
|
34
|
-
│ │ └── enforce-sdk-boundary.mjs # Blocks file modifications outside project (auto-loaded)
|
|
35
|
-
│ ├── scripts/
|
|
36
|
-
│ │ └── statusline-command.js # Dynamic status line script
|
|
37
|
-
│ ├── skills/
|
|
38
|
-
│ │ └── creds/SKILL.md # Credential management (auto-triggers)
|
|
39
|
-
│ └── rules/
|
|
40
|
-
│ ├── sdk-patterns.md # SDK imports, structure, runtime (auto-loaded)
|
|
41
|
-
│ ├── docs-authoring.md # MDX conventions (auto-loaded)
|
|
42
|
-
│ ├── memory-conventions.md # Memory system conventions (auto-loaded)
|
|
43
|
-
│ ├── project-map.md # Project map conventions (auto-loaded)
|
|
44
|
-
│ ├── task-tracking.md # Task tracking conventions (auto-loaded)
|
|
45
|
-
│ └── workspace-patterns.md # Project-specific patterns (you add these)
|
|
46
|
-
├── src/
|
|
47
|
-
│ ├── index.ts # Registry entry point (aggregates domain barrels)
|
|
48
|
-
│ ├── operations/
|
|
49
|
-
│ │ ├── index.ts # Domain barrel (exports workflows + agents)
|
|
50
|
-
│ │ └── platform-status.ts # Platform status workflow (real API example)
|
|
51
|
-
│ ├── example/
|
|
52
|
-
│ │ ├── index.ts # Domain barrel (exports workflows + agents)
|
|
53
|
-
│ │ └── echo.ts # Starter workflow (replace with your own)
|
|
54
|
-
│ └── shared/
|
|
55
|
-
│ └── .gitkeep # Cross-domain shared utilities
|
|
56
|
-
├── docs/
|
|
57
|
-
│ ├── index.mdx # Starter documentation page
|
|
58
|
-
│ └── in-progress/
|
|
59
|
-
│ └── .gitkeep # Work-in-progress docs directory
|
|
60
|
-
├── elevasis.config.ts # Config with workspace options
|
|
61
|
-
├── package.json # check-types + deploy scripts
|
|
62
|
-
├── tsconfig.json # TypeScript config (app-focused)
|
|
63
|
-
├── pnpm-workspace.yaml # Standalone project workspace
|
|
64
|
-
├── .env # API key only
|
|
65
|
-
├── .npmrc # auto-install-peers
|
|
66
|
-
└── .gitignore # Excludes worker temp file, claude files
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Set Up Your API Key
|
|
70
|
-
|
|
71
|
-
Open `.env` and set your API key:
|
|
72
|
-
|
|
73
|
-
```
|
|
74
|
-
ELEVASIS_PLATFORM_KEY=sk_your_key_here
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
The `.env` file is gitignored -- never commit it.
|
|
78
|
-
|
|
79
|
-
**Note:** Do not add `NODE_ENV` to your `.env`. The SDK treats `undefined` as production by default, which means your project connects to the hosted Elevasis API. Adding `NODE_ENV=development` is the most common setup mistake.
|
|
80
|
-
|
|
81
|
-
### Guided Setup with Claude Code
|
|
82
|
-
|
|
83
|
-
After scaffolding, open the project in Claude Code. The agent detects that the project is new and automatically walks you through setup: installing dependencies, configuring `.env`, creating your developer profile in `.claude/memory/`, and optionally running your first deploy. No commands needed -- just answer the questions.
|
|
84
|
-
|
|
85
|
-
If the automatic setup doesn't trigger, you can start it manually with `/meta init`.
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
## First Deployment
|
|
90
|
-
|
|
91
|
-
Validate your resources and deploy:
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
elevasis-sdk check # Validate resource definitions
|
|
95
|
-
elevasis-sdk deploy # Bundle and deploy to the platform
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
`elevasis-sdk check` runs validation without deploying. Fix any errors it reports before running `elevasis-sdk deploy`.
|
|
99
|
-
|
|
100
|
-
`elevasis-sdk deploy` bundles your `src/` code and `docs/` documentation into a single deployment transaction. Both ship atomically -- there is no separate upload step for documentation.
|
|
101
|
-
|
|
102
|
-
After a successful deploy, confirm the resources are live:
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
elevasis-sdk resources # List deployed resources
|
|
106
|
-
elevasis-sdk deployments # Show deployment history
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
---
|
|
110
|
-
|
|
111
|
-
## First Execution
|
|
112
|
-
|
|
113
|
-
Execute the scaffolded echo workflow to verify end-to-end connectivity:
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
elevasis-sdk exec echo --input '{"message": "hello"}'
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
View the execution result:
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
elevasis-sdk executions echo # Execution history
|
|
123
|
-
elevasis-sdk execution echo \<execution-id\> # Full detail for one execution
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
Replace `<execution-id>` with the ID returned from the executions list.
|
|
127
|
-
|
|
128
|
-
---
|
|
129
|
-
|
|
130
|
-
## Next Steps
|
|
131
|
-
|
|
132
|
-
- **Open in Claude Code** -- Setup runs automatically on first session (installs deps, configures `.env`, creates your developer profile)
|
|
133
|
-
- [Development Framework](framework/index.mdx) -- How Claude Code helps you build
|
|
134
|
-
- [Resources](resources/index.mdx) -- Define workflows and agents
|
|
135
|
-
- [CLI Reference](cli.mdx) -- Full command reference with flags
|
|
136
|
-
- [Deployment](deployment/index.mdx) -- Deployment lifecycle and environment variables
|
|
137
|
-
|
|
138
|
-
When a new SDK version is released, run `/meta fix` in Claude Code for an interactive upgrade that includes SDK update, drift repair, and documentation verification. Alternatively, run `elevasis-sdk update` from the terminal to update managed files (CLAUDE.md, slash commands, `.gitignore`) without agent interaction. To update the SDK package itself, run `pnpm update @elevasis/sdk`.
|
|
139
|
-
|
|
140
|
-
---
|
|
141
|
-
|
|
142
|
-
**Last Updated:** 2026-02-27
|
|
1
|
+
---
|
|
2
|
+
title: Getting Started
|
|
3
|
+
description: Install the Elevasis SDK, scaffold a project, and run your first deployment
|
|
4
|
+
loadWhen: "Setting up a new project or onboarding"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
**Prerequisites:** Node.js 20+ and pnpm (`npm install -g pnpm`).
|
|
8
|
+
|
|
9
|
+
## Create a Project
|
|
10
|
+
|
|
11
|
+
Scaffold a new project and install dependencies:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
pnpm dlx @elevasis/sdk init my-project
|
|
15
|
+
cd my-project
|
|
16
|
+
pnpm install
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`pnpm dlx` downloads the SDK temporarily to run `elevasis-sdk init`, which scaffolds your project with a working echo workflow, TypeScript config, and Claude Code integration. `pnpm install` then installs the SDK and its dependencies locally -- after that, all `elevasis-sdk` commands work directly via the scripts in `package.json` or `pnpm exec elevasis-sdk <command>`.
|
|
20
|
+
|
|
21
|
+
The command scaffolds 30 files covering configuration, source, documentation, and Claude Code integration:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
my-project/
|
|
25
|
+
├── CLAUDE.md # Project instructions for Claude Code
|
|
26
|
+
├── .claude/
|
|
27
|
+
│ ├── settings.json # autoCompact: false
|
|
28
|
+
│ ├── commands/
|
|
29
|
+
│ │ ├── docs.md # Documentation lifecycle
|
|
30
|
+
│ │ ├── meta.md # Project lifecycle (init, fix, deploy, health)
|
|
31
|
+
│ │ ├── tutorial.md # Progressive learning
|
|
32
|
+
│ │ └── work.md # Task tracking
|
|
33
|
+
│ ├── hooks/
|
|
34
|
+
│ │ └── enforce-sdk-boundary.mjs # Blocks file modifications outside project (auto-loaded)
|
|
35
|
+
│ ├── scripts/
|
|
36
|
+
│ │ └── statusline-command.js # Dynamic status line script
|
|
37
|
+
│ ├── skills/
|
|
38
|
+
│ │ └── creds/SKILL.md # Credential management (auto-triggers)
|
|
39
|
+
│ └── rules/
|
|
40
|
+
│ ├── sdk-patterns.md # SDK imports, structure, runtime (auto-loaded)
|
|
41
|
+
│ ├── docs-authoring.md # MDX conventions (auto-loaded)
|
|
42
|
+
│ ├── memory-conventions.md # Memory system conventions (auto-loaded)
|
|
43
|
+
│ ├── project-map.md # Project map conventions (auto-loaded)
|
|
44
|
+
│ ├── task-tracking.md # Task tracking conventions (auto-loaded)
|
|
45
|
+
│ └── workspace-patterns.md # Project-specific patterns (you add these)
|
|
46
|
+
├── src/
|
|
47
|
+
│ ├── index.ts # Registry entry point (aggregates domain barrels)
|
|
48
|
+
│ ├── operations/
|
|
49
|
+
│ │ ├── index.ts # Domain barrel (exports workflows + agents)
|
|
50
|
+
│ │ └── platform-status.ts # Platform status workflow (real API example)
|
|
51
|
+
│ ├── example/
|
|
52
|
+
│ │ ├── index.ts # Domain barrel (exports workflows + agents)
|
|
53
|
+
│ │ └── echo.ts # Starter workflow (replace with your own)
|
|
54
|
+
│ └── shared/
|
|
55
|
+
│ └── .gitkeep # Cross-domain shared utilities
|
|
56
|
+
├── docs/
|
|
57
|
+
│ ├── index.mdx # Starter documentation page
|
|
58
|
+
│ └── in-progress/
|
|
59
|
+
│ └── .gitkeep # Work-in-progress docs directory
|
|
60
|
+
├── elevasis.config.ts # Config with workspace options
|
|
61
|
+
├── package.json # check-types + deploy scripts
|
|
62
|
+
├── tsconfig.json # TypeScript config (app-focused)
|
|
63
|
+
├── pnpm-workspace.yaml # Standalone project workspace
|
|
64
|
+
├── .env # API key only
|
|
65
|
+
├── .npmrc # auto-install-peers
|
|
66
|
+
└── .gitignore # Excludes worker temp file, claude files
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Set Up Your API Key
|
|
70
|
+
|
|
71
|
+
Open `.env` and set your API key:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
ELEVASIS_PLATFORM_KEY=sk_your_key_here
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
The `.env` file is gitignored -- never commit it.
|
|
78
|
+
|
|
79
|
+
**Note:** Do not add `NODE_ENV` to your `.env`. The SDK treats `undefined` as production by default, which means your project connects to the hosted Elevasis API. Adding `NODE_ENV=development` is the most common setup mistake.
|
|
80
|
+
|
|
81
|
+
### Guided Setup with Claude Code
|
|
82
|
+
|
|
83
|
+
After scaffolding, open the project in Claude Code. The agent detects that the project is new and automatically walks you through setup: installing dependencies, configuring `.env`, creating your developer profile in `.claude/memory/`, and optionally running your first deploy. No commands needed -- just answer the questions.
|
|
84
|
+
|
|
85
|
+
If the automatic setup doesn't trigger, you can start it manually with `/meta init`.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## First Deployment
|
|
90
|
+
|
|
91
|
+
Validate your resources and deploy:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
elevasis-sdk check # Validate resource definitions
|
|
95
|
+
elevasis-sdk deploy # Bundle and deploy to the platform
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
`elevasis-sdk check` runs validation without deploying. Fix any errors it reports before running `elevasis-sdk deploy`.
|
|
99
|
+
|
|
100
|
+
`elevasis-sdk deploy` bundles your `src/` code and `docs/` documentation into a single deployment transaction. Both ship atomically -- there is no separate upload step for documentation.
|
|
101
|
+
|
|
102
|
+
After a successful deploy, confirm the resources are live:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
elevasis-sdk resources # List deployed resources
|
|
106
|
+
elevasis-sdk deployments # Show deployment history
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## First Execution
|
|
112
|
+
|
|
113
|
+
Execute the scaffolded echo workflow to verify end-to-end connectivity:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
elevasis-sdk exec echo --input '{"message": "hello"}'
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
View the execution result:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
elevasis-sdk executions echo # Execution history
|
|
123
|
+
elevasis-sdk execution echo \<execution-id\> # Full detail for one execution
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Replace `<execution-id>` with the ID returned from the executions list.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Next Steps
|
|
131
|
+
|
|
132
|
+
- **Open in Claude Code** -- Setup runs automatically on first session (installs deps, configures `.env`, creates your developer profile)
|
|
133
|
+
- [Development Framework](framework/index.mdx) -- How Claude Code helps you build
|
|
134
|
+
- [Resources](resources/index.mdx) -- Define workflows and agents
|
|
135
|
+
- [CLI Reference](cli.mdx) -- Full command reference with flags
|
|
136
|
+
- [Deployment](deployment/index.mdx) -- Deployment lifecycle and environment variables
|
|
137
|
+
|
|
138
|
+
When a new SDK version is released, run `/meta fix` in Claude Code for an interactive upgrade that includes SDK update, drift repair, and documentation verification. Alternatively, run `elevasis-sdk update` from the terminal to update managed files (CLAUDE.md, slash commands, `.gitignore`) without agent interaction. To update the SDK package itself, run `pnpm update @elevasis/sdk`.
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
**Last Updated:** 2026-02-27
|