@elaraai/e3-types 1.0.5 → 1.0.6
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/src/api.d.ts +272 -0
- package/dist/src/api.d.ts.map +1 -1
- package/dist/src/api.js +97 -0
- package/dist/src/api.js.map +1 -1
- package/dist/src/function.d.ts +129 -0
- package/dist/src/function.d.ts.map +1 -0
- package/dist/src/function.js +36 -0
- package/dist/src/function.js.map +1 -0
- package/dist/src/index.d.ts +4 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +8 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/package.d.ts +14 -0
- package/dist/src/package.d.ts.map +1 -1
- package/dist/src/package.js +39 -1
- package/dist/src/package.js.map +1 -1
- package/dist/src/runner.d.ts +48 -0
- package/dist/src/runner.d.ts.map +1 -0
- package/dist/src/runner.js +49 -0
- package/dist/src/runner.js.map +1 -0
- package/package.json +2 -2
- package/src/api.ts +116 -0
- package/src/function.ts +41 -0
- package/src/index.ts +33 -0
- package/src/package.ts +40 -1
- package/src/runner.ts +56 -0
package/dist/src/api.d.ts
CHANGED
|
@@ -1094,6 +1094,269 @@ export declare const DatasetStatusDetailType: StructType<{
|
|
|
1094
1094
|
readonly hash: OptionType<StringType>;
|
|
1095
1095
|
readonly size: OptionType<IntegerType>;
|
|
1096
1096
|
}>;
|
|
1097
|
+
/**
|
|
1098
|
+
* Execution limits for a function/one-shot call.
|
|
1099
|
+
*
|
|
1100
|
+
* @property timeoutMs - Wall-clock limit; over it the call is killed and returns `timed_out`
|
|
1101
|
+
* @property maxResultBytes - Inline result cap; over it the call returns `too_large`
|
|
1102
|
+
* @property maxLogBytes - Per-stream stdout/stderr tail cap
|
|
1103
|
+
*/
|
|
1104
|
+
export declare const ExecuteLimitsType: StructType<{
|
|
1105
|
+
readonly timeoutMs: OptionType<IntegerType>;
|
|
1106
|
+
readonly maxResultBytes: OptionType<IntegerType>;
|
|
1107
|
+
readonly maxLogBytes: OptionType<IntegerType>;
|
|
1108
|
+
}>;
|
|
1109
|
+
/**
|
|
1110
|
+
* A diagnostic attached to an `invalid` call outcome.
|
|
1111
|
+
*/
|
|
1112
|
+
export declare const DiagnosticType: StructType<{
|
|
1113
|
+
readonly message: StringType;
|
|
1114
|
+
readonly filename: OptionType<StringType>;
|
|
1115
|
+
readonly line: OptionType<IntegerType>;
|
|
1116
|
+
readonly column: OptionType<IntegerType>;
|
|
1117
|
+
}>;
|
|
1118
|
+
/**
|
|
1119
|
+
* The terminal result of a function/one-shot call.
|
|
1120
|
+
*
|
|
1121
|
+
* - `success`: beast2-encoded result value; decode with the function's `outputType`
|
|
1122
|
+
* - `failed`: process exited non-zero (see stderr)
|
|
1123
|
+
* - `invalid`: signature/IR error; nothing ran
|
|
1124
|
+
* - `too_large`: result over `maxResultBytes`; deploy a task and read it with `datasetGet`
|
|
1125
|
+
* - `timed_out`: exceeded `timeoutMs` / the server's sync deadline guard
|
|
1126
|
+
*/
|
|
1127
|
+
export declare const ExecuteResultType: StructType<{
|
|
1128
|
+
readonly outcome: VariantType<{
|
|
1129
|
+
readonly success: StructType<{
|
|
1130
|
+
readonly value: BlobType;
|
|
1131
|
+
}>;
|
|
1132
|
+
readonly failed: StructType<{
|
|
1133
|
+
readonly exitCode: IntegerType;
|
|
1134
|
+
}>;
|
|
1135
|
+
readonly invalid: StructType<{
|
|
1136
|
+
readonly diagnostics: ArrayType<StructType<{
|
|
1137
|
+
readonly message: StringType;
|
|
1138
|
+
readonly filename: OptionType<StringType>;
|
|
1139
|
+
readonly line: OptionType<IntegerType>;
|
|
1140
|
+
readonly column: OptionType<IntegerType>;
|
|
1141
|
+
}>>;
|
|
1142
|
+
}>;
|
|
1143
|
+
readonly too_large: StructType<{
|
|
1144
|
+
readonly bytes: IntegerType;
|
|
1145
|
+
readonly limit: IntegerType;
|
|
1146
|
+
}>;
|
|
1147
|
+
readonly timed_out: StructType<{
|
|
1148
|
+
readonly ms: IntegerType;
|
|
1149
|
+
}>;
|
|
1150
|
+
}>;
|
|
1151
|
+
readonly stdout: StringType;
|
|
1152
|
+
readonly stderr: StringType;
|
|
1153
|
+
readonly stdoutTruncated: BooleanType;
|
|
1154
|
+
readonly stderrTruncated: BooleanType;
|
|
1155
|
+
}>;
|
|
1156
|
+
/** Named function call. Positional args, one beast2-encoded value per param. */
|
|
1157
|
+
export declare const FunctionCallRequestType: StructType<{
|
|
1158
|
+
readonly args: ArrayType<BlobType>;
|
|
1159
|
+
readonly runner: OptionType<VariantType<{
|
|
1160
|
+
readonly east_node: StructType<{
|
|
1161
|
+
readonly platforms: ArrayType<StringType>;
|
|
1162
|
+
}>;
|
|
1163
|
+
readonly east_py: StructType<{
|
|
1164
|
+
readonly platforms: ArrayType<StringType>;
|
|
1165
|
+
}>;
|
|
1166
|
+
readonly east_c: StructType<{
|
|
1167
|
+
readonly platforms: ArrayType<StringType>;
|
|
1168
|
+
}>;
|
|
1169
|
+
}>>;
|
|
1170
|
+
readonly limits: OptionType<StructType<{
|
|
1171
|
+
readonly timeoutMs: OptionType<IntegerType>;
|
|
1172
|
+
readonly maxResultBytes: OptionType<IntegerType>;
|
|
1173
|
+
readonly maxLogBytes: OptionType<IntegerType>;
|
|
1174
|
+
}>>;
|
|
1175
|
+
}>;
|
|
1176
|
+
/** A function signature, returned by `describe` so dynamic callers can encode args. */
|
|
1177
|
+
export declare const FunctionSignatureType: StructType<{
|
|
1178
|
+
readonly name: StringType;
|
|
1179
|
+
readonly inputTypes: ArrayType<import("@elaraai/east").RecursiveType<VariantType<{
|
|
1180
|
+
readonly Never: NullType;
|
|
1181
|
+
readonly Null: NullType;
|
|
1182
|
+
readonly Boolean: NullType;
|
|
1183
|
+
readonly Integer: NullType;
|
|
1184
|
+
readonly Float: NullType;
|
|
1185
|
+
readonly String: NullType;
|
|
1186
|
+
readonly DateTime: NullType;
|
|
1187
|
+
readonly Blob: NullType;
|
|
1188
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
1189
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
1190
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
1191
|
+
readonly Dict: StructType<{
|
|
1192
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
1193
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
1194
|
+
}>;
|
|
1195
|
+
readonly Struct: ArrayType<StructType<{
|
|
1196
|
+
readonly name: StringType;
|
|
1197
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1198
|
+
}>>;
|
|
1199
|
+
readonly Variant: ArrayType<StructType<{
|
|
1200
|
+
readonly name: StringType;
|
|
1201
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1202
|
+
}>>;
|
|
1203
|
+
readonly Recursive: VariantType<{
|
|
1204
|
+
readonly ref: IntegerType;
|
|
1205
|
+
readonly wrapper: StructType<{
|
|
1206
|
+
readonly id: IntegerType;
|
|
1207
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
1208
|
+
}>;
|
|
1209
|
+
}>;
|
|
1210
|
+
readonly Function: StructType<{
|
|
1211
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1212
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1213
|
+
}>;
|
|
1214
|
+
readonly AsyncFunction: StructType<{
|
|
1215
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1216
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1217
|
+
}>;
|
|
1218
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
1219
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
1220
|
+
}>>>;
|
|
1221
|
+
readonly outputType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
1222
|
+
readonly Never: NullType;
|
|
1223
|
+
readonly Null: NullType;
|
|
1224
|
+
readonly Boolean: NullType;
|
|
1225
|
+
readonly Integer: NullType;
|
|
1226
|
+
readonly Float: NullType;
|
|
1227
|
+
readonly String: NullType;
|
|
1228
|
+
readonly DateTime: NullType;
|
|
1229
|
+
readonly Blob: NullType;
|
|
1230
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
1231
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
1232
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
1233
|
+
readonly Dict: StructType<{
|
|
1234
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
1235
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
1236
|
+
}>;
|
|
1237
|
+
readonly Struct: ArrayType<StructType<{
|
|
1238
|
+
readonly name: StringType;
|
|
1239
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1240
|
+
}>>;
|
|
1241
|
+
readonly Variant: ArrayType<StructType<{
|
|
1242
|
+
readonly name: StringType;
|
|
1243
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1244
|
+
}>>;
|
|
1245
|
+
readonly Recursive: VariantType<{
|
|
1246
|
+
readonly ref: IntegerType;
|
|
1247
|
+
readonly wrapper: StructType<{
|
|
1248
|
+
readonly id: IntegerType;
|
|
1249
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
1250
|
+
}>;
|
|
1251
|
+
}>;
|
|
1252
|
+
readonly Function: StructType<{
|
|
1253
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1254
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1255
|
+
}>;
|
|
1256
|
+
readonly AsyncFunction: StructType<{
|
|
1257
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1258
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1259
|
+
}>;
|
|
1260
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
1261
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
1262
|
+
}>>;
|
|
1263
|
+
readonly runner: VariantType<{
|
|
1264
|
+
readonly east_node: StructType<{
|
|
1265
|
+
readonly platforms: ArrayType<StringType>;
|
|
1266
|
+
}>;
|
|
1267
|
+
readonly east_py: StructType<{
|
|
1268
|
+
readonly platforms: ArrayType<StringType>;
|
|
1269
|
+
}>;
|
|
1270
|
+
readonly east_c: StructType<{
|
|
1271
|
+
readonly platforms: ArrayType<StringType>;
|
|
1272
|
+
}>;
|
|
1273
|
+
}>;
|
|
1274
|
+
}>;
|
|
1275
|
+
/** Async launch → id; poll returns status + the result once terminal. */
|
|
1276
|
+
export declare const CallStartResultType: StructType<{
|
|
1277
|
+
readonly callId: StringType;
|
|
1278
|
+
}>;
|
|
1279
|
+
/** A function-specific status — do NOT reuse AsyncOperationStatusType, which has
|
|
1280
|
+
* only running|succeeded|failed and cannot represent a cancelled call (and
|
|
1281
|
+
* mutating it would reorder its sorted variant tags, a breaking change for the
|
|
1282
|
+
* GC/repo-delete consumers that share it). */
|
|
1283
|
+
export declare const CallStatusType: VariantType<{
|
|
1284
|
+
readonly running: NullType;
|
|
1285
|
+
readonly succeeded: NullType;
|
|
1286
|
+
readonly failed: NullType;
|
|
1287
|
+
readonly cancelled: NullType;
|
|
1288
|
+
}>;
|
|
1289
|
+
export declare const CallStatusResultType: StructType<{
|
|
1290
|
+
readonly status: VariantType<{
|
|
1291
|
+
readonly running: NullType;
|
|
1292
|
+
readonly succeeded: NullType;
|
|
1293
|
+
readonly failed: NullType;
|
|
1294
|
+
readonly cancelled: NullType;
|
|
1295
|
+
}>;
|
|
1296
|
+
readonly result: OptionType<StructType<{
|
|
1297
|
+
readonly outcome: VariantType<{
|
|
1298
|
+
readonly success: StructType<{
|
|
1299
|
+
readonly value: BlobType;
|
|
1300
|
+
}>;
|
|
1301
|
+
readonly failed: StructType<{
|
|
1302
|
+
readonly exitCode: IntegerType;
|
|
1303
|
+
}>;
|
|
1304
|
+
readonly invalid: StructType<{
|
|
1305
|
+
readonly diagnostics: ArrayType<StructType<{
|
|
1306
|
+
readonly message: StringType;
|
|
1307
|
+
readonly filename: OptionType<StringType>;
|
|
1308
|
+
readonly line: OptionType<IntegerType>;
|
|
1309
|
+
readonly column: OptionType<IntegerType>;
|
|
1310
|
+
}>>;
|
|
1311
|
+
}>;
|
|
1312
|
+
readonly too_large: StructType<{
|
|
1313
|
+
readonly bytes: IntegerType;
|
|
1314
|
+
readonly limit: IntegerType;
|
|
1315
|
+
}>;
|
|
1316
|
+
readonly timed_out: StructType<{
|
|
1317
|
+
readonly ms: IntegerType;
|
|
1318
|
+
}>;
|
|
1319
|
+
}>;
|
|
1320
|
+
readonly stdout: StringType;
|
|
1321
|
+
readonly stderr: StringType;
|
|
1322
|
+
readonly stdoutTruncated: BooleanType;
|
|
1323
|
+
readonly stderrTruncated: BooleanType;
|
|
1324
|
+
}>>;
|
|
1325
|
+
readonly error: OptionType<StringType>;
|
|
1326
|
+
}>;
|
|
1327
|
+
/**
|
|
1328
|
+
* One-shot execution request: run an anonymous function whose IR is supplied
|
|
1329
|
+
* at call time, optionally bound to existing workspace datasets, returning
|
|
1330
|
+
* the result inline and persisting nothing.
|
|
1331
|
+
*
|
|
1332
|
+
* SECURITY: one-shot evaluates a caller-supplied IR — remote code execution
|
|
1333
|
+
* with the server's authority. Gate behind an elevated role.
|
|
1334
|
+
*/
|
|
1335
|
+
export declare const OneShotRequestType: StructType<{
|
|
1336
|
+
readonly bodyIr: BlobType;
|
|
1337
|
+
readonly args: ArrayType<VariantType<{
|
|
1338
|
+
readonly value: BlobType;
|
|
1339
|
+
readonly dataset: ArrayType<VariantType<{
|
|
1340
|
+
readonly field: StringType;
|
|
1341
|
+
}>>;
|
|
1342
|
+
}>>;
|
|
1343
|
+
readonly runner: VariantType<{
|
|
1344
|
+
readonly east_node: StructType<{
|
|
1345
|
+
readonly platforms: ArrayType<StringType>;
|
|
1346
|
+
}>;
|
|
1347
|
+
readonly east_py: StructType<{
|
|
1348
|
+
readonly platforms: ArrayType<StringType>;
|
|
1349
|
+
}>;
|
|
1350
|
+
readonly east_c: StructType<{
|
|
1351
|
+
readonly platforms: ArrayType<StringType>;
|
|
1352
|
+
}>;
|
|
1353
|
+
}>;
|
|
1354
|
+
readonly limits: OptionType<StructType<{
|
|
1355
|
+
readonly timeoutMs: OptionType<IntegerType>;
|
|
1356
|
+
readonly maxResultBytes: OptionType<IntegerType>;
|
|
1357
|
+
readonly maxLogBytes: OptionType<IntegerType>;
|
|
1358
|
+
}>>;
|
|
1359
|
+
}>;
|
|
1097
1360
|
export type Error = ValueTypeOf<typeof ErrorType>;
|
|
1098
1361
|
export type RepositoryStatus = ValueTypeOf<typeof RepositoryStatusType>;
|
|
1099
1362
|
export type GcRequest = ValueTypeOf<typeof GcRequestType>;
|
|
@@ -1128,4 +1391,13 @@ export type ExecutionListItem = ValueTypeOf<typeof ExecutionListItemType>;
|
|
|
1128
1391
|
export type TreeKind = ValueTypeOf<typeof TreeKindType>;
|
|
1129
1392
|
export type ListEntry = ValueTypeOf<typeof ListEntryType>;
|
|
1130
1393
|
export type DatasetStatusDetail = ValueTypeOf<typeof DatasetStatusDetailType>;
|
|
1394
|
+
export type ExecuteLimits = ValueTypeOf<typeof ExecuteLimitsType>;
|
|
1395
|
+
export type Diagnostic = ValueTypeOf<typeof DiagnosticType>;
|
|
1396
|
+
export type ExecuteResult = ValueTypeOf<typeof ExecuteResultType>;
|
|
1397
|
+
export type FunctionCallRequest = ValueTypeOf<typeof FunctionCallRequestType>;
|
|
1398
|
+
export type FunctionSignature = ValueTypeOf<typeof FunctionSignatureType>;
|
|
1399
|
+
export type CallStartResult = ValueTypeOf<typeof CallStartResultType>;
|
|
1400
|
+
export type CallStatus = ValueTypeOf<typeof CallStatusType>;
|
|
1401
|
+
export type CallStatusResult = ValueTypeOf<typeof CallStatusResultType>;
|
|
1402
|
+
export type OneShotRequest = ValueTypeOf<typeof OneShotRequestType>;
|
|
1131
1403
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/src/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,QAAQ,EAER,KAAK,QAAQ,EACb,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,QAAQ,EAER,KAAK,QAAQ,EACb,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;AASvB,eAAO,MAAM,0BAA0B;;EAAwC,CAAC;AAChF,eAAO,MAAM,6BAA6B;;EAAwC,CAAC;AACnF,eAAO,MAAM,wBAAwB;;EAAwC,CAAC;AAC9E,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;EAGnC,CAAC;AACH,eAAO,MAAM,wBAAwB;;;EAGnC,CAAC;AACH,eAAO,MAAM,sBAAsB;;;EAA+D,CAAC;AACnG,eAAO,MAAM,uBAAuB;;EAAqC,CAAC;AAC1E,eAAO,MAAM,wBAAwB;;;EAA0D,CAAC;AAChG,eAAO,MAAM,qBAAqB;;EAAmC,CAAC;AACtE,eAAO,MAAM,0BAA0B;;EAAmC,CAAC;AAC3E,eAAO,MAAM,uBAAuB;;EAAmC,CAAC;AACxE,eAA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AG,WAAW,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
package/dist/src/api.js
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { VariantType, StructType, ArrayType, OptionType, StringType, IntegerType, FloatType, BooleanType, BlobType, NullType, EastTypeType, } from '@elaraai/east';
|
|
20
20
|
import { StructureType, TreePathType } from './structure.js';
|
|
21
|
+
import { RunnerType } from './runner.js';
|
|
21
22
|
// =============================================================================
|
|
22
23
|
// Error Types
|
|
23
24
|
// =============================================================================
|
|
@@ -649,4 +650,100 @@ export const DatasetStatusDetailType = StructType({
|
|
|
649
650
|
hash: OptionType(StringType),
|
|
650
651
|
size: OptionType(IntegerType),
|
|
651
652
|
});
|
|
653
|
+
// =============================================================================
|
|
654
|
+
// Function / one-shot execution types
|
|
655
|
+
// =============================================================================
|
|
656
|
+
// Shared by the named-function path AND one-shot execution. The result of a
|
|
657
|
+
// call is an in-memory, bounded value returned inline — never promoted to a
|
|
658
|
+
// durable artifact.
|
|
659
|
+
/**
|
|
660
|
+
* Execution limits for a function/one-shot call.
|
|
661
|
+
*
|
|
662
|
+
* @property timeoutMs - Wall-clock limit; over it the call is killed and returns `timed_out`
|
|
663
|
+
* @property maxResultBytes - Inline result cap; over it the call returns `too_large`
|
|
664
|
+
* @property maxLogBytes - Per-stream stdout/stderr tail cap
|
|
665
|
+
*/
|
|
666
|
+
export const ExecuteLimitsType = StructType({
|
|
667
|
+
timeoutMs: OptionType(IntegerType),
|
|
668
|
+
maxResultBytes: OptionType(IntegerType),
|
|
669
|
+
maxLogBytes: OptionType(IntegerType),
|
|
670
|
+
});
|
|
671
|
+
/**
|
|
672
|
+
* A diagnostic attached to an `invalid` call outcome.
|
|
673
|
+
*/
|
|
674
|
+
export const DiagnosticType = StructType({
|
|
675
|
+
message: StringType,
|
|
676
|
+
filename: OptionType(StringType),
|
|
677
|
+
line: OptionType(IntegerType),
|
|
678
|
+
column: OptionType(IntegerType),
|
|
679
|
+
});
|
|
680
|
+
/**
|
|
681
|
+
* The terminal result of a function/one-shot call.
|
|
682
|
+
*
|
|
683
|
+
* - `success`: beast2-encoded result value; decode with the function's `outputType`
|
|
684
|
+
* - `failed`: process exited non-zero (see stderr)
|
|
685
|
+
* - `invalid`: signature/IR error; nothing ran
|
|
686
|
+
* - `too_large`: result over `maxResultBytes`; deploy a task and read it with `datasetGet`
|
|
687
|
+
* - `timed_out`: exceeded `timeoutMs` / the server's sync deadline guard
|
|
688
|
+
*/
|
|
689
|
+
export const ExecuteResultType = StructType({
|
|
690
|
+
outcome: VariantType({
|
|
691
|
+
success: StructType({ value: BlobType }),
|
|
692
|
+
failed: StructType({ exitCode: IntegerType }),
|
|
693
|
+
invalid: StructType({ diagnostics: ArrayType(DiagnosticType) }),
|
|
694
|
+
too_large: StructType({ bytes: IntegerType, limit: IntegerType }),
|
|
695
|
+
timed_out: StructType({ ms: IntegerType }),
|
|
696
|
+
}),
|
|
697
|
+
stdout: StringType,
|
|
698
|
+
stderr: StringType,
|
|
699
|
+
stdoutTruncated: BooleanType,
|
|
700
|
+
stderrTruncated: BooleanType,
|
|
701
|
+
});
|
|
702
|
+
/** Named function call. Positional args, one beast2-encoded value per param. */
|
|
703
|
+
export const FunctionCallRequestType = StructType({
|
|
704
|
+
args: ArrayType(BlobType),
|
|
705
|
+
runner: OptionType(RunnerType), // optional override; only the known runtimes
|
|
706
|
+
limits: OptionType(ExecuteLimitsType),
|
|
707
|
+
});
|
|
708
|
+
/** A function signature, returned by `describe` so dynamic callers can encode args. */
|
|
709
|
+
export const FunctionSignatureType = StructType({
|
|
710
|
+
name: StringType,
|
|
711
|
+
inputTypes: ArrayType(EastTypeType),
|
|
712
|
+
outputType: EastTypeType,
|
|
713
|
+
runner: RunnerType,
|
|
714
|
+
});
|
|
715
|
+
/** Async launch → id; poll returns status + the result once terminal. */
|
|
716
|
+
export const CallStartResultType = StructType({ callId: StringType });
|
|
717
|
+
/** A function-specific status — do NOT reuse AsyncOperationStatusType, which has
|
|
718
|
+
* only running|succeeded|failed and cannot represent a cancelled call (and
|
|
719
|
+
* mutating it would reorder its sorted variant tags, a breaking change for the
|
|
720
|
+
* GC/repo-delete consumers that share it). */
|
|
721
|
+
export const CallStatusType = VariantType({
|
|
722
|
+
running: NullType,
|
|
723
|
+
succeeded: NullType,
|
|
724
|
+
failed: NullType,
|
|
725
|
+
cancelled: NullType,
|
|
726
|
+
});
|
|
727
|
+
export const CallStatusResultType = StructType({
|
|
728
|
+
status: CallStatusType,
|
|
729
|
+
result: OptionType(ExecuteResultType), // present once terminal (succeeded/failed)
|
|
730
|
+
error: OptionType(StringType),
|
|
731
|
+
});
|
|
732
|
+
/**
|
|
733
|
+
* One-shot execution request: run an anonymous function whose IR is supplied
|
|
734
|
+
* at call time, optionally bound to existing workspace datasets, returning
|
|
735
|
+
* the result inline and persisting nothing.
|
|
736
|
+
*
|
|
737
|
+
* SECURITY: one-shot evaluates a caller-supplied IR — remote code execution
|
|
738
|
+
* with the server's authority. Gate behind an elevated role.
|
|
739
|
+
*/
|
|
740
|
+
export const OneShotRequestType = StructType({
|
|
741
|
+
bodyIr: BlobType, // anonymous EastIR, not deployed
|
|
742
|
+
args: ArrayType(VariantType({
|
|
743
|
+
value: BlobType,
|
|
744
|
+
dataset: TreePathType, // workspace-scoped; resolved + pinned by content hash at launch
|
|
745
|
+
})),
|
|
746
|
+
runner: RunnerType,
|
|
747
|
+
limits: OptionType(ExecuteLimitsType),
|
|
748
|
+
});
|
|
652
749
|
//# sourceMappingURL=api.js.map
|
package/dist/src/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;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
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Function object types for e3.
|
|
7
|
+
*
|
|
8
|
+
* An `e3.function` is a named, typed function stored in a package and
|
|
9
|
+
* invoked by name with argument values over the CLI and HTTP API. Unlike
|
|
10
|
+
* a task it is not wired to datasets, not part of the dataflow graph, and
|
|
11
|
+
* triggers no recomputation.
|
|
12
|
+
*
|
|
13
|
+
* The function object stores its signature explicitly so `describe` and
|
|
14
|
+
* arity/type validation work from the small function object without
|
|
15
|
+
* loading the IR bundle, and so dynamic callers (CLI literal parsing,
|
|
16
|
+
* non-TS clients) have the types they need to encode arguments.
|
|
17
|
+
*/
|
|
18
|
+
import { StructType, StringType, ArrayType, ValueTypeOf } from '@elaraai/east';
|
|
19
|
+
/**
|
|
20
|
+
* Function object stored in the object store, referenced by name from
|
|
21
|
+
* `PackageObject.functions`.
|
|
22
|
+
*/
|
|
23
|
+
export declare const FunctionObjectType: StructType<{
|
|
24
|
+
/** Hash of the encoded EastIR bundle (encodeEastIR), like a task's commandIr object. */
|
|
25
|
+
readonly bodyIr: StringType;
|
|
26
|
+
/** Positional parameter types — the IR's signature, surfaced for arity/type
|
|
27
|
+
* validation and `describe` without decoding the whole IR. */
|
|
28
|
+
readonly inputTypes: ArrayType<import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
29
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
30
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
31
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
32
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
33
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
34
|
+
readonly String: import("@elaraai/east").NullType;
|
|
35
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
36
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
37
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
38
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
39
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
40
|
+
readonly Dict: StructType<{
|
|
41
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
42
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
43
|
+
}>;
|
|
44
|
+
readonly Struct: ArrayType<StructType<{
|
|
45
|
+
readonly name: StringType;
|
|
46
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
47
|
+
}>>;
|
|
48
|
+
readonly Variant: ArrayType<StructType<{
|
|
49
|
+
readonly name: StringType;
|
|
50
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
51
|
+
}>>;
|
|
52
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
53
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
54
|
+
readonly wrapper: StructType<{
|
|
55
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
56
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
57
|
+
}>;
|
|
58
|
+
}>;
|
|
59
|
+
readonly Function: StructType<{
|
|
60
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
61
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
62
|
+
}>;
|
|
63
|
+
readonly AsyncFunction: StructType<{
|
|
64
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
65
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
66
|
+
}>;
|
|
67
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
68
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
69
|
+
}>>>;
|
|
70
|
+
/** Return type — used to decode the result `value` blob client-side. */
|
|
71
|
+
readonly outputType: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
72
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
73
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
74
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
75
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
76
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
77
|
+
readonly String: import("@elaraai/east").NullType;
|
|
78
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
79
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
80
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
81
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
82
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
83
|
+
readonly Dict: StructType<{
|
|
84
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
85
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
86
|
+
}>;
|
|
87
|
+
readonly Struct: ArrayType<StructType<{
|
|
88
|
+
readonly name: StringType;
|
|
89
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
90
|
+
}>>;
|
|
91
|
+
readonly Variant: ArrayType<StructType<{
|
|
92
|
+
readonly name: StringType;
|
|
93
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
94
|
+
}>>;
|
|
95
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
96
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
97
|
+
readonly wrapper: StructType<{
|
|
98
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
99
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
100
|
+
}>;
|
|
101
|
+
}>;
|
|
102
|
+
readonly Function: StructType<{
|
|
103
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
104
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
105
|
+
}>;
|
|
106
|
+
readonly AsyncFunction: StructType<{
|
|
107
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
108
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
109
|
+
}>;
|
|
110
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
111
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
112
|
+
}>>;
|
|
113
|
+
/** Author-chosen runtime; resolved to argv by runnerToArgv. One of the known
|
|
114
|
+
* runtime tags — there is no raw-argv runner for functions. */
|
|
115
|
+
readonly runner: import("@elaraai/east").VariantType<{
|
|
116
|
+
readonly east_node: StructType<{
|
|
117
|
+
readonly platforms: ArrayType<StringType>;
|
|
118
|
+
}>;
|
|
119
|
+
readonly east_py: StructType<{
|
|
120
|
+
readonly platforms: ArrayType<StringType>;
|
|
121
|
+
}>;
|
|
122
|
+
readonly east_c: StructType<{
|
|
123
|
+
readonly platforms: ArrayType<StringType>;
|
|
124
|
+
}>;
|
|
125
|
+
}>;
|
|
126
|
+
}>;
|
|
127
|
+
export type FunctionObjectType = typeof FunctionObjectType;
|
|
128
|
+
export type FunctionObject = ValueTypeOf<typeof FunctionObjectType>;
|
|
129
|
+
//# sourceMappingURL=function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.d.ts","sourceRoot":"","sources":["../../src/function.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAgB,WAAW,EAAE,MAAM,eAAe,CAAC;AAG7F;;;GAGG;AACH,eAAO,MAAM,kBAAkB;IAC7B,wFAAwF;;IAExF;mEAC+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE/D,wEAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExE;oEACgE;;;;;;;;;;;;EAEhE,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Function object types for e3.
|
|
7
|
+
*
|
|
8
|
+
* An `e3.function` is a named, typed function stored in a package and
|
|
9
|
+
* invoked by name with argument values over the CLI and HTTP API. Unlike
|
|
10
|
+
* a task it is not wired to datasets, not part of the dataflow graph, and
|
|
11
|
+
* triggers no recomputation.
|
|
12
|
+
*
|
|
13
|
+
* The function object stores its signature explicitly so `describe` and
|
|
14
|
+
* arity/type validation work from the small function object without
|
|
15
|
+
* loading the IR bundle, and so dynamic callers (CLI literal parsing,
|
|
16
|
+
* non-TS clients) have the types they need to encode arguments.
|
|
17
|
+
*/
|
|
18
|
+
import { StructType, StringType, ArrayType, EastTypeType } from '@elaraai/east';
|
|
19
|
+
import { RunnerType } from './runner.js';
|
|
20
|
+
/**
|
|
21
|
+
* Function object stored in the object store, referenced by name from
|
|
22
|
+
* `PackageObject.functions`.
|
|
23
|
+
*/
|
|
24
|
+
export const FunctionObjectType = StructType({
|
|
25
|
+
/** Hash of the encoded EastIR bundle (encodeEastIR), like a task's commandIr object. */
|
|
26
|
+
bodyIr: StringType,
|
|
27
|
+
/** Positional parameter types — the IR's signature, surfaced for arity/type
|
|
28
|
+
* validation and `describe` without decoding the whole IR. */
|
|
29
|
+
inputTypes: ArrayType(EastTypeType),
|
|
30
|
+
/** Return type — used to decode the result `value` blob client-side. */
|
|
31
|
+
outputType: EastTypeType,
|
|
32
|
+
/** Author-chosen runtime; resolved to argv by runnerToArgv. One of the known
|
|
33
|
+
* runtime tags — there is no raw-argv runner for functions. */
|
|
34
|
+
runner: RunnerType,
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../src/function.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAe,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC;IAC3C,wFAAwF;IACxF,MAAM,EAAE,UAAU;IAClB;mEAC+D;IAC/D,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC;IACnC,wEAAwE;IACxE,UAAU,EAAE,YAAY;IACxB;oEACgE;IAChE,MAAM,EAAE,UAAU;CACnB,CAAC,CAAC"}
|