@elaraai/e3-ui 1.0.3 → 1.0.5
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/README.md +3 -2
- package/dist/src/data.d.ts +22 -1
- package/dist/src/data.d.ts.map +1 -1
- package/dist/src/data.js.map +1 -1
- package/dist/src/decision/bind.d.ts +4594 -0
- package/dist/src/decision/bind.d.ts.map +1 -0
- package/dist/src/decision/bind.js +156 -0
- package/dist/src/decision/bind.js.map +1 -0
- package/dist/src/decision/index.d.ts +1787 -0
- package/dist/src/decision/index.d.ts.map +1 -0
- package/dist/src/decision/index.js +36 -0
- package/dist/src/decision/index.js.map +1 -0
- package/dist/src/decision/journal.d.ts +405 -0
- package/dist/src/decision/journal.d.ts.map +1 -0
- package/dist/src/decision/journal.js +74 -0
- package/dist/src/decision/journal.js.map +1 -0
- package/dist/src/decision/queue.d.ts +2876 -0
- package/dist/src/decision/queue.d.ts.map +1 -0
- package/dist/src/decision/queue.js +166 -0
- package/dist/src/decision/queue.js.map +1 -0
- package/dist/src/decision/types.d.ts +1338 -0
- package/dist/src/decision/types.d.ts.map +1 -0
- package/dist/src/decision/types.js +389 -0
- package/dist/src/decision/types.js.map +1 -0
- package/dist/src/diff.d.ts +72 -0
- package/dist/src/diff.d.ts.map +1 -1
- package/dist/src/diff.js +6 -0
- package/dist/src/diff.js.map +1 -1
- package/dist/src/index.d.ts +27 -11
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +30 -10
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +28 -0
- package/dist/src/internal.d.ts.map +1 -0
- package/dist/src/internal.js +28 -0
- package/dist/src/internal.js.map +1 -0
- package/dist/src/ontology.d.ts +205 -10
- package/dist/src/ontology.d.ts.map +1 -1
- package/dist/src/ontology.js +23 -4
- package/dist/src/ontology.js.map +1 -1
- package/dist/src/runtime/decision/journal.d.ts +29 -0
- package/dist/src/runtime/decision/journal.d.ts.map +1 -0
- package/dist/src/runtime/decision/journal.js +27 -0
- package/dist/src/runtime/decision/journal.js.map +1 -0
- package/dist/src/runtime/decision/queue.d.ts +47 -0
- package/dist/src/runtime/decision/queue.d.ts.map +1 -0
- package/dist/src/runtime/decision/queue.js +45 -0
- package/dist/src/runtime/decision/queue.js.map +1 -0
- package/dist/src/runtime/diff.d.ts +36 -0
- package/dist/src/runtime/diff.d.ts.map +1 -0
- package/dist/src/runtime/diff.js +34 -0
- package/dist/src/runtime/diff.js.map +1 -0
- package/dist/src/runtime/index.d.ts +15 -0
- package/dist/src/runtime/index.d.ts.map +1 -0
- package/dist/src/runtime/index.js +15 -0
- package/dist/src/runtime/index.js.map +1 -0
- package/dist/src/runtime/ontology.d.ts +36 -0
- package/dist/src/runtime/ontology.d.ts.map +1 -0
- package/dist/src/runtime/ontology.js +34 -0
- package/dist/src/runtime/ontology.js.map +1 -0
- package/dist/src/runtime/runtime.d.ts +7 -0
- package/dist/src/runtime/runtime.d.ts.map +1 -0
- package/dist/src/runtime/runtime.js +7 -0
- package/dist/src/runtime/runtime.js.map +1 -0
- package/dist/src/ui.d.ts +6 -6
- package/dist/src/ui.d.ts.map +1 -1
- package/dist/src/ui.js +9 -1
- package/dist/src/ui.js.map +1 -1
- package/dist/test/{data.examples.d.ts → data/data.examples.d.ts} +1 -0
- package/dist/test/data/data.examples.d.ts.map +1 -0
- package/dist/test/{data.examples.js → data/data.examples.js} +30 -68
- package/dist/test/data/data.examples.js.map +1 -0
- package/dist/test/decision/journal.examples.d.ts +266 -0
- package/dist/test/decision/journal.examples.d.ts.map +1 -0
- package/dist/test/decision/journal.examples.js +107 -0
- package/dist/test/decision/journal.examples.js.map +1 -0
- package/dist/test/decision/loop.examples.d.ts +455 -0
- package/dist/test/decision/loop.examples.d.ts.map +1 -0
- package/dist/test/decision/loop.examples.js +120 -0
- package/dist/test/decision/loop.examples.js.map +1 -0
- package/dist/test/decision/queue.examples.d.ts +269 -0
- package/dist/test/decision/queue.examples.d.ts.map +1 -0
- package/dist/test/decision/queue.examples.js +273 -0
- package/dist/test/decision/queue.examples.js.map +1 -0
- package/dist/test/{diff.examples.d.ts → diff/diff.examples.d.ts} +5 -4
- package/dist/test/diff/diff.examples.d.ts.map +1 -0
- package/dist/test/diff/diff.examples.js +582 -0
- package/dist/test/diff/diff.examples.js.map +1 -0
- package/dist/test/{ontology.examples.d.ts → ontology/ontology.examples.d.ts} +6 -4
- package/dist/test/ontology/ontology.examples.d.ts.map +1 -0
- package/dist/test/{ontology.examples.js → ontology/ontology.examples.js} +37 -57
- package/dist/test/ontology/ontology.examples.js.map +1 -0
- package/package.json +19 -19
- package/dist/test/data.examples.d.ts.map +0 -1
- package/dist/test/data.examples.js.map +0 -1
- package/dist/test/diff.examples.d.ts.map +0 -1
- package/dist/test/diff.examples.js +0 -964
- package/dist/test/diff.examples.js.map +0 -1
- package/dist/test/ontology.examples.d.ts.map +0 -1
- package/dist/test/ontology.examples.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/decision/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAEH,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,UAAU,EACV,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,YAAY,EAIZ,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,QAAQ,EAChB,MAAM,eAAe,CAAC;AAGvB,iFAAiF;AACjF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoB,CAAC;AACrC,KAAK,cAAc,GAAG,OAAO,UAAU,CA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O,MAAM,QAAQ;IACjB,wFAAwF;;IAExF,yDAAyD;;IAEzD,4EAA4E;;IAE5E,4FAA4F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBtF,CAAC"}
|
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Decision platform types — the lean envelope a reasoning/optimization task
|
|
3
|
+
* emits and the Decide components render. Designed to be filled in one shot by
|
|
4
|
+
* an agent: 5 required fields, the rest optional; primitives over structs;
|
|
5
|
+
* display reuses east-ui's `Format` (no bespoke unit strings).
|
|
6
|
+
*
|
|
7
|
+
* Three data sources with different lifecycles (NOT one fat struct):
|
|
8
|
+
* - DecisionType : the optimizer's argument for ONE decision (read-mostly)
|
|
9
|
+
* - ReferenceType : similar past decisions (separate history dataset, joined by caseId)
|
|
10
|
+
* - JudgementInputType : the operator's notes + injected constraints + verdict (staged input — written back)
|
|
11
|
+
*
|
|
12
|
+
* run / model / audit / freshness / commit-state come from the e3 platform
|
|
13
|
+
* (DataflowRun, DatasetRef, binding.status()), not from these values.
|
|
14
|
+
*
|
|
15
|
+
* Lives alongside OntologyType — the platform's canonical decision envelope that
|
|
16
|
+
* the Decide component family (DecisionQueue, …) binds to and renders.
|
|
17
|
+
*/
|
|
18
|
+
import { East, StructType, VariantType, ArrayType, DictType, OptionType, StringType, FloatType, IntegerType, BooleanType, DateTimeType, NullType, SetType, FunctionType, some, none, variant, } from "@elaraai/east";
|
|
19
|
+
import { Format } from "@elaraai/east-ui";
|
|
20
|
+
/** east-ui value-format descriptor (currency / percent / compact / unit / …). */
|
|
21
|
+
const TickFormat = Format.Types.Tick;
|
|
22
|
+
// ============================================================================
|
|
23
|
+
// Urgency — queue sort + routine collapse + "past SLA" count.
|
|
24
|
+
// ============================================================================
|
|
25
|
+
export const UrgencyType = VariantType({
|
|
26
|
+
overdue: NullType,
|
|
27
|
+
due: NullType,
|
|
28
|
+
routine: NullType,
|
|
29
|
+
});
|
|
30
|
+
// ============================================================================
|
|
31
|
+
// Stakes — drives the briefing chip now; typed-confirm / approval gating
|
|
32
|
+
// later. A bare classification: reversibility is a platform property (every
|
|
33
|
+
// committed change is a diffable, invertible patch), and blast-radius prose
|
|
34
|
+
// belongs in `summary` / `evidence`.
|
|
35
|
+
// ============================================================================
|
|
36
|
+
/**
|
|
37
|
+
* Stakes level classification for a decision.
|
|
38
|
+
*
|
|
39
|
+
* @property low - Routine consequence if wrong
|
|
40
|
+
* @property medium - Noticeable consequence; standard review
|
|
41
|
+
* @property high - Significant consequence; expect scrutiny
|
|
42
|
+
* @property critical - Irreversible-scale consequence; gates extra ceremony
|
|
43
|
+
*/
|
|
44
|
+
export const StakesLevelType = VariantType({
|
|
45
|
+
low: NullType,
|
|
46
|
+
medium: NullType,
|
|
47
|
+
high: NullType,
|
|
48
|
+
critical: NullType,
|
|
49
|
+
});
|
|
50
|
+
// ============================================================================
|
|
51
|
+
// Evidence — the typed chips behind "why this is recommended".
|
|
52
|
+
// ============================================================================
|
|
53
|
+
/**
|
|
54
|
+
* One piece of the model's argument, rendered as a typed evidence chip.
|
|
55
|
+
*
|
|
56
|
+
* @property label - The evidence category ("forecast", "capacity", "track")
|
|
57
|
+
* @property text - The headline fact ("SE region +14%")
|
|
58
|
+
* @property note - Supporting context ("next 2 wks · holiday-demand driver")
|
|
59
|
+
*/
|
|
60
|
+
export const EvidenceType = StructType({
|
|
61
|
+
label: StringType,
|
|
62
|
+
text: StringType,
|
|
63
|
+
note: OptionType(StringType),
|
|
64
|
+
});
|
|
65
|
+
// ============================================================================
|
|
66
|
+
// Prompts + levers — the judgement SPEC, task-authored in the envelope. The
|
|
67
|
+
// operator's RESPONSES (answers / constraints) live in the judgement record;
|
|
68
|
+
// the handle joins the two by case id.
|
|
69
|
+
// ============================================================================
|
|
70
|
+
/**
|
|
71
|
+
* One judgement question gating commit.
|
|
72
|
+
*
|
|
73
|
+
* @property id - Stable answer key — rewording `text` never orphans answers
|
|
74
|
+
* @property text - What the operator reads
|
|
75
|
+
*/
|
|
76
|
+
export const PromptType = StructType({
|
|
77
|
+
id: StringType,
|
|
78
|
+
text: StringType,
|
|
79
|
+
});
|
|
80
|
+
/**
|
|
81
|
+
* One constrainable knob this case accepts — a case of the solution's
|
|
82
|
+
* constraint contract variant (see `JudgementInputType`'s type parameter).
|
|
83
|
+
*
|
|
84
|
+
* @property case - The contract variant's case name
|
|
85
|
+
* @property label - What the operator reads in the constraint builder
|
|
86
|
+
*/
|
|
87
|
+
export const LeverType = StructType({
|
|
88
|
+
case: StringType,
|
|
89
|
+
label: StringType,
|
|
90
|
+
});
|
|
91
|
+
// ============================================================================
|
|
92
|
+
// Judgement answers + verdict — the operator's captured responses.
|
|
93
|
+
// ============================================================================
|
|
94
|
+
/**
|
|
95
|
+
* The captured response to one judgement prompt.
|
|
96
|
+
*
|
|
97
|
+
* @property yes - The operator stands behind the input
|
|
98
|
+
* @property no - The operator contradicts it — blocks commit
|
|
99
|
+
* @property unknown - The operator can't say — routes the case to handoff
|
|
100
|
+
*/
|
|
101
|
+
export const AnswerType = VariantType({
|
|
102
|
+
yes: NullType,
|
|
103
|
+
no: NullType,
|
|
104
|
+
unknown: NullType,
|
|
105
|
+
});
|
|
106
|
+
/**
|
|
107
|
+
* The operator's final word on a case — how it left the queue.
|
|
108
|
+
*
|
|
109
|
+
* @property accepted - The chosen option's label (empty string accepts the
|
|
110
|
+
* recommendation itself)
|
|
111
|
+
* @property rejected - The recommendation was rejected; the operator takes
|
|
112
|
+
* the decision manually
|
|
113
|
+
* @property deferred - Put off, with an optional note ("revisit after wk 12")
|
|
114
|
+
* @property handoff - Routed to someone else — the recipient / routing note
|
|
115
|
+
* (the "don't know" exit)
|
|
116
|
+
*/
|
|
117
|
+
export const VerdictType = VariantType({
|
|
118
|
+
accepted: StringType,
|
|
119
|
+
rejected: NullType,
|
|
120
|
+
deferred: OptionType(StringType),
|
|
121
|
+
handoff: StringType,
|
|
122
|
+
});
|
|
123
|
+
// ============================================================================
|
|
124
|
+
// One of the OTHER options the optimizer evaluated (the recommendation is the
|
|
125
|
+
// decision itself). The ONLY sub-type. `label` is its identity — what a
|
|
126
|
+
// JudgementInput `verdict` references when the operator picks it.
|
|
127
|
+
// ============================================================================
|
|
128
|
+
export const DecisionOptionType = StructType({
|
|
129
|
+
id: OptionType(StringType), // stable identity; verdicts reference id ?? label
|
|
130
|
+
label: StringType, // display label
|
|
131
|
+
value: FloatType, // its uplift (same unit/format as the decision) → right bar
|
|
132
|
+
downside: OptionType(FloatType), // its if-wrong magnitude → left bar
|
|
133
|
+
confidence: OptionType(FloatType), // 0..1 — per-option confidence in the ranked view
|
|
134
|
+
note: OptionType(StringType), // "2 wk lead time · cost lock-in"
|
|
135
|
+
});
|
|
136
|
+
// ============================================================================
|
|
137
|
+
// The lean decision value — the optimizer's argument for ONE case.
|
|
138
|
+
// Domain-agnostic: title/urgency/value describe ANY decision, so capacity,
|
|
139
|
+
// availability, and utilisation decisions share one queue; `kind` groups them.
|
|
140
|
+
// ============================================================================
|
|
141
|
+
export const DecisionType = StructType({
|
|
142
|
+
// ── required core (the queue row) ──
|
|
143
|
+
id: StringType,
|
|
144
|
+
kind: StringType, // "capacity" | "availability" | "utilisation" — grouping/icon
|
|
145
|
+
title: StringType, // "Move 3 SE shifts Patel → Cho"
|
|
146
|
+
urgency: UrgencyType,
|
|
147
|
+
value: FloatType, // headline magnitude (sign ⇒ +/−); drives bar + queue sort
|
|
148
|
+
// ── optional ──
|
|
149
|
+
deadline: OptionType(DateTimeType), // when action is needed → "overdue 2h" label + intra-bucket sort
|
|
150
|
+
format: OptionType(TickFormat), // how to render value/downside/option values (Format.Currency, …)
|
|
151
|
+
summary: OptionType(StringType), // "SE region · wk 09-16"
|
|
152
|
+
downside: OptionType(FloatType), // if-wrong magnitude (hero "−$8k")
|
|
153
|
+
confidence: OptionType(FloatType), // 0..1
|
|
154
|
+
detail: OptionType(StringType), // briefing body (prose / markdown)
|
|
155
|
+
stakes: OptionType(StakesLevelType), // classification → hero chip + commit ceremony
|
|
156
|
+
prompts: ArrayType(PromptType), // judgement checklist — questions the model can't answer; gates commit
|
|
157
|
+
levers: ArrayType(LeverType), // which constraint-contract cases this case accepts
|
|
158
|
+
evidence: ArrayType(EvidenceType), // typed chips: { label, text, note }
|
|
159
|
+
alternatives: ArrayType(DecisionOptionType),
|
|
160
|
+
});
|
|
161
|
+
// ============================================================================
|
|
162
|
+
// SEPARATE DATASET — similar past decisions (queried by caseId / kind).
|
|
163
|
+
// ============================================================================
|
|
164
|
+
export const ReferenceType = StructType({
|
|
165
|
+
caseId: StringType, // links to the live decision (or its kind)
|
|
166
|
+
meta: OptionType(StringType), // "Mar 2024 · NE"
|
|
167
|
+
outcome: OptionType(StringType), // "−$6k OT, 0 SLA"
|
|
168
|
+
similarity: OptionType(FloatType), // 0.95 — drives the rail bar + novelty flag
|
|
169
|
+
});
|
|
170
|
+
// ============================================================================
|
|
171
|
+
// STAGED INPUT — the operator's contribution (the thing WRITTEN back).
|
|
172
|
+
// Modify = inject a constraint here; the reasoning tasks depend on it, so
|
|
173
|
+
// committing re-runs the optimizer (the modify → recalculate loop).
|
|
174
|
+
// ============================================================================
|
|
175
|
+
/**
|
|
176
|
+
* Judgement.Inject — a typed requirement the next optimiser run must satisfy.
|
|
177
|
+
*
|
|
178
|
+
* Type-first variant (the `SlicePredicateType` shape): the outer case is the
|
|
179
|
+
* constrained field's primitive kind, the inner case the requirement
|
|
180
|
+
* operator with its typed payload. LOB-shaped on purpose — bounds, pins,
|
|
181
|
+
* set membership, date windows — and mechanically translatable to solver
|
|
182
|
+
* constraints (linear ≤/≥/=, membership encodings) by the reasoning task.
|
|
183
|
+
* Aggregate constraints (counts/sums over groups) are a later variant case.
|
|
184
|
+
*
|
|
185
|
+
* @property string - `eq` / `neq` pin or forbid a value; `in` / `notIn` set
|
|
186
|
+
* membership
|
|
187
|
+
* @property integer - `eq` pin; `atMost` / `atLeast` bounds; `between` range
|
|
188
|
+
* @property float - `eq` pin; `atMost` / `atLeast` bounds; `between` range
|
|
189
|
+
* @property datetime - `before` / `after` bounds; `between` window
|
|
190
|
+
* @property boolean - `is` requirement
|
|
191
|
+
*/
|
|
192
|
+
export const DecisionConstraintType = VariantType({
|
|
193
|
+
string: VariantType({
|
|
194
|
+
eq: StringType,
|
|
195
|
+
neq: StringType,
|
|
196
|
+
in: SetType(StringType),
|
|
197
|
+
notIn: SetType(StringType),
|
|
198
|
+
}),
|
|
199
|
+
integer: VariantType({
|
|
200
|
+
eq: IntegerType,
|
|
201
|
+
atMost: IntegerType,
|
|
202
|
+
atLeast: IntegerType,
|
|
203
|
+
between: StructType({ min: IntegerType, max: IntegerType }),
|
|
204
|
+
}),
|
|
205
|
+
float: VariantType({
|
|
206
|
+
eq: FloatType,
|
|
207
|
+
atMost: FloatType,
|
|
208
|
+
atLeast: FloatType,
|
|
209
|
+
between: StructType({ min: FloatType, max: FloatType }),
|
|
210
|
+
}),
|
|
211
|
+
datetime: VariantType({
|
|
212
|
+
before: DateTimeType,
|
|
213
|
+
after: DateTimeType,
|
|
214
|
+
between: StructType({ min: DateTimeType, max: DateTimeType }),
|
|
215
|
+
}),
|
|
216
|
+
boolean: VariantType({
|
|
217
|
+
is: BooleanType,
|
|
218
|
+
}),
|
|
219
|
+
});
|
|
220
|
+
/**
|
|
221
|
+
* One constrainable field in a surface's constraint vocabulary — what the
|
|
222
|
+
* judgement panel's typed builder offers. Mirrors `Slice.config` fields,
|
|
223
|
+
* minus accessors: constraints are interpreted by the reasoning task, never
|
|
224
|
+
* evaluated client-side.
|
|
225
|
+
*
|
|
226
|
+
* @property label - Display label ("Cho weekly hours cap")
|
|
227
|
+
* @property kind - The field's primitive kind — drives the typed op editor
|
|
228
|
+
*/
|
|
229
|
+
/** A constraint field's primitive kind — drives the typed op editor. */
|
|
230
|
+
export const ConstraintKindType = VariantType({
|
|
231
|
+
string: NullType,
|
|
232
|
+
integer: NullType,
|
|
233
|
+
float: NullType,
|
|
234
|
+
datetime: NullType,
|
|
235
|
+
boolean: NullType,
|
|
236
|
+
});
|
|
237
|
+
export const ConstraintFieldType = StructType({
|
|
238
|
+
label: StringType,
|
|
239
|
+
kind: ConstraintKindType,
|
|
240
|
+
});
|
|
241
|
+
/**
|
|
242
|
+
* The surface's constraint vocabulary, keyed by field id (the model-namespace
|
|
243
|
+
* path the reasoning task resolves, e.g. `"cho.hardCapHrs"`).
|
|
244
|
+
*/
|
|
245
|
+
export const ConstraintVocabularyType = DictType(StringType, ConstraintFieldType);
|
|
246
|
+
/** `update(editedDecision)` — the writer a probe (`modify`) editor receives.
|
|
247
|
+
* Calling it writes the edited decision back through its owning binding. */
|
|
248
|
+
export const DecisionUpdateType = FunctionType([DecisionType], NullType);
|
|
249
|
+
/**
|
|
250
|
+
* Build the judgement-record type for a solution's constraint contract — the
|
|
251
|
+
* `sliceConfigFor(rowType)` pattern. The contract is a by-name `VariantType`
|
|
252
|
+
* declared once in the solution package and imported by both the reasoning
|
|
253
|
+
* task (which `$.matchTag`s constraints, fully typed) and the surface (whose
|
|
254
|
+
* builder renders a typed editor per case payload). Defaults to
|
|
255
|
+
* {@link DecisionConstraintType}, the primitive op-variant.
|
|
256
|
+
*/
|
|
257
|
+
export function judgementInputType(constraint) {
|
|
258
|
+
return StructType({
|
|
259
|
+
caseId: StringType,
|
|
260
|
+
answers: DictType(StringType, AnswerType), // per-prompt responses, keyed by prompt id
|
|
261
|
+
knowledge: OptionType(StringType), // free-text "what the model can't see"
|
|
262
|
+
constraints: ArrayType((constraint ?? DecisionConstraintType)), // injected requirements (upsert by case name) → re-run
|
|
263
|
+
verdict: OptionType(VerdictType), // how the case left the queue (accepted / rejected / deferred / handoff)
|
|
264
|
+
resolvedAt: OptionType(DateTimeType), // when the verdict was committed — the journal's timeline
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
/** The default judgement-record type (primitive op-variant constraints). */
|
|
268
|
+
export const JudgementInputType = judgementInputType();
|
|
269
|
+
function createDecisionOption(input) {
|
|
270
|
+
return East.value({
|
|
271
|
+
id: input.id !== undefined ? some(input.id) : none,
|
|
272
|
+
label: input.label,
|
|
273
|
+
value: input.value,
|
|
274
|
+
downside: input.downside !== undefined ? some(input.downside) : none,
|
|
275
|
+
confidence: input.confidence !== undefined ? some(input.confidence) : none,
|
|
276
|
+
note: input.note !== undefined ? some(input.note) : none,
|
|
277
|
+
}, DecisionOptionType);
|
|
278
|
+
}
|
|
279
|
+
function createDecision(input) {
|
|
280
|
+
const stakesValue = input.stakes !== undefined
|
|
281
|
+
? some(typeof input.stakes === "string"
|
|
282
|
+
? East.value(variant(input.stakes, null), StakesLevelType)
|
|
283
|
+
: input.stakes)
|
|
284
|
+
: none;
|
|
285
|
+
const promptsValue = input.prompts === undefined
|
|
286
|
+
? []
|
|
287
|
+
: Array.isArray(input.prompts)
|
|
288
|
+
? input.prompts.map(prompt => East.value(typeof prompt === "string"
|
|
289
|
+
? { id: prompt, text: prompt }
|
|
290
|
+
: { id: prompt.id ?? prompt.text, text: prompt.text }, PromptType))
|
|
291
|
+
: input.prompts;
|
|
292
|
+
const leversValue = input.levers === undefined
|
|
293
|
+
? []
|
|
294
|
+
: Array.isArray(input.levers)
|
|
295
|
+
? input.levers.map(lever => East.value({ case: lever.case, label: lever.label }, LeverType))
|
|
296
|
+
: input.levers;
|
|
297
|
+
const evidenceValue = input.evidence === undefined
|
|
298
|
+
? []
|
|
299
|
+
: Array.isArray(input.evidence)
|
|
300
|
+
? input.evidence.map(e => East.value({
|
|
301
|
+
label: e.label,
|
|
302
|
+
text: e.text,
|
|
303
|
+
note: e.note !== undefined ? some(e.note) : none,
|
|
304
|
+
}, EvidenceType))
|
|
305
|
+
: input.evidence;
|
|
306
|
+
return East.value({
|
|
307
|
+
id: input.id,
|
|
308
|
+
kind: input.kind,
|
|
309
|
+
title: input.title,
|
|
310
|
+
urgency: typeof input.urgency === "string"
|
|
311
|
+
? East.value(variant(input.urgency, null), UrgencyType)
|
|
312
|
+
: input.urgency,
|
|
313
|
+
value: input.value,
|
|
314
|
+
deadline: input.deadline !== undefined ? some(input.deadline) : none,
|
|
315
|
+
format: input.format !== undefined ? some(input.format) : none,
|
|
316
|
+
summary: input.summary !== undefined ? some(input.summary) : none,
|
|
317
|
+
downside: input.downside !== undefined ? some(input.downside) : none,
|
|
318
|
+
confidence: input.confidence !== undefined ? some(input.confidence) : none,
|
|
319
|
+
detail: input.detail !== undefined ? some(input.detail) : none,
|
|
320
|
+
stakes: stakesValue,
|
|
321
|
+
prompts: promptsValue,
|
|
322
|
+
levers: leversValue,
|
|
323
|
+
evidence: evidenceValue,
|
|
324
|
+
alternatives: input.alternatives ?? [],
|
|
325
|
+
}, DecisionType);
|
|
326
|
+
}
|
|
327
|
+
function createReference(input) {
|
|
328
|
+
return East.value({
|
|
329
|
+
caseId: input.caseId,
|
|
330
|
+
meta: input.meta !== undefined ? some(input.meta) : none,
|
|
331
|
+
outcome: input.outcome !== undefined ? some(input.outcome) : none,
|
|
332
|
+
similarity: input.similarity !== undefined ? some(input.similarity) : none,
|
|
333
|
+
}, ReferenceType);
|
|
334
|
+
}
|
|
335
|
+
function createJudgement(input) {
|
|
336
|
+
return East.value({
|
|
337
|
+
caseId: input.caseId,
|
|
338
|
+
answers: input.answers ?? new Map(),
|
|
339
|
+
knowledge: input.knowledge !== undefined ? some(input.knowledge) : none,
|
|
340
|
+
constraints: input.constraints ?? [],
|
|
341
|
+
verdict: input.verdict !== undefined ? some(input.verdict) : none,
|
|
342
|
+
resolvedAt: input.resolvedAt !== undefined ? some(input.resolvedAt) : none,
|
|
343
|
+
}, JudgementInputType);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* The Decision platform namespace — ergonomic constructors + the East `Types`.
|
|
347
|
+
*
|
|
348
|
+
* @example
|
|
349
|
+
* ```ts
|
|
350
|
+
* Decision.make({
|
|
351
|
+
* id: "cap-SE-0916", kind: "capacity",
|
|
352
|
+
* title: "Raise SE senior-engineer cover to 6 FTE",
|
|
353
|
+
* urgency: "overdue", value: 80000,
|
|
354
|
+
* format: Format.Currency({ currency: "USD", compact: "short" }),
|
|
355
|
+
* downside: -8000, confidence: 0.82,
|
|
356
|
+
* evidence: ["forecast: SE +14%"],
|
|
357
|
+
* alternatives: [Decision.option({ label: "Hire 1 contractor", value: 48000, downside: -15000 })],
|
|
358
|
+
* });
|
|
359
|
+
* ```
|
|
360
|
+
*/
|
|
361
|
+
export const Decision = {
|
|
362
|
+
/** Build one decision — required core + optional rest (optionals default to absent). */
|
|
363
|
+
make: createDecision,
|
|
364
|
+
/** Build one of a decision's other evaluated options. */
|
|
365
|
+
option: createDecisionOption,
|
|
366
|
+
/** Build one similar-past-decision reference (separate history dataset). */
|
|
367
|
+
reference: createReference,
|
|
368
|
+
/** Build one staged judgement contribution (knowledge + injected constraints + verdict). */
|
|
369
|
+
judgement: createJudgement,
|
|
370
|
+
Types: {
|
|
371
|
+
Decision: DecisionType,
|
|
372
|
+
Option: DecisionOptionType,
|
|
373
|
+
Urgency: UrgencyType,
|
|
374
|
+
Stakes: StakesLevelType,
|
|
375
|
+
StakesLevel: StakesLevelType,
|
|
376
|
+
Prompt: PromptType,
|
|
377
|
+
Lever: LeverType,
|
|
378
|
+
Evidence: EvidenceType,
|
|
379
|
+
Reference: ReferenceType,
|
|
380
|
+
JudgementInput: judgementInputType,
|
|
381
|
+
DefaultJudgementInput: JudgementInputType,
|
|
382
|
+
Constraint: DecisionConstraintType,
|
|
383
|
+
ConstraintField: ConstraintFieldType,
|
|
384
|
+
ConstraintVocabulary: ConstraintVocabularyType,
|
|
385
|
+
Answer: AnswerType,
|
|
386
|
+
Verdict: VerdictType,
|
|
387
|
+
},
|
|
388
|
+
};
|
|
389
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/decision/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACH,IAAI,EACJ,UAAU,EACV,WAAW,EACX,SAAS,EACT,QAAQ,EACR,UAAU,EACV,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,IAAI,EACJ,OAAO,GAIV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,iFAAiF;AACjF,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC;AAGrC,+EAA+E;AAC/E,8DAA8D;AAC9D,+EAA+E;AAE/E,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CAAC;IACnC,OAAO,EAAE,QAAQ;IACjB,GAAG,EAAE,QAAQ;IACb,OAAO,EAAE,QAAQ;CACpB,CAAC,CAAC;AAGH,+EAA+E;AAC/E,yEAAyE;AACzE,4EAA4E;AAC5E,4EAA4E;AAC5E,qCAAqC;AACrC,+EAA+E;AAE/E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC;IACvC,GAAG,EAAE,QAAQ;IACb,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,QAAQ;CACrB,CAAC,CAAC;AAQH,+EAA+E;AAC/E,+DAA+D;AAC/D,+EAA+E;AAE/E;;;;;;GAMG;A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,4EAA4E;IAC5E,SAAS,EAAE,eAAe;IAC1B,4FAA4F;IAC5F,SAAS,EAAE,eAAe;IAC1B,KAAK,EAAE;QACH,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,kBAAkB;QAC1B,OAAO,EAAE,WAAW;QACpB,MAAM,EAAE,eAAe;QACvB,WAAW,EAAE,eAAe;QAC5B,MAAM,EAAE,UAAU;QAClB,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,YAAY;QACtB,SAAS,EAAE,aAAa;QACxB,cAAc,EAAE,kBAAkB;QAClC,qBAAqB,EAAE,kBAAkB;QACzC,UAAU,EAAE,sBAAsB;QAClC,eAAe,EAAE,mBAAmB;QACpC,oBAAoB,EAAE,wBAAwB;QAC9C,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,WAAW;KACvB;CACK,CAAC"}
|
package/dist/src/diff.d.ts
CHANGED
|
@@ -331,5 +331,77 @@ export declare const Diff: {
|
|
|
331
331
|
readonly lineNumberColor: OptionType<StringType>;
|
|
332
332
|
}>>;
|
|
333
333
|
}>>;
|
|
334
|
+
readonly Types: {
|
|
335
|
+
/** Rendered Diff payload struct (bindings + style). */
|
|
336
|
+
readonly Payload: StructType<{
|
|
337
|
+
readonly bindings: ArrayType<StructType<{
|
|
338
|
+
readonly source: ArrayType<import("@elaraai/east").VariantType<{
|
|
339
|
+
readonly field: StringType;
|
|
340
|
+
}>>;
|
|
341
|
+
readonly patch: OptionType<ArrayType<import("@elaraai/east").VariantType<{
|
|
342
|
+
readonly field: StringType;
|
|
343
|
+
}>>>;
|
|
344
|
+
readonly mode: import("@elaraai/east").VariantType<{
|
|
345
|
+
readonly staged: NullType;
|
|
346
|
+
readonly direct: NullType;
|
|
347
|
+
}>;
|
|
348
|
+
}>>;
|
|
349
|
+
readonly readonly: OptionType<BooleanType>;
|
|
350
|
+
readonly hideUnchanged: OptionType<BooleanType>;
|
|
351
|
+
readonly maxDepth: OptionType<IntegerType>;
|
|
352
|
+
readonly density: OptionType<import("@elaraai/east").VariantType<{
|
|
353
|
+
readonly comfortable: NullType;
|
|
354
|
+
readonly compact: NullType;
|
|
355
|
+
readonly condensed: NullType;
|
|
356
|
+
}>>;
|
|
357
|
+
readonly onCommitted: OptionType<FunctionType<[], NullType>>;
|
|
358
|
+
readonly onDiscarded: OptionType<FunctionType<[], NullType>>;
|
|
359
|
+
readonly style: OptionType<StructType<{
|
|
360
|
+
readonly addedBackground: OptionType<StringType>;
|
|
361
|
+
readonly addedColor: OptionType<StringType>;
|
|
362
|
+
readonly addedBorderColor: OptionType<StringType>;
|
|
363
|
+
readonly removedBackground: OptionType<StringType>;
|
|
364
|
+
readonly removedColor: OptionType<StringType>;
|
|
365
|
+
readonly removedBorderColor: OptionType<StringType>;
|
|
366
|
+
readonly changedBackground: OptionType<StringType>;
|
|
367
|
+
readonly changedColor: OptionType<StringType>;
|
|
368
|
+
readonly changedBorderColor: OptionType<StringType>;
|
|
369
|
+
readonly unchangedColor: OptionType<StringType>;
|
|
370
|
+
readonly acceptedBackground: OptionType<StringType>;
|
|
371
|
+
readonly acceptedBorderColor: OptionType<StringType>;
|
|
372
|
+
readonly rejectedBackground: OptionType<StringType>;
|
|
373
|
+
readonly rejectedBorderColor: OptionType<StringType>;
|
|
374
|
+
readonly headerBackground: OptionType<StringType>;
|
|
375
|
+
readonly summaryBackground: OptionType<StringType>;
|
|
376
|
+
readonly background: OptionType<StringType>;
|
|
377
|
+
readonly borderColor: OptionType<StringType>;
|
|
378
|
+
readonly indentGuideColor: OptionType<StringType>;
|
|
379
|
+
readonly lineNumberColor: OptionType<StringType>;
|
|
380
|
+
}>>;
|
|
381
|
+
}>;
|
|
382
|
+
/** Visual-presentation sub-struct (density, layout). */
|
|
383
|
+
readonly Style: StructType<{
|
|
384
|
+
readonly addedBackground: OptionType<StringType>;
|
|
385
|
+
readonly addedColor: OptionType<StringType>;
|
|
386
|
+
readonly addedBorderColor: OptionType<StringType>;
|
|
387
|
+
readonly removedBackground: OptionType<StringType>;
|
|
388
|
+
readonly removedColor: OptionType<StringType>;
|
|
389
|
+
readonly removedBorderColor: OptionType<StringType>;
|
|
390
|
+
readonly changedBackground: OptionType<StringType>;
|
|
391
|
+
readonly changedColor: OptionType<StringType>;
|
|
392
|
+
readonly changedBorderColor: OptionType<StringType>;
|
|
393
|
+
readonly unchangedColor: OptionType<StringType>;
|
|
394
|
+
readonly acceptedBackground: OptionType<StringType>;
|
|
395
|
+
readonly acceptedBorderColor: OptionType<StringType>;
|
|
396
|
+
readonly rejectedBackground: OptionType<StringType>;
|
|
397
|
+
readonly rejectedBorderColor: OptionType<StringType>;
|
|
398
|
+
readonly headerBackground: OptionType<StringType>;
|
|
399
|
+
readonly summaryBackground: OptionType<StringType>;
|
|
400
|
+
readonly background: OptionType<StringType>;
|
|
401
|
+
readonly borderColor: OptionType<StringType>;
|
|
402
|
+
readonly indentGuideColor: OptionType<StringType>;
|
|
403
|
+
readonly lineNumberColor: OptionType<StringType>;
|
|
404
|
+
}>;
|
|
405
|
+
};
|
|
334
406
|
};
|
|
335
407
|
//# sourceMappingURL=diff.d.ts.map
|
package/dist/src/diff.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../src/diff.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAEH,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAY,EAIZ,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAU,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAElG,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAM5C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;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193
|
* touch this directly.
|
|
194
194
|
*/
|
|
195
195
|
Component: DiffComponent,
|
|
196
|
+
Types: {
|
|
197
|
+
/** Rendered Diff payload struct (bindings + style). */
|
|
198
|
+
Payload: DiffPayloadType,
|
|
199
|
+
/** Visual-presentation sub-struct (density, layout). */
|
|
200
|
+
Style: DiffStyleType,
|
|
201
|
+
},
|
|
196
202
|
};
|
|
197
203
|
//# sourceMappingURL=diff.js.map
|
package/dist/src/diff.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff.js","sourceRoot":"","sources":["../../src/diff.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EACH,IAAI,EACJ,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAY,EACZ,IAAI,EACJ,IAAI,EACJ,OAAO,GAGV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,WAAW,EAA6C,MAAM,kBAAkB,CAAC;AAElG,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,+EAA+E;AAC/E,2CAA2C;AAC3C,+EAA+E;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAC;IACpC,eAAe,EAAM,UAAU,CAAC,UAAU,CAAC;IAC3C,UAAU,EAAW,UAAU,CAAC,UAAU,CAAC;IAC3C,gBAAgB,EAAK,UAAU,CAAC,UAAU,CAAC;IAC3C,iBAAiB,EAAI,UAAU,CAAC,UAAU,CAAC;IAC3C,YAAY,EAAS,UAAU,CAAC,UAAU,CAAC;IAC3C,kBAAkB,EAAG,UAAU,CAAC,UAAU,CAAC;IAC3C,iBAAiB,EAAI,UAAU,CAAC,UAAU,CAAC;IAC3C,YAAY,EAAS,UAAU,CAAC,UAAU,CAAC;IAC3C,kBAAkB,EAAG,U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AAC,OAAO,CAAC;QAC1B,OAAO,aAAa,CAAC,IAAI,CAAC;YACtB,QAAQ,EAAO,OAAO,CAAC,QAAQ;YAC/B,QAAQ,EAAO,OAAO,CAAC,QAAQ,IAAS,IAAI;YAC5C,aAAa,EAAE,OAAO,CAAC,aAAa,IAAI,IAAI;YAC5C,QAAQ,EAAO,OAAO,CAAC,QAAQ,IAAS,IAAI;YAC5C,OAAO;YACP,WAAW,EAAI,OAAO,CAAC,WAAW,IAAM,IAAI;YAC5C,WAAW,EAAI,OAAO,CAAC,WAAW,IAAM,IAAI;YAC5C,KAAK,EAAU,OAAO,CAAC,KAAK,IAAY,IAAI;SAC/C,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACH,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE;QACH,uDAAuD;QACvD,OAAO,EAAE,eAAe;QACxB,wDAAwD;QACxD,KAAK,EAAE,aAAa;KACvB;CACK,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -3,23 +3,39 @@
|
|
|
3
3
|
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* @elaraai/e3-ui — e3 + UI bridge
|
|
6
|
+
* @elaraai/e3-ui — e3 + UI bridge.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* The public surface is the e3-specific JSX **tags** plus the platform
|
|
9
|
+
* helpers:
|
|
10
|
+
* - `<Diff>` — review pending changes for any combination of bindings.
|
|
11
|
+
* - `<Ontology>` — graph editor over an `OntologyType`-bound dataset.
|
|
9
12
|
* - `Data.bind` — workspace-scoped reactive dataset binding.
|
|
10
|
-
* - `
|
|
11
|
-
* - `Ontology` — graph editor over an `OntologyType`-bound dataset.
|
|
12
|
-
* - `DataManifestType` — manifest type for reads/writes metadata.
|
|
13
|
+
* - `ui()` — declare a first-class UI task.
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* east-ui tags (`<VStack>`, `<Text>`, …) are imported from `@elaraai/east-ui`
|
|
16
|
+
* — this package does not re-export them. The underlying factories
|
|
17
|
+
* (`Diff.Root(…)`) live under `@elaraai/e3-ui/internal` for renderers and tests.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* `ui()` pulls in `@elaraai/e3` (Node-only). Browser bundles that only need
|
|
21
|
+
* `Data` / `<Diff>` / `<Ontology>` / types should import from
|
|
22
|
+
* `@elaraai/e3-ui/internal`, which is e3-free.
|
|
17
23
|
*
|
|
18
24
|
* @packageDocumentation
|
|
19
25
|
*/
|
|
20
|
-
export { Data, DataBindModeType, type DataBindModeLiteral, DiffBindingType, DataBindHandleType, type DataBindOptions, bindPlatformFn, } from './data.js';
|
|
26
|
+
export { Data, DataBindModeType, type DataBindModeLiteral, DiffBindingType, type BoundValue, DataBindHandleType, type DataBindOptions, bindPlatformFn, } from './data.js';
|
|
21
27
|
export { DataManifestType, type DataManifest, encodeManifest, decodeManifest } from './manifest.js';
|
|
22
28
|
export { deriveManifest } from './derive.js';
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
29
|
+
export { ui } from './ui.js';
|
|
30
|
+
export { Diff } from './runtime/diff.js';
|
|
31
|
+
export { DiffPayloadType, DiffStyleType, type DiffOptions, } from './diff.js';
|
|
32
|
+
export { Ontology } from './runtime/ontology.js';
|
|
33
|
+
export { OntologyPayloadType, OntologyStyleType, type OntologyOptions, NodeKindType, LinkKindType, NodeType, LinkType, OntologyMetadataType, OntologyType, } from './ontology.js';
|
|
34
|
+
export { Decision } from './decision/index.js';
|
|
35
|
+
export { DecisionType, DecisionOptionType, UrgencyType, type UrgencyLiteral, StakesLevelType, type StakesLevelLiteral, EvidenceType, AnswerType, type AnswerLiteral, VerdictType, ReferenceType, JudgementInputType, DecisionConstraintType, PromptType, LeverType, judgementInputType, type PromptInput, type LeverInput, type DecisionInput, type DecisionOptionInput, type EvidenceInput, type DecisionReferenceInput, type DecisionJudgementInput, } from './decision/types.js';
|
|
36
|
+
export { decisionBind, decisionBindPlatformFn, DecisionHandleType, DecisionHandleRefType, CommitStateType, JudgementsType, type DecisionHandle, type DecisionBindOptions, } from './decision/bind.js';
|
|
37
|
+
export { DecisionQueue } from './runtime/decision/queue.js';
|
|
38
|
+
export { type DecisionQueueOptions } from './decision/queue.js';
|
|
39
|
+
export { DecisionJournal } from './runtime/decision/journal.js';
|
|
40
|
+
export { type DecisionJournalOptions } from './decision/journal.js';
|
|
25
41
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,eAAe,EACf,KAAK,UAAU,EACf,kBAAkB,EAClB,KAAK,eAAe,EACpB,cAAc,GACjB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,gBAAgB,EAAE,KAAK,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpG,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAG7B,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACH,eAAe,EACf,aAAa,EACb,KAAK,WAAW,GACnB,MAAM,WAAW,CAAC;AAGnB,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EACH,mBAAmB,EACnB,iBAAiB,EACjB,KAAK,eAAe,EACpB,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR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