@qontinui/shared-types 2.4.1 → 3.0.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 (57) hide show
  1. package/dist/scheduler.d.cts +81 -0
  2. package/dist/scheduler.d.ts +81 -0
  3. package/package.json +1 -1
  4. package/src/generated/ChangeTimeline.d.ts +484 -0
  5. package/src/generated/CriterionVerification.d.ts +11 -0
  6. package/src/generated/DetectedAnimation.d.ts +32 -0
  7. package/src/generated/EarsPattern.d.ts +20 -0
  8. package/src/generated/EdgeTiming.d.ts +156 -0
  9. package/src/generated/ExecutePlaybookStep.d.ts +5 -4
  10. package/src/generated/ExternalRef.d.ts +22 -0
  11. package/src/generated/InterfaceMappingFrontmatter.d.ts +21 -0
  12. package/src/generated/JourneyArrivalDoubt.d.ts +26 -0
  13. package/src/generated/JourneyCoverage.d.ts +91 -0
  14. package/src/generated/JourneyDeadEnds.d.ts +109 -0
  15. package/src/generated/JourneyEdgeObservation.d.ts +3 -2
  16. package/src/generated/JourneyEdgeTimingAnswer.d.ts +88 -0
  17. package/src/generated/JourneyFilter.d.ts +35 -0
  18. package/src/generated/JourneyFrontier.d.ts +51 -0
  19. package/src/generated/JourneyGraph.d.ts +165 -0
  20. package/src/generated/JourneyGraphEdge.d.ts +45 -0
  21. package/src/generated/JourneyPriorKnowledge.d.ts +112 -0
  22. package/src/generated/JourneyReachable.d.ts +64 -0
  23. package/src/generated/JourneySearchFrontier.d.ts +59 -0
  24. package/src/generated/JourneySearchFrontierNode.d.ts +37 -0
  25. package/src/generated/JourneySteps.d.ts +65 -0
  26. package/src/generated/JourneyUnmeasuredDepartures.d.ts +84 -0
  27. package/src/generated/ManagedBy.d.ts +45 -0
  28. package/src/generated/MappingRow.d.ts +23 -0
  29. package/src/generated/MetricDistribution.d.ts +54 -0
  30. package/src/generated/RecurringAgentDispatchRole.d.ts +11 -0
  31. package/src/generated/RecurringAgentExcludedValue.d.ts +20 -0
  32. package/src/generated/RecurringAgentOs.d.ts +11 -0
  33. package/src/generated/RecurringAgentOverride.d.ts +48 -0
  34. package/src/generated/RecurringAgentParamDef.d.ts +100 -0
  35. package/src/generated/RecurringAgentParamKind.d.ts +89 -0
  36. package/src/generated/RecurringAgentParamSchema.d.ts +16 -0
  37. package/src/generated/RecurringAgentSpec.d.ts +91 -0
  38. package/src/generated/RecurringAgentState.d.ts +13 -0
  39. package/src/generated/RecurringAgentStatus.d.ts +79 -0
  40. package/src/generated/RecurringAgentStatusReport.d.ts +48 -0
  41. package/src/generated/RecurringAgentTarget.d.ts +78 -0
  42. package/src/generated/RequestFrontmatter.d.ts +30 -0
  43. package/src/generated/RequirementFrontmatter.d.ts +31 -0
  44. package/src/generated/ScheduledTask.d.ts +15 -0
  45. package/src/generated/ScheduledTaskType.d.ts +21 -0
  46. package/src/generated/SourceCitation.d.ts +25 -0
  47. package/src/generated/SourceCitationKind.d.ts +12 -0
  48. package/src/generated/SpecAcceptanceCriterion.d.ts +28 -0
  49. package/src/generated/SpecFrontmatter.d.ts +36 -0
  50. package/src/generated/SpecLanguage.d.ts +11 -0
  51. package/src/generated/StoryFrontmatter.d.ts +26 -0
  52. package/src/generated/TemplateRef.d.ts +17 -0
  53. package/src/generated/UnknownCode.d.ts +8 -1
  54. package/src/generated/index.ts +45 -3
  55. package/src/generated/CapabilityState.d.ts +0 -25
  56. package/src/generated/CliProfile.d.ts +0 -492
  57. package/src/generated/SessionFailure.d.ts +0 -129
