@elevasis/sdk 1.45.0 → 1.46.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 +36046 -31587
- package/dist/index.d.ts +833 -391
- package/dist/index.js +59 -59
- package/dist/node/index.d.ts +0 -84
- package/dist/node/index.js +2 -2
- package/dist/test-utils/index.d.ts +859 -331
- package/dist/test-utils/index.js +166 -134
- package/dist/worker/index.d.ts +897 -324
- package/dist/worker/index.js +68 -35
- package/package.json +4 -4
- package/reference/_navigation.md +11 -2
- package/reference/_reference-manifest.json +42 -0
- package/reference/core/exports.mdx +2 -0
- package/reference/packages/core/src/business/README.md +4 -1
- package/reference/packages/core/src/content/README.md +19 -0
- package/reference/packages/core/src/organization-model/README.md +148 -149
- package/reference/packages/core/src/organization-model/readiness/README.md +42 -0
- package/reference/packages/ui/src/features/README.md +28 -28
- package/reference/rules/shared-types.md +21 -0
- package/reference/scaffold/core/organization-graph.mdx +2 -3
- package/reference/scaffold/core/organization-model.mdx +2 -6
- package/reference/scaffold/operations/propagation-pipeline.md +15 -16
- package/reference/scaffold/operations/scaffold-maintenance.md +3 -2
- package/reference/scaffold/operations/workflow-recipes.md +2 -2
- package/reference/scaffold/recipes/customize-crm-actions.md +5 -5
- package/reference/scaffold/recipes/extend-content.md +265 -0
- package/reference/scaffold/recipes/extend-lead-gen.md +14 -16
- package/reference/scaffold/recipes/index.md +4 -1
- package/reference/scaffold/reference/contracts.md +18 -55
- package/reference/scaffold/reference/feature-registry.md +3 -0
- package/reference/scaffold/reference/glossary.md +1 -1
- package/reference/scaffold/ui/customization.md +2 -2
- package/reference/scaffold/ui/feature-shell.mdx +1 -3
- package/reference/sdk/cli-management.mdx +90 -5
- package/reference/sdk/cli.mdx +90 -13
- package/reference/sdk/framework/agent.mdx +6 -0
- package/reference/sdk/platform-tools/adapters-platform.mdx +3 -1
- package/reference/ui/exports.mdx +1 -0
|
@@ -5,6 +5,8 @@ description: elevasis-sdk management commands -- project, note, acquisition, cli
|
|
|
5
5
|
|
|
6
6
|
This page covers the domain management commands for `elevasis-sdk`. For core SDK commands (check, deploy, exec, resources, executions, describe, creds, rename), see [CLI Reference](cli.mdx).
|
|
7
7
|
|
|
8
|
+
Every command family on this page -- `project`, `note`, `acquisition`, `client`, `agent`, `session`, `queue`, `schedule`, `om:doctor`, and `request` -- also accepts `--prod` to target production, overriding `NODE_ENV=development` (live as of `@elevasis/sdk` 1.45.0). See [CLI Reference's Global Flags](cli.mdx#global-flags) for the full description; per-command flag tables below list `--api-url` and other command-specific flags only, not `--prod` or `--json`.
|
|
9
|
+
|
|
8
10
|
---
|
|
9
11
|
|
|
10
12
|
## JSON-valued options
|
|
@@ -94,10 +96,16 @@ elevasis-sdk project:task:get <id>
|
|
|
94
96
|
elevasis-sdk project:task:create --project <id> --title "Implement API"
|
|
95
97
|
elevasis-sdk project:task:create --project <id> --title "Implement API" --checklist @json:tmp/task-checklist.json
|
|
96
98
|
elevasis-sdk project:task:update <id> --status in_progress
|
|
99
|
+
elevasis-sdk project:task:update <id> --parent <parent-task-id>
|
|
100
|
+
elevasis-sdk project:task:update <id> --clear-milestone
|
|
97
101
|
elevasis-sdk project:task:update <id> --checklist @json:tmp/task-checklist.json
|
|
98
102
|
elevasis-sdk project:task:delete <id>
|
|
99
103
|
```
|
|
100
104
|
|
|
105
|
+
`milestone_id` and `parent_task_id` are nullable, and `--clear-milestone` / `--clear-parent` are how they are set to null. Each is mutually exclusive with its set-flag and exits `CONFLICTING_FLAGS` if both are passed, matching `project:update --client` / `--clear-client`. An empty string does **not** clear either one -- `--milestone ""` fails UUID validation rather than detaching.
|
|
106
|
+
|
|
107
|
+
`--sequence <n>` on `project:milestone:create` and `project:milestone:update` writes the display order that `project:milestone:list` sorts by. It takes a non-negative integer and rejects anything else with `INVALID_SEQUENCE` before the request is sent.
|
|
108
|
+
|
|
101
109
|
Task commands also expose agent-oriented resume state:
|
|
102
110
|
|
|
103
111
|
```bash
|
|
@@ -186,9 +194,9 @@ elevasis-sdk request:get <id>
|
|
|
186
194
|
|
|
187
195
|
Most `project:*` commands support:
|
|
188
196
|
|
|
189
|
-
| Flag
|
|
190
|
-
|
|
|
191
|
-
| `--pretty`
|
|
197
|
+
| Flag | Description |
|
|
198
|
+
| ------------------- | -------------------------------------------------- |
|
|
199
|
+
| `--pretty` | Human-readable terminal output instead of raw JSON |
|
|
192
200
|
| `--api-url <url>` | Override the API base URL |
|
|
193
201
|
|
|
194
202
|
For exact required flags and accepted enum values, see the command source under `packages/sdk/src/cli/commands/project/`.
|
|
@@ -667,13 +675,14 @@ At least one field must be provided. `--description` and `--clear-description` a
|
|
|
667
675
|
|
|
668
676
|
## elevasis-sdk om:\*
|
|
669
677
|
|
|
670
|
-
Knowledge
|
|
678
|
+
Knowledge graph inspection, plus an Organization Model write surface (`om:scaffold:*`, `om:rename`, `om:deprecate`). The `om:*` (Organization Model) commands expose knowledge graph traversal via the CLI. `om:*` and `knowledge:*` are aliases of the same subcommands for the read-only surface described below -- the write commands are registered under `om:*` only, with no `knowledge:*` alias.
|
|
671
679
|
|
|
672
680
|
**Path axes for `knowledge:ls` / `om:ls`:** `/by-system/<id>`, `/by-ontology/<ontologyId>`, `/by-kind/<kind>`, `/by-owner/<ownerId>`, `/by-domain/<domain>` (enumerate all items in a domain: `clients`, `roles`, `policies`, `customers`, `offerings`, `goals`), `/by-item/<domain>/<itemId>` (single domain-item profile), `/graph/<nodeId>/governs`, `/graph/<nodeId>/governed-by`, `/<nodeId>` (single node), `/all-systems`, `/all-resources`, `/all-roles`.
|
|
673
681
|
|
|
674
682
|
- `knowledge:ls <path>` -- list nodes/edges for the mount; default output is an id + summary table, `--json` returns `{ path, mount, args, results }`.
|
|
675
683
|
- `knowledge:cat <id>` -- render a node's `body` MDX to stdout; `--json` returns the full node object (body, links, owners, timestamps).
|
|
676
684
|
- `knowledge:graph <id>` -- show outgoing + incoming edges grouped by edge kind.
|
|
685
|
+
- `om:doctor` -- validate Organization Model integrity against published `@elevasis/core/organization-model` primitives. This is a deliberately reduced 3-check command: two of the monorepo platform CLI's five checks assert monorepo-only paths that do not exist in a tenant project, so they are not ported. `--json` output includes `checksRun: 3` so a caller can tell it apart from the platform CLI's 5-check version.
|
|
677
686
|
|
|
678
687
|
In tenant projects, SDK read commands load `core/config/organization-model.ts` through the SDK's layout-aware TypeScript loader. The temporary bundle and dependency resolution are anchored at the package root that owns SDK dependencies, so hoisted pnpm workspaces resolve `esbuild` and `@elevasis/core` correctly. Missing org-model files still return the default model; malformed files or files with no usable export emit diagnostics. `knowledge:generate` / `om:generate` is the exception because it reads MDX and codegen inputs directly.
|
|
679
688
|
|
|
@@ -687,6 +696,7 @@ elevasis-sdk knowledge:search <query>
|
|
|
687
696
|
elevasis-sdk knowledge:describe <nodeId>
|
|
688
697
|
elevasis-sdk knowledge:skills <nodeId>
|
|
689
698
|
elevasis-sdk knowledge:generate
|
|
699
|
+
elevasis-sdk om:doctor --org <OrgName>
|
|
690
700
|
```
|
|
691
701
|
|
|
692
702
|
These are registered as `knowledge:*` subcommands on `elevasis-sdk`. Both the SDK CLI (`elevasis-sdk knowledge:*`) and the platform CLI (`elevasis knowledge:*`) call the same query functions in `@repo/core/knowledge/queries`.
|
|
@@ -763,6 +773,81 @@ elevasis-sdk knowledge:generate [--source <path>] [--output <path>] [--flags-out
|
|
|
763
773
|
elevasis-sdk om:generate
|
|
764
774
|
```
|
|
765
775
|
|
|
776
|
+
### om:scaffold:\*
|
|
777
|
+
|
|
778
|
+
Six scaffolders that splice new Organization Model entries into project source files: `om:scaffold:system`, `om:scaffold:resource`, `om:scaffold:role`, `om:scaffold:knowledge`, `om:scaffold:ontology`, `om:scaffold:fill`. There is no `knowledge:scaffold:*` alias.
|
|
779
|
+
|
|
780
|
+
```bash
|
|
781
|
+
elevasis-sdk om:scaffold:system --id sales.pipeline --title "Sales Pipeline" --kind operational
|
|
782
|
+
elevasis-sdk om:scaffold:resource --id lead-discovery-workflow --system-path sales.pipeline --title "Lead Discovery"
|
|
783
|
+
elevasis-sdk om:scaffold:role --id ops-lead --title "Ops Lead" --responsibility "Own weekly pipeline review"
|
|
784
|
+
elevasis-sdk om:scaffold:knowledge --id outreach-playbook --kind playbook --system-path sales.pipeline
|
|
785
|
+
elevasis-sdk om:scaffold:ontology --id deal --system-path sales.pipeline --kind object
|
|
786
|
+
elevasis-sdk om:scaffold:fill --gaps tmp/conformance-gaps.json
|
|
787
|
+
```
|
|
788
|
+
|
|
789
|
+
**Default is dry-run.** Every `om:scaffold:*` command previews its change and writes nothing unless `--write` is passed (the one exception, `om:scaffold:ontology`, never writes at all -- see below). This inverted from earlier behavior, where these commands applied by default. An existing invocation that does not pass `--write` now only previews and silently stops applying -- this is the single most important thing to know about this command family.
|
|
790
|
+
|
|
791
|
+
**`--dry-run` is not a flag on any `om:scaffold:*` command.** It exists only as a deprecated programmatic/TypeScript option consumed internally by the handler functions; passing `--dry-run` on the command line is an unrecognized-option error. `om:rename` and `om:deprecate`, documented in the next section, are different commands with their own real `--dry-run` flag -- do not carry that convention over here.
|
|
792
|
+
|
|
793
|
+
**Splice targets:**
|
|
794
|
+
|
|
795
|
+
| Subcommand | Writes |
|
|
796
|
+
| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
|
797
|
+
| `om:scaffold:system` | Splices `core/config/organization-model/systems.ts` |
|
|
798
|
+
| `om:scaffold:resource` | Splices `core/config/organization-model/systems.ts` -- **known-broken, see below** |
|
|
799
|
+
| `om:scaffold:role` | Splices `core/config/organization-model/profile.ts` |
|
|
800
|
+
| `om:scaffold:knowledge` | Writes a new `core/config/knowledge/nodes/<id>.mdx` file (no splice) |
|
|
801
|
+
| `om:scaffold:ontology` | Print-only by design -- writes nothing, and carries no `--write` flag |
|
|
802
|
+
| `om:scaffold:fill` | Writes new `core/config/organization-model/api-interfaces/<systemPath>.ts` const files and splices the import + field into `systems.ts` |
|
|
803
|
+
|
|
804
|
+
**`om:scaffold:resource` is currently non-functional against all three real project layouts.** Its splice anchor never received the anchor-scoping fix that landed for `om:scaffold:role` on 2026-08-11, so it still searches for the resource-descriptors closing brace unscoped -- in a real file that closing-brace shape recurs, and it splices into the wrong one, producing invalid TypeScript. The command's own post-write validation catches this and rolls the file back, so it fails safely, but it does not currently produce a usable result. Do not rely on it until the anchor fix ships.
|
|
805
|
+
|
|
806
|
+
**Common flag:**
|
|
807
|
+
|
|
808
|
+
| Flag | Description |
|
|
809
|
+
| --------- | ---------------------------------------------------------------------------- |
|
|
810
|
+
| `--write` | Apply the change. Default (omitted) is a dry-run preview -- no files written |
|
|
811
|
+
|
|
812
|
+
`om:scaffold:ontology` has no `--write` flag; it is always print-only. Each subcommand also has its own identifying flags (`--id`, `--title`, `--system-path`, and so on) -- omit any of them to be prompted interactively. `om:scaffold:fill` is the exception: it is non-interactive and requires `--gaps <path>` pointing at a conformance-gap JSON file.
|
|
813
|
+
|
|
814
|
+
### om:rename / om:deprecate
|
|
815
|
+
|
|
816
|
+
Plan or apply an Organization Model system rename cascade, or a lifecycle transition (deprecate/archive). Neither has a `knowledge:*` alias.
|
|
817
|
+
|
|
818
|
+
```bash
|
|
819
|
+
elevasis-sdk om:rename sales.crm sales.pipeline
|
|
820
|
+
elevasis-sdk om:rename sales.crm sales.pipeline --write
|
|
821
|
+
|
|
822
|
+
elevasis-sdk om:deprecate sales.crm --to deprecated
|
|
823
|
+
elevasis-sdk om:deprecate sales.crm --to archived --force --confirm archive:sales.crm --write
|
|
824
|
+
```
|
|
825
|
+
|
|
826
|
+
**Unlike `om:scaffold:*`, both commands default to preview via a real `--dry-run` flag, not the absence of `--write`.** `--write` applies the edit, regenerates knowledge nodes when needed, and runs `om:doctor`. The two conventions on this page name their default state differently -- `om:scaffold:*` has no flag describing its default at all, while `om:rename` / `om:deprecate` spell it out with `--dry-run` -- so do not assume one family's flag shape from the other.
|
|
827
|
+
|
|
828
|
+
`om:rename` cannot re-parent a system: root-to-nested or nested-to-root moves must be done by hand.
|
|
829
|
+
|
|
830
|
+
**`om:rename <oldPath> <newPath>` flags:**
|
|
831
|
+
|
|
832
|
+
| Flag | Description |
|
|
833
|
+
| ----------- | ------------------------------------------------------------------------ |
|
|
834
|
+
| `--dry-run` | Preview only (default) |
|
|
835
|
+
| `--write` | Apply edits, regenerate knowledge nodes when needed, and run `om:doctor` |
|
|
836
|
+
| `--json` | Output JSON |
|
|
837
|
+
|
|
838
|
+
**`om:deprecate <systemPath>` flags:**
|
|
839
|
+
|
|
840
|
+
| Flag | Description |
|
|
841
|
+
| --------------------- | -------------------------------------------------------------------------- |
|
|
842
|
+
| `--to <lifecycle>` | Target lifecycle: `deprecated` or `archived`. Default: `deprecated` |
|
|
843
|
+
| `--dry-run` | Preview only (default) |
|
|
844
|
+
| `--write` | Apply the lifecycle edit and run `om:doctor` |
|
|
845
|
+
| `--force` | Allow archiving despite live dependents when paired with exact `--confirm` |
|
|
846
|
+
| `--confirm <token>` | Exact archive confirmation token: `archive:<systemPath>` |
|
|
847
|
+
| `--json` | Output JSON |
|
|
848
|
+
|
|
849
|
+
**Implementation:** `packages/sdk/src/cli/commands/om/rename.ts`, `packages/sdk/src/cli/commands/om/deprecate.ts` -- registered in `packages/sdk/src/cli/index.ts`
|
|
850
|
+
|
|
766
851
|
---
|
|
767
852
|
|
|
768
853
|
## elevasis-sdk ui:use-local / ui:use-published
|
|
@@ -840,4 +925,4 @@ A domain should meet all four criteria before gaining a `*:list` / `*:get` surfa
|
|
|
840
925
|
|
|
841
926
|
---
|
|
842
927
|
|
|
843
|
-
**Last Updated:** 2026-
|
|
928
|
+
**Last Updated:** 2026-08-12
|
package/reference/sdk/cli.mdx
CHANGED
|
@@ -39,11 +39,7 @@ elevasis-sdk check
|
|
|
39
39
|
- Relationship declarations referencing non-existent resources
|
|
40
40
|
- Exits with code 0 on success, code 1 on validation failure
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
| Flag | Description |
|
|
45
|
-
| ------------------- | ------------------------- |
|
|
46
|
-
| `--api-url <url>` | Override the API base URL |
|
|
42
|
+
`check` declares no `--api-url` flag -- it validates project source locally and never calls the API, so there is no base URL to override.
|
|
47
43
|
|
|
48
44
|
**Example output (success):**
|
|
49
45
|
|
|
@@ -88,10 +84,10 @@ elevasis-sdk deploy
|
|
|
88
84
|
|
|
89
85
|
**Flags:**
|
|
90
86
|
|
|
91
|
-
| Flag | Description
|
|
92
|
-
| ------------------- |
|
|
93
|
-
| `--api-url <url>` | Override the API base URL (default: production)
|
|
94
|
-
| `--prod` | Force production target, overriding `NODE_ENV=development`
|
|
87
|
+
| Flag | Description |
|
|
88
|
+
| ------------------- | ---------------------------------------------------------- |
|
|
89
|
+
| `--api-url <url>` | Override the API base URL (default: production) |
|
|
90
|
+
| `--prod` | Force production target, overriding `NODE_ENV=development` |
|
|
95
91
|
|
|
96
92
|
**Environment variables:**
|
|
97
93
|
|
|
@@ -320,6 +316,84 @@ elevasis-sdk execution onboard-client exec_abc001
|
|
|
320
316
|
|
|
321
317
|
---
|
|
322
318
|
|
|
319
|
+
## elevasis-sdk execution:cancel
|
|
320
|
+
|
|
321
|
+
Cancel a running execution.
|
|
322
|
+
|
|
323
|
+
**Synopsis:**
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
elevasis-sdk execution:cancel <resourceId> <executionId>
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
**Behavior:**
|
|
330
|
+
|
|
331
|
+
- Calls `POST /api/external/executions/:resourceId/:executionId/cancel`
|
|
332
|
+
- The result reports which method was used: an in-memory signal if the execution's worker process is still reachable, or a database fallback if not
|
|
333
|
+
- A 409 response means the execution is not in a running state -- it already finished. That is a normal race, not a command failure
|
|
334
|
+
|
|
335
|
+
**Flags:**
|
|
336
|
+
|
|
337
|
+
| Flag | Description |
|
|
338
|
+
| ------------------- | ---------------------------------------------------- |
|
|
339
|
+
| `--prod` | Target production (overrides `NODE_ENV=development`) |
|
|
340
|
+
| `--api-url <url>` | Override the API base URL |
|
|
341
|
+
| `--json` | Output raw JSON response |
|
|
342
|
+
|
|
343
|
+
**Example:**
|
|
344
|
+
|
|
345
|
+
```bash
|
|
346
|
+
elevasis-sdk execution:cancel my-workflow 9c47c944-67eb-4c84-98cb-bb951d05ede3
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
```
|
|
350
|
+
Execution cancelled
|
|
351
|
+
Resource: my-workflow
|
|
352
|
+
Execution ID: 9c47c944-67eb-4c84-98cb-bb951d05ede3
|
|
353
|
+
Method: in-memory signal
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
**Implementation:** `packages/sdk/src/cli/commands/execution-cancel.ts`, registered in `packages/sdk/src/cli/index.ts`
|
|
357
|
+
|
|
358
|
+
---
|
|
359
|
+
|
|
360
|
+
## elevasis-sdk executions:delete
|
|
361
|
+
|
|
362
|
+
Delete a resource's execution history (destructive).
|
|
363
|
+
|
|
364
|
+
**Synopsis:**
|
|
365
|
+
|
|
366
|
+
```
|
|
367
|
+
elevasis-sdk executions:delete <resourceId> [--force]
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
**Behavior:**
|
|
371
|
+
|
|
372
|
+
- Calls `DELETE /api/external/executions/:resourceId`
|
|
373
|
+
- Requires a typed `DELETE` confirmation at an interactive prompt unless `--force` is passed
|
|
374
|
+
- `--resource-status <status>` (`dev` or `prod`) scopes the delete to runs from one deployment lane only
|
|
375
|
+
- `--json` without `--force` is a hard error -- it throws `executions:delete requires --force when --json is set`, because a JSON caller is assumed non-interactive and there is nothing to answer the confirmation prompt
|
|
376
|
+
|
|
377
|
+
**Flags:**
|
|
378
|
+
|
|
379
|
+
| Flag | Description |
|
|
380
|
+
| ------------------------------ | ------------------------------------------------------------ |
|
|
381
|
+
| `--prod` | Target production (overrides `NODE_ENV=development`) |
|
|
382
|
+
| `--api-url <url>` | Override the API base URL |
|
|
383
|
+
| `--resource-status <status>` | Only delete runs from this deployment lane (`dev` | `prod`) |
|
|
384
|
+
| `--force` | Skip the typed confirmation prompt |
|
|
385
|
+
| `--json` | Output raw JSON response |
|
|
386
|
+
|
|
387
|
+
**Example:**
|
|
388
|
+
|
|
389
|
+
```bash
|
|
390
|
+
elevasis-sdk executions:delete my-workflow --force
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
**Implementation:** `packages/sdk/src/cli/commands/executions-delete.ts`, registered in `packages/sdk/src/cli/index.ts`
|
|
394
|
+
|
|
395
|
+
---
|
|
396
|
+
|
|
323
397
|
## elevasis-sdk deployments
|
|
324
398
|
|
|
325
399
|
List all deployments for your organization.
|
|
@@ -541,7 +615,8 @@ elevasis-sdk cli [domain] [--format markdown|json]
|
|
|
541
615
|
| --------------------- | ----------------------------------------------------------- |
|
|
542
616
|
| `--domain <domain>` | Filter output to one domain (alternative to positional arg) |
|
|
543
617
|
| `--format <format>` | Output format: `markdown` (default) or `json` |
|
|
544
|
-
|
|
618
|
+
|
|
619
|
+
`cli` declares no `--api-url` flag -- it walks the locally registered Commander command graph and never calls the API.
|
|
545
620
|
|
|
546
621
|
**Examples:**
|
|
547
622
|
|
|
@@ -579,7 +654,7 @@ Check that your Elevasis project is correctly configured.
|
|
|
579
654
|
**Synopsis:**
|
|
580
655
|
|
|
581
656
|
```
|
|
582
|
-
elevasis-sdk doctor [--verbose]
|
|
657
|
+
elevasis-sdk doctor [--verbose] [--prod]
|
|
583
658
|
```
|
|
584
659
|
|
|
585
660
|
**Behavior:**
|
|
@@ -596,6 +671,7 @@ Runs four sequential checks and reports `[OK]` / `[FAIL]` / `[WARN]` for each. E
|
|
|
596
671
|
| Flag | Description |
|
|
597
672
|
| ----------- | ------------------------------------------------------------------- |
|
|
598
673
|
| `--verbose` | Print full paths, response bodies, and error details for each check |
|
|
674
|
+
| `--prod` | Report against production (overrides `NODE_ENV=development`) |
|
|
599
675
|
|
|
600
676
|
**Example output (all passing):**
|
|
601
677
|
|
|
@@ -623,14 +699,15 @@ These flags are accepted by all commands:
|
|
|
623
699
|
| ------------------- | --------------------------------------------------------------------------------------------------- |
|
|
624
700
|
| `--api-url <url>` | Override the API base URL. Priority: flag > `ELEVASIS_API_URL` env var > `NODE_ENV`-based default |
|
|
625
701
|
| `--json` | Output raw JSON (available on most commands) |
|
|
702
|
+
| `--prod` | Target production, overriding `NODE_ENV=development` |
|
|
626
703
|
|
|
627
704
|
**API base URL resolution:**
|
|
628
705
|
|
|
629
706
|
- Production (default): `https://api.elevasis.io`
|
|
630
707
|
- Development (`NODE_ENV=development`): `http://localhost:<port>`
|
|
631
708
|
- Override: set `ELEVASIS_API_URL` or pass `--api-url`
|
|
632
|
-
- Force production: pass `--prod` on
|
|
709
|
+
- Force production: pass `--prod` after the command name on any authenticated command (overrides `NODE_ENV=development`). Live as of `@elevasis/sdk` 1.45.0; `--api-url https://api.elevasis.io` is the equivalent form on older installs.
|
|
633
710
|
|
|
634
711
|
---
|
|
635
712
|
|
|
636
|
-
**Last Updated:** 2026-
|
|
713
|
+
**Last Updated:** 2026-08-12
|
|
@@ -67,6 +67,12 @@ There is no `/meta`, `/docs`, or `/work` skill. The template's own boundary guid
|
|
|
67
67
|
|
|
68
68
|
**`/git-sync`** -- Pulls the latest template changes, checks the installed `@elevasis/sdk` version against the declared range, reinstalls if the dependency baseline changed, and runs baseline verification (`ui check-types`, `ui build`, `operations check`, `operations check-types`). It stops after verifying -- it never auto-reconciles template drift or overwrites project-owned files. Release guidance is not delivered here; it ships inside the `@elevasis/sdk` reference bundle, which is always current for your installed version.
|
|
69
69
|
|
|
70
|
+
On a green verification it also **bumps your app version**. The literal lives in `ui/src/config/app-version.ts` (exported as `APP_VERSION`, consumed by `ui/src/config/app-config.ts` and rendered in the topbar), and the agent picks the segment by judging the whole run: **minor** for new capability or a changed `@elevasis/*` dependency baseline, **patch** for everything else. **Major is never automatic** -- if a run genuinely looks major the report says so and leaves the version alone.
|
|
71
|
+
|
|
72
|
+
The gate is **outgoing commits**, checked with `git rev-list --count @{u}..HEAD` before the bump commit is written. Nothing deploys off a run with nothing to push, so a pull-only run reports `Version: unchanged (nothing to push)` while a run with local commits and an empty pull does bump. The bump lands as its own `chore(ui): bump app version to x.y.z` commit and is not pushed. It is skipped when there is no upstream, when the pull or verification failed, when the project has no `ui/src/config/app-version.ts`, and inside the template itself.
|
|
73
|
+
|
|
74
|
+
`app-version.ts` is a separate file from `app-config.ts` deliberately. It is registered `never-touch` / `verify-only`, so the sync engine protects your value; folding it back into `app-config.ts` -- a critical manual-merge surface -- would flag every project as behind the template on every sync for a difference that is working as intended.
|
|
75
|
+
|
|
70
76
|
**`/tutorial`** -- Persona-aware onboarding; see [Tutorial System](tutorial-system.mdx) for the full lesson breakdown.
|
|
71
77
|
|
|
72
78
|
## The Ambient Vibe Layer
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "Platform Adapters"
|
|
3
|
-
description: "Auto-generated table of all
|
|
3
|
+
description: "Auto-generated table of all 14 platform (singleton, no credential) adapters exported from @elevasis/sdk/worker, derived from static analysis of the adapter source files."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
{/* @generated by .claude/_gen/sync-sdk-adapters.ts — DO NOT EDIT */}
|
|
@@ -22,3 +22,5 @@ Platform adapters are singletons — import them directly, no credential require
|
|
|
22
22
|
| Approval | `approval` | `create`, `deleteByMetadata` | Approval — create and manage HITL (human-in-the-loop) tasks. |
|
|
23
23
|
| Execution | `execution` | `trigger`, `triggerAsync` | Execution — trigger other workflows or agents within the same organization. |
|
|
24
24
|
| Email | `email` | `send` | Email — send platform emails (from notifications@elevasis.io) to organization members. |
|
|
25
|
+
| Artifacts | `artifacts` | `listArtifacts`, `createArtifact`, `getActive` | Artifacts — org-scoped governing-document store for rules documents, idea banks, and ICP docs. |
|
|
26
|
+
| Content | `content` | `createItem`, `getItem`, `listItems`, `updateItem`, `createAttempt`, `listAttempts`, `createDistribution`, `updateDistribution` | Content — create and query content_items/content_item_attempts/content_distributions rows for the content pipeline. |
|
package/reference/ui/exports.mdx
CHANGED
|
@@ -20,6 +20,7 @@ description: "Auto-generated catalog of all published @elevasis/ui subpath expor
|
|
|
20
20
|
| `@elevasis/ui/organization` | Organization | Foundation | Published organization shell, store, and helper surface. |
|
|
21
21
|
| `@elevasis/ui/features/auth` | Features Auth | Features | Published auth feature surface for downstream shells. |
|
|
22
22
|
| `@elevasis/ui/features/clients` | Features Clients | Features | Published clients feature surface for downstream shells. |
|
|
23
|
+
| `@elevasis/ui/features/content` | Features Content | Features | Published, data-free content review card surface (ContentReviewCard and its sub-components) for downstream shells. |
|
|
23
24
|
| `@elevasis/ui/features/crm` | Features CRM | Features | Published CRM feature surface for downstream shells. |
|
|
24
25
|
| `@elevasis/ui/features/dashboard` | Features Dashboard | Features | Published dashboard feature surface for downstream shells. |
|
|
25
26
|
| `@elevasis/ui/features/delivery` | Features Delivery | Features | Published delivery feature surface for downstream shells. |
|