@elevasis/sdk 1.25.0 → 1.26.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.
Files changed (60) hide show
  1. package/dist/cli.cjs +18 -116
  2. package/dist/index.d.ts +165 -48
  3. package/dist/index.js +4 -435
  4. package/dist/node/index.d.ts +36 -36
  5. package/dist/test-utils/index.d.ts +99 -38
  6. package/dist/test-utils/index.js +27 -355
  7. package/dist/types/worker/adapters/clickup.d.ts +22 -0
  8. package/dist/types/worker/adapters/index.d.ts +1 -0
  9. package/dist/worker/index.js +32 -354
  10. package/package.json +2 -2
  11. package/reference/_navigation.md +11 -1
  12. package/reference/_reference-manifest.json +70 -0
  13. package/reference/claude-config/rules/organization-model.md +12 -1
  14. package/reference/claude-config/rules/organization-os.md +12 -1
  15. package/reference/claude-config/skills/om/SKILL.md +13 -5
  16. package/reference/claude-config/skills/om/operations/codify-level-a.md +109 -100
  17. package/reference/claude-config/skills/om/operations/customers.md +10 -6
  18. package/reference/claude-config/skills/om/operations/features.md +7 -3
  19. package/reference/claude-config/skills/om/operations/goals.md +10 -6
  20. package/reference/claude-config/skills/om/operations/identity.md +8 -5
  21. package/reference/claude-config/skills/om/operations/labels.md +17 -1
  22. package/reference/claude-config/skills/om/operations/offerings.md +11 -7
  23. package/reference/claude-config/skills/om/operations/roles.md +11 -7
  24. package/reference/claude-config/skills/om/operations/techStack.md +10 -2
  25. package/reference/claude-config/sync-notes/2026-05-20-om-define-helpers.md +32 -0
  26. package/reference/claude-config/sync-notes/2026-05-22-access-model-and-right-panel.md +43 -0
  27. package/reference/claude-config/sync-notes/2026-05-22-lead-gen-tenant-config.md +40 -0
  28. package/reference/claude-config/sync-notes/2026-05-22-org-model-multi-file-split.md +61 -0
  29. package/reference/cli-management.mdx +539 -0
  30. package/reference/cli.mdx +4 -532
  31. package/reference/concepts.mdx +134 -146
  32. package/reference/deployment/api.mdx +296 -297
  33. package/reference/deployment/command-center.mdx +208 -209
  34. package/reference/deployment/index.mdx +194 -195
  35. package/reference/deployment/provided-features.mdx +110 -107
  36. package/reference/deployment/ui-execution.mdx +249 -250
  37. package/reference/framework/index.mdx +111 -195
  38. package/reference/framework/resource-documentation.mdx +90 -0
  39. package/reference/framework/tutorial-system.mdx +135 -135
  40. package/reference/getting-started.mdx +141 -142
  41. package/reference/index.mdx +95 -106
  42. package/reference/packages/ui/src/auth/README.md +6 -6
  43. package/reference/platform-tools/adapters-integration.mdx +300 -301
  44. package/reference/platform-tools/adapters-platform.mdx +552 -553
  45. package/reference/platform-tools/index.mdx +216 -217
  46. package/reference/platform-tools/type-safety.mdx +82 -82
  47. package/reference/resources/index.mdx +348 -349
  48. package/reference/resources/patterns.mdx +446 -449
  49. package/reference/resources/types.mdx +115 -116
  50. package/reference/roadmap.mdx +164 -165
  51. package/reference/rules/organization-model.md +14 -0
  52. package/reference/runtime.mdx +172 -173
  53. package/reference/scaffold/operations/propagation-pipeline.md +1 -1
  54. package/reference/scaffold/recipes/extend-lead-gen.md +130 -77
  55. package/reference/scaffold/reference/contracts.md +376 -446
  56. package/reference/scaffold/reference/glossary.md +8 -6
  57. package/reference/scaffold/ui/feature-flags-and-gating.md +59 -46
  58. package/reference/scaffold/ui/feature-shell.mdx +11 -11
  59. package/reference/scaffold/ui/recipes.md +24 -24
  60. package/reference/troubleshooting.mdx +222 -223
