@revoengine/cli 2.1.0 → 2.2.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 (66) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +113 -12
  3. package/dist/src/application-access.d.ts +4 -0
  4. package/dist/src/application-access.js +18 -0
  5. package/dist/src/application-cors.d.ts +2 -0
  6. package/dist/src/application-cors.js +19 -0
  7. package/dist/src/argument-contract.js +24 -4
  8. package/dist/src/automation-contract.generated.d.ts +165 -6
  9. package/dist/src/automation-contract.generated.js +198 -6
  10. package/dist/src/cli.js +10 -2
  11. package/dist/src/client.d.ts +53 -1
  12. package/dist/src/client.js +84 -0
  13. package/dist/src/commands/applications.d.ts +2 -0
  14. package/dist/src/commands/applications.js +44 -0
  15. package/dist/src/commands/emulate.d.ts +1 -0
  16. package/dist/src/commands/emulate.js +79 -3
  17. package/dist/src/commands/index.d.ts +2 -0
  18. package/dist/src/commands/index.js +2 -0
  19. package/dist/src/commands/migrate.js +10 -2
  20. package/dist/src/commands/sites.d.ts +2 -0
  21. package/dist/src/commands/sites.js +156 -0
  22. package/dist/src/commands/terminal-pty.js +2 -1
  23. package/dist/src/component-lock.d.ts +2 -1
  24. package/dist/src/component-lock.js +22 -1
  25. package/dist/src/endpoint-application.d.ts +25 -0
  26. package/dist/src/endpoint-application.js +75 -0
  27. package/dist/src/endpoint-emulator.d.ts +5 -0
  28. package/dist/src/endpoint-emulator.js +29 -0
  29. package/dist/src/endpoint-storage-transports.d.ts +2 -0
  30. package/dist/src/endpoint-storage-transports.js +8 -0
  31. package/dist/src/metadata-backfill.d.ts +1 -1
  32. package/dist/src/metadata-backfill.js +10 -1
  33. package/dist/src/migration.d.ts +6 -2
  34. package/dist/src/migration.js +104 -41
  35. package/dist/src/project.d.ts +8 -1
  36. package/dist/src/project.js +4 -0
  37. package/dist/src/request-contract.d.ts +5 -0
  38. package/dist/src/request-contract.js +12 -0
  39. package/dist/src/resource-inventory.d.ts +4 -2
  40. package/dist/src/resource-inventory.js +16 -1
  41. package/dist/src/resource-syncs/account-principal.d.ts +2 -0
  42. package/dist/src/resource-syncs/account-principal.js +3 -0
  43. package/dist/src/resource-syncs/application-principals.d.ts +60 -0
  44. package/dist/src/resource-syncs/application-principals.js +151 -0
  45. package/dist/src/resource-syncs/application-sync.d.ts +110 -0
  46. package/dist/src/resource-syncs/application-sync.js +328 -0
  47. package/dist/src/resource-syncs/endpoint-sync.d.ts +38 -0
  48. package/dist/src/resource-syncs/endpoint-sync.js +278 -14
  49. package/dist/src/resource-syncs/group-sync.d.ts +12 -0
  50. package/dist/src/resource-syncs/group-sync.js +60 -6
  51. package/dist/src/resource-syncs/runtime-definition-validation.js +26 -1
  52. package/dist/src/resource-syncs/service-account-sync.d.ts +10 -0
  53. package/dist/src/resource-syncs/service-account-sync.js +32 -4
  54. package/dist/src/reviewed-plan.js +2 -2
  55. package/dist/src/sync-omit-write-fence.js +4 -1
  56. package/dist/src/sync-omit.d.ts +1 -1
  57. package/dist/src/sync-omit.js +7 -2
  58. package/dist/src/tracked-resources.d.ts +1 -1
  59. package/dist/src/tracked-resources.js +3 -2
  60. package/dist/src/types.d.ts +30 -0
  61. package/dist/src/ui.js +2 -0
  62. package/dist/src/workspace-diff.js +1 -0
  63. package/dist/src/workspace-digests.js +2 -0
  64. package/dist/src/workspace-prune.js +67 -9
  65. package/package.json +11 -6
  66. package/scripts/postinstall.mjs +40 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.2.0 — 2026-11-13
4
+
5
+ - Add Sites commands for compatible targets; server availability is required.
6
+ - Synchronize Application caller allow/deny policies, including Group Stable Key references with reviewed physical-identity/readback fences and retained-consumer prune protection. Preserve omitted Group restrictions; explicit empty lists clear them. Anonymous concurrency is bounded to 1–10.
7
+ - Synchronize Application caller allow/deny policies, Stable Key Service Account references and explicitly mapped human-user references. Preserve omitted target policies, fence reviewed account identities and protect retained ACL consumers during prune.
8
+ - Preserve independent bounded anonymous Application access and Endpoint opt-in. Local preview rejects security behavior it cannot enforce; the Platform API remains authoritative.
9
+ - Add Component-selected native Storage upload/download transports with bounded streaming, fresh target capability admission and explicit emulator rejection. Remove unpublished static raw Storage destinations and provider-specific verification fields; raw bytes remain an inline base64 envelope. Named published forwarding uses wildcard hosts, without `/services/<app>` path rewriting.
10
+
11
+ - Preserve explicit Endpoint request/response format options through definition synchronization using the canonical Platform contract.
12
+ - Synchronize Applications by immutable key across instances, with portable Endpoint assignments, Application-scoped route checks, reviewed identity/revision fences and protected Default/prune behavior. Select a named Application in the local Endpoint emulator. Platform 1.9.2 is required for Applications; older Default-only workspaces remain supported.
13
+ - Reject explicit request/response formats in the local Endpoint emulator with a clear unsupported-contract response. Validate these wire formats directly in the Endpoint runtime. Unset or null options keep the existing preview behavior.
14
+
15
+ ## 2.1.1 — 2026-11-11
16
+
17
+ - Prepare native terminal permissions automatically during macOS installation, while retaining preparation at the first PTY launch when installation scripts are disabled.
18
+ - Pin the optional native dependency and verify fresh packaged installations through the real CLI runner, including interactive input and terminal size. Ordinary commands remain available without native PTY support.
19
+
3
20
  ## 2.1.0 — 2026-11-11
4
21
 
5
22
  - Pull, plan and push Job Template Batch or Debounce delivery across every trigger source and dynamic concurrency paths on Platform 1.9.0. Reject retired Event-level collection policies with explicit migration guidance. Preserve source-specific Event and Schedule input and ignore retired merge modes in existing manifests.
package/README.md CHANGED
@@ -10,11 +10,13 @@ The CLI has three main capabilities:
10
10
  2. **Project migration** — plan, run, and verify a direct migration between two saved projects with `--from` and `--to`.
11
11
  3. **Resource synchronization** — work with one supported resource family through its dedicated `pull`, `plan`, and `push` commands.
12
12
 
