@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
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Regenerate with
5
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
+ */
7
+
8
+ import type { CriterionVerification } from "./CriterionVerification";
9
+
10
+ /**
11
+ * One acceptance criterion of a requirement or story.
12
+ */
13
+ export interface SpecAcceptanceCriterion {
14
+ /**
15
+ * Stable within its artifact, e.g. `AC-1`.
16
+ */
17
+ id: string;
18
+ /**
19
+ * The observable condition, ideally an EARS sentence.
20
+ */
21
+ text: string;
22
+ /**
23
+ * How the criterion is checked. Required: a spec states it rather than
24
+ * inheriting a default.
25
+ */
26
+ verification: CriterionVerification;
27
+ [k: string]: unknown;
28
+ }
@@ -0,0 +1,36 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Regenerate with
5
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
+ */
7
+
8
+ import type { CriterionVerification } from "./CriterionVerification";
9
+ import type { EarsPattern } from "./EarsPattern";
10
+ import type { ExternalRef } from "./ExternalRef";
11
+ import type { InterfaceMappingFrontmatter } from "./InterfaceMappingFrontmatter";
12
+ import type { MappingRow } from "./MappingRow";
13
+ import type { RequestFrontmatter } from "./RequestFrontmatter";
14
+ import type { RequirementFrontmatter } from "./RequirementFrontmatter";
15
+ import type { SourceCitation } from "./SourceCitation";
16
+ import type { SourceCitationKind } from "./SourceCitationKind";
17
+ import type { SpecAcceptanceCriterion } from "./SpecAcceptanceCriterion";
18
+ import type { StoryFrontmatter } from "./StoryFrontmatter";
19
+ import type { TemplateRef } from "./TemplateRef";
20
+
21
+ /**
22
+ * The frontmatter of a spec artifact, tagged by its work-artifact `kind`.
23
+ */
24
+ export type SpecFrontmatter =
25
+ | (RequestFrontmatter & {
26
+ kind: "request";
27
+ })
28
+ | (RequirementFrontmatter & {
29
+ kind: "requirement";
30
+ })
31
+ | (InterfaceMappingFrontmatter & {
32
+ kind: "interface_mapping";
33
+ })
34
+ | (StoryFrontmatter & {
35
+ kind: "story";
36
+ });
@@ -0,0 +1,11 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Regenerate with
5
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
+ */
7
+
8
+ /**
9
+ * A natural language a spec artifact is written in.
10
+ */
11
+ export type SpecLanguage = "en" | "de";
@@ -0,0 +1,26 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Regenerate with
5
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
+ */
7
+
8
+ import type { CriterionVerification } from "./CriterionVerification";
9
+ import type { ExternalRef } from "./ExternalRef";
10
+ import type { SpecAcceptanceCriterion } from "./SpecAcceptanceCriterion";
11
+ import type { TemplateRef } from "./TemplateRef";
12
+
13
+ /**
14
+ * A user story.
15
+ */
16
+ export interface StoryFrontmatter {
17
+ acceptance_criteria?: SpecAcceptanceCriterion[];
18
+ external_refs?: ExternalRef[];
19
+ id: string;
20
+ /**
21
+ * The `spec_ref`s of the requirements this story refines.
22
+ */
23
+ refines?: string[];
24
+ template?: TemplateRef | null;
25
+ [k: string]: unknown;
26
+ }
@@ -0,0 +1,17 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Regenerate with
5
+ * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
+ */
7
+
8
+ /**
9
+ * The `prompt_template` document (and its version) an artifact was authored
10
+ * from — `spec-story` or a `spec-story-for-<lob>` variant, say — so a later
11
+ * template edit is traceable to the artifacts it affects.
12
+ */
13
+ export interface TemplateRef {
14
+ name: string;
15
+ version: number;
16
+ [k: string]: unknown;
17
+ }
@@ -23,4 +23,11 @@ export type UnknownCode =
23
23
  | "below_confidence_floor"
24
24
  | "model_reply_unparseable"
25
25
  | "needs_multi_frame_input"
26
- | "stale_input";
26
+ | "stale_input"
27
+ | "frontier_open"
28
+ | "ledger_schema_absent"
29
+ | "ledger_write_failing"
30
+ | "no_observations"
31
+ | "to_node_unobserved"
32
+ | "performance_observer_unsupported"
33
+ | "no_event_before_timeout";
@@ -65,12 +65,11 @@ export type { CacheProvenance } from './CacheProvenance';
65
65
  export type { CandidateMiss } from './CandidateMiss';