package/reference/cli.mdx CHANGED
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  title: CLI Reference
3
- description: Full reference for every elevasis-sdk CLI command -- validate, deploy, execute, inspect resources, and manage Projects, Notes, Acquisition, Clients, Agents, Sessions, Queues, and Schedules through the canonical SDK CLI surface
4
- loadWhen: "Running CLI operations"
3
+ description: Core elevasis-sdk CLI commands -- validate, deploy, execute, inspect resources, manage credentials, rename, and enumerate the command catalog
5
4
  ---
6
5
 
7
6
  The `elevasis-sdk` CLI is the primary interface for working with your Elevasis SDK project. Install it as part of `@elevasis/sdk` and use it to validate resource definitions, deploy to the platform, inspect execution history, and manage Projects through `project:*`.
@@ -14,6 +13,8 @@ pnpm add @elevasis/sdk
14
13
 
15
14
  After installation, the `elevasis-sdk` binary is available in your project's `node_modules/.bin/`. Most commands require `ELEVASIS_PLATFORM_KEY` to be set in your environment or a `.env` file.
16
15
 
16
+ For management commands (project:\*, note:\*, acquisition:\*, client:\*, agent:\*, session:\*, queue:\*, schedule:\*, om:\*, ui:\*), see [CLI Management](cli-management.mdx).
17
+
17
18
  ---
18
19
 
19
20
  ## elevasis-sdk check
@@ -503,296 +504,6 @@ elevasis-sdk rename ist-upload-workflow --to ist-upload-contacts-workflow --exec
503
504
 
504
505
  ---
505
506
 