13
- ## Version 2.1.0
13
+ ## Version 2.2.0
14
+
15
+ Platform 1.9.2 Applications now synchronize caller allow/deny policies and bounded anonymous access, alongside portable Endpoint assignments and explicit request/response formats. New security and Application features require the matching Platform release; existing Default endpoint definitions retain their behavior.
14
16
 
15
17
  Use this release with Platform 1.9.0 or later and VS Code extension 2.1.0 or later. Update the compatible clients and backend together. Endpoint and Job configurations no longer accept `skipLibs`, `includeLibs` or `excludeLibs`, including `false` and empty arrays. Remove these fields from current manifests; review and test non-default selections first. Ordinary business payload fields are unaffected.
16
18
 
17
- Debugger execution defaults to the caller and can explicitly select the global endpoint or job policy. Browser Live Preview supports pointer gestures, selected-text feedback and active-session status while retaining privacy controls. See the [2.1.0 changelog](CHANGELOG.md).
19
+ Debugger execution defaults to the caller and can explicitly select the global endpoint or job policy. Browser Live Preview supports pointer gestures, selected-text feedback and active-session status while retaining privacy controls. See the [2.2.0 changelog](CHANGELOG.md).
18
20
 
19
21
  Component creation and reviewed source saves can wait up to ten minutes, including cold Sandbox startup. This also extends Node fetch's response-header waiting limit. Upgrade the matching API/Sandbox services to receive the longer server-side validation budget. See the [1.0.35 changelog](CHANGELOG.md). Writes with `--omit` still require the matching API capability `atomicResourceUpdates`.
20
22
 
@@ -227,7 +229,7 @@ For explicit cleanup of an older local snapshot, `terminal browser-profile forge
227
229
 
228
230
  `upload_file` and `download_file` stream an explicit authorized workspace file directly to/from GCS HTTPS signed/resumable URLs with permitted headers. Full network permission is required. WebSocket carries metadata only. Resumable uploads report committed offsets and partial completion; do not finalize a Storage upload before completion or blindly repeat an uncertain upload. Downloads commit atomically and do not overwrite unless explicitly requested. The stream's idle timeout is 90 seconds; grant expiry and runner lifetime still apply. Signed URLs/headers are credentials and must not be copied into logs or source files.
229
231
 
230
- Interactive PTY commands use the optional native `node-pty` package. An unavailable native build does not block CLI installation; PTY requests return `pty_unavailable` until the optional package can be installed. To skip native installation when PTY is not needed, install locally with `npm install --omit=optional @revoengine/cli` and run `npx revo`; npm 11.9 may still install the optional dependency during a global installation. On macOS, the runner verifies the spawn helper's executable permission when a PTY starts. Ordinary commands and local development servers run with pipes.
232
+ Interactive PTY commands use the optional native `node-pty` package. An unavailable native build does not block CLI installation; PTY requests return `pty_unavailable` until the optional package can be installed. To skip native installation when PTY is not needed, install locally with `npm install --omit=optional @revoengine/cli` and run `npx revo`; npm 11.9 may still install the optional dependency during a global installation. On macOS, installation prepares the spawn helper's executable permission, and the runner verifies it again when a PTY starts. If installation scripts are disabled, the first PTY request performs preparation automatically using the installed native prebuild. The optional native dependency is pinned so CI and fresh installations use the same version. Ordinary commands and local development servers run with pipes.
231
233
 
232
234
  Local Browser mode filters HTTP and WebSocket requests and disables WebRTC, WebTransport, Worker and SharedWorker before page scripts. Worker-dependent pages may not work in this mode; Chromium is not enclosed in an OS network sandbox. A temporary Local or Full network lease closes the Browser context at expiry when the current permanent grant does not cover it, including before a queued secure credential fill. A lost WebSocket connection, a controlled Realtime restart, or a temporary dependency outage retains running processes and Browser contexts for one two-minute (120-second) reconnect period; repeated failures do not renew it. Receiving `ready` alone does not reset that period while executions still await resume confirmation. Handshake, ready and execution resume each have a ten-second transport deadline. Access revocation and malformed runner frames stop the runner and its processes. Grant revision changes reject older execute frames and stop only work outside the remaining permanent or temporary scope. A network upgrade preserves the original temporary lease for a subsequent downgrade.
233
235
 
@@ -417,7 +419,7 @@ revo plan --json
417
419
  revo deploy --yes --json
418
420
  ```
419
421
 
420
- Repository `plan` and `deploy` reports separate resource operations from lock bookkeeping across all twelve resource families. An existing resource whose managed definition matches the repository is `operation: "noop"`, including when its baseline is absent or stale. Per-item `baselineAction` is `"adopt"` for a missing baseline, `"refresh"` for a stale baseline, or `"none"`. It describes separate bookkeeping for converged resources; create/update operations still save their verified baselines through the existing deployment flow. Use `revo plan --hints` to see this diagnostic in terminal output.
422
+ Repository `plan` and `deploy` reports separate resource operations from lock bookkeeping across all thirteen resource families. An existing resource whose managed definition matches the repository is `operation: "noop"`, including when its baseline is absent or stale. Per-item `baselineAction` is `"adopt"` for a missing baseline, `"refresh"` for a stale baseline, or `"none"`. It describes separate bookkeeping for converged resources; create/update operations still save their verified baselines through the existing deployment flow. Use `revo plan --hints` to see this diagnostic in terminal output.
421
423
 
422
424
  The JSON extension retains schema version 2, raw family `status`/`counts`, and `operations.adopt`. Repository summaries count converged resources as `operations.noop`; CI consumers should use item `operation` or aggregate `operations` rather than raw family status to identify resource changes. Validation failures, owner/role changes, and activation exclusions still take precedence over content equality. Dedicated resource commands and named `migrate` keep their existing contract.
423
425
 
@@ -520,15 +522,16 @@ Full pull, deployment, and migration use this fixed dependency order:
520
522
  | 5 | `agent-plugin` | `agent-plugins` | `AgentPlugins/` | Tools, MCP servers, skills and packages; dependencies precede consumers and authentication remains target-local. |
521
523
  | 6 | `agent` | `agents` | `Agents/` | Portable config/policy and execution identity; memory and runtime state remain target-local. |
522
524
  | 7 | `job-template` | `job-templates` | `JobTemplates/` | Resolves Component and Service Account dependencies by Stable Key. Pull skips WIP templates without a Stable Key or with an unkeyed Component and reports each skip. |
