car-runtime 0.32.1 → 0.33.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/index.d.ts +9 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2868,6 +2868,15 @@ export function listOsSchedules(): string;
|
|
|
2868
2868
|
* schedulable. Returns the reconcile report `{ removed, kept, errors }`.
|
|
2869
2869
|
*/
|
|
2870
2870
|
export function reconcileOsSchedules(): string;
|
|
2871
|
+
/** Schedule a deterministic command on a cadence, hiding the OS backend (#72).
|
|
2872
|
+
* specJson = { name, program, args?, cadence: { intervalSecs? | cron? },
|
|
2873
|
+
* durable?, workingDir?, env?, permissionTier? }.
|
|
2874
|
+
* Returns { id, durable, backend: "launchd"|"cron"|"daemon", task }. */
|
|
2875
|
+
export function scheduleTask(specJson: string): string;
|
|
2876
|
+
/** List deterministic (command) scheduled tasks with their resolved backend. */
|
|
2877
|
+
export function listScheduledTasks(): string;
|
|
2878
|
+
/** Unschedule a deterministic task — remove any OS schedule + delete from the store. */
|
|
2879
|
+
export function unscheduleTask(idOrLabel: string): string;
|
|
2871
2880
|
|
|
2872
2881
|
/** Run a task once using the registered agent runner. */
|
|
2873
2882
|
export function runTask(taskJson: string): Promise<string>;
|