506
- ## elevasis-sdk project:\*
507
-
508
- `elevasis-sdk project:*` is the canonical project-management surface. Use it for project, milestone, task, and note operations whether the caller is a human, a scripted workflow, or a slash-command router like `/project`.
509
-
510
- This CLI family is SDK-first, but it is not semantically standalone. It operates on the same Organization OS contract that the shared delivery UI uses:
511
-
512
- - UI manifest key: `delivery`
513
- - Organization model feature ID: `projects`
514
- - Default surface: `projects.index`
515
- - Semantic domain fields: `organizationModel.delivery`
516
- - Core entity/capability IDs: `delivery.project`, `delivery.milestone`, `delivery.task`, `delivery.projects.view`
517
-
518
- ### Projects
519
-
520
- ```bash
521
- elevasis-sdk project:list
522
- elevasis-sdk project:get <id>
523
- elevasis-sdk project:create --name "Website Refresh" --kind client_engagement
524
- elevasis-sdk project:update <id> --status completed
525
- elevasis-sdk project:delete <id>
526
- ```
527
-
528
- **Behavior:**
529
-
530
- - `project:list` filters by `--kind` and `--status`
531
- - `project:get` returns a single project
532
- - `project:create` and `project:update` operate on `/api/external/projects`
533
-
534
- ### Milestones
535
-
536
- ```bash
537
- elevasis-sdk project:milestone:list --project <id>
538
- elevasis-sdk project:milestone:create --project <id> --name "Phase 1"
539
- elevasis-sdk project:milestone:update <id> --status completed
540
- elevasis-sdk project:milestone:update <id> --description "Updated scope description"
541
- elevasis-sdk project:milestone:delete <id>
542
- ```
543
-
544
- `project:milestone:update` accepts `--description` to set or clear the milestone description. Passing an empty string clears the field, matching `project:task:update --description` semantics.
545
-
546
- ### Tasks
547
-
548
- ```bash
549
- elevasis-sdk project:task:list --project <id>
550
- elevasis-sdk project:task:get <id>
551
- elevasis-sdk project:task:create --project <id> --title "Implement API"
552
- elevasis-sdk project:task:update <id> --status in_progress
553
- elevasis-sdk project:task:delete <id>
554
- ```
555
-
556
- Task commands also expose agent-oriented resume state:
557
-
558
- ```bash
559
- elevasis-sdk project:task:resume <id> --pretty
560
- elevasis-sdk project:task:save <id> --current-state "Implemented the route layer"
561
- ```
562
-
563
- - `project:task:resume` reads the task's `resume_context`
564
- - `project:task:save` merges fields into `resume_context`
565
- - these commands are the CLI counterpart to `/work resume` and `/work save` style flows
566
-
567
- ### Notes
568
-
569
- ```bash
570
- elevasis-sdk project:note:list --project <id>
571
- elevasis-sdk project:note:create --project <id> --content "Client approved scope"
572
- elevasis-sdk project:note:create --project <id> --type agent_learning --content "Learned X"
573
- elevasis-sdk project:note:update <id> --content "Updated status"
574
- elevasis-sdk project:note:delete <id>
575
- ```
576
-
577
- The `--type` flag accepts: `call_note`, `status_update`, `issue`, `blocker`, `agent_learning`. The `agent_learning` type is the canonical way for agents to record durable skill observations. Accepted values are derived from `NoteTypeSchema` in `packages/core/src/projects/api-schemas.ts` -- that schema is the source of truth; the CLI help text is generated from it to prevent drift.
578
-
579
- ### Requests
580
-
581
- ```bash
582
- elevasis-sdk request:submit --input-file ./tmp/request-report.json
583
- elevasis-sdk request:submit --input '{"type":"bug","category":"sdk","severity":"high","title":"..."}'
584
- ```
585
-
586
- Submits a structured request report to `POST /api/external/requests`. The payload is validated against `CreateRequestInputSchema` before the network call.
587
-
588
- **Payload enum values** (inline in `--help` output; sourced from `packages/core/src/requests/api-schemas.ts`):
589
-
590
- | Field | Accepted values |
591
- | ---------- | ------------------------------------------------------------------------------------- |
592
- | `type` | Values from `RequestTypeEnum` -- see `request:submit --help` for the current list |
593
- | `category` | Values from `RequestCategoryEnum` -- see `request:submit --help` for the current list |
594
- | `severity` | Values from `RequestSeverityEnum` -- see `request:submit --help` for the current list |
595
-
596
- **Flags:**
597
-
598
- | Flag | Description |
599
- | --------------------------- | ----------------------------------------------------------------------------- |
600
- | `-i, --input <json>` | Request body as JSON string |
601
- | `-f, --input-file <path>` | Read body from a JSON file; relative paths resolve against the project root |
602
- | `--pretty` | Human-readable output instead of raw JSON |
603
- | `--cleanup-input` | Delete the input file after success (only files under `<projectRoot>/tmp/`) |
604
- | `--api-url <url>` | Override the API base URL |
605
-
606
- **Read commands** (added once `request` cleared the 4-point promotion bar):
607
-
608
- ```bash
609
- elevasis-sdk request:list --status open --severity critical
610
- elevasis-sdk request:get <id>
611
- ```
612
-
613
- `request:list` calls `GET /api/external/requests` and `request:get` calls `GET /api/external/requests/:id`. Both default to raw JSON; pass `--pretty` for human-readable output (mirrors `request:submit`). Organization scope is derived from the API key, so `request:get` returns 404 for an id belonging to another tenant -- a cross-tenant id is indistinguishable from a missing one (no existence oracle).
614
-
615
- | Flag | Description |
616
- | --------------------- | ----------------------------------------------- |
617
- | `--status <status>` | Filter list by status (`RequestStatusEnum`) |
618
- | `--severity <sev>` | Filter list by severity (`RequestSeverityEnum`) |
619
- | `--project-id <id>` | Filter list by project id |
620
- | `--limit <n>` | Max rows (1-200, default 50) |
621
- | `--pretty` | Human-readable output instead of raw JSON |
622
- | `--api-url <url>` | Override the API base URL |
623
-
624
- ---
625
-
626
- ### Shared Flags
627
-
628
- Most `project:*` commands support:
629
-
630
- | Flag | Description |
631
- | ----------------- | -------------------------------------------------- |
632
- | `--pretty` | Human-readable terminal output instead of raw JSON |
633
- | `--api-url <url>` | Override the API base URL |
634
-
635
- For exact required flags and accepted enum values, see the command source under `packages/sdk/src/cli/commands/project/`.
636
-
637
- ### Command Boundary
638
-
639
- - `/project` is a convenience router to these `elevasis-sdk project:*` commands. It is not a separate project system.
640
- - `/work` is for docs-backed in-progress task tracking and session resume, not project CRUD.
641
- - `/external` is for managing standalone apps in `external/`, not project records inside a deployed system.
642
- - `/adev` is for implementation, debugging, testing, and platform execution flows. Use it when you need to build or run agent/workflow code rather than update project data.
643
-
644
- ---
645
-
646
- ## elevasis-sdk note:\*
647
-
648
- `elevasis-sdk note:*` is the agent-facing surface for pushing and reading personal user notes. Workflows and agents use it to surface information -- such as "deal X stalled" or "review run completed" -- directly into a user's Notes panel in the Command Center, without sending an email or notification.
649
-
650
- Notes are personal to the target user and scoped to the calling organization. The external API surface exposes `GET + POST` only; `note:update` and `note:delete` are not yet available via SDK CLI. Users edit and delete notes through the right-panel view in the Command Center.
651
-
652
- ### note:create
653
-
654
- Create a personal note for a user.
655
-
656
- **Synopsis:**
657
-
658
- ```
659
- elevasis-sdk note:create --content <text>
660
- [--user <email>]
661
- [--title <text>]
662
- [--priority low|normal|high|urgent]
663
- [--pinned]
664
- [--source <id>]
665
- [--api-url <url>] [--pretty]
666
- ```
667
-
668
- **Flags:**
669
-
670
- | Flag | Description |
671
- | ------------------------- | ----------------------------------------------------------------------------------------- |
672
- | `--content <text>` | Required. The note body text |
673
- | `--user <email>` | Target user email. Defaults to the API key owner when omitted |
674
- | `--title <text>` | Optional note title |
675
- | `--priority <priority>` | Priority level: `low`, `normal` (default), `high`, or `urgent` |
676
- | `--pinned` | Pin the note to the top of the panel |
677
- | `--source <id>` | Source identifier -- set this to the workflow or agent ID when calling from agent runtime |
678
- | `--api-url <url>` | Override the API base URL |
679
- | `--pretty` | Human-readable terminal output instead of raw JSON |
680
-
681
- **Behavior:**
682
-
683
- - Posts to `POST /api/external/user-notes`
684
- - When `--user` is omitted the note is created for the identity bound to the API key (the caller)
685
- - When `--user` is provided the platform resolves the email to a Supabase user UUID and verifies the resolved user is an active member of the calling organization before writing
686
- - The `--source` flag is recorded as the `source` column in `user_notes`; agent runtimes should pass their resource ID here so users can see which workflow created the note
687
- - Priority `normal` produces no badge in the UI; `high` renders orange, `urgent` renders red, `low` renders dimmed gray
688
-
689
- **Examples:**
690
-
691
- ```bash
692
- # Create a note for the API key owner
693
- elevasis-sdk note:create --content "Deal X has stalled -- follow up needed"
694
-
695
- # Create a high-priority pinned note for a specific user
696
- elevasis-sdk note:create \
697
- --content "Review run completed for batch_abc123" \
698
- --user ops@acme.com \
699
- --priority high \
700
- --pinned \
701
- --source "report-review-workflow" \
702
- --pretty
703
- ```
704
-
705
- ```
706
- Note created
707
- ID: note_550e8400-...
708
- Priority: high
709
- ```
710
-
711
- ---
712
-
713
- ### note:list
714
-
715
- List notes for a user.
716
-
717
- **Synopsis:**
718
-
719
- ```
720
- elevasis-sdk note:list --user <email>
721
- [--priority <p>] [--pinned]
722
- [--limit <n>] [--offset <n>]
723
- [--api-url <url>] [--pretty]
724
- ```
725
-
726
- **Flags:**
727
-
728
- | Flag | Description |
729
- | ------------------------- | -------------------------------------------------------- |
730
- | `--user <email>` | Required. The user whose notes to retrieve |
731
- | `--priority <priority>` | Filter by priority: `low`, `normal`, `high`, or `urgent` |
732
- | `--pinned` | Return only pinned notes |
733
- | `--limit <n>` | Maximum number of results to return |
734
- | `--offset <n>` | Pagination offset |
735
- | `--api-url <url>` | Override the API base URL |
736
- | `--pretty` | Human-readable terminal output instead of raw JSON |
737
-
738
- **Behavior:**
739
-
740
- - Queries `GET /api/external/user-notes?user_email=<email>`
741
- - `--user` is required -- the external GET endpoint requires an explicit user target
742
- - Results are sorted by the platform: pinned first, then by priority (`urgent` > `high` > `normal` > `low`), then by most recently updated
743
- - Organization scope is derived from the API key -- only notes belonging to users in the calling organization are returned
744
-
745
- **Examples:**
746
-
747
- ```bash
748
- # List all notes for a user
749
- elevasis-sdk note:list --user ops@acme.com
750
-
751
- # List only high-priority pinned notes, human-readable
752
- elevasis-sdk note:list --user ops@acme.com --priority high --pinned --pretty
753
- ```
754
-
755
- ```
756
- Notes (2):
757
-
758
- (no title) [pinned] [high]
759
- ID: note_abc001
760
- Review run completed for batch_abc123
761
-
762
- Deal X stalled [pinned] [high]
763
- ID: note_abc002
764
- Deal X has stalled -- follow up needed
765
- ```
766
-
767
- ---
768
-
769
- ### Shared Flags
770
-
771
- | Flag | Description |
772
- | ------------------- | -------------------------------------------------- |
773
- | `--pretty` | Human-readable terminal output instead of raw JSON |
774
- | `--api-url <url>` | Override the API base URL |
775
-
776
- ### Command Boundary
777
-
778
- - `note:create` and `note:list` operate on the **personal notes** surface -- not project notes. For project-scoped notes use `project:note:*`.
779
- - `note:update` and `note:delete` are not yet available via SDK CLI. Edit and delete notes using the Notes panel in the Command Center.
780
- - The Notes panel view (`NotesPanelView`) is registered in the right-panel registry alongside Overview, Recent Executions, and Notifications.
781
-
782
- **Implementation:** `packages/sdk/src/cli/commands/notes.ts` -- delegates to `POST /api/external/user-notes` and `GET /api/external/user-notes`
783
-
784
- ### Notes Design Contract
785
-
786
- The following invariants govern the Notes feature and are relevant when building agents or workflows that write notes:
787
-
788
- - **Scope:** Notes are user-scoped and organization-scoped by default. A user can optionally make a note global, but the default scope is the current org.
789
- - **Sort order:** Pinned first, then by priority (`urgent` > `high` > `normal` > `low`), then by most recently updated.
790
- - **Broadcast:** Out of scope. Agents create notes for one resolved user at a time. Broadcast is a notifications concern, not a notes concern.
791
- - **Retention:** Notes persist until the user explicitly deletes them. There is no TTL and no dismissed state.
792
- - **Agent creation:** One-to-one only. Pass `--source` with the agent or workflow resource ID so users can trace which resource created the note.
793
-
794
- ---
795
-
796
507
  ## elevasis-sdk cli