66
66
  export type { CanonicalStep } from './CanonicalStep';
67
67
  export type { CanvasPanel } from './CanvasPanel';
68
- export type { CapabilityState } from './CapabilityState';
69
68
  export type { CatchUpPolicy } from './CatchUpPolicy';
70
69
  export type { Category } from './Category';
70
+ export type { ChangeTimeline } from './ChangeTimeline';
71
71
  export type { CheckIssueDetail } from './CheckIssueDetail';
72
72
  export type { CheckType } from './CheckType';
73
- export type { CliProfile } from './CliProfile';
74
73
  export type { CodeExecutionStep } from './CodeExecutionStep';
75
74
  export type { CommandMode } from './CommandMode';
76
75
  export type { CommandStep } from './CommandStep';
@@ -109,10 +108,12 @@ export type { CreateScheduledTaskRequest } from './CreateScheduledTaskRequest';
109
108
  export type { CreateTaskRunRequest } from './CreateTaskRunRequest';
110
109
  export type { CriterionOverride } from './CriterionOverride';
111
110
  export type { CriterionType } from './CriterionType';
111
+ export type { CriterionVerification } from './CriterionVerification';
112
112
  export type { DagApprovalStep } from './DagApprovalStep';
113
113
  export type { DagCancelStep } from './DagCancelStep';
114
114
  export type { DagLoopStep } from './DagLoopStep';
115
115
  export type { DecomposerConfig } from './DecomposerConfig';
116
+ export type { DetectedAnimation } from './DetectedAnimation';
116
117
  export type { DevSeedFindingPayload } from './DevSeedFindingPayload';
117
118
  export type { DeviceBranchSummary } from './DeviceBranchSummary';
118
119
  export type { DiagnosePhaseConfig } from './DiagnosePhaseConfig';
@@ -131,6 +132,8 @@ export type { DisplayNode } from './DisplayNode';
131
132
  export type { DomainAssignment } from './DomainAssignment';
132
133
  export type { DomainKnowledge } from './DomainKnowledge';
133
134
  export type { DomainVerificationResult } from './DomainVerificationResult';
135
+ export type { EarsPattern } from './EarsPattern';
136
+ export type { EdgeTiming } from './EdgeTiming';
134
137
  export type { EffectCheckStep } from './EffectCheckStep';
135
138
  export type { ElementActionRequest } from './ElementActionRequest';
136
139
  export type { ElementBbox } from './ElementBbox';
@@ -175,6 +178,7 @@ export type { ExitCheckResult } from './ExitCheckResult';
175
178
  export type { ExitStrategy } from './ExitStrategy';
176
179
  export type { ExportResult } from './ExportResult';
177
180
  export type { ExtendIterationsRequest } from './ExtendIterationsRequest';
181
+ export type { ExternalRef } from './ExternalRef';
178
182
  export type { FieldDiff } from './FieldDiff';
179
183
  export type { FileChange } from './FileChange';
180
184
  export type { FilterNarrowing } from './FilterNarrowing';
@@ -226,6 +230,7 @@ export type { ImplementFixesConfig } from './ImplementFixesConfig';
226
230
  export type { IndividualCheckResult } from './IndividualCheckResult';
227
231
  export type { InitialStateRef } from './InitialStateRef';
228
232
  export type { InitialStatesSource } from './InitialStatesSource';
233
+ export type { InterfaceMappingFrontmatter } from './InterfaceMappingFrontmatter';
229
234
  export type { IrAssertion } from './IrAssertion';
230
235
  export type { IrAssertionTarget } from './IrAssertionTarget';
231
236
  export type { IrCrossRef } from './IrCrossRef';
@@ -249,10 +254,24 @@ export type { JobItem } from './JobItem';
249
254
  export type { JobListResponse } from './JobListResponse';
250
255
  export type { JobStatus } from './JobStatus';
251
256
  export type { JobSummary } from './JobSummary';
257
+ export type { JourneyArrivalDoubt } from './JourneyArrivalDoubt';
258
+ export type { JourneyCoverage } from './JourneyCoverage';
259
+ export type { JourneyDeadEnds } from './JourneyDeadEnds';
252
260
  export type { JourneyEdgeObservation } from './JourneyEdgeObservation';
