@revoengine/cli 1.0.39 → 2.1.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/CHANGELOG.md +20 -0
- package/README.md +15 -9
- package/dist/src/argument-contract.js +1 -1
- package/dist/src/automation-contract.generated.d.ts +91 -34
- package/dist/src/automation-contract.generated.js +109 -34
- package/dist/src/client.d.ts +3 -0
- package/dist/src/commands/component.js +16 -0
- package/dist/src/commands/terminal-browser-human-input.d.ts +28 -0
- package/dist/src/commands/terminal-browser-human-input.js +56 -7
- package/dist/src/commands/terminal-browser-live-protocol.d.ts +9 -1
- package/dist/src/commands/terminal-browser-live-protocol.js +16 -3
- package/dist/src/commands/terminal-browser-live-transport.d.ts +2 -0
- package/dist/src/commands/terminal-browser-live-transport.js +21 -5
- package/dist/src/commands/terminal-browser-live.d.ts +18 -1
- package/dist/src/commands/terminal-browser-live.js +190 -14
- package/dist/src/commands/terminal-browser-observation.d.ts +1 -1
- package/dist/src/commands/terminal-browser-observation.js +10 -1
- package/dist/src/commands/terminal-browser-page-input.d.ts +1 -0
- package/dist/src/commands/terminal-browser-page-input.js +20 -0
- package/dist/src/commands/terminal-browser-profile-sync.d.ts +5 -1
- package/dist/src/commands/terminal-browser-profile-sync.js +13 -2
- package/dist/src/commands/terminal-browser-profile-sync.protocol.d.ts +2 -0
- package/dist/src/commands/terminal-browser.d.ts +17 -0
- package/dist/src/commands/terminal-browser.js +310 -104
- package/dist/src/commands/terminal.js +104 -24
- package/dist/src/endpoint-emulator.js +9 -10
- package/dist/src/project.js +1 -0
- package/dist/src/request-contract.d.ts +2 -0
- package/dist/src/request-contract.js +11 -1
- package/dist/src/resource-syncs/automation-input.d.ts +2 -2
- package/dist/src/resource-syncs/automation-input.js +7 -17
- package/dist/src/resource-syncs/event-sync.d.ts +2 -0
- package/dist/src/resource-syncs/event-sync.js +18 -8
- package/dist/src/resource-syncs/job-template-sync.d.ts +2 -0
- package/dist/src/resource-syncs/job-template-sync.js +6 -1
- package/dist/src/resource-syncs/runtime-definition-validation.js +10 -2
- package/dist/src/resource-syncs/schedule-sync.js +0 -1
- package/dist/src/sync-omit.js +3 -1
- package/dist/src/types.d.ts +12 -5
- package/dist/src/ui.js +1 -1
- package/package.json +1 -1
package/dist/src/types.d.ts
CHANGED
|
@@ -144,9 +144,6 @@ export type EndpointOptions = {
|
|
|
144
144
|
customValidateResponse?: unknown;
|
|
145
145
|
validateResponse?: number;
|
|
146
146
|
validateHideResponse?: boolean;
|
|
147
|
-
includeLibs?: string[];
|
|
148
|
-
excludeLibs?: string[];
|
|
149
|
-
skipLibs?: boolean;
|
|
150
147
|
legacyResults?: boolean;
|
|
151
148
|
hideRequest?: boolean;
|
|
152
149
|
hideResponse?: boolean;
|
|
@@ -257,6 +254,7 @@ export type GroupRecord = {
|
|
|
257
254
|
[key: string]: unknown;
|
|
258
255
|
};
|
|
259
256
|
export type JobTemplateRecord = {
|
|
257
|
+
delivery?: JobDelivery | null;
|
|
260
258
|
executionPolicy?: RuntimeExecutionPolicy | null;
|
|
261
259
|
jobTemplateId?: string;
|
|
262
260
|
id?: string;
|
|
@@ -280,11 +278,19 @@ export type JobTemplateRecord = {
|
|
|
280
278
|
deletedAt?: string | null;
|
|
281
279
|
[key: string]: unknown;
|
|
282
280
|
};
|
|
283
|
-
export type AutomationInputMode = 'override' | 'deep_override' | 'replace';
|
|
284
281
|
export type AutomationRuntimeInputFields = {
|
|
285
282
|
input?: Record<string, unknown>;
|
|
286
|
-
inputMode?: AutomationInputMode;
|
|
287
283
|
};
|
|
284
|
+
export type JobDelivery = {
|
|
285
|
+
maxSize: number;
|
|
286
|
+
maxWaitSeconds: number;
|
|
287
|
+
} & ({
|
|
288
|
+
mode: 'BATCH';
|
|
289
|
+
quietPeriodSeconds?: never;
|
|
290
|
+
} | {
|
|
291
|
+
mode: 'DEBOUNCE';
|
|
292
|
+
quietPeriodSeconds: number;
|
|
293
|
+
});
|
|
288
294
|
export type ScheduleRecord = AutomationRuntimeInputFields & {
|
|
289
295
|
scheduleId?: string;
|
|
290
296
|
id?: string;
|
|
@@ -309,6 +315,7 @@ export type ScheduleRecord = AutomationRuntimeInputFields & {
|
|
|
309
315
|
[key: string]: unknown;
|
|
310
316
|
};
|
|
311
317
|
export type EventRecord = AutomationRuntimeInputFields & {
|
|
318
|
+
delivery?: unknown;
|
|
312
319
|
jobEventId?: string;
|
|
313
320
|
eventId?: string;
|
|
314
321
|
id?: string;
|
package/dist/src/ui.js
CHANGED
|
@@ -136,7 +136,7 @@ function renderCommandCatalog() {
|
|
|
136
136
|
commandRow('revo component pull --all [--project <name>] [--yes] [--force]', 'Pull every available component safely'),
|
|
137
137
|
commandRow('revo component push <identity...> [--project <name>]', 'Push by configured stable key or component ID'),
|
|
138
138
|
commandRow('revo component push --all [--project <name>] [--yes] [--force] [--prune] [--changed --base <ref>]', 'Push local components with lock checks'),
|
|
139
|
-
commandRow('revo component debug <componentId> [BODY] [--read-only=true|false] [--stream]', 'Run one local component in sandbox'),
|
|
139
|
+
commandRow('revo component debug <componentId> [BODY] [--read-only=true|false] [--call-strategy=caller|endpoints|jobs] [--stream]', 'Run one local component in sandbox'),
|
|
140
140
|
'',
|
|
141
141
|
paintHeader('Native tests'),
|
|
142
142
|
commandRow('revo tests list [--workspace <path>] [--search <name>] [--json]', 'Discover native test suites in the local worktree'),
|