@futdevpro/fsm-dynamo 1.20.12 → 1.20.16
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 +1 -0
- package/build/_modules/sandbox-runtime/_collections/zero-egress-receipt.util.d.ts +20 -0
- package/build/_modules/sandbox-runtime/_collections/zero-egress-receipt.util.d.ts.map +1 -0
- package/build/_modules/sandbox-runtime/_collections/zero-egress-receipt.util.js +157 -0
- package/build/_modules/sandbox-runtime/_collections/zero-egress-receipt.util.js.map +1 -0
- package/build/_modules/sandbox-runtime/_collections/zero-egress-result-code.const.d.ts +39 -0
- package/build/_modules/sandbox-runtime/_collections/zero-egress-result-code.const.d.ts.map +1 -0
- package/build/_modules/sandbox-runtime/_collections/zero-egress-result-code.const.js +38 -0
- package/build/_modules/sandbox-runtime/_collections/zero-egress-result-code.const.js.map +1 -0
- package/build/_modules/sandbox-runtime/_enums/zero-egress-outcome.type-enum.d.ts +11 -0
- package/build/_modules/sandbox-runtime/_enums/zero-egress-outcome.type-enum.d.ts.map +1 -0
- package/build/_modules/sandbox-runtime/_enums/zero-egress-outcome.type-enum.js +15 -0
- package/build/_modules/sandbox-runtime/_enums/zero-egress-outcome.type-enum.js.map +1 -0
- package/build/_modules/sandbox-runtime/_models/zero-egress-receipt.interface.d.ts +18 -0
- package/build/_modules/sandbox-runtime/_models/zero-egress-receipt.interface.d.ts.map +1 -0
- package/build/_modules/sandbox-runtime/_models/zero-egress-receipt.interface.js +3 -0
- package/build/_modules/sandbox-runtime/_models/zero-egress-receipt.interface.js.map +1 -0
- package/build/_modules/sandbox-runtime/index.d.ts +5 -0
- package/build/_modules/sandbox-runtime/index.d.ts.map +1 -0
- package/build/_modules/sandbox-runtime/index.js +8 -0
- package/build/_modules/sandbox-runtime/index.js.map +1 -0
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -66,6 +66,7 @@ All these packages build upon Dynamo FSM's core interfaces, types, and utilities
|
|
|
66
66
|
- **Crypto Utilities**: Deterministic encryption/decryption using AES-256-CBC
|
|
67
67
|
- **Testing Tools**: Comprehensive HTTP endpoint testing utilities
|
|
68
68
|
- **Analytics**: User behavior tracking and usage analytics
|
|
69
|
+
- **Sandbox Runtime Contract**: Closed cross-runtime outcomes, result codes, and strict content-free receipt validation (`@futdevpro/fsm-dynamo/sandbox-runtime`)
|
|
69
70
|
|
|
70
71
|
## Installation
|
|
71
72
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DyFM_ZeroEgressOutcome_Type } from '../_enums/zero-egress-outcome.type-enum';
|
|
2
|
+
import { DyFM_ZeroEgressResultCode_Type } from './zero-egress-result-code.const';
|
|
3
|
+
import { DyFM_ZeroEgressReceiptValidation_Interface } from '../_models/zero-egress-receipt.interface';
|
|
4
|
+
/** Closed, immutable result-code registry indexed by its only valid terminal outcome. */
|
|
5
|
+
export declare const DyFM_zeroEgressResultCodesByOutcome: Readonly<Record<DyFM_ZeroEgressOutcome_Type, readonly DyFM_ZeroEgressResultCode_Type[]>>;
|
|
6
|
+
/** Strict cross-runtime validation and content-free projection for zero-egress terminal evidence. */
|
|
7
|
+
export declare class DyFM_ZeroEgressReceipt_Util {
|
|
8
|
+
/** Narrows an untrusted value to one closed terminal outcome. */
|
|
9
|
+
static isOutcome(value: unknown): value is DyFM_ZeroEgressOutcome_Type;
|
|
10
|
+
/** Narrows an untrusted value to one closed runtime result code. */
|
|
11
|
+
static isResultCode(value: unknown): value is DyFM_ZeroEgressResultCode_Type;
|
|
12
|
+
/** Validates that a result code belongs to exactly the supplied terminal outcome. */
|
|
13
|
+
static isOutcomeCodePair(outcome: unknown, code: unknown): boolean;
|
|
14
|
+
/** Validates and copies an exact receipt without reflecting any rejected input. */
|
|
15
|
+
static validate(value: unknown): DyFM_ZeroEgressReceiptValidation_Interface;
|
|
16
|
+
private static isDuration;
|
|
17
|
+
private static isByteCount;
|
|
18
|
+
private static invalid;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=zero-egress-receipt.util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zero-egress-receipt.util.d.ts","sourceRoot":"","sources":["../../../../src/_modules/sandbox-runtime/_collections/zero-egress-receipt.util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EACL,8BAA8B,EAE/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,0CAA0C,EAC3C,MAAM,0CAA0C,CAAC;AA6BlD,yFAAyF;AACzF,eAAO,MAAM,mCAAmC,EAAE,QAAQ,CAC1D,MAAM,CAAC,2BAA2B,EAAE,SAAS,8BAA8B,EAAE,CAAC,CA+C5E,CAAC;AAMH,qGAAqG;AACrG,qBAAa,2BAA2B;IACtC,iEAAiE;WACnD,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,2BAA2B;IAgB7E,oEAAoE;WACtD,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,8BAA8B;IAInF,qFAAqF;WACvE,iBAAiB,CAC7B,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,OAAO,GACZ,OAAO;IAMV,mFAAmF;WACrE,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,0CAA0C;IA4ClF,OAAO,CAAC,MAAM,CAAC,UAAU;IAOzB,OAAO,CAAC,MAAM,CAAC,WAAW;IAI1B,OAAO,CAAC,MAAM,CAAC,OAAO;CAOvB"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyFM_ZeroEgressReceipt_Util = exports.DyFM_zeroEgressResultCodesByOutcome = void 0;
|
|
4
|
+
const zero_egress_outcome_type_enum_1 = require("../_enums/zero-egress-outcome.type-enum");
|
|
5
|
+
const zero_egress_result_code_const_1 = require("./zero-egress-result-code.const");
|
|
6
|
+
const dyfm_exactReceiptKeys = 'code,contractVersion,elapsedMs,outcome,outputBytes';
|
|
7
|
+
/** Determines whether an unknown value is a non-array object with string-addressable fields. */
|
|
8
|
+
function dyfm_isRecord(value) {
|
|
9
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
10
|
+
}
|
|
11
|
+
/** Compares all own string keys, including non-enumerable keys, with the exact receipt shape. */
|
|
12
|
+
function dyfm_hasExactReceiptKeys(value) {
|
|
13
|
+
const names = [];
|
|
14
|
+
for (const key of Reflect.ownKeys(value)) {
|
|
15
|
+
if (typeof key !== 'string') {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
const descriptor = Object.getOwnPropertyDescriptor(value, key);
|
|
19
|
+
if (!descriptor || !descriptor.enumerable || !Object.hasOwn(descriptor, 'value')) {
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
names.push(key);
|
|
23
|
+
}
|
|
24
|
+
return names.sort().join(',') === dyfm_exactReceiptKeys
|
|
25
|
+
&& Object.keys(value).sort().join(',') === dyfm_exactReceiptKeys;
|
|
26
|
+
}
|
|
27
|
+
/** Closed, immutable result-code registry indexed by its only valid terminal outcome. */
|
|
28
|
+
exports.DyFM_zeroEgressResultCodesByOutcome = Object.freeze({
|
|
29
|
+
[zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.completed]: Object.freeze([
|
|
30
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.completed,
|
|
31
|
+
]),
|
|
32
|
+
[zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.cancelled]: Object.freeze([
|
|
33
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.cancelled,
|
|
34
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.cancelFallback,
|
|
35
|
+
]),
|
|
36
|
+
[zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.timedOut]: Object.freeze([
|
|
37
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.timeout,
|
|
38
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.hostTimeout,
|
|
39
|
+
]),
|
|
40
|
+
[zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.outputLimitExceeded]: Object.freeze([
|
|
41
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.outputLimit,
|
|
42
|
+
]),
|
|
43
|
+
[zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.integrityRejected]: Object.freeze([
|
|
44
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.artifactIntegrity,
|
|
45
|
+
]),
|
|
46
|
+
[zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.workerRejected]: Object.freeze([
|
|
47
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.workerError,
|
|
48
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.protocolInvalid,
|
|
49
|
+
]),
|
|
50
|
+
[zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.hostFailed]: Object.freeze([
|
|
51
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.artifactBudgetInvalid,
|
|
52
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.artifactInvalid,
|
|
53
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.artifactLimit,
|
|
54
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.bootstrapFailed,
|
|
55
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.bootstrapLoadFailed,
|
|
56
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.bootstrapUrlRequired,
|
|
57
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.bootstrapUrlUntrusted,
|
|
58
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.browserRequired,
|
|
59
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.contractUnsupported,
|
|
60
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.epochInvalid,
|
|
61
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.inputBudgetInvalid,
|
|
62
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.inputInvalid,
|
|
63
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.inputLimit,
|
|
64
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.integrityUnavailable,
|
|
65
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.messageInvalid,
|
|
66
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.outputBudgetInvalid,
|
|
67
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.randomSeedInvalid,
|
|
68
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.readyReplayed,
|
|
69
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.responseInvalid,
|
|
70
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.runAlreadyActive,
|
|
71
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.runIdInvalid,
|
|
72
|
+
zero_egress_result_code_const_1.DyFM_zeroEgressResultCode.timeoutInvalid,
|
|
73
|
+
]),
|
|
74
|
+
});
|
|
75
|
+
const dyfm_allResultCodes = new Set(Object.values(exports.DyFM_zeroEgressResultCodesByOutcome).flat());
|
|
76
|
+
/** Strict cross-runtime validation and content-free projection for zero-egress terminal evidence. */
|
|
77
|
+
class DyFM_ZeroEgressReceipt_Util {
|
|
78
|
+
/** Narrows an untrusted value to one closed terminal outcome. */
|
|
79
|
+
static isOutcome(value) {
|
|
80
|
+
switch (value) {
|
|
81
|
+
case zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.completed:
|
|
82
|
+
case zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.cancelled:
|
|
83
|
+
case zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.timedOut:
|
|
84
|
+
case zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.outputLimitExceeded:
|
|
85
|
+
case zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.integrityRejected:
|
|
86
|
+
case zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.workerRejected:
|
|
87
|
+
case zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.hostFailed:
|
|
88
|
+
return true;
|
|
89
|
+
default:
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
/** Narrows an untrusted value to one closed runtime result code. */
|
|
94
|
+
static isResultCode(value) {
|
|
95
|
+
return typeof value === 'string' && dyfm_allResultCodes.has(value);
|
|
96
|
+
}
|
|
97
|
+
/** Validates that a result code belongs to exactly the supplied terminal outcome. */
|
|
98
|
+
static isOutcomeCodePair(outcome, code) {
|
|
99
|
+
return this.isOutcome(outcome)
|
|
100
|
+
&& this.isResultCode(code)
|
|
101
|
+
&& exports.DyFM_zeroEgressResultCodesByOutcome[outcome].includes(code);
|
|
102
|
+
}
|
|
103
|
+
/** Validates and copies an exact receipt without reflecting any rejected input. */
|
|
104
|
+
static validate(value) {
|
|
105
|
+
try {
|
|
106
|
+
if (!dyfm_isRecord(value)
|
|
107
|
+
|| !dyfm_hasExactReceiptKeys(value)) {
|
|
108
|
+
return this.invalid();
|
|
109
|
+
}
|
|
110
|
+
const candidate = value;
|
|
111
|
+
if (candidate.contractVersion !== 'dyfm-zero-egress-receipt/1'
|
|
112
|
+
|| !this.isOutcome(candidate.outcome)
|
|
113
|
+
|| !this.isResultCode(candidate.code)
|
|
114
|
+
|| !this.isOutcomeCodePair(candidate.outcome, candidate.code)
|
|
115
|
+
|| !this.isDuration(candidate.elapsedMs)
|
|
116
|
+
|| !this.isByteCount(candidate.outputBytes)
|
|
117
|
+
|| (candidate.outcome !== zero_egress_outcome_type_enum_1.DyFM_ZeroEgressOutcome_Type.completed
|
|
118
|
+
&& candidate.outputBytes !== 0)) {
|
|
119
|
+
return this.invalid();
|
|
120
|
+
}
|
|
121
|
+
const receipt = Object.freeze({
|
|
122
|
+
contractVersion: 'dyfm-zero-egress-receipt/1',
|
|
123
|
+
outcome: candidate.outcome,
|
|
124
|
+
code: candidate.code,
|
|
125
|
+
elapsedMs: candidate.elapsedMs,
|
|
126
|
+
outputBytes: candidate.outputBytes,
|
|
127
|
+
});
|
|
128
|
+
return Object.freeze({
|
|
129
|
+
contractVersion: 'dyfm-zero-egress-receipt-validation/1',
|
|
130
|
+
valid: true,
|
|
131
|
+
code: 'DYFM|ZERO_EGRESS_RECEIPT|VALID',
|
|
132
|
+
receipt: receipt,
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
catch {
|
|
136
|
+
return this.invalid();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
static isDuration(value) {
|
|
140
|
+
return typeof value === 'number'
|
|
141
|
+
&& Number.isFinite(value)
|
|
142
|
+
&& value >= 0
|
|
143
|
+
&& value <= Number.MAX_SAFE_INTEGER;
|
|
144
|
+
}
|
|
145
|
+
static isByteCount(value) {
|
|
146
|
+
return typeof value === 'number' && Number.isSafeInteger(value) && value >= 0;
|
|
147
|
+
}
|
|
148
|
+
static invalid() {
|
|
149
|
+
return Object.freeze({
|
|
150
|
+
contractVersion: 'dyfm-zero-egress-receipt-validation/1',
|
|
151
|
+
valid: false,
|
|
152
|
+
code: 'DYFM|ZERO_EGRESS_RECEIPT|INVALID',
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
exports.DyFM_ZeroEgressReceipt_Util = DyFM_ZeroEgressReceipt_Util;
|
|
157
|
+
//# sourceMappingURL=zero-egress-receipt.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zero-egress-receipt.util.js","sourceRoot":"","sources":["../../../../src/_modules/sandbox-runtime/_collections/zero-egress-receipt.util.ts"],"names":[],"mappings":";;;AAAA,2FAA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IAAI,MAAM,CAAC,gBAAgB,CAAC;IACxC,CAAC;IAEO,MAAM,CAAC,WAAW,CAAC,KAAc;QACvC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IAChF,CAAC;IAEO,MAAM,CAAC,OAAO;QACpB,OAAO,MAAM,CAAC,MAAM,CAAC;YACnB,eAAe,EAAE,uCAAuC;YACxD,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,kCAAkC;SACzC,CAAC,CAAC;IACL,CAAC;CACF;AAhGD,kEAgGC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/** Exact literal map for the compatibility-bound zero-egress wire codes. */
|
|
2
|
+
export interface DyFM_ZeroEgressResultCodeMap_Interface {
|
|
3
|
+
readonly artifactBudgetInvalid: 'DYNX|SANDBOX|ARTIFACT_BUDGET_INVALID';
|
|
4
|
+
readonly artifactIntegrity: 'DYNX|SANDBOX|ARTIFACT_INTEGRITY';
|
|
5
|
+
readonly artifactInvalid: 'DYNX|SANDBOX|ARTIFACT_INVALID';
|
|
6
|
+
readonly artifactLimit: 'DYNX|SANDBOX|ARTIFACT_LIMIT';
|
|
7
|
+
readonly bootstrapFailed: 'DYNX|SANDBOX|BOOTSTRAP_FAILED';
|
|
8
|
+
readonly bootstrapLoadFailed: 'DYNX|SANDBOX|BOOTSTRAP_LOAD_FAILED';
|
|
9
|
+
readonly bootstrapUrlRequired: 'DYNX|SANDBOX|BOOTSTRAP_URL_REQUIRED';
|
|
10
|
+
readonly bootstrapUrlUntrusted: 'DYNX|SANDBOX|BOOTSTRAP_URL_UNTRUSTED';
|
|
11
|
+
readonly browserRequired: 'DYNX|SANDBOX|BROWSER_REQUIRED';
|
|
12
|
+
readonly cancelFallback: 'DYNX|SANDBOX|CANCEL_FALLBACK';
|
|
13
|
+
readonly cancelled: 'DYNX|SANDBOX|CANCELLED';
|
|
14
|
+
readonly completed: 'DYNX|SANDBOX|COMPLETED';
|
|
15
|
+
readonly contractUnsupported: 'DYNX|SANDBOX|CONTRACT_UNSUPPORTED';
|
|
16
|
+
readonly epochInvalid: 'DYNX|SANDBOX|EPOCH_INVALID';
|
|
17
|
+
readonly hostTimeout: 'DYNX|SANDBOX|HOST_TIMEOUT';
|
|
18
|
+
readonly inputBudgetInvalid: 'DYNX|SANDBOX|INPUT_BUDGET_INVALID';
|
|
19
|
+
readonly inputInvalid: 'DYNX|SANDBOX|INPUT_INVALID';
|
|
20
|
+
readonly inputLimit: 'DYNX|SANDBOX|INPUT_LIMIT';
|
|
21
|
+
readonly integrityUnavailable: 'DYNX|SANDBOX|INTEGRITY_UNAVAILABLE';
|
|
22
|
+
readonly messageInvalid: 'DYNX|SANDBOX|MESSAGE_INVALID';
|
|
23
|
+
readonly outputBudgetInvalid: 'DYNX|SANDBOX|OUTPUT_BUDGET_INVALID';
|
|
24
|
+
readonly outputLimit: 'DYNX|SANDBOX|OUTPUT_LIMIT';
|
|
25
|
+
readonly protocolInvalid: 'DYNX|SANDBOX|PROTOCOL_INVALID';
|
|
26
|
+
readonly randomSeedInvalid: 'DYNX|SANDBOX|RANDOM_SEED_INVALID';
|
|
27
|
+
readonly readyReplayed: 'DYNX|SANDBOX|READY_REPLAYED';
|
|
28
|
+
readonly responseInvalid: 'DYNX|SANDBOX|RESPONSE_INVALID';
|
|
29
|
+
readonly runAlreadyActive: 'DYNX|SANDBOX|RUN_ALREADY_ACTIVE';
|
|
30
|
+
readonly runIdInvalid: 'DYNX|SANDBOX|RUN_ID_INVALID';
|
|
31
|
+
readonly timeout: 'DYNX|SANDBOX|TIMEOUT';
|
|
32
|
+
readonly timeoutInvalid: 'DYNX|SANDBOX|TIMEOUT_INVALID';
|
|
33
|
+
readonly workerError: 'DYNX|SANDBOX|WORKER_ERROR';
|
|
34
|
+
}
|
|
35
|
+
/** Closed runtime values shared by browser hosts, servers, and persisted receipt consumers. */
|
|
36
|
+
export declare const DyFM_zeroEgressResultCode: Readonly<DyFM_ZeroEgressResultCodeMap_Interface>;
|
|
37
|
+
/** Union of every compatibility-bound zero-egress wire code. */
|
|
38
|
+
export type DyFM_ZeroEgressResultCode_Type = DyFM_ZeroEgressResultCodeMap_Interface[keyof DyFM_ZeroEgressResultCodeMap_Interface];
|
|
39
|
+
//# sourceMappingURL=zero-egress-result-code.const.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zero-egress-result-code.const.d.ts","sourceRoot":"","sources":["../../../../src/_modules/sandbox-runtime/_collections/zero-egress-result-code.const.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,qBAAqB,EAAE,sCAAsC,CAAC;IACvE,QAAQ,CAAC,iBAAiB,EAAE,iCAAiC,CAAC;IAC9D,QAAQ,CAAC,eAAe,EAAE,+BAA+B,CAAC;IAC1D,QAAQ,CAAC,aAAa,EAAE,6BAA6B,CAAC;IACtD,QAAQ,CAAC,eAAe,EAAE,+BAA+B,CAAC;IAC1D,QAAQ,CAAC,mBAAmB,EAAE,oCAAoC,CAAC;IACnE,QAAQ,CAAC,oBAAoB,EAAE,qCAAqC,CAAC;IACrE,QAAQ,CAAC,qBAAqB,EAAE,sCAAsC,CAAC;IACvE,QAAQ,CAAC,eAAe,EAAE,+BAA+B,CAAC;IAC1D,QAAQ,CAAC,cAAc,EAAE,8BAA8B,CAAC;IACxD,QAAQ,CAAC,SAAS,EAAE,wBAAwB,CAAC;IAC7C,QAAQ,CAAC,SAAS,EAAE,wBAAwB,CAAC;IAC7C,QAAQ,CAAC,mBAAmB,EAAE,mCAAmC,CAAC;IAClE,QAAQ,CAAC,YAAY,EAAE,4BAA4B,CAAC;IACpD,QAAQ,CAAC,WAAW,EAAE,2BAA2B,CAAC;IAClD,QAAQ,CAAC,kBAAkB,EAAE,mCAAmC,CAAC;IACjE,QAAQ,CAAC,YAAY,EAAE,4BAA4B,CAAC;IACpD,QAAQ,CAAC,UAAU,EAAE,0BAA0B,CAAC;IAChD,QAAQ,CAAC,oBAAoB,EAAE,oCAAoC,CAAC;IACpE,QAAQ,CAAC,cAAc,EAAE,8BAA8B,CAAC;IACxD,QAAQ,CAAC,mBAAmB,EAAE,oCAAoC,CAAC;IACnE,QAAQ,CAAC,WAAW,EAAE,2BAA2B,CAAC;IAClD,QAAQ,CAAC,eAAe,EAAE,+BAA+B,CAAC;IAC1D,QAAQ,CAAC,iBAAiB,EAAE,kCAAkC,CAAC;IAC/D,QAAQ,CAAC,aAAa,EAAE,6BAA6B,CAAC;IACtD,QAAQ,CAAC,eAAe,EAAE,+BAA+B,CAAC;IAC1D,QAAQ,CAAC,gBAAgB,EAAE,iCAAiC,CAAC;IAC7D,QAAQ,CAAC,YAAY,EAAE,6BAA6B,CAAC;IACrD,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC;IACzC,QAAQ,CAAC,cAAc,EAAE,8BAA8B,CAAC;IACxD,QAAQ,CAAC,WAAW,EAAE,2BAA2B,CAAC;CACnD;AAED,+FAA+F;AAC/F,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,sCAAsC,CAgCrF,CAAC;AAEH,gEAAgE;AAChE,MAAM,MAAM,8BAA8B,GACxC,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyFM_zeroEgressResultCode = void 0;
|
|
4
|
+
/** Closed runtime values shared by browser hosts, servers, and persisted receipt consumers. */
|
|
5
|
+
exports.DyFM_zeroEgressResultCode = Object.freeze({
|
|
6
|
+
artifactBudgetInvalid: 'DYNX|SANDBOX|ARTIFACT_BUDGET_INVALID',
|
|
7
|
+
artifactIntegrity: 'DYNX|SANDBOX|ARTIFACT_INTEGRITY',
|
|
8
|
+
artifactInvalid: 'DYNX|SANDBOX|ARTIFACT_INVALID',
|
|
9
|
+
artifactLimit: 'DYNX|SANDBOX|ARTIFACT_LIMIT',
|
|
10
|
+
bootstrapFailed: 'DYNX|SANDBOX|BOOTSTRAP_FAILED',
|
|
11
|
+
bootstrapLoadFailed: 'DYNX|SANDBOX|BOOTSTRAP_LOAD_FAILED',
|
|
12
|
+
bootstrapUrlRequired: 'DYNX|SANDBOX|BOOTSTRAP_URL_REQUIRED',
|
|
13
|
+
bootstrapUrlUntrusted: 'DYNX|SANDBOX|BOOTSTRAP_URL_UNTRUSTED',
|
|
14
|
+
browserRequired: 'DYNX|SANDBOX|BROWSER_REQUIRED',
|
|
15
|
+
cancelFallback: 'DYNX|SANDBOX|CANCEL_FALLBACK',
|
|
16
|
+
cancelled: 'DYNX|SANDBOX|CANCELLED',
|
|
17
|
+
completed: 'DYNX|SANDBOX|COMPLETED',
|
|
18
|
+
contractUnsupported: 'DYNX|SANDBOX|CONTRACT_UNSUPPORTED',
|
|
19
|
+
epochInvalid: 'DYNX|SANDBOX|EPOCH_INVALID',
|
|
20
|
+
hostTimeout: 'DYNX|SANDBOX|HOST_TIMEOUT',
|
|
21
|
+
inputBudgetInvalid: 'DYNX|SANDBOX|INPUT_BUDGET_INVALID',
|
|
22
|
+
inputInvalid: 'DYNX|SANDBOX|INPUT_INVALID',
|
|
23
|
+
inputLimit: 'DYNX|SANDBOX|INPUT_LIMIT',
|
|
24
|
+
integrityUnavailable: 'DYNX|SANDBOX|INTEGRITY_UNAVAILABLE',
|
|
25
|
+
messageInvalid: 'DYNX|SANDBOX|MESSAGE_INVALID',
|
|
26
|
+
outputBudgetInvalid: 'DYNX|SANDBOX|OUTPUT_BUDGET_INVALID',
|
|
27
|
+
outputLimit: 'DYNX|SANDBOX|OUTPUT_LIMIT',
|
|
28
|
+
protocolInvalid: 'DYNX|SANDBOX|PROTOCOL_INVALID',
|
|
29
|
+
randomSeedInvalid: 'DYNX|SANDBOX|RANDOM_SEED_INVALID',
|
|
30
|
+
readyReplayed: 'DYNX|SANDBOX|READY_REPLAYED',
|
|
31
|
+
responseInvalid: 'DYNX|SANDBOX|RESPONSE_INVALID',
|
|
32
|
+
runAlreadyActive: 'DYNX|SANDBOX|RUN_ALREADY_ACTIVE',
|
|
33
|
+
runIdInvalid: 'DYNX|SANDBOX|RUN_ID_INVALID',
|
|
34
|
+
timeout: 'DYNX|SANDBOX|TIMEOUT',
|
|
35
|
+
timeoutInvalid: 'DYNX|SANDBOX|TIMEOUT_INVALID',
|
|
36
|
+
workerError: 'DYNX|SANDBOX|WORKER_ERROR',
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=zero-egress-result-code.const.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zero-egress-result-code.const.js","sourceRoot":"","sources":["../../../../src/_modules/sandbox-runtime/_collections/zero-egress-result-code.const.ts"],"names":[],"mappings":";;;AAmCA,+FAA+F;AAClF,QAAA,yBAAyB,GAAqD,MAAM,CAAC,MAAM,CAAC;IACvG,qBAAqB,EAAE,sCAAsC;IAC7D,iBAAiB,EAAE,iCAAiC;IACpD,eAAe,EAAE,+BAA+B;IAChD,aAAa,EAAE,6BAA6B;IAC5C,eAAe,EAAE,+BAA+B;IAChD,mBAAmB,EAAE,oCAAoC;IACzD,oBAAoB,EAAE,qCAAqC;IAC3D,qBAAqB,EAAE,sCAAsC;IAC7D,eAAe,EAAE,+BAA+B;IAChD,cAAc,EAAE,8BAA8B;IAC9C,SAAS,EAAE,wBAAwB;IACnC,SAAS,EAAE,wBAAwB;IACnC,mBAAmB,EAAE,mCAAmC;IACxD,YAAY,EAAE,4BAA4B;IAC1C,WAAW,EAAE,2BAA2B;IACxC,kBAAkB,EAAE,mCAAmC;IACvD,YAAY,EAAE,4BAA4B;IAC1C,UAAU,EAAE,0BAA0B;IACtC,oBAAoB,EAAE,oCAAoC;IAC1D,cAAc,EAAE,8BAA8B;IAC9C,mBAAmB,EAAE,oCAAoC;IACzD,WAAW,EAAE,2BAA2B;IACxC,eAAe,EAAE,+BAA+B;IAChD,iBAAiB,EAAE,kCAAkC;IACrD,aAAa,EAAE,6BAA6B;IAC5C,eAAe,EAAE,+BAA+B;IAChD,gBAAgB,EAAE,iCAAiC;IACnD,YAAY,EAAE,6BAA6B;IAC3C,OAAO,EAAE,sBAAsB;IAC/B,cAAc,EAAE,8BAA8B;IAC9C,WAAW,EAAE,2BAA2B;CACzC,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Stable terminal outcomes shared by zero-egress sandbox hosts and their consumers. */
|
|
2
|
+
export declare enum DyFM_ZeroEgressOutcome_Type {
|
|
3
|
+
completed = "completed",
|
|
4
|
+
cancelled = "cancelled",
|
|
5
|
+
timedOut = "timed-out",
|
|
6
|
+
outputLimitExceeded = "output-limit-exceeded",
|
|
7
|
+
integrityRejected = "integrity-rejected",
|
|
8
|
+
workerRejected = "worker-rejected",
|
|
9
|
+
hostFailed = "host-failed"
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=zero-egress-outcome.type-enum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zero-egress-outcome.type-enum.d.ts","sourceRoot":"","sources":["../../../../src/_modules/sandbox-runtime/_enums/zero-egress-outcome.type-enum.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,oBAAY,2BAA2B;IACrC,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,QAAQ,cAAc;IACtB,mBAAmB,0BAA0B;IAC7C,iBAAiB,uBAAuB;IACxC,cAAc,oBAAoB;IAClC,UAAU,gBAAgB;CAC3B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyFM_ZeroEgressOutcome_Type = void 0;
|
|
4
|
+
/** Stable terminal outcomes shared by zero-egress sandbox hosts and their consumers. */
|
|
5
|
+
var DyFM_ZeroEgressOutcome_Type;
|
|
6
|
+
(function (DyFM_ZeroEgressOutcome_Type) {
|
|
7
|
+
DyFM_ZeroEgressOutcome_Type["completed"] = "completed";
|
|
8
|
+
DyFM_ZeroEgressOutcome_Type["cancelled"] = "cancelled";
|
|
9
|
+
DyFM_ZeroEgressOutcome_Type["timedOut"] = "timed-out";
|
|
10
|
+
DyFM_ZeroEgressOutcome_Type["outputLimitExceeded"] = "output-limit-exceeded";
|
|
11
|
+
DyFM_ZeroEgressOutcome_Type["integrityRejected"] = "integrity-rejected";
|
|
12
|
+
DyFM_ZeroEgressOutcome_Type["workerRejected"] = "worker-rejected";
|
|
13
|
+
DyFM_ZeroEgressOutcome_Type["hostFailed"] = "host-failed";
|
|
14
|
+
})(DyFM_ZeroEgressOutcome_Type || (exports.DyFM_ZeroEgressOutcome_Type = DyFM_ZeroEgressOutcome_Type = {}));
|
|
15
|
+
//# sourceMappingURL=zero-egress-outcome.type-enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zero-egress-outcome.type-enum.js","sourceRoot":"","sources":["../../../../src/_modules/sandbox-runtime/_enums/zero-egress-outcome.type-enum.ts"],"names":[],"mappings":";;;AAAA,wFAAwF;AACxF,IAAY,2BAQX;AARD,WAAY,2BAA2B;IACrC,sDAAuB,CAAA;IACvB,sDAAuB,CAAA;IACvB,qDAAsB,CAAA;IACtB,4EAA6C,CAAA;IAC7C,uEAAwC,CAAA;IACxC,iEAAkC,CAAA;IAClC,yDAA0B,CAAA;AAC5B,CAAC,EARW,2BAA2B,2CAA3B,2BAA2B,QAQtC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DyFM_ZeroEgressOutcome_Type } from '../_enums/zero-egress-outcome.type-enum';
|
|
2
|
+
import { DyFM_ZeroEgressResultCode_Type } from '../_collections/zero-egress-result-code.const';
|
|
3
|
+
/** Content-free terminal evidence safe to persist outside the browser execution boundary. */
|
|
4
|
+
export interface DyFM_ZeroEgressReceipt_Interface {
|
|
5
|
+
readonly contractVersion: 'dyfm-zero-egress-receipt/1';
|
|
6
|
+
readonly outcome: DyFM_ZeroEgressOutcome_Type;
|
|
7
|
+
readonly code: DyFM_ZeroEgressResultCode_Type;
|
|
8
|
+
readonly elapsedMs: number;
|
|
9
|
+
readonly outputBytes: number;
|
|
10
|
+
}
|
|
11
|
+
/** Non-reflective validation result for an untrusted receipt candidate. */
|
|
12
|
+
export interface DyFM_ZeroEgressReceiptValidation_Interface {
|
|
13
|
+
readonly contractVersion: 'dyfm-zero-egress-receipt-validation/1';
|
|
14
|
+
readonly valid: boolean;
|
|
15
|
+
readonly code: 'DYFM|ZERO_EGRESS_RECEIPT|VALID' | 'DYFM|ZERO_EGRESS_RECEIPT|INVALID';
|
|
16
|
+
readonly receipt?: DyFM_ZeroEgressReceipt_Interface;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=zero-egress-receipt.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zero-egress-receipt.interface.d.ts","sourceRoot":"","sources":["../../../../src/_modules/sandbox-runtime/_models/zero-egress-receipt.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAE/F,6FAA6F;AAC7F,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,eAAe,EAAE,4BAA4B,CAAC;IACvD,QAAQ,CAAC,OAAO,EAAE,2BAA2B,CAAC;IAC9C,QAAQ,CAAC,IAAI,EAAE,8BAA8B,CAAC;IAC9C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,2EAA2E;AAC3E,MAAM,WAAW,0CAA0C;IACzD,QAAQ,CAAC,eAAe,EAAE,uCAAuC,CAAC;IAClE,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,IAAI,EACT,gCAAgC,GAChC,kCAAkC,CAAC;IACvC,QAAQ,CAAC,OAAO,CAAC,EAAE,gCAAgC,CAAC;CACrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zero-egress-receipt.interface.js","sourceRoot":"","sources":["../../../../src/_modules/sandbox-runtime/_models/zero-egress-receipt.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './_collections/zero-egress-receipt.util';
|
|
2
|
+
export * from './_collections/zero-egress-result-code.const';
|
|
3
|
+
export * from './_enums/zero-egress-outcome.type-enum';
|
|
4
|
+
export * from './_models/zero-egress-receipt.interface';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_modules/sandbox-runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./_collections/zero-egress-receipt.util"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./_collections/zero-egress-result-code.const"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./_enums/zero-egress-outcome.type-enum"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./_models/zero-egress-receipt.interface"), exports);
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_modules/sandbox-runtime/index.ts"],"names":[],"mappings":";;;AAAA,kFAAwD;AACxD,uFAA6D;AAC7D,iFAAuD;AACvD,kFAAwD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@futdevpro/fsm-dynamo",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.16",
|
|
4
4
|
"description": "Full Stack Model Collection for Dynamic (NodeJS-Typescript) Framework called Dynamo, by Future Development Ltd.",
|
|
5
5
|
"DyBu_settings": {
|
|
6
6
|
"packageType": "full-stack-package",
|
|
@@ -137,6 +137,12 @@
|
|
|
137
137
|
"types": "./build/_modules/deployment/index.d.ts",
|
|
138
138
|
"typings": "./build/_modules/deployment/index.d.ts"
|
|
139
139
|
},
|
|
140
|
+
"./sandbox-runtime": {
|
|
141
|
+
"default": "./build/_modules/sandbox-runtime/index.js",
|
|
142
|
+
"module": "./build/_modules/sandbox-runtime/index.js",
|
|
143
|
+
"types": "./build/_modules/sandbox-runtime/index.d.ts",
|
|
144
|
+
"typings": "./build/_modules/sandbox-runtime/index.d.ts"
|
|
145
|
+
},
|
|
140
146
|
"./custom-data": {
|
|
141
147
|
"default": "./build/_modules/custom-data/index.js",
|
|
142
148
|
"module": "./build/_modules/custom-data/index.js",
|
|
@@ -248,6 +254,9 @@
|
|
|
248
254
|
"deployment": [
|
|
249
255
|
"build/_modules/deployment/index.d.ts"
|
|
250
256
|
],
|
|
257
|
+
"sandbox-runtime": [
|
|
258
|
+
"build/_modules/sandbox-runtime/index.d.ts"
|
|
259
|
+
],
|
|
251
260
|
"custom-data": [
|
|
252
261
|
"build/_modules/custom-data/index.d.ts"
|
|
253
262
|
],
|