261
+ export type { JourneyEdgeTimingAnswer } from './JourneyEdgeTimingAnswer';
262
+ export type { JourneyFilter } from './JourneyFilter';
263
+ export type { JourneyFrontier } from './JourneyFrontier';
264
+ export type { JourneyGraph } from './JourneyGraph';
265
+ export type { JourneyGraphEdge } from './JourneyGraphEdge';
253
266
  export type { JourneyLedgerHealth } from './JourneyLedgerHealth';
254
267
  export type { JourneyNode } from './JourneyNode';
268
+ export type { JourneyPriorKnowledge } from './JourneyPriorKnowledge';
269
+ export type { JourneyReachable } from './JourneyReachable';
270
+ export type { JourneySearchFrontier } from './JourneySearchFrontier';
271
+ export type { JourneySearchFrontierNode } from './JourneySearchFrontierNode';
272
+ export type { JourneySteps } from './JourneySteps';
255
273
  export type { JourneyTrigger } from './JourneyTrigger';
274
+ export type { JourneyUnmeasuredDepartures } from './JourneyUnmeasuredDepartures';
256
275
  export type { LLMCostSummary } from './LLMCostSummary';
257
276
  export type { LLMMetrics } from './LLMMetrics';
258
277
  export type { LegacyAssertion } from './LegacyAssertion';
@@ -266,6 +285,8 @@ export type { LegacyTransition } from './LegacyTransition';
266
285
  export type { LogSourceSelection } from './LogSourceSelection';
267
286
  export type { LoopInstanceStatus } from './LoopInstanceStatus';
268
287
  export type { LoopPhase } from './LoopPhase';
288
+ export type { ManagedBy } from './ManagedBy';
289
+ export type { MappingRow } from './MappingRow';
269
290
  export type { MatchAdjustment } from './MatchAdjustment';
270
291
  export type { MatchLocation } from './MatchLocation';
271
292
  export type { MatchMethod } from './MatchMethod';
@@ -288,6 +309,7 @@ export type { MemorySummary } from './MemorySummary';
288
309
  export type { MemoryUpsertRequest } from './MemoryUpsertRequest';
289
310
  export type { MemoryUpsertResponse } from './MemoryUpsertResponse';
290
311
  export type { MemoryWithHistory } from './MemoryWithHistory';
312
+ export type { MetricDistribution } from './MetricDistribution';
291
313
  export type { MissReason } from './MissReason';
292
314
  export type { ModelCostBreakdown } from './ModelCostBreakdown';
293
315
  export type { ModelOverrideConfig } from './ModelOverrideConfig';
@@ -356,6 +378,18 @@ export type { RagProgressEvent } from './RagProgressEvent';
356
378
  export type { ReadConfigResponse } from './ReadConfigResponse';
357
379
  export type { RecommendedState } from './RecommendedState';
358
380
  export type { RecordGitOpRequest } from './RecordGitOpRequest';
381
+ export type { RecurringAgentDispatchRole } from './RecurringAgentDispatchRole';
382
+ export type { RecurringAgentExcludedValue } from './RecurringAgentExcludedValue';
383
+ export type { RecurringAgentOs } from './RecurringAgentOs';
384
+ export type { RecurringAgentOverride } from './RecurringAgentOverride';
385
+ export type { RecurringAgentParamDef } from './RecurringAgentParamDef';
386
+ export type { RecurringAgentParamKind } from './RecurringAgentParamKind';
387
+ export type { RecurringAgentParamSchema } from './RecurringAgentParamSchema';
388
+ export type { RecurringAgentSpec } from './RecurringAgentSpec';
389
+ export type { RecurringAgentState } from './RecurringAgentState';
390
+ export type { RecurringAgentStatus } from './RecurringAgentStatus';
391
+ export type { RecurringAgentStatusReport } from './RecurringAgentStatusReport';
392
+ export type { RecurringAgentTarget } from './RecurringAgentTarget';
359
393
  export type { ReflectionFixOutput } from './ReflectionFixOutput';
360
394
  export type { Refusal } from './Refusal';
361
395
  export type { RefusalCode } from './RefusalCode';
@@ -365,6 +399,8 @@ export type { RegisterAppRequest } from './RegisterAppRequest';
365
399
  export type { Relationship } from './Relationship';
366
400
  export type { RepositoryInactiveCondition } from './RepositoryInactiveCondition';
367
401
  export type { RepositoryWatch } from './RepositoryWatch';