523
- | 8 | `endpoint` | `endpoints` | `Endpoints/` | Resolves Component dependencies and route ordering. |
524
- | 9 | `schedule` | `schedules` | `Schedules/` | Targets Job Templates or Materialized Views. New schedules are inactive by default. |
525
- | 10 | `event` | `events` | `Events/` | Supports Job Template event targets. Manifests retain `custom: true/false` alongside `type`; new events are inactive by default. |
526
- | 11 | `group` | `groups` | `Groups/` | Group owners use Stable Keys; Service Account owners resolve early; human users and memberships remain target-local. |
527
- | 12 | `role-group` | `role-groups` | `RoleGroups/` | Role assignments run last; members and user identifiers remain target-local. |
525
+ | 8 | `application` | `applications` | `Applications/` | Immutable key identity; protected Default permits CORS and invocation/anonymous policy updates; verified before Endpoints. |
526
+ | 9 | `endpoint` | `endpoints` | `Endpoints/` | Resolves Component dependencies and route ordering. |
527
+ | 10 | `schedule` | `schedules` | `Schedules/` | Targets Job Templates or Materialized Views. New schedules are inactive by default. |
528
+ | 11 | `event` | `events` | `Events/` | Supports Job Template event targets. Manifests retain `custom: true/false` alongside `type`; new events are inactive by default. |
529
+ | 12 | `group` | `groups` | `Groups/` | Group owners use Stable Keys; Service Account owners resolve early; human users and memberships remain target-local. |
530
+ | 13 | `role-group` | `role-groups` | `RoleGroups/` | Role assignments run last; members and user identifiers remain target-local. |
528
531
 
529
532
  Active Materialized View refresh Schedules are reported in Database View plans but do not block push, repository deployment, or named migration. Updating a view preserves Schedule activation; API write failures and readback verification failures are still reported.
530
533
 
531
- `--resources all` selects all twelve families. Singular, plural, and common compact aliases are accepted where the command parser documents them, but the selectors above are the canonical values.
534
+ `--resources all` selects all thirteen families. Singular, plural, and common compact aliases are accepted where the command parser documents them, but the selectors above are the canonical values.
532
535
 
533
536
  Existing `database-schema` selectors and `revo database-schemas` commands remain accepted as compatibility aliases. New table manifests use `DatabaseTables/**/database-table.json`; older `DatabaseSchemas/**/database-schema.json` files remain readable and are relocated by the next successful table pull. A locally edited manifest still needs `--force` before pull replaces it. The manifest `kind` and `databaseSchemas` lock and plan keys retain their existing schema names for format compatibility.
534
537
 
@@ -641,13 +644,76 @@ Resource plans support `--json` for automation and generally support `--strict`
641
644
  - `--yes` confirms a bulk operation; it does not relax consistency checks.
642
645
  - `--force` approves only explicitly supported risky or drifted operations; it is not a universal bypass.
643
646
  - Writes resolve the target UUID and version immediately before mutation and verify the portable result afterward.
644
- - Stable Keys cross environments; source UUIDs, versions, members, users, ACLs, and other target-local identities do not.
647
+ - Stable Keys and immutable Application keys cross environments; source UUIDs, versions, members, users, ACLs, and other target-local identities do not.
645
648
  - New Schedules and Events are created inactive; ordinary updates preserve target activation. Dedicated `schedules push --all --yes --activate` aligns manifest activation intent for verified new, updated and otherwise unchanged Schedules, including disabling them. Activation drift is shown by plans and affects repository convergence only with --activate. `events push --all --yes --activate` aligns verified Events with manifest activation intent, including disabling them; configuration failures skip Event activation. Interactive activation requires an additional confirmation. `deploy --activate` runs this phase after verified writes and pruning; named `migrate` leaves activation to dedicated commands.
646
649
  - Groups and Role Groups are intentionally late phases because they can affect ownership and access.
647
650
  - Lock data is stored in `.revoengine/revo.lock.json`; API tokens are never persisted in the project.
648
651
 
649
652
  ## Develop endpoints without deploying
650
653
 
654
+ Applications and their Endpoints synchronize through `revo applications pull|plan|push --all` and the shared repository workflow. Configure `revo project update backend --resources application,endpoint` before `revo plan` and `revo deploy`; `revo pull --resources application,endpoint --yes` accepts an explicit pull scope. This requires Platform 1.9.2 for Applications; ordinary Default-only workspaces remain compatible with older Platforms. Application identity is its immutable `key`, and the permanent system Default uses the reserved key `@default`. Application manifests live in `Applications/<key>/application.json` (`Applications/default/application.json` for Default); Default permits CORS and invocation/anonymous policy updates. Endpoint manifests select a named Application with `application: { "key": "portal" }`; omission or explicit Default preserves existing routing and lock hashes. The target Application UUID is resolved from its key on every deployment.
655
+
656
+ Use `--omit=application:cors` to retain the target's complete CORS policy. Partial CORS omission is rejected. Shared plans create and verify Applications before their Endpoints; reviewed plans fence the Application identity, version and policy throughout deployment. Routes and dynamic-route conflicts are scoped to each Application. Prune protects Default and blocks physical Application deletion while any Endpoint history references it. Application metadata backfill is unnecessary because keys are native identities.
657
+
658
+ Use `revo emulate endpoints --application portal` to select one named Application locally; the default selector is `@default`. Unknown Applications do not fall back. Published execution selects the verified Application wildcard hostname and keeps the endpoint path unchanged. A literal `/services/...` path belongs to the ordinary Default namespace.
659
+
660
+ ### Application caller policies
661
+
662
+ Portable manifests distinguish human users from Service Accounts. The API accepts target-local UUID arrays; the CLI exports humans with their source instance and resolves Service Accounts by Stable Key:
663
+
664
+ ```json
665
+ {
666
+ "invocationPolicy": {
667
+ "mode": "allowlist",
668
+ "users": [{ "instanceId": "11111111-1111-4111-8111-111111111111", "userId": "22222222-2222-4222-8222-222222222222" }],
669
+ "serviceAccounts": [{ "kind": "service-account", "stableKey": "accounts/integration" }],
670
+ "groups": [{ "type": "group", "stableKey": "groups/operators" }]
671
+ },
672
+ "anonymousAccess": { "enabled": false, "requestsPerMinute": 30, "maxConcurrent": 2 }
673
+ }
674
+ ```
675
+
676
+ `mode` is `all`, `allowlist` or `denylist`; `all` requires empty lists. Direct Members (human users or Service Accounts) and current caller Groups match with OR semantics. Group references resolve by Stable Key to live target identities; executor membership never grants caller access. Omitted `groups` preserves the existing target group restriction during policy updates, and explicit `[]` clears it. Anonymous `maxConcurrent` is an integer from 1 to 10. Same-instance human references require a current typed account readback. Moving users between instances requires an explicit mapping in local `.revoengine/revo.json` for the selected environment. The CLI never matches users by email:
677
+
678
+ ```json
679
+ {
680
+ "applicationUserMappings": {
681
+ "production": [{
682
+ "sourceInstanceId": "11111111-1111-4111-8111-111111111111",
683
+ "sourceUserId": "22222222-2222-4222-8222-222222222222",
684
+ "targetUserId": "33333333-3333-4333-8333-333333333333"
685
+ }]
686
+ }
687
+ }
688
+ ```
689
+
690
+ Missing, duplicate or ambiguous mappings stop planning. Saved plans fence the mappings, target Application policy and current account identities/revisions. Default's identity remains protected; its policies can be updated. Omitted `invocationPolicy` and `anonymousAccess` preserve the target. `--omit=application:invocationPolicy` and `--omit=application:anonymousAccess` treat each whole policy atomically. Explicit `null` resets that policy through the API. Retained Application ACL references block unsafe Service Account prune.
691
+
692
+ An Endpoint separately opts in with `allowUnauthenticated: true` and a dedicated explicit Service Account execution policy; the API enforces authority and role restrictions. Both Application and Endpoint gates must allow anonymous execution. Local debugger preview does not implement caller ACL, anonymous admission or explicit wire formats, and rejects unsupported configuration before execution.
693
+
694
+ Raw input preserves original bytes as the existing base64 binary envelope with `options.requestBody: {"mode":"raw"}`. It is bounded in memory (1 MiB default, 8 MiB maximum). The unpublished `raw-storage` mode, nested `requestBody.storage` destination and provider-specific verification settings are removed. Verify provider signatures in application logic.
695
+
696
+ Native Storage transports select authorized references from the Component result and stream file bytes outside low-code. Upload configuration is `options: {"requestBody":{"mode":"storage"},"popResult":"Data"}` on a POST, PUT, PATCH or DELETE Component endpoint. The `Data` element can create a direct upload session in a verified folder and return its reference:
697
+
698
+ ```js
699
+ const { session } = await storage.createUploadSession({
700
+ name: 'upload.bin',
701
+ contentTypeHint: 'application/octet-stream',
702
+ uploadMode: 'direct',
703
+ computeStats: 'none',
704
+ parentStorageEntryId: verifiedFolderId
705
+ });
706
+ return { storageSessionEntryId: session.storageUploadSessionId };
707
+ ```
708
+
709
+ The exact selected upload result contains only `storageSessionEntryId`. RUN validates and claims an active empty direct session before consuming bytes, then returns a confirmed JSON receipt with `storageUploadSessionId`, `storageEntryId`, `size`, `checksumMd5`, `contentType` and `name`. Upload mode does not accept `responseBody`, a static response, SSE, legacy results, `noResult` or statuses 204/205. The default and maximum wire size are 32 MiB.
710
+
711
+ Download configuration is `options: {"responseBody":{"mode":"storage"},"popResult":"Data"}`. Return exactly `{storageEntryId: authorizedFileId}` with optional `downloadName` from that selected Component result. RUN checks file authorization and complete size before headers, then streams the native file. The default and maximum complete-file limit are 32 MiB, including HEAD and Range requests. Static responses, `noResult`, status overrides other than 200, `contentType` and `Content-Disposition` overrides are unavailable. Both directions require normal HTTP Component results and cannot be combined on one endpoint. `popResult` is needed only when selecting a nested result such as `Data`; a root result that is already the exact directive needs no selector.
712
+
713
+ Every managed native Storage plan, including unchanged or omitted-and-retained options, and every native Storage write requires a fresh `/api/v1/me` capability `endpointStorageTransports: true`. API version alone does not prove support. Deploy and verify the matching RUN upload/download canary before advertising this API capability. Older JSON, form and inline formats keep their existing compatibility. Local preview rejects native Storage. Published preview rejects native routes identified in the selected Application catalog before reading the request body. For legacy Default callers whose catalog access returns HTTP 403, it retains ordinary forwarding with a 2 MiB request limit and warns that the route format is unknown; this fallback cannot validate or reject native transports before consuming bytes. Named Application catalog failures remain closed. Use the real RUN URL for streaming validation.
714
+
715
+
716
+
651
717
  Run from the initialized RevoEngine project, including monorepos with a configured workspace such as `backend/`. If the repository already contains its endpoint and component manifests, start the emulator directly. For a fresh workspace, pull them once from a development project.