@@ -252,6 +252,52 @@ interface ConditionStatus {
252
252
  */
253
253
  type CatchUpPolicy = "run" | "skip" | "run_once";
254
254
 
255
+ /* eslint-disable */
256
+ /**
257
+ * This file was automatically generated.
258
+ * DO NOT MODIFY IT BY HAND. Regenerate with
259
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
260
+ */
261
+
262
+ /**
263
+ * Provenance of a [`ScheduledTask`] that the runner reconciles from a
264
+ * fleet-wide declaration (plan
265
+ * `2026-10-29-recurring-agents-declared-in-coord-reconciled-by-runner`, D5).
266
+ *
267
+ * `(source, tenant_id, agent)` is the managed key: the runner holds at most
268
+ * one task per key. What the reconciler compares to decide whether a task is
269
+ * current is `digest`, never `version` — a catalog fix in coord's code moves
270
+ * no row version, and a deleted-and-recreated agent restarts its version at 1.
271
+ */
272
+ interface ManagedBy {
273
+ /**
274
+ * The recurring agent's name — its join key across coord's status, run
275
+ * requests and this managed task (coord forbids renames).
276
+ */
277
+ agent: string;
278
+ /**
279
+ * sha256 (64 lowercase hex) of the resolved spec coord served when this
280
+ * task was applied. `None` = applied from a declaration that carried no
281
+ * digest.
282
+ */
283
+ digest?: string | null;
284
+ /**
285
+ * Which declaration store the task came from — [`MANAGED_SOURCE_COORD`].
286
+ * A plain string rather than an enum, so a stored task from a newer
287
+ * source still loads; the consumer decides what it recognises.
288
+ */
289
+ source: string;
290
+ /**
291
+ * The coord tenant (UUID) whose declaration this task applies. A device
292
+ * bound to several tenants holds one managed task per tenant and agent.
293
+ */
294
+ tenantId: string;
295
+ /**
296
+ * The declaration's row version when applied. History and display only.
297
+ */
298
+ version: number;
299
+ }
300
+
255
301
  /* eslint-disable */
256
302
  /**
257
303
  * This file was automatically generated.
@@ -390,6 +436,21 @@ type ScheduledTaskType =
390
436
  * Empty = use the runner's default tool allow-list.
391
437
  */
392
438
  allowed_tools?: string[];
439
+ /**
440
+ * Optional reasoning-effort level for the spawned session: one of
441
+ * `low`, `medium`, `high`, `xhigh` or `max`. `None` leaves the level
442
+ * to the runner. A plain string rather than an enum, so a stored
443
+ * task carrying a level this crate does not list still loads; the
444
+ * consumer validates it.
445
+ */
446
+ effort?: string | null;
447
+ /**
448
+ * Optional kebab-case name of a spawn-effort profile (e.g.
449
+ * `research`, `implementation`) that the runner resolves to an
450
+ * effort level and an ultracode setting. `None` leaves the choice
451
+ * to the runner.
452
+ */
453
+ effort_profile?: string | null;
393
454
  /**
394
455
  * Hard cap on Claude turns per run (safety bound). `None` =
395
456
  * runner's default cap (typically 50).
@@ -416,6 +477,12 @@ type ScheduledTaskType =
416
477
  * (typically 600s = 10 min).
417
478
  */
418
479
  timeout_seconds?: number | null;
480
+ /**
481
+ * Optional ultracode switch (standing dynamic-workflow orchestration)
482
+ * for the spawned session. `Some(true)` turns it on, `Some(false)`
483
+ * keeps it off, and `None` leaves the choice to the runner.
484
+ */
485
+ ultracode?: boolean | null;
419
486
  /**
420
487
  * Working directory for the spawned session. `None` means the
421
488
  * runner's project root. Stored as a string (not `PathBuf`) to keep
@@ -579,6 +646,12 @@ interface ScheduledTask {
579
646
  * Default 60s.
580
647
  */
581
648
  launchFailureBackoffSeconds: number;
649
+ /**
650
+ * Set when the task was created by the runner's reconciler from a
651
+ * fleet-wide recurring-agent declaration rather than by a user. `None` =
652
+ * an unmanaged, user-created task, which the reconciler never touches.
653
+ */
654
+ managed?: ManagedBy | null;
582
655
  /**
583
656
  * ISO 8601 timestamp of last modification.
584
657
  */
@@ -607,6 +680,14 @@ interface ScheduledTask {
607
680
  * Task type and its per-type configuration.
608
681
  */
609
682
  task: ScheduledTaskType;
683
+ /**
684
+ * IANA time zone this task's schedule is interpreted in (e.g.
685
+ * `Europe/Berlin`). Takes precedence over the global
686
+ * [`SchedulerSettings::timezone`]; `None` = the scheduler's zone. Lets one
687
+ * fleet-wide declaration mean either "local night on every device" or a
688
+ * fixed instant.
689
+ */
690
+ timezone?: string | null;
610
691
  }
611
692
 
612
693
  /* eslint-disable */
@@ -252,6 +252,52 @@ interface ConditionStatus {
252
252
  */
253
253
  type CatchUpPolicy = "run" | "skip" | "run_once";
254
254
 
255
+ /* eslint-disable */
256
+ /**
257
+ * This file was automatically generated.
258
+ * DO NOT MODIFY IT BY HAND. Regenerate with
259
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
260
+ */
261
+
262
+ /**
263
+ * Provenance of a [`ScheduledTask`] that the runner reconciles from a
264
+ * fleet-wide declaration (plan
265
+ * `2026-10-29-recurring-agents-declared-in-coord-reconciled-by-runner`, D5).
266
+ *
267
+ * `(source, tenant_id, agent)` is the managed key: the runner holds at most
268
+ * one task per key. What the reconciler compares to decide whether a task is
269
+ * current is `digest`, never `version` — a catalog fix in coord's code moves
270
+ * no row version, and a deleted-and-recreated agent restarts its version at 1.
271
+ */
272
+ interface ManagedBy {
273
+ /**
274
+ * The recurring agent's name — its join key across coord's status, run
275
+ * requests and this managed task (coord forbids renames).
276
+ */
277
+ agent: string;
278
+ /**
279
+ * sha256 (64 lowercase hex) of the resolved spec coord served when this
280
+ * task was applied. `None` = applied from a declaration that carried no
281
+ * digest.
282
+ */
283
+ digest?: string | null;
284
+ /**
285
+ * Which declaration store the task came from — [`MANAGED_SOURCE_COORD`].
286
+ * A plain string rather than an enum, so a stored task from a newer
287
+ * source still loads; the consumer decides what it recognises.
288
+ */
289
+ source: string;
290
+ /**
291
+ * The coord tenant (UUID) whose declaration this task applies. A device
292
+ * bound to several tenants holds one managed task per tenant and agent.
293
+ */
294
+ tenantId: string;
295
+ /**
296
+ * The declaration's row version when applied. History and display only.
297
+ */
298
+ version: number;
299
+ }
300
+
255
301
  /* eslint-disable */
256
302
  /**
257
303
  * This file was automatically generated.
@@ -390,6 +436,21 @@ type ScheduledTaskType =
390
436
  * Empty = use the runner's default tool allow-list.
391
437
  */
392
438
  allowed_tools?: string[];
439
+ /**
440
+ * Optional reasoning-effort level for the spawned session: one of
441
+ * `low`, `medium`, `high`, `xhigh` or `max`. `None` leaves the level
442
+ * to the runner. A plain string rather than an enum, so a stored
443
+ * task carrying a level this crate does not list still loads; the
444
+ * consumer validates it.
445
+ */
446
+ effort?: string | null;
447
+ /**
448
+ * Optional kebab-case name of a spawn-effort profile (e.g.
449
+ * `research`, `implementation`) that the runner resolves to an
450
+ * effort level and an ultracode setting. `None` leaves the choice
451
+ * to the runner.
452
+ */
453
+ effort_profile?: string | null;
393
454
  /**
394
455
  * Hard cap on Claude turns per run (safety bound). `None` =
395
456
  * runner's default cap (typically 50).
@@ -416,6 +477,12 @@ type ScheduledTaskType =
416
477
  * (typically 600s = 10 min).
417
478
  */
418
479
  timeout_seconds?: number | null;
480
+ /**
481
+ * Optional ultracode switch (standing dynamic-workflow orchestration)
482
+ * for the spawned session. `Some(true)` turns it on, `Some(false)`
483
+ * keeps it off, and `None` leaves the choice to the runner.
484
+ */
485
+ ultracode?: boolean | null;
419
486
  /**
420
487
  * Working directory for the spawned session. `None` means the
421
488
  * runner's project root. Stored as a string (not `PathBuf`) to keep
@@ -579,6 +646,12 @@ interface ScheduledTask {
579
646
  * Default 60s.
580
647
  */
581
648
  launchFailureBackoffSeconds: number;
649
+ /**
650
+ * Set when the task was created by the runner's reconciler from a
651
+ * fleet-wide recurring-agent declaration rather than by a user. `None` =
652
+ * an unmanaged, user-created task, which the reconciler never touches.
653
+ */
654
+ managed?: ManagedBy | null;
582
655
  /**
583
656
  * ISO 8601 timestamp of last modification.
584
657
  */
@@ -607,6 +680,14 @@ interface ScheduledTask {
607
680
  * Task type and its per-type configuration.
608
681
  */
609
682
  task: ScheduledTaskType;
683
+ /**
684
+ * IANA time zone this task's schedule is interpreted in (e.g.
685
+ * `Europe/Berlin`). Takes precedence over the global
686
+ * [`SchedulerSettings::timezone`]; `None` = the scheduler's zone. Lets one
687
+ * fleet-wide declaration mean either "local night on every device" or a
688
+ * fixed instant.
689
+ */
690
+ timezone?: string | null;
610
691
  }
611
692
 
612
693
  /* eslint-disable */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qontinui/shared-types",
3
- "version": "2.4.1",
3
+ "version": "3.0.0",
4
4
  "description": "Shared TypeScript types for the Qontinui ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",