797
508
 
798
509
  Enumerate the full command catalog registered in the CLI at runtime.
@@ -847,211 +558,6 @@ pnpm -C external/<project>/operations exec elevasis-sdk cli
847
558
 
848
559
  ---
849
560
 
850
- ## elevasis-sdk acquisition:\*
851
-
852
- Read-only access to acquisition lists and CRM deals. The acquisition CLI scope is intentionally read-only; mutating commands are deferred.
853
-
854
- ### acquisition:list:\*
855
-
856
- ```bash
857
- elevasis-sdk acquisition:list:list
858
- elevasis-sdk acquisition:list:get <id>
859
- elevasis-sdk acquisition:list:status
860
- ```
861
-
862
- - `acquisition:list:list` -- list all acquisition lists for the organization
863
- - `acquisition:list:get <id>` -- get full detail for a single acquisition list by UUID
864
- - `acquisition:list:status` -- summarize counts and progress across all lists
865
-
866
- ### acquisition:deal:\*
867
-
868
- ```bash
869
- elevasis-sdk acquisition:deal:list
870
- elevasis-sdk acquisition:deal:get <id>
871
- elevasis-sdk acquisition:deal:status
872
- ```
873
-
874
- - `acquisition:deal:list` -- list all CRM deals visible to the organization
875
- - `acquisition:deal:get <id>` -- get a single deal record
876
- - `acquisition:deal:status` -- summarize deal pipeline counts
877
-
878
- **API routes:**
879
-
880
- - Acquisition lists: `GET /api/external/acquisition/lists`, `/api/external/acquisition/lists/:listId`, `/api/external/acquisition/lists/status`
881
- - Deals: `GET /api/external/deals`, `/api/external/deals/:dealId`, `/api/external/deals/summary`
882
-
883
- JWT-gated routes at the original unprefixed paths remain for the Command Center. All SDK CLI calls use `/api/external/*` gated by `requireApiKey`.
884
-
885
- **Note:** List-inspection routing lives in `/om` (Acquisition Operations dispatch). The `/acquisition` skill was folded into `/om`; all list reads still route to `elevasis-sdk acquisition:list:get <uuid>`.
886
-
887
- **Flags (all acquisition commands):**
888
-
889
- | Flag | Description |
890
- | ------------------- | -------------------------------------------------- |
891
- | `--pretty` | Human-readable terminal output instead of raw JSON |
892
- | `--api-url <url>` | Override the API base URL |
893
-
894
- **Implementation:** `packages/sdk/src/cli/commands/acquisition/`
895
-
896
- ---
897
-
898
- ## elevasis-sdk client:\*
899
-
900
- Full CRUD management for client records. The `client:*` family covers create, read, update, and delete operations at `/api/external/clients`.
901
-
902
- For complete field definitions, filter options, and relationship semantics, see the [Clients feature documentation](/technical/features/clients).
903
-
904
- **Quick reference:**
905
-
906
- ```bash
907
- elevasis-sdk client:list
908
- elevasis-sdk client:get <id>
909
- elevasis-sdk client:create --name "Acme Corp"
910
- elevasis-sdk client:update <id> --name "Acme Corp Updated"
911
- elevasis-sdk client:delete <id>
912
- ```
913
-
914
- **Flags:**
915
-
916
- | Flag | Description |
917
- | ------------------- | -------------------------------------------------- |
918
- | `--pretty` | Human-readable terminal output instead of raw JSON |
919
- | `--api-url <url>` | Override the API base URL |
920
-
921
- **Implementation:** `packages/sdk/src/cli/commands/` (client family)
922
-
923
- ---
924
-
925
- ## elevasis-sdk agent:\*
926
-
927
- Read-only inspection of deployed agents.
928
-
929
- ```bash
930
- elevasis-sdk agent:list
931
- elevasis-sdk agent:get <id>
932
- ```
933
-
934
- - `agent:list` -- list all agents registered for the organization
935
- - `agent:get <id>` -- get metadata and schema for a specific agent
936
-
937
- **API routes:** `GET /api/external/agents`, `/api/external/agents/:id`
938
-
939
- **Flags:**
940
-
941
- | Flag | Description |
942
- | ------------------- | -------------------------------------------------- |
943
- | `--pretty` | Human-readable terminal output instead of raw JSON |
944
- | `--api-url <url>` | Override the API base URL |
945
-
946
- **Implementation:** `packages/sdk/src/cli/commands/` (agent family)
947
-
948
- ---
949
-
950
- ## elevasis-sdk session:\*
951
-
952
- Inspect and manage agent sessions.
953
-
954
- ```bash
955
- elevasis-sdk session:list
956
- elevasis-sdk session:get <id>
957
- elevasis-sdk session:end <id>
958
- ```
959
-
960
- - `session:list` -- list sessions for the organization; supports filtering by resource, status, and time range
961
- - `session:get <id>` -- get full session detail including messages and events
962
- - `session:end <id>` -- gracefully end an active session
963
-
964
- **API routes:** `GET /api/external/sessions`, `/api/external/sessions/:id`, `POST /api/external/sessions/:id/end`
965
-
966
- **Flags:**
967
-
968
- | Flag | Description |
969
- | ------------------- | -------------------------------------------------- |
970
- | `--pretty` | Human-readable terminal output instead of raw JSON |
971
- | `--api-url <url>` | Override the API base URL |
972
-
973
- **Implementation:** `packages/sdk/src/cli/commands/` (session family)
974
-
975
- ---
976
-
977
- ## elevasis-sdk queue:\*
978
-
979
- Manage HITL command queue tasks. See the [Command Queue CLI Guide](/technical/development/agent-driven-development/command-cli-guide) for the full command reference.
980
-
981
- **Quick reference:**
982
-
983
- ```bash
984
- elevasis-sdk queue:list --status pending --pretty
985
- elevasis-sdk queue:get <id> --pretty
986
- elevasis-sdk queue:select <id> --action-id <action-id> --pretty
987
- elevasis-sdk queue:expire <id> --pretty
988
- elevasis-sdk queue:status --pretty
989
- ```
990
-
991
- **Auth:** Calls `/api/external/command-queue/*` with API-key auth.
992
-
993
- ---
994
-
995
- ## elevasis-sdk schedule:\*
996
-
997
- Manage recurring, relative, and absolute task schedules. See the [Schedule CLI Guide](/technical/development/agent-driven-development/schedule-cli-guide) for the full command reference including schedule config JSON shapes.
998
-
999
- **Quick reference:**
1000
-
1001
- ```bash
1002
- elevasis-sdk schedule:list --status active --pretty
1003
- elevasis-sdk schedule:get <id> --pretty
1004
- elevasis-sdk schedule:create --name <name> --target-resource-type workflow --target-resource-id <id> --schedule-config '{...}' --pretty
1005
- elevasis-sdk schedule:update <id> --name "Updated name" --pretty
1006
- elevasis-sdk schedule:pause <id> --pretty
1007
- elevasis-sdk schedule:resume <id> --pretty
1008
- elevasis-sdk schedule:cancel <id> --pretty
1009
- ```
1010
-
1011
- **Auth:** Calls `/api/external/task-scheduler/schedules*` with API-key auth.
1012
-
1013
- ---
1014
-
1015
- ## elevasis-sdk om:\*
1016
-
1017
- Knowledge map inspection. The `om:*` (Organization Model) commands expose knowledge graph traversal via the CLI.
1018
-
1019
- For the full command reference, flag details, and graph architecture, see the [knowledge:\* CLI documentation](/technical/features/knowledge/knowledge-cli).
1020
-
1021
- **Quick reference:**
1022
-
1023
- ```bash
1024
- elevasis-sdk knowledge:ls /by-system/sales.crm
1025
- elevasis-sdk knowledge:cat <node-id>
1026
- elevasis-sdk knowledge:graph
1027
- ```
1028
-
1029
- 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`.
1030
-
1031
- ---
1032
-
1033
- ## elevasis-sdk ui:use-local / ui:use-published
1034
-
1035
- Switch the `@elevasis/ui` dependency in an external project between a local tarball build and the published npm package.
1036
-
1037
- **Synopsis:**
1038
-
1039
- ```bash
1040
- elevasis-sdk ui:use-local
1041
- elevasis-sdk ui:use-published
1042
- ```
1043
-
1044
- **Behavior:**
1045
-
1046
- - `ui:use-local` -- builds a tarball from the local `packages/ui/` source and rewrites the project's `package.json` to point at the tarball path. Use this during active `@elevasis/ui` development to test changes without publishing.
1047
- - `ui:use-published` -- reverts `package.json` to the published `@elevasis/ui` version string and removes any local tarball reference.
1048
-
1049
- Both commands install after rewriting `package.json`. The `external/_template` root scripts `ui:use-local` and `ui:use-published` are compatibility wrappers that delegate to these CLI commands.
1050
-
1051
- **Implementation:** `packages/sdk/src/cli/commands/ui/ui-switcher.ts`
1052
-
1053
- ---
1054
-
1055
561
  ## Global Flags
1056
562
 
1057
563
  These flags are accepted by all commands:
@@ -1070,38 +576,4 @@ These flags are accepted by all commands:
1070
576
 
1071
577
  ---
1072
578
 
1073
- ## Appendix: Domain Status
1074
-
1075
- Current status of all SDK CLI domains. Domains marked `deferred` have no CLI commands yet.
1076
-
1077
- | Domain | CLI surface | API surface | Status |
1078
- | ----------- | ------------------------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------- |
1079
- | platform | top-level SDK commands | mixed platform APIs | implemented |
1080
- | project | `project:*` | `apps/api/src/projects/` | implemented |
1081
- | knowledge | `knowledge:*` | file/generated knowledge data | implemented |
1082
- | creds | `creds *` nested Commander group | credentials API | implemented |
1083
- | ui | `ui:*` | local project file edits | implemented |
1084
- | request | `request:submit`, `request:list`, `request:get` | requests API | implemented read/write scope |
1085
- | error | `error resolve`, `error resolve-execution` | execution error APIs | partial |
1086
- | acquisition | `acquisition:list:*`, `acquisition:deal:*` | `/api/external/acquisition/lists*`, `/api/external/deals*` | implemented read-only scope |
1087
- | client | `client:*` | `/api/external/clients` | implemented read/write scope |
1088
- | agent | `agent:list`, `agent:get` | `/api/external/agents*` | implemented read-only scope |
1089
- | session | `session:list`, `session:get`, `session:end` | `/api/external/sessions*` | implemented management scope |
1090
- | queue | `queue:list`, `queue:get`, `queue:select`, `queue:expire`, `queue:status` | `/api/external/command-queue*` | implemented |
1091
- | schedule | `schedule:list`, `schedule:get`, `schedule:create`, `schedule:update` | `/api/external/task-scheduler/schedules*` | implemented |
1092
- | content | none | not scoped here | deferred |
1093
- | seo | none | not scoped here | deferred |
1094
- | monitoring | none | not scoped here | deferred |
1095
-
1096
- ### Promotion Criteria
1097
-
1098
- A domain should meet all four criteria before gaining a `*:list` / `*:get` surface in the SDK CLI:
1099
-
1100
- 1. The domain has DB-backed state with tenant scoping.
1101
- 2. External SDK tenants have a plausible read or operation need.
1102
- 3. Operators repeat the same query pattern often enough that ad-hoc DB reads are becoming workflow surface.
1103
- 4. There are at least three concrete use cases.
1104
-
1105
- ---
1106
-
1107
- **Last Updated:** 2026-05-18
579
+ **Last Updated:** 2026-05-19