652
718
 
653
719
  ```bash
@@ -687,6 +753,8 @@ Pass `--skip-validate` to skip low-code source analysis for the component and li
687
753
 
688
754
  The emulator authenticates upstream as the CLI user. Browser authorization headers and cookies are stripped. Local preview supports JSON bodies, flat query parameters, and ordinary HTTP responses. Application SSE is unavailable. Local preview excludes non-low-code components. Retired library-selection fields are rejected during configuration validation. The sandbox applies debugger logging, which can capture inputs and outputs even when the Run manifest sets `hideRequest` or `hideResponse`. Use development data.
689
755
 
756
+ Local preview rejects nonnull `options.requestBody` and `options.responseBody`, including explicit JSON mode, because it does not implement those wire contracts. Validate them directly against the Endpoint runtime. Absent or null options keep the existing preview behavior. The synchronized definition preserves both options even though local preview does not execute them.
757
+
690
758
  ## Other commands
691
759
 
692
760
  ```bash
@@ -850,7 +918,7 @@ Agent and Agent Plugin synchronization is upsert-only. Repository prune blocks d
850
918
 
851
919
  ### Preserve destination properties with `--omit`
852
920
 
853
- `--omit` is an invocation-only CLI policy for all twelve resource families. Use it with every repository and dedicated family `pull`, repository `diff`/`plan`/`deploy`, dedicated family `plan`/`push`, named `migrate plan`/`run`/`verify`, and Component `env diff`/`apply`. On pull, the destination is the existing local manifest: selected properties stay local while the other fields refresh from the remote resource. On push or deploy, selected properties stay on the remote target. Resource metadata does not configure omission.
921
+ `--omit` is an invocation-only CLI policy for all thirteen resource families. Use it with every repository and dedicated family `pull`, repository `diff`/`plan`/`deploy`, dedicated family `plan`/`push`, named `migrate plan`/`run`/`verify`, and Component `env diff`/`apply`. On pull, the destination is the existing local manifest: selected properties stay local while the other fields refresh from the remote resource. On push or deploy, selected properties stay on the remote target. Resource metadata does not configure omission.
854
922
 
855
923
  ```bash
856
924
  revo pull databases --omit=name --yes
@@ -871,6 +939,7 @@ An unqualified path must be supported by every selected family. Qualify family-s
871
939
  | `database-table`, `database-view` | `name`, `category`, `description`, `metadata.label` |
872
940
  | `component` | `name`, `description` (alias of `desc`), `active`, `testConfig`, `metadata.label` |
873
941
  | `job-template` | `name`, `category`, `description`, `timeout`, `inputs`, `delivery`, `options.retry.maxAttempts` |
942
+ | `application` | `name`, `description`, complete `cors` policy (no nested paths); key identity is protected. |
874
943
  | `endpoint` | `name`, `category`, `description`, `active`, `timeout`, `options.input.tenant` |
875
944
  | `schedule` | `name`, `category`, `description`, `cron`, `timezone`, `input.tenant` |
876
945
  | `event` | `name`, `category`, `description`, `filter`, `input.tenant` |
@@ -1021,3 +1090,35 @@ Additional actions are `create`, `update`, `delete`, `files`, `file <fileId>`, `
1021
1090
  `studio claims <sessionId>` lists advisory work declarations. `studio claim <sessionId> --body-file claim.json` declares work on either a session `studioFileId` or a `task`; `studio release-claim <sessionId> <claimId>` releases your authenticated actor's own declaration. The session owner can also clear abandoned claims; the journal records the actual releasing actor separately. Claims may overlap, do not lock files, and grant no editing or approval authority.
1022
1091
 
