@statelyai/agent 2.0.0-alpha.28 → 2.0.0-alpha.30
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/dist/ai-sdk.cjs +150 -27
- package/dist/ai-sdk.d.cts +59 -36
- package/dist/ai-sdk.d.mts +59 -36
- package/dist/ai-sdk.mjs +148 -24
- package/dist/{decision-RQ0iv0oZ.mjs → decision-BHkvuImD.mjs} +74 -8
- package/dist/{decision-CmM8-HHz.cjs → decision-CIb7ddIv.cjs} +113 -30
- package/dist/{text-logic-f5F5sCdc.cjs → event-log-BZRfBRd7.cjs} +814 -7
- package/dist/{text-logic-CIqHAmBi.mjs → event-log-DJCMHek_.mjs} +680 -4
- package/dist/{event-log-store-BIPOz-di.d.mts → event-log-store-CIIJohjj.d.mts} +90 -5
- package/dist/{event-log-store-2xzFmgr2.d.cts → event-log-store-CLAC9q2Y.d.cts} +90 -5
- package/dist/event-log-store-DZR4IIWe.cjs +95 -0
- package/dist/event-log-store-DsP6GCRh.mjs +84 -0
- package/dist/index.cjs +576 -58
- package/dist/index.d.cts +104 -510
- package/dist/index.d.mts +104 -510
- package/dist/index.mjs +547 -32
- package/dist/log.cjs +77 -20
- package/dist/log.d.cts +5 -5
- package/dist/log.d.mts +5 -5
- package/dist/log.mjs +58 -3
- package/dist/machines.cjs +1 -1
- package/dist/machines.d.cts +15 -15
- package/dist/machines.d.mts +15 -15
- package/dist/machines.mjs +1 -1
- package/dist/model-source-BCKg4qJ1.cjs +44 -0
- package/dist/model-source-BaHwJ1wK.mjs +39 -0
- package/dist/openai.cjs +11 -11
- package/dist/openai.d.cts +28 -26
- package/dist/openai.d.mts +28 -26
- package/dist/openai.mjs +3 -3
- package/dist/otel.cjs +5 -4
- package/dist/otel.d.cts +5 -7
- package/dist/otel.d.mts +5 -7
- package/dist/otel.mjs +5 -3
- package/dist/{run-agent-xNTxpt82.mjs → run-agent-BpHqkaZw.mjs} +181 -44
- package/dist/{run-agent-COXXc0RW.d.mts → run-agent-CAVt5R-r.d.mts} +95 -30
- package/dist/{run-agent-ByO-Bxyd.d.cts → run-agent-CTlMc3Jb.d.cts} +95 -30
- package/dist/{run-agent-Dmf8GV2d.cjs → run-agent-ctLCvNgL.cjs} +230 -88
- package/dist/{setup-agent-BuanDXeh.mjs → setup-agent-7rV_cujV.mjs} +15 -9
- package/dist/setup-agent-CGELn1qZ.d.mts +577 -0
- package/dist/setup-agent-CLPCkXsu.d.cts +577 -0
- package/dist/{setup-agent-DV4cTou-.cjs → setup-agent-DoUk7EdC.cjs} +31 -20
- package/dist/tanstack-ai.cjs +627 -0
- package/dist/tanstack-ai.d.cts +204 -0
- package/dist/tanstack-ai.d.mts +204 -0
- package/dist/tanstack-ai.mjs +618 -0
- package/dist/testing.cjs +204 -985
- package/dist/testing.d.cts +132 -347
- package/dist/testing.d.mts +132 -347
- package/dist/testing.mjs +191 -973
- package/dist/{text-logic-IjfYy9DP.d.cts → text-logic-BRYOPWvY.d.mts} +52 -12
- package/dist/{text-logic-D-czVPYp.d.mts → text-logic-DmciuVUQ.d.cts} +52 -12
- package/dist/{types-BgNbNKnJ.d.mts → types-Dp5_Ru4R.d.cts} +2 -2
- package/dist/{types-hR5f5YXa.d.cts → types-Dp5_Ru4R.d.mts} +2 -2
- package/dist/usage-BkM3z02Y.d.mts +17 -0
- package/dist/usage-Cm_ovz9V.d.cts +17 -0
- package/dist/{utils-_q7F-AZu.d.mts → utils-BnXdWih3.d.mts} +1 -2
- package/dist/{utils-o4YRdHJX.d.cts → utils-ebVpCYoF.d.cts} +1 -2
- package/dist/validate.cjs +239 -8
- package/dist/validate.d.cts +110 -3
- package/dist/validate.d.mts +110 -3
- package/dist/validate.mjs +238 -7
- package/dist/verify-COFWyprJ.mjs +1181 -0
- package/dist/verify-CVlsTZ-V.cjs +1222 -0
- package/dist/verify-Cn86rT8l.d.mts +414 -0
- package/dist/verify-Dzwd4Mvk.d.cts +414 -0
- package/package.json +44 -31
- package/readme.md +40 -28
- package/skills/add-evals/SKILL.md +129 -0
- package/skills/add-traces/SKILL.md +135 -0
- package/skills/generate-machine/SKILL.md +143 -69
- package/skills/graph-engineering/SKILL.md +33 -0
- package/skills/improve-machine/SKILL.md +241 -0
- package/skills/improve-machine/reference.md +101 -0
- package/skills/loop-to-machine/SKILL.md +183 -0
- package/skills/loop-to-machine/policy.md +158 -0
- package/dist/event-log-store-2pAFiWuc.mjs +0 -576
- package/dist/event-log-store-C-COhIXP.cjs +0 -702
- package/dist/usage-BdEjFuIi.mjs +0 -5
- package/dist/usage-efOQPdf_.cjs +0 -10
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
require("./validate.cjs");
|
|
1
|
+
const require_event_log = require("./event-log-BZRfBRd7.cjs");
|
|
3
2
|
let xstate = require("xstate");
|
|
4
3
|
//#region src/internal/is-record.ts
|
|
5
4
|
/** True for a plain object-like value (arrays excluded). @internal */
|
|
@@ -18,7 +17,7 @@ function isRecord(value) {
|
|
|
18
17
|
* has no transition for, so an event the current state does not handle parses
|
|
19
18
|
* fine and settles the run with `result.ignored` set.
|
|
20
19
|
*/
|
|
21
|
-
var AgentInvalidEventPayloadError = class extends
|
|
20
|
+
var AgentInvalidEventPayloadError = class extends require_event_log.AgentError {
|
|
22
21
|
eventType;
|
|
23
22
|
constructor(eventType, detail) {
|
|
24
23
|
super("invalid-event-payload", `Invalid event payload for '${eventType}': ${detail}`);
|
|
@@ -34,7 +33,8 @@ function hashString(value) {
|
|
|
34
33
|
return (hash >>> 0).toString(36);
|
|
35
34
|
}
|
|
36
35
|
function sanitizeEventToolName(eventType) {
|
|
37
|
-
const
|
|
36
|
+
const sanitizedType = eventType.replace(/[^a-zA-Z0-9_-]/g, "_") || "event";
|
|
37
|
+
const base = `${EVENT_TOOL_PREFIX}${sanitizedType}`;
|
|
38
38
|
if (base.length <= 64) return base;
|
|
39
39
|
const hash = hashString(eventType);
|
|
40
40
|
const prefixLength = 64 - hash.length - 1;
|
|
@@ -106,13 +106,14 @@ function parseAgentEvent(source, payload, options = {}) {
|
|
|
106
106
|
if (!isRecord(payload) || typeof payload.type !== "string") throw new AgentInvalidEventPayloadError("(unknown)", "expected an object with a string `type`.");
|
|
107
107
|
const event = payload;
|
|
108
108
|
if (isReservedAgentEvent(event.type)) throw new AgentInvalidEventPayloadError(event.type, "this event type is reserved for the library and cannot be sent from outside.");
|
|
109
|
-
const
|
|
109
|
+
const machine = typeof source.provide === "function" ? source : source.machine;
|
|
110
|
+
const registered = require_event_log.getAgentExecutionOptions(machine)?.schemas;
|
|
110
111
|
const inputSchema = (options.events ?? options.schemas?.events ?? registered?.events)?.[event.type];
|
|
111
112
|
if (!inputSchema) return event;
|
|
112
113
|
const { type, ...fields } = event;
|
|
113
114
|
try {
|
|
114
115
|
return {
|
|
115
|
-
...
|
|
116
|
+
...require_event_log.validateSchemaSync(inputSchema, fields),
|
|
116
117
|
type
|
|
117
118
|
};
|
|
118
119
|
} catch (error) {
|
|
@@ -154,6 +155,53 @@ function getAcceptedEvents(snapshot, options = {}) {
|
|
|
154
155
|
}
|
|
155
156
|
//#endregion
|
|
156
157
|
//#region src/decision.ts
|
|
158
|
+
function optionsFromPayloads(eventTypes, payloads) {
|
|
159
|
+
return eventTypes.filter((type) => !isEventPattern(type)).flatMap((type) => (payloads[type] ?? [{}]).map((payload) => ({ event: {
|
|
160
|
+
...payload,
|
|
161
|
+
type
|
|
162
|
+
} })));
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The options a snapshot-aware host offers for a closed-choice request: rebuilt
|
|
166
|
+
* over the request's snapshot-resolved candidate `events` when the decide input
|
|
167
|
+
* carried `payloads` (so wildcard or omitted `allowedEvents` still get theirs),
|
|
168
|
+
* then narrowed to the events `can` accepts. `undefined` when the request is
|
|
169
|
+
* not a closed choice. Pass the result as the request's `options`;
|
|
170
|
+
* {@link resolveDecision} then rejects a choice that matches none of them.
|
|
171
|
+
* @internal
|
|
172
|
+
*/
|
|
173
|
+
function acceptedDecisionOptions(request, can) {
|
|
174
|
+
if (!request.options) return void 0;
|
|
175
|
+
const payloads = isRecord(request.input) ? request.input.payloads : void 0;
|
|
176
|
+
return (isRecord(payloads) ? optionsFromPayloads(request.events.map((event) => event.type), payloads) : request.options).filter((option) => {
|
|
177
|
+
try {
|
|
178
|
+
return can(option.event);
|
|
179
|
+
} catch {
|
|
180
|
+
return false;
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
/** The offered option equal to `event` (type and payload, key order ignored). @internal */
|
|
185
|
+
function findDecisionOption(options, event) {
|
|
186
|
+
const key = require_event_log.canonicalEventJson(event);
|
|
187
|
+
return options.find((option) => require_event_log.canonicalEventJson(option.event) === key);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Stable, readable ids for options, one per option in order: `type`, then each
|
|
191
|
+
* payload value (`refund:40`). Duplicates get a `#n` suffix. Adapters use them
|
|
192
|
+
* as the labels of a single closed choice and map the answer back by index.
|
|
193
|
+
* @internal
|
|
194
|
+
*/
|
|
195
|
+
function decisionOptionIds(options) {
|
|
196
|
+
const taken = /* @__PURE__ */ new Set();
|
|
197
|
+
return options.map(({ event }) => {
|
|
198
|
+
const base = Object.entries(event).filter(([key]) => key !== "type").map(([, value]) => typeof value === "object" ? JSON.stringify(value) : String(value)).reduce((id, value) => `${id}:${value}`, event.type);
|
|
199
|
+
let id = base;
|
|
200
|
+
for (let n = 2; taken.has(id); n++) id = `${base}#${n}`;
|
|
201
|
+
taken.add(id);
|
|
202
|
+
return id;
|
|
203
|
+
});
|
|
204
|
+
}
|
|
157
205
|
function decideRequestFromInput(input) {
|
|
158
206
|
const allowedEventTypes = resolveAllowedEventTypes(input.allowedEvents, input) ?? [];
|
|
159
207
|
return {
|
|
@@ -169,6 +217,7 @@ function decideRequestFromInput(input) {
|
|
|
169
217
|
type,
|
|
170
218
|
toolName: sanitizeEventToolName(type)
|
|
171
219
|
})),
|
|
220
|
+
...input.payloads ? { options: optionsFromPayloads(allowedEventTypes, input.payloads) } : {},
|
|
172
221
|
attempts: [],
|
|
173
222
|
temperature: input.temperature,
|
|
174
223
|
maxOutputTokens: input.maxOutputTokens,
|
|
@@ -176,15 +225,16 @@ function decideRequestFromInput(input) {
|
|
|
176
225
|
topK: input.topK,
|
|
177
226
|
seed: input.seed,
|
|
178
227
|
stopSequences: input.stopSequences,
|
|
179
|
-
metadata: input.metadata
|
|
228
|
+
metadata: input.metadata,
|
|
229
|
+
maxRetries: input.maxRetries
|
|
180
230
|
};
|
|
181
231
|
}
|
|
182
232
|
function decideActorWithExecutor(execute) {
|
|
183
233
|
const logic = (0, xstate.createAsyncLogic)({ run: async ({ input, signal }) => {
|
|
184
|
-
if (!execute) throw new Error(`'${
|
|
234
|
+
if (!execute) throw new Error(`'${require_event_log.DECIDE_ACTOR}' has no host execution. Provide an implementation with machine.provide({ actors: { '${require_event_log.DECIDE_ACTOR}': ... } }) or resolve the returned agent request with resolveDecision(...).`);
|
|
185
235
|
const resolvedEventTypes = resolveAllowedEventTypes(input.allowedEvents, input);
|
|
186
|
-
if (resolvedEventTypes === void 0) throw new Error(`'${
|
|
187
|
-
if (resolvedEventTypes.some(isEventPattern)) throw new Error(`'${
|
|
236
|
+
if (resolvedEventTypes === void 0) throw new Error(`'${require_event_log.DECIDE_ACTOR}' input has omitted \`allowedEvents\`, which means "all currently-legal events" — but that requires a snapshot-aware host (createAgentRuntime) to resolve. Under a bare createActor(...), declare \`allowedEvents\` explicitly to use this actor here.`);
|
|
237
|
+
if (resolvedEventTypes.some(isEventPattern)) throw new Error(`'${require_event_log.DECIDE_ACTOR}' input uses wildcard \`allowedEvents\` patterns, which expand against the live snapshot — that requires a snapshot-aware host (createAgentRuntime). Under a bare createActor(...), list event types explicitly.`);
|
|
188
238
|
return resolveDecision(decideRequestFromInput(input), { decide: execute }, {
|
|
189
239
|
maxRetries: input.maxRetries ?? 2,
|
|
190
240
|
signal
|
|
@@ -223,7 +273,7 @@ function resolveAllowedEventTypes(allowedEvents, input) {
|
|
|
223
273
|
*
|
|
224
274
|
* export const chooseMove = createDecisionLogic({
|
|
225
275
|
* schemas: { input: z.object({ playerHp: z.number(), enemyHp: z.number() }) },
|
|
226
|
-
* model: 'openai/gpt-
|
|
276
|
+
* model: 'openai/gpt-6-luna',
|
|
227
277
|
* system: 'You are playing a turn-based game. Choose exactly one legal move.',
|
|
228
278
|
* prompt: ({ input }) => `Player HP: ${input.playerHp}\nEnemy HP: ${input.enemyHp}`,
|
|
229
279
|
* allowedEvents: ({ input }) =>
|
|
@@ -236,30 +286,30 @@ function resolveAllowedEventTypes(allowedEvents, input) {
|
|
|
236
286
|
function createDecisionLogic(config, execute) {
|
|
237
287
|
const maxRetries = config.maxRetries ?? 2;
|
|
238
288
|
const request = (input) => {
|
|
239
|
-
const parsedInput = config.schemas ?
|
|
289
|
+
const parsedInput = config.schemas ? require_event_log.validateSchemaSync(config.schemas.input, input) : input;
|
|
240
290
|
const args = { input: parsedInput };
|
|
241
291
|
const allowedEventTypes = resolveAllowedEventTypes(config.allowedEvents, parsedInput);
|
|
242
292
|
return {
|
|
243
293
|
kind: "decision",
|
|
244
294
|
id: "",
|
|
245
|
-
name:
|
|
295
|
+
name: require_event_log.resolveTextLogicValue(config.name, args),
|
|
246
296
|
input: parsedInput,
|
|
247
|
-
model:
|
|
248
|
-
system:
|
|
249
|
-
prompt:
|
|
250
|
-
messages:
|
|
297
|
+
model: require_event_log.resolveTextLogicValue(config.model, args),
|
|
298
|
+
system: require_event_log.resolveTextLogicValue(config.system, args),
|
|
299
|
+
prompt: require_event_log.resolveTextLogicValue(config.prompt, args),
|
|
300
|
+
messages: require_event_log.resolveTextLogicValue(config.messages, args),
|
|
251
301
|
events: (allowedEventTypes ?? []).map((type) => ({
|
|
252
302
|
type,
|
|
253
303
|
toolName: sanitizeEventToolName(type)
|
|
254
304
|
})),
|
|
255
305
|
attempts: [],
|
|
256
|
-
temperature:
|
|
257
|
-
maxOutputTokens:
|
|
258
|
-
topP:
|
|
259
|
-
topK:
|
|
260
|
-
seed:
|
|
261
|
-
stopSequences:
|
|
262
|
-
metadata:
|
|
306
|
+
temperature: require_event_log.resolveTextLogicValue(config.temperature, args),
|
|
307
|
+
maxOutputTokens: require_event_log.resolveTextLogicValue(config.maxOutputTokens, args),
|
|
308
|
+
topP: require_event_log.resolveTextLogicValue(config.topP, args),
|
|
309
|
+
topK: require_event_log.resolveTextLogicValue(config.topK, args),
|
|
310
|
+
seed: require_event_log.resolveTextLogicValue(config.seed, args),
|
|
311
|
+
stopSequences: require_event_log.resolveTextLogicValue(config.stopSequences, args),
|
|
312
|
+
metadata: require_event_log.resolveTextLogicValue(config.metadata, args)
|
|
263
313
|
};
|
|
264
314
|
};
|
|
265
315
|
const logic = (0, xstate.createAsyncLogic)({ run: async ({ input, signal }) => {
|
|
@@ -281,7 +331,7 @@ function createDecisionLogic(config, execute) {
|
|
|
281
331
|
return createDecisionLogic(config, nextExecute);
|
|
282
332
|
}
|
|
283
333
|
});
|
|
284
|
-
if (execute)
|
|
334
|
+
if (execute) require_event_log.executorBoundLogics.add(decisionLogic);
|
|
285
335
|
return decisionLogic;
|
|
286
336
|
}
|
|
287
337
|
/** Type guard: true for any actor logic built by createDecisionLogic/createDecideActor (checks the `kind` marker). @internal */
|
|
@@ -344,7 +394,7 @@ function dedupeToolNames(candidates) {
|
|
|
344
394
|
* diagnostics; a machine typically routes this via the decision invoke's
|
|
345
395
|
* `onError`.
|
|
346
396
|
*/
|
|
347
|
-
var AgentDecisionExhaustedError = class extends
|
|
397
|
+
var AgentDecisionExhaustedError = class extends require_event_log.AgentError {
|
|
348
398
|
attempts;
|
|
349
399
|
constructor(attempts) {
|
|
350
400
|
super("decision-exhausted", `Decision exhausted after ${attempts.length} attempt${attempts.length === 1 ? "" : "s"}: ` + attempts.map((attempt) => attempt.reason).join("; "));
|
|
@@ -367,8 +417,8 @@ var AgentDecisionExhaustedError = class extends require_text_logic.AgentError {
|
|
|
367
417
|
* ```
|
|
368
418
|
*/
|
|
369
419
|
function renderDecisionAttempts(request) {
|
|
370
|
-
const
|
|
371
|
-
return request.attempts.map((attempt) =>
|
|
420
|
+
const choices = (request.options ? decisionOptionIds(request.options) : request.events.map((event) => event.type)).join(", ") || "(none)";
|
|
421
|
+
return request.attempts.map((attempt) => require_event_log.userMessage(`Your previous choice failed: ${attempt.reason}. Choose again from: ${choices}`));
|
|
372
422
|
}
|
|
373
423
|
/**
|
|
374
424
|
* Validation + retry core for decisions. No provider mechanics — the
|
|
@@ -382,6 +432,8 @@ function renderDecisionAttempts(request) {
|
|
|
382
432
|
* event's schema), or `'rejected-by-guard'` (passes both checks but
|
|
383
433
|
* `options.canTake` returns `false` — a type/payload-legal event the
|
|
384
434
|
* machine's guard rejects right now; omit `canTake` to skip this check).
|
|
435
|
+
* When the request carries `options`, a choice matching none of them (type and
|
|
436
|
+
* payload, deep-equal) also fails as `'rejected-by-guard'`.
|
|
385
437
|
* Every prior failed attempt for this call is fed back to the executor on
|
|
386
438
|
* the next attempt via `request.attempts`, so an adapter can render "your
|
|
387
439
|
* last choice failed because X — try again" into the next model call; core
|
|
@@ -397,10 +449,15 @@ function renderDecisionAttempts(request) {
|
|
|
397
449
|
*/
|
|
398
450
|
async function resolveDecision(request, executors, options = {}) {
|
|
399
451
|
const executor = executors?.decide;
|
|
400
|
-
if (typeof executor !== "function") throw new
|
|
452
|
+
if (typeof executor !== "function") throw new require_event_log.AgentError("missing-decide-executor", "resolveDecision(request, executors, ...) takes the EXECUTOR SET (the same object executeAgentRequest takes), and this one has no 'decide' function. Build one with createAiSdkExecutors({ models }), or pass { decide }.");
|
|
401
453
|
const maxRetries = options.maxRetries ?? 2;
|
|
402
454
|
const attempts = [];
|
|
403
455
|
const eventsByType = new Map(request.events.map((event) => [event.type, event]));
|
|
456
|
+
if (request.options !== void 0 && request.options.length === 0) {
|
|
457
|
+
const error = new AgentDecisionExhaustedError([]);
|
|
458
|
+
error.message = `Decision '${request.name ?? (request.id || "agent.decide")}' has no offered option the current snapshot accepts; no model call was made.`;
|
|
459
|
+
throw error;
|
|
460
|
+
}
|
|
404
461
|
for (let attempt = 0; attempt <= maxRetries; attempt++) {
|
|
405
462
|
options.signal?.throwIfAborted();
|
|
406
463
|
const result = await executor({
|
|
@@ -427,7 +484,7 @@ async function resolveDecision(request, executors, options = {}) {
|
|
|
427
484
|
const { type, ...payload } = event;
|
|
428
485
|
try {
|
|
429
486
|
validatedEvent = {
|
|
430
|
-
...
|
|
487
|
+
...require_event_log.validateSchemaSync(descriptor.inputSchema, payload),
|
|
431
488
|
type
|
|
432
489
|
};
|
|
433
490
|
} catch (error) {
|
|
@@ -439,6 +496,14 @@ async function resolveDecision(request, executors, options = {}) {
|
|
|
439
496
|
continue;
|
|
440
497
|
}
|
|
441
498
|
}
|
|
499
|
+
if (request.options && !findDecisionOption(request.options, event) && !findDecisionOption(request.options, validatedEvent)) {
|
|
500
|
+
attempts.push({
|
|
501
|
+
event: validatedEvent,
|
|
502
|
+
failure: "rejected-by-guard",
|
|
503
|
+
reason: `${JSON.stringify(validatedEvent)} matched no offered option: ${decisionOptionIds(request.options).join(", ") || "(none)"}.`
|
|
504
|
+
});
|
|
505
|
+
continue;
|
|
506
|
+
}
|
|
442
507
|
if (options.canTake?.(validatedEvent) === false) {
|
|
443
508
|
attempts.push({
|
|
444
509
|
event: validatedEvent,
|
|
@@ -464,6 +529,12 @@ Object.defineProperty(exports, "AgentInvalidEventPayloadError", {
|
|
|
464
529
|
return AgentInvalidEventPayloadError;
|
|
465
530
|
}
|
|
466
531
|
});
|
|
532
|
+
Object.defineProperty(exports, "acceptedDecisionOptions", {
|
|
533
|
+
enumerable: true,
|
|
534
|
+
get: function() {
|
|
535
|
+
return acceptedDecisionOptions;
|
|
536
|
+
}
|
|
537
|
+
});
|
|
467
538
|
Object.defineProperty(exports, "createDecideActor", {
|
|
468
539
|
enumerable: true,
|
|
469
540
|
get: function() {
|
|
@@ -482,6 +553,12 @@ Object.defineProperty(exports, "createDecisionRequest", {
|
|
|
482
553
|
return createDecisionRequest;
|
|
483
554
|
}
|
|
484
555
|
});
|
|
556
|
+
Object.defineProperty(exports, "decisionOptionIds", {
|
|
557
|
+
enumerable: true,
|
|
558
|
+
get: function() {
|
|
559
|
+
return decisionOptionIds;
|
|
560
|
+
}
|
|
561
|
+
});
|
|
485
562
|
Object.defineProperty(exports, "getAcceptedEvents", {
|
|
486
563
|
enumerable: true,
|
|
487
564
|
get: function() {
|
|
@@ -494,6 +571,12 @@ Object.defineProperty(exports, "isDecisionLogic", {
|
|
|
494
571
|
return isDecisionLogic;
|
|
495
572
|
}
|
|
496
573
|
});
|
|
574
|
+
Object.defineProperty(exports, "isEventPattern", {
|
|
575
|
+
enumerable: true,
|
|
576
|
+
get: function() {
|
|
577
|
+
return isEventPattern;
|
|
578
|
+
}
|
|
579
|
+
});
|
|
497
580
|
Object.defineProperty(exports, "isRecord", {
|
|
498
581
|
enumerable: true,
|
|
499
582
|
get: function() {
|