402
+ export type { RequestFrontmatter } from './RequestFrontmatter';
403
+ export type { RequirementFrontmatter } from './RequirementFrontmatter';
368
404
  export type { ResolvedInitialStates } from './ResolvedInitialStates';
369
405
  export type { ResolvedInitialStatesResult } from './ResolvedInitialStatesResult';
370
406
  export type { ResourceLimits } from './ResourceLimits';
@@ -412,9 +448,11 @@ export type { SearchStrategy } from './SearchStrategy';
412
448
  export type { SectionVerdict } from './SectionVerdict';
413
449
  export type { SemanticSearchRequest } from './SemanticSearchRequest';
414
450
  export type { SemanticSearchResponse } from './SemanticSearchResponse';
415
- export type { SessionFailure } from './SessionFailure';
416
451
  export type { SessionLite } from './SessionLite';
417
452
  export type { SessionSource } from './SessionSource';
453
+ export type { SourceCitation } from './SourceCitation';
454
+ export type { SourceCitationKind } from './SourceCitationKind';
455
+ export type { SpecAcceptanceCriterion } from './SpecAcceptanceCriterion';
418
456
  export type { SpecApiEvent } from './SpecApiEvent';
419
457
  export type { SpecCheckConfidence } from './SpecCheckConfidence';
420
458
  export type { SpecCheckPolicy } from './SpecCheckPolicy';
@@ -422,6 +460,8 @@ export type { SpecCheckResult } from './SpecCheckResult';
422
460
  export type { SpecCheckStep } from './SpecCheckStep';
423
461
  export type { SpecCheckStepConfig } from './SpecCheckStepConfig';
424
462
  export type { SpecCheckSummary } from './SpecCheckSummary';
463
+ export type { SpecFrontmatter } from './SpecFrontmatter';
464
+ export type { SpecLanguage } from './SpecLanguage';
425
465
  export type { SpecProvenance } from './SpecProvenance';
426
466
  export type { SpecSection } from './SpecSection';
427
467
  export type { SpecTarget } from './SpecTarget';
@@ -457,6 +497,7 @@ export type { StateNodeData } from './StateNodeData';
457
497
  export type { StatesResponse } from './StatesResponse';
458
498
  export type { StdioConfig } from './StdioConfig';
459
499
  export type { StepExecutionConfig } from './StepExecutionConfig';
500
+ export type { StoryFrontmatter } from './StoryFrontmatter';
460
501
  export type { StructuredFinding } from './StructuredFinding';
461
502
  export type { StructuredOverride } from './StructuredOverride';
462
503
  export type { StructuredSignal } from './StructuredSignal';
@@ -485,6 +526,7 @@ export type { TaskRunSession } from './TaskRunSession';
485
526
  export type { TaskRunStatus } from './TaskRunStatus';
486
527
  export type { TaskRunUpdate } from './TaskRunUpdate';
487
528
  export type { TaskType } from './TaskType';
529
+ export type { TemplateRef } from './TemplateRef';
488
530
  export type { TerminalExitEvent } from './TerminalExitEvent';
489
531
  export type { TerminalInfo } from './TerminalInfo';
490
532
  export type { TerminalOutputEvent } from './TerminalOutputEvent';
@@ -1,25 +0,0 @@
1
- /* eslint-disable */
2
- /**
3
- * This file was automatically generated.
4
- * DO NOT MODIFY IT BY HAND. Regenerate with
5
- * `qontinui-runner/src-tauri/scripts/generate_types.sh`.
6
- */
7
-
8
- /**
9
- * Three-valued capability fact.
10
- *
11
- * `Unknown` is the default for anything a profile or catalog does not state.
12
- * It is a distinct value from `Unsupported` on purpose: a boolean cannot
13
- * represent "we never asked", and coercing that to "no" silently disables
14
- * working capabilities.
15
- *
16
- * Moved here from qontinui-runner `src-tauri/src/model_catalog.rs` so the
17
- * model/API layer (`ModelFacts`) and the CLI-session layer ([`CliProfile`])
18
- * speak one tri-state; `model_catalog` re-exports it. Serialized as
19
- * `"supported"` / `"unsupported"` / `"unknown"`.
20
- *
21
- * [`CapabilityState::Unknown`] must never be a reason to strip content or
22
- * refuse a route. Callers that must act on an unknown fact should attempt the
23
- * capability and let the backend be the authority.
24
- */
25
- export type CapabilityState = "supported" | "unsupported" | "unknown";