@elevasis/sdk 1.15.1 → 1.17.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 +2325 -124
- package/dist/index.d.ts +410 -473
- package/dist/index.js +96 -44
- package/dist/node/index.d.ts +69 -0
- package/dist/node/index.js +273 -0
- package/dist/test-utils/index.d.ts +473 -466
- package/dist/types/worker/platform.d.ts +2 -9
- package/package.json +12 -3
- package/reference/_navigation.md +23 -1
- package/reference/_reference-manifest.json +98 -0
- package/reference/claude-config/rules/agent-start-here.md +13 -0
- package/reference/claude-config/rules/organization-model.md +40 -40
- package/reference/claude-config/rules/organization-os.md +16 -16
- package/reference/claude-config/rules/vibe.md +13 -13
- package/reference/claude-config/skills/knowledge/SKILL.md +253 -0
- package/reference/claude-config/skills/{configure → knowledge}/operations/codify-level-a.md +100 -100
- package/reference/claude-config/skills/{configure → knowledge}/operations/codify-level-b.md +158 -158
- package/reference/claude-config/skills/knowledge/operations/customers.md +109 -0
- package/reference/claude-config/skills/knowledge/operations/features.md +113 -0
- package/reference/claude-config/skills/knowledge/operations/goals.md +118 -0
- package/reference/claude-config/skills/knowledge/operations/identity.md +93 -0
- package/reference/claude-config/skills/knowledge/operations/labels.md +89 -0
- package/reference/claude-config/skills/knowledge/operations/offerings.md +109 -0
- package/reference/claude-config/skills/knowledge/operations/roles.md +99 -0
- package/reference/claude-config/skills/knowledge/operations/techStack.md +102 -0
- package/reference/claude-config/skills/run-ui/SKILL.md +73 -0
- package/reference/claude-config/skills/setup/SKILL.md +270 -270
- package/reference/claude-config/skills/tutorial/SKILL.md +249 -0
- package/reference/claude-config/skills/tutorial/progress-template.md +74 -0
- package/reference/claude-config/skills/tutorial/technical.md +1309 -0
- package/reference/claude-config/skills/tutorial/vibe-coder.md +890 -0
- package/reference/claude-config/sync-notes/2026-05-04-elevasis-workspace.md +71 -0
- package/reference/claude-config/sync-notes/2026-05-04-knowledge-bundle.md +83 -0
- package/reference/claude-config/sync-notes/2026-05-04-template-skills-run-ui-and-tutorial.md +59 -0
- package/reference/deployment/index.mdx +5 -5
- package/reference/examples/organization-model.ts +40 -0
- package/reference/framework/index.mdx +1 -1
- package/reference/framework/tutorial-system.mdx +86 -173
- package/reference/packages/core/src/knowledge/README.md +32 -0
- package/reference/packages/ui/src/knowledge/README.md +31 -0
- package/reference/packages/ui/src/theme/presets/README.md +19 -0
- package/reference/scaffold/core/organization-model.mdx +1 -1
- package/reference/scaffold/recipes/add-a-feature.md +1 -1
- package/reference/scaffold/recipes/customize-crm-actions.md +433 -433
- package/reference/scaffold/recipes/customize-organization-model.md +3 -3
- package/reference/scaffold/recipes/extend-lead-gen.md +90 -55
- package/reference/scaffold/recipes/gate-by-feature-or-admin.md +1 -1
- package/reference/scaffold/recipes/index.md +6 -0
- package/reference/scaffold/reference/contracts.md +1265 -1154
- package/reference/scaffold/reference/feature-registry.md +2 -1
- package/reference/scaffold/ui/composition-extensibility.mdx +17 -0
- package/reference/claude-config/skills/configure/SKILL.md +0 -98
- package/reference/claude-config/skills/configure/operations/customers.md +0 -150
- package/reference/claude-config/skills/configure/operations/features.md +0 -162
- package/reference/claude-config/skills/configure/operations/goals.md +0 -147
- package/reference/claude-config/skills/configure/operations/identity.md +0 -133
- package/reference/claude-config/skills/configure/operations/labels.md +0 -128
- package/reference/claude-config/skills/configure/operations/offerings.md +0 -159
- package/reference/claude-config/skills/configure/operations/roles.md +0 -153
- package/reference/claude-config/skills/configure/operations/techStack.md +0 -139
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
# Configure: techStack
|
|
2
|
-
|
|
3
|
-
Guides the user through reviewing and updating the tech stack metadata on resource mapping entries
|
|
4
|
-
in the organization model.
|
|
5
|
-
|
|
6
|
-
Tech stack information lives as an optional `techStack` extension field on each `ResourceMapping`
|
|
7
|
-
entry -- not as a standalone top-level domain. This keeps all integration metadata co-located with
|
|
8
|
-
the resource mapping that represents it, while adding fields that agents need for cross-integration
|
|
9
|
-
automation and system-of-record resolution.
|
|
10
|
-
|
|
11
|
-
## Schema reference
|
|
12
|
-
|
|
13
|
-
Source: `packages/core/src/organization-model/domains/shared.ts`
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
TechStackEntrySchema = z.object({
|
|
17
|
-
platform: z.string().trim().min(1).max(200),
|
|
18
|
-
purpose: z.string().trim().min(1).max(500),
|
|
19
|
-
credentialStatus: z.enum(['configured', 'pending', 'expired', 'missing']),
|
|
20
|
-
isSystemOfRecord: z.boolean().default(false)
|
|
21
|
-
})
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
`credentialStatus` values:
|
|
25
|
-
|
|
26
|
-
- `configured` -- credential present and valid
|
|
27
|
-
- `pending` -- not yet set up
|
|
28
|
-
- `expired` -- credential existed but has lapsed
|
|
29
|
-
- `missing` -- expected but not present
|
|
30
|
-
|
|
31
|
-
`isSystemOfRecord: true` means this integration is the authoritative data source for its domain
|
|
32
|
-
(e.g. HubSpot is the system of record for contacts).
|
|
33
|
-
|
|
34
|
-
`techStack` is an optional field on `ResourceMappingSchema`. It is added to individual resource
|
|
35
|
-
mapping entries whose `resourceType` is `'integration'` or `'external'`.
|
|
36
|
-
|
|
37
|
-
Where this lands in the adapter: `foundations/config/organization-model.ts` inside the
|
|
38
|
-
`resourceMappings` array of `defineOrganizationModel({...})`. The `techStack` field is set on the
|
|
39
|
-
matching `ResourceMapping` object.
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
## Process
|
|
44
|
-
|
|
45
|
-
### Step 1: Read current state
|
|
46
|
-
|
|
47
|
-
Read `foundations/config/organization-model.ts` and extract the `resourceMappings` array. Filter
|
|
48
|
-
to entries that either already have a `techStack` field or have `resourceType: 'integration'` or
|
|
49
|
-
`'external'`. Present as a summary:
|
|
50
|
-
|
|
51
|
-
```
|
|
52
|
-
Resource mappings with integration context (N):
|
|
53
|
-
{label} ({id}) -- resourceType: {type}
|
|
54
|
-
techStack: {platform} | {credentialStatus} | SoR: {yes/no}
|
|
55
|
-
(no techStack yet)
|
|
56
|
-
|
|
57
|
-
Other resource mappings (M total, K without techStack):
|
|
58
|
-
{list by label}
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
If there are no resource mappings at all, note that the user should add resource mappings through
|
|
62
|
-
the SDK deployment process before configuring tech stack metadata here.
|
|
63
|
-
|
|
64
|
-
### Step 2: Establish intent
|
|
65
|
-
|
|
66
|
-
Ask whether the user wants to:
|
|
67
|
-
|
|
68
|
-
- **Add or update** tech stack metadata on an existing resource mapping
|
|
69
|
-
- **Update credential status** on an existing tech stack entry
|
|
70
|
-
- **Mark or unmark** an integration as the system of record
|
|
71
|
-
- **Review all** integration health
|
|
72
|
-
|
|
73
|
-
For adding or updating, the user selects a resource mapping from the list.
|
|
74
|
-
|
|
75
|
-
### Step 3: Gather tech stack details
|
|
76
|
-
|
|
77
|
-
For each resource mapping being updated:
|
|
78
|
-
|
|
79
|
-
**If no `techStack` field yet:**
|
|
80
|
-
|
|
81
|
-
- "What external platform does this resource mapping represent? (e.g. 'HubSpot', 'Stripe',
|
|
82
|
-
'Notion', 'Apify')"
|
|
83
|
-
- "What is this integration used for? (free-form description)"
|
|
84
|
-
- "What is the current credential status? Options: configured, pending, expired, missing."
|
|
85
|
-
- "Is this the system of record for its domain? (e.g. HubSpot is SoR for contacts)"
|
|
86
|
-
|
|
87
|
-
**If `techStack` already exists:**
|
|
88
|
-
|
|
89
|
-
Show the current values and ask which fields to update.
|
|
90
|
-
|
|
91
|
-
Credential status shortcut: if the user only wants to mark a credential as configured or expired,
|
|
92
|
-
skip directly to that field.
|
|
93
|
-
|
|
94
|
-
### Step 4: Confirm before writing
|
|
95
|
-
|
|
96
|
-
Present a diff scoped to the affected resource mapping entry:
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
Proposed techStack change:
|
|
100
|
-
|
|
101
|
-
UPDATE resourceMapping "HubSpot CRM Integration" (rm-hubspot):
|
|
102
|
-
techStack:
|
|
103
|
-
platform: "HubSpot"
|
|
104
|
-
purpose: "CRM for contacts, companies, and deal pipeline"
|
|
105
|
-
credentialStatus: "pending" -> "configured"
|
|
106
|
-
isSystemOfRecord: false -> true
|
|
107
|
-
|
|
108
|
-
Apply? (yes/no)
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### Step 5: Codify
|
|
112
|
-
|
|
113
|
-
Execute `.claude/skills/configure/operations/codify-level-a.md` with the proposed change to the
|
|
114
|
-
`resourceMappings` array. Only the targeted entry (matched by `id`) is modified -- all other
|
|
115
|
-
entries are left unchanged.
|
|
116
|
-
|
|
117
|
-
The write edits the `techStack` field on the matching `ResourceMapping` object inside the
|
|
118
|
-
`defineOrganizationModel({...})` call.
|
|
119
|
-
|
|
120
|
-
### Step 6: Report
|
|
121
|
-
|
|
122
|
-
After successful validation:
|
|
123
|
-
|
|
124
|
-
```
|
|
125
|
-
Tech stack updated.
|
|
126
|
-
Integrations: {total with techStack} ({N updated})
|
|
127
|
-
foundations/config/organization-model.ts -- resourceMappings updated
|
|
128
|
-
Type-check: PASS
|
|
129
|
-
Schema validation: PASS
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
If validation failed and rollback occurred:
|
|
133
|
-
|
|
134
|
-
```
|
|
135
|
-
Tech stack update rolled back.
|
|
136
|
-
Reason: {error message}
|
|
137
|
-
foundations/config/organization-model.ts -- restored to previous state
|
|
138
|
-
No changes persisted.
|
|
139
|
-
```
|