1023
1092
  `studio cancel-test` cancels a queued run before execution or stops collecting a running result. Its durable response identifies whether already dispatched integration effects may continue. Repeat the same `--operation-id` to recover the original result; cancellation does not roll back external effects.
1093
+
1094
+ ### Local Studio Sites
1095
+
1096
+ Select a local project with a Platform instance admitted to `REVO_SITES_LOCAL`. These commands use that project's normal API authentication and the Studio Sites API.
1097
+
1098
+ ```bash
1099
+ revo sites list --json
1100
+ revo sites create --key support-desk --name "Support Desk" --json
1101
+ revo sites show <siteId> --json
1102
+ revo sites link <siteId> --studio-origin http://localhost:4210 --json
1103
+ revo sites update-files <siteId> --revision 0 --files site-files.json --json
1104
+ revo sites configure <siteId> --revision 1 --body-file site-config.json --json
1105
+ revo sites build <siteId> --revision 2 --json
1106
+ revo sites build <siteId> --revision 2 --zip dist.zip --json
1107
+ revo sites preview <siteId> --release <releaseId> --json
1108
+ revo sites publish <siteId> --release <releaseId> --expected-active none --json
1109
+ revo sites unpublish <siteId> --expected-active <activeReleaseId> --json
1110
+ ```
1111
+
1112
+ `update-files` replaces the complete file list from a JSON array of `{ "path": "...", "content": "..." }` entries. `configure` accepts `name`, `description`, `access`, `bindings` and `authConnectionId`. Use the revision returned by the API for each write. Build reads saved files or imports a compiled ZIP and returns a retained release ID. Preview returns an expiring URL. Publishing the first release requires `--expected-active none`; later publications and rollbacks require the actual observed active release ID.
1113
+
1114
+ `revo sites build` reads the project-root `revo.hosting.json` when present. The API validates the rules and retains the configuration with the built release. Exact paths take precedence over the longest matching `/**` path prefix. The gateway controls HTML, private content and API cache behavior. `unpublish` requires the observed active release ID and keeps retained releases available for republishing.
1115
+
1116
+ ```json
1117
+ {
1118
+ "$schemaVersion": 1,
1119
+ "cache": [
1120
+ { "path": "/assets/**", "policy": "immutable" },
1121
+ { "path": "/assets/runtime-config.json", "policy": "no-store" }
1122
+ ]
1123
+ }
1124
+ ```
@@ -0,0 +1,4 @@
1
+ import type { ApplicationAnonymousAccess, ApplicationInvocationPolicy } from './types.ts';
2
+ export declare const APPLICATION_UUID: RegExp;
3
+ export declare function validApplicationInvocationPolicy(value: unknown): value is ApplicationInvocationPolicy;
4
+ export declare function validApplicationAnonymousAccess(value: unknown): value is ApplicationAnonymousAccess;
@@ -0,0 +1,18 @@
1
+ export const APPLICATION_UUID = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i;
2
+ function record(value) { return !!value && typeof value === 'object' && !Array.isArray(value); }
3
+ export function validApplicationInvocationPolicy(value) {
4
+ if (!record(value) || Object.keys(value).some(key => !['mode', 'users', 'serviceAccounts', 'groups'].includes(key)) || !['all', 'allowlist', 'denylist'].includes(String(value.mode)))
5
+ return false;
6
+ for (const field of ['users', 'serviceAccounts'])
7
+ if (!Array.isArray(value[field]) || value[field].length > 500 || value[field].some((id) => typeof id !== 'string' || !APPLICATION_UUID.test(id)))
8
+ return false;
9
+ if (value.groups !== undefined && (!Array.isArray(value.groups) || value.groups.length > 500 || value.groups.some((id) => typeof id !== 'string' || !APPLICATION_UUID.test(id)) || new Set(value.groups.map((id) => id.toLowerCase())).size !== value.groups.length))
10
+ return false;
11
+ const ids = [...value.users, ...value.serviceAccounts].map(id => id.toLowerCase());
12
+ return new Set(ids).size === ids.length && (value.mode !== 'all' || ids.length === 0 && !value.groups?.length);
13
+ }
14
+ export function validApplicationAnonymousAccess(value) {
15
+ return record(value) && Object.keys(value).every(key => ['enabled', 'requestsPerMinute', 'maxConcurrent'].includes(key)) && typeof value.enabled === 'boolean'
16
+ && Number.isInteger(value.requestsPerMinute) && Number(value.requestsPerMinute) >= 1 && Number(value.requestsPerMinute) <= 1000
17
+ && Number.isInteger(value.maxConcurrent) && Number(value.maxConcurrent) >= 1 && Number(value.maxConcurrent) <= 10;
18
+ }
@@ -0,0 +1,2 @@
1
+ import type { ApplicationCors } from './types.ts';
2
+ export declare function validApplicationCors(value: unknown): value is ApplicationCors;
@@ -0,0 +1,19 @@
1
+ const isRecord = (value) => !!value && typeof value === 'object' && !Array.isArray(value);
2
+ export function validApplicationCors(value) {
3
+ if (!isRecord(value) || Object.keys(value).some(key => !['mode', 'allowedOrigins'].includes(key))
4
+ || !['public', 'allowlist', 'disabled'].includes(String(value.mode)) || !Array.isArray(value.allowedOrigins)
5
+ || value.allowedOrigins.length > 100 || new Set(value.allowedOrigins).size !== value.allowedOrigins.length
6
+ || value.mode !== 'allowlist' && value.allowedOrigins.length !== 0)
7
+ return false;
8
+ return value.allowedOrigins.every(origin => {
9
+ if (typeof origin !== 'string' || origin.length > 2048)
10
+ return false;
11
+ try {
12
+ const url = new URL(origin);
13
+ return ['http:', 'https:'].includes(url.protocol) && !url.username && !url.password && !url.hostname.includes('*') && url.origin === origin;
14
+ }
15
+ catch {
16
+ return false;
17
+ }
18
+ });
19
+ }
@@ -108,7 +108,7 @@ function actionContract(args) {
108
108
  if (command === 'emulate') {
109
109
  if (action && action !== 'endpoints')
110
110
  throw new Error('Usage: revo emulate endpoints [--mode=local|published] [--read-only=true|false] [--host <address>] [--port <port>]');
111
- return { ...v('host port read-only mode'), ...b('watch skip-validate'), ...output };
111
+ return { ...v('host port read-only mode application'), ...b('watch skip-validate'), ...output };
112
112
  }
113
113
  if (command === 'request')
114
114
  return { ...v('method m path p body d'), ...many('query q') };
@@ -131,6 +131,24 @@ function actionContract(args) {
131
131
  throw new Error(`Unknown Studio action: ${selected}.`);
132
132
  return { ...output, ...v('body body-file operation-id'), ...(selected === 'patch' ? v('patch-file') : {}) };
133
133
  }
134
+ if (command === 'sites') {
135
+ const options = {
136
+ list: {},
137
+ show: {},
138
+ link: v('studio-origin'),
139
+ create: v('key name description'),
140
+ 'update-files': v('revision files'),
141
+ configure: v('revision body-file'),
142
+ build: v('revision zip'),
143
+ preview: v('release'),
144
+ publish: v('release expected-active'),
145
+ unpublish: v('expected-active'),
146
+ };
147
+ const selected = action || 'list';
148
+ if (!Object.hasOwn(options, selected))
149
+ throw new Error(`Unknown Sites action: ${selected}.`);
150
+ return { ...output, ...options[selected] };
151
+ }
134
152
  if (command === 'tests') {
135
153
  const selected = action || 'list';
136
154
  if (!['list', 'run', 'resume', 'cancel'].includes(selected))
@@ -177,7 +195,7 @@ function actionContract(args) {
177
195
  return { ...output, ...v('from to'), ...many('resources resource'), ...b('skip-groups with-stats dry-run prune'), ...force, ...omit,
178
196
  ...(effectivePlan ? v('out') : {}), ...(effectivePlan || action === 'verify' ? b('hints') : {}), ...(action === 'run' ? yes : {}) };
179
197
  }
180
- const family = ['component', 'database-tables', 'database-schemas', 'database-views', 'endpoints', 'job-templates', 'schedules', 'events', 'groups', 'role-groups', 'service-accounts', 'agents', 'agent-plugins'].includes(command);
198
+ const family = ['component', 'database-tables', 'database-schemas', 'database-views', 'endpoints', 'applications', 'application', 'apps', 'app', 'job-templates', 'schedules', 'events', 'groups', 'role-groups', 'service-accounts', 'agents', 'agent-plugins'].includes(command);
181
199
  if (!family)
182
200
  throw new Error(`Unknown command: ${command}`);
183
201
  const component = command === 'component';
@@ -212,7 +230,7 @@ function actionContract(args) {
212
230
  }
213
231
  /** Pure preflight: no configuration, filesystem, authentication or network effects. */
214
232
  export function validateCommandArguments(args, options = {}) {
215
- if (args.omit !== undefined && !['plan', 'diff', 'deploy', 'pull', 'migrate', 'component', 'database-tables', 'database-schemas', 'database-views', 'job-templates', 'endpoints', 'schedules', 'events', 'groups', 'role-groups', 'service-accounts', 'agents', 'agent-plugins', 'env', 'projects'].includes(args._[0])) {
233
+ if (args.omit !== undefined && !['plan', 'diff', 'deploy', 'pull', 'migrate', 'component', 'database-tables', 'database-schemas', 'database-views', 'job-templates', 'endpoints', 'applications', 'application', 'apps', 'app', 'schedules', 'events', 'groups', 'role-groups', 'service-accounts', 'agents', 'agent-plugins', 'env', 'projects'].includes(args._[0])) {
216
234
  throw new Error('--omit is a synchronization option; it cannot change raw requests or other commands.');
217
235
  }
218
236
  const contract = { ...runtimeContract(args), ...b('update-notifier no-update-notifier'), ...actionContract(args),
@@ -305,6 +323,8 @@ export function validateCommandArguments(args, options = {}) {
305
323
  maximum = ['resume', 'cancel'].includes(action) ? 3 : 2;
306
324
  else if (command === 'studio')
307
325
  maximum = ['file', 'review', 'release-claim', 'cancel-test'].includes(action) ? 4 : ['list', 'create', 'promote'].includes(action || 'list') ? 2 : 3;
326
+ else if (command === 'sites')
327
+ maximum = ['list', 'create'].includes(action || 'list') ? 2 : 3;
308
328
  else if (command === 'terminal')
309
329
  maximum = ['service', 'browser-profile'].includes(action) ? 3 : 2;
310
330
  else if (command === 'component' && action === 'debug')
@@ -313,7 +333,7 @@ export function validateCommandArguments(args, options = {}) {
313
333
  maximum = 2;
314
334
  else if (['database-tables', 'database-schemas', 'database-views'].includes(command))
315
335
  maximum = action === 'push' ? 3 : 2;
316
- else if (['endpoints', 'job-templates', 'schedules', 'events', 'groups', 'role-groups', 'service-accounts', 'agents', 'agent-plugins'].includes(command))
336
+ else if (['endpoints', 'applications', 'application', 'apps', 'app', 'job-templates', 'schedules', 'events', 'groups', 'role-groups', 'service-accounts', 'agents', 'agent-plugins'].includes(command))
317
337
  maximum = 2;
318
338
  if (maximum !== undefined && args._.length > maximum)
319
339
  throw new Error(`Unexpected positional argument for ${command}${action ? ` ${action}` : ''}. Run revo help.`);
@@ -1,8 +1,92 @@
1
1
  export declare const normalizeCustomNodeElementPath: (value: unknown) => string | undefined;
2
2
  export declare const requestContracts: {
3
+ readonly CreateEndpointServiceDto: {
4
+ readonly type: "object";
5
+ readonly properties: {
6
+ readonly invocationPolicy: {
7
+ readonly nullable: true;
8
+ readonly applicationInvocationPolicy: true;
9
+ };
10
+ readonly anonymousAccess: {
11
+ readonly nullable: true;
12
+ readonly applicationAnonymousAccess: true;
13
+ };
14
+ readonly key: {
15
+ readonly type: "string";
16
+ readonly pattern: "^(?=.{1,63}$)[a-z][a-z0-9]*(?:-[a-z0-9]+)*(?![\\s\\S])";
17
+ readonly patternFlags: "";
18
+ readonly notEnum: readonly ["default"];
19
+ readonly maxLength: 63;
20
+ };
21
+ readonly name: {
22
+ readonly type: "string";
23
+ readonly minLength: 1;
24
+ readonly maxLength: 100;
25
+ };
26
+ readonly description: {
27
+ readonly nullable: true;
28
+ readonly type: "string";
29
+ readonly maxLength: 2000;
30
+ };
31
+ readonly cors: {
32
+ readonly applicationCors: true;
33
+ };
34
+ };
35
+ readonly required: readonly ["key", "name"];
36
+ readonly additionalProperties: false;
37
+ };
38
+ readonly UpdateEndpointServiceDto: {
39
+ readonly type: "object";
40
+ readonly properties: {
41
+ readonly invocationPolicy: {
42
+ readonly nullable: true;
43
+ readonly applicationInvocationPolicy: true;
44
+ };
45
+ readonly anonymousAccess: {
46
+ readonly nullable: true;
47
+ readonly applicationAnonymousAccess: true;
48
+ };
49
+ readonly version: {
50
+ readonly type: "integer";
51
+ readonly minimum: 0;
52
+ };
53
+ readonly name: {
54
+ readonly type: "string";
55
+ readonly minLength: 1;
56
+ readonly maxLength: 100;
57
+ };
58
+ readonly description: {
59
+ readonly nullable: true;
60
+ readonly type: "string";
61
+ readonly maxLength: 2000;
62
+ };
63
+ readonly cors: {
64
+ readonly applicationCors: true;
65
+ };
66
+ };
67
+ readonly required: readonly ["version"];
68
+ readonly additionalProperties: false;
69
+ };
70
+ readonly EndpointApplicationCorsDto: {
71
+ readonly type: "object";
72
+ readonly properties: {
73
+ readonly mode: {};
74
+ readonly allowedOrigins: {};
75
+ };
76
+ readonly required: readonly ["mode", "allowedOrigins"];
77
+ readonly additionalProperties: false;
78
+ };
3
79
  readonly EndpointRequestDto: {
4
80
  readonly type: "object";
5
81
  readonly properties: {
82
+ readonly allowUnauthenticated: {
83
+ readonly type: "boolean";
84
+ };
85
+ readonly serviceId: {
86
+ readonly nullable: true;
87
+ readonly type: "string";
88
+ readonly format: "uuid";
89
+ };
6
90
  readonly executionPolicy: {
7
91
  readonly allOf: readonly [{
8
92
  readonly $ref: "#/components/schemas/RuntimeExecutionPolicyDto";
@@ -73,6 +157,14 @@ export declare const requestContracts: {
73
157
  readonly UpdateEndpointRequestDto: {
74
158
  readonly type: "object";
75
159
  readonly properties: {
160
+ readonly allowUnauthenticated: {
161
+ readonly type: "boolean";
162
+ };
163
+ readonly serviceId: {
164
+ readonly nullable: true;
165
+ readonly type: "string";
166
+ readonly format: "uuid";
167
+ };
76
168
  readonly executionPolicy: {
77
169
  readonly allOf: readonly [{
78
170
  readonly $ref: "#/components/schemas/RuntimeExecutionPolicyDto";
@@ -159,6 +251,18 @@ export declare const requestContracts: {
159
251
  readonly type: "integer";
160
252
  readonly maximum: 1024;
161
253
  };
254
+ readonly requestBody: {
255
+ readonly allOf: readonly [{
256
+ readonly $ref: "#/components/schemas/EndpointRequestBodyDto";
257
+ }];
258
+ readonly nullable: true;
259
+ };
260
+ readonly responseBody: {
261
+ readonly allOf: readonly [{
262
+ readonly $ref: "#/components/schemas/EndpointResponseBodyDto";
263
+ }];
264
+ readonly nullable: true;
265
+ };
162
266
  readonly responseMode: {
163
267
  readonly nullable: true;
164
268
  readonly enum: readonly ["http", "sse"];
@@ -690,6 +794,47 @@ export declare const requestContracts: {
690
794
  readonly required: readonly ["key", "details", "order"];
691
795
  readonly additionalProperties: false;
692
796
  };
797
+ readonly EndpointRequestBodyDto: {
798
+ readonly type: "object";
799
+ readonly properties: {
800
+ readonly mode: {
801
+ readonly enum: readonly ["json", "form", "text", "xml", "binary", "multipart", "raw", "storage"];
802
+ };
803
+ readonly maxBytes: {
804
+ readonly nullable: true;
805
+ readonly type: "integer";
806
+ readonly minimum: 1;
807
+ readonly maximum: 33554432;
808
+ };
809
+ };
810
+ readonly required: readonly ["mode"];
811
+ readonly additionalProperties: false;
812
+ };
813
+ readonly EndpointResponseBodyDto: {
814
+ readonly type: "object";
815
+ readonly properties: {
816
+ readonly mode: {
817
+ readonly enum: readonly ["json", "text", "xml", "binary", "storage"];
818
+ };
819
+ readonly contentType: {
820
+ readonly nullable: true;
821
+ readonly type: "string";
822
+ readonly maxLength: 256;
823
+ };
824
+ readonly headers: {
825
+ readonly nullable: true;
826
+ readonly type: "object";
827
+ };
828
+ readonly maxBytes: {
829
+ readonly nullable: true;
830
+ readonly type: "integer";
831
+ readonly minimum: 1;
832
+ readonly maximum: 33554432;
833
+ };
834
+ };
835
+ readonly required: readonly ["mode"];
836
+ readonly additionalProperties: false;
837
+ };
693
838
  readonly ComponentTestConfigDto: {
694
839
  readonly type: "object";
695
840
  readonly properties: {
@@ -773,6 +918,10 @@ export declare const requestContractDefaults: {
773
918
  readonly maxDepth: 64;
774
919
  };
775
920
  readonly endpoint: {
921
+ readonly requestBody: {
922
+ readonly maxBytes: 33554432;
923
+ readonly inlineMaxBytes: 8388608;
924
+ };
776
925
  readonly maxPathSegments: 7;
777
926
  readonly optionDefaults: {
778
927
  readonly input: {};
@@ -784,6 +933,7 @@ export declare const requestContractDefaults: {
784
933
  };
785
934
  };
786
935
  export declare const requestContractSemanticSources: {
936
+ readonly "packages/domain/src/interfaces/application-invocation-policy.interface.ts#completePolicy": "dc5a73d6a37abbeaf00f733044e3bc5768ac2fe66e91b6d8479e0ecbf2efc04d";
787
937
  readonly "packages/domain/src/utils/backend-metadata.util.ts#assertJsonValue": "e3856d26eb4c43aae24e033691f677f700d6d4f7793dd2be79ce89b8a60ad067";
788
938
  readonly "packages/domain/src/dto/automation/run.options.dto.ts#JobRetryMinBackoffWithinMaxConstraint": "2c8eb4f844ffabfd03f5ae9617a2b0e9e578fa0b9d2a563081648b6688629439";
789
939
  readonly "packages/execution-core/src/modules/@core/services/virtualization.service.ts#normalizeIsolateMemoryLimit": "4cce767b32d7b848cea9502eec5d3df2b7a7dc3e41227eeffda1a6a1e8fc9d96";
@@ -792,9 +942,13 @@ export declare const requestContractSemanticSources: {
792
942
  readonly "packages/platform-shared/src/utils/job-retry-policy.util.ts#normalizeJobRetryPolicy": "facef84884b5b4311af06bfb4469f071ff42a4bca067b6d9092d4f6571e8ee86";
793
943
  readonly "packages/platform-shared/src/utils/job-retry-policy.util.ts#assertJobRetryPolicyValid": "6511ccafc15233a4ffe4e024f13e6c0e5c9d8a53c261ecc571300495afd804cf";
794
944
  readonly "packages/domain/src/dto/components/component.validator.ts#validateEndpointGuardSemantics": "fd885b48c2990e47d1f05965af044aef8e2256da5fa4a86d1248967b04a3fd1e";
795
- readonly "apps/api/src/modules/endpoints/endpoint.service.ts#create": "cb10fc198892423088d396acd09618d8c64504a57fac0df3a892d57993913067";
796
- readonly "apps/api/src/modules/endpoints/endpoint.service.ts#update": "bc59acaffdb7275659bddb65b8d71e9d8266447054723ea87495eaa0dd512fe1";
797
- readonly "apps/api/src/modules/endpoints/endpoint.service.ts#validateEndpointOptions": "64686ee1c1e2611aa00847b771de637797a3007062b95e303046ad2cba69e729";
945
+ readonly "packages/domain/src/interfaces/endpoint-application-cors.interface.ts#isEndpointApplicationOrigin": "eb84b57e431702e454328e55ea3b0c7a133c874f835e276d1cfc1bd6e7863f95";
946
+ readonly "packages/domain/src/interfaces/endpoint-application-cors.interface.ts#isEndpointApplicationCors": "e204d8b2d6f43d114451657699fc8299d2cc1e02a0aa6d808bcd860d3a38c989";
947
+ readonly "packages/domain/src/interfaces/application-invocation-policy.interface.ts#isApplicationInvocationPolicy": "5436748c8323a9b7e17e79e49b12335836f085f2ad64798ef633c32e4e665867";
948
+ readonly "packages/domain/src/interfaces/application-invocation-policy.interface.ts#isApplicationAnonymousAccess": "123b56d08ffe2f739d758dff76a4c649dc8be70b2c9d570dc5fef817f3c40248";
949
+ readonly "apps/api/src/modules/endpoints/endpoint.service.ts#create": "8e19c9775b30f19af20b5b8082198af45d495993d9d4b4b131f5cd9da8fbcc42";
950
+ readonly "apps/api/src/modules/endpoints/endpoint.service.ts#update": "23d45b6a276ba06ba7db99e183f76fce5cdfe5ae70f51cebfa9bb09d8a77ed7f";
951
+ readonly "apps/api/src/modules/endpoints/endpoint.service.ts#validateEndpointOptions": "b729c5539813e2a6e239bfba180bf5d2c45f9ff49087e79cbf6c7af73e8b6d3b";
798
952
  readonly "apps/api/src/modules/endpoints/endpoint.service.ts#applyEndpointOptionDefaults": "9da1bdfd83a3142b7f44d4ce5ee2aac6cf4ed70bef790f979c412c411fe2790d";
799
953
  readonly "apps/api/src/modules/automation/jobs.service.ts#createJobTemplate": "59a8433530980f3970c5915f696611f14820c10183b0f917a74912245f1cbd78";
800
954
  readonly "apps/api/src/modules/automation/jobs.service.ts#update": "d8b3ccef6ae812e8bcdcd21cf5184c2afe9ede28055f355f684e13a64b094933";
@@ -809,9 +963,12 @@ export declare const requestContractSemanticSources: {
809
963
  };
810
964
  export declare const requestContractSourceProvenance: {
811
965
  readonly main: {
812
- readonly "packages/domain/src/dto/automation/endpoint.template.request.dto.ts#EndpointRequestDto": "45a1a84e200b2cdf9b44051fe36cb7bda1b577a0f5bbcc88942764336a6d7302";
813
- readonly "packages/domain/src/dto/automation/update.api.template.request.dto.ts#UpdateEndpointRequestDto": "20ee0c9afbfa594f189ead2b751aa00b6003efe0b70c5e1158ee78c1e0d29567";
814
- readonly "packages/domain/src/dto/automation/endpoint.template.request.dto.ts#EndpointOptionsDto": "1ade11735627613a81b5cfaa796dfdc49d4c7e0db01ae6467da6a99a9f3af683";
966
+ readonly "packages/domain/src/dto/automation/endpoint-service.dto.ts#CreateEndpointServiceDto": "b6a4a1f3f92d8323e75f68cf87160243d483b4a8bd90c382b10979eedaf05ef5";
967
+ readonly "packages/domain/src/dto/automation/endpoint-service.dto.ts#UpdateEndpointServiceDto": "068377dc274764b07eba1ba7b1d07ee488f2349a39541579a7bd5309fe790900";
968
+ readonly "packages/domain/src/dto/automation/endpoint-service.dto.ts#EndpointApplicationCorsDto": "d9c645987e746a6334b885d5d8d809b4c653cae9f0aea0f73d1b768ac2dc5af6";
969
+ readonly "packages/domain/src/dto/automation/endpoint.template.request.dto.ts#EndpointRequestDto": "d8884bdad6b2cb37c2ee144d56388f36c5fbb843f0d779fd9f5808e113463aa7";
970
+ readonly "packages/domain/src/dto/automation/update.api.template.request.dto.ts#UpdateEndpointRequestDto": "ff8296066eb9d40a144b0b4e63aef70a7e28a7b999032e701446c0ca67544d03";
971
+ readonly "packages/domain/src/dto/automation/endpoint.template.request.dto.ts#EndpointOptionsDto": "0e4e3079e7966bb4611c67f230a5e841fd50036f3b68bcb6dfd679690a32fd8d";
815
972
  readonly "packages/domain/src/dto/automation/endpoint.sse.dto.ts#EndpointSseDto": "960d56ebb300ded00f61f1318522c010135675e0f32a8084fb3e9b16a1c20ecc";
816
973
  readonly "packages/domain/src/dto/automation/job.template.request.dto.ts#JobTemplateRequestDto": "fcbcfa8fd7b600dabe25d9d1e36414db1894bff89980a106b2cc7fbc7feb94d8";
817
974
  readonly "packages/domain/src/dto/automation/update.job.template.dto.ts#UpdateJobTemplate": "bb83065b8ae816cc917ec73abc83af6749bc5fdc00e460b889c41cd34443123e";
@@ -824,6 +981,8 @@ export declare const requestContractSourceProvenance: {
824
981
  readonly "packages/domain/src/dto/automation/runtime.execution.policy.dto.ts#RuntimeJobExecutionPolicyDto": "d900a693362a9de02839e2ae959c4e8ac2ac8e0206a4cbe69e889a3636793d23";
825
982
  readonly "packages/domain/src/dto/components/update.component.dto.ts#UpdateComponentDto": "bac5c210c38eb230ae6ca2b42428956ea1c2065ffc947c40478152098a50e673";
826
983
  readonly "packages/domain/src/dto/components/component.element.dto.ts#ComponentElementsDto": "4aa2ccd5613c116213525b0c686060973f657e7b81bed7362d925958d829c527";
984
+ readonly "packages/domain/src/dto/automation/endpoint.request-body.dto.ts#EndpointRequestBodyDto": "8dd7d90bb5bee398fb750844f08229863d90b027f974747ce9422880abebc8d4";
985
+ readonly "packages/domain/src/dto/automation/endpoint.response-body.dto.ts#EndpointResponseBodyDto": "c02535326d7b97544f01b4210a225e8dd9d77e93e392cb5c02c0df11765bc2f5";
827
986
  readonly "packages/domain/src/dto/components/component.test-config.dto.ts#ComponentTestConfigDto": "bd160d9217d45584cd7ab29680edef807d8a56fa61283000e1a3db88b8d74d19";
828
987
  readonly "apps/api/src/modules/components/component.service.ts#assertNativeTestConfiguration": "f2089642a94765e9f6168fcf39204c18a8585cdb377ada3ed98f53b2c21aae0c";
829
988
  readonly "packages/domain/src/dto/components/component-element-key.const.ts#COMPONENT_ELEMENT_RESERVED_KEYS": "ef9367438b70f78facd959c66002f51e3b035b5b23594a7850d3d86bf75ea4e9";