optio-contracts 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-to-frontend.d.ts +60 -4
- package/dist/api-to-frontend.d.ts.map +1 -1
- package/dist/api-to-frontend.js +1 -5
- package/dist/api-to-frontend.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/optio-engine-to-api.d.ts +40 -0
- package/dist/optio-engine-to-api.d.ts.map +1 -1
- package/dist/schemas/common.d.ts +16 -1
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/common.js +9 -1
- package/dist/schemas/common.js.map +1 -1
- package/dist/schemas/process.d.ts +6 -0
- package/dist/schemas/process.d.ts.map +1 -1
- package/dist/schemas/process.js +8 -0
- package/dist/schemas/process.js.map +1 -1
- package/package.json +4 -3
|
@@ -309,18 +309,18 @@ export declare const processesContract: {
|
|
|
309
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
310
|
limit: number;
|
|
311
311
|
cursor?: string | undefined;
|
|
312
|
-
state?: "idle" | "scheduled" | "running" | "done" | "failed" | "cancel_requested" | "cancelling" | "cancelled" | undefined;
|
|
313
|
-
rootId?: string | undefined;
|
|
314
312
|
database?: string | undefined;
|
|
315
313
|
prefix?: string | undefined;
|
|
314
|
+
state?: "idle" | "scheduled" | "running" | "done" | "failed" | "cancel_requested" | "cancelling" | "cancelled" | undefined;
|
|
315
|
+
rootId?: string | undefined;
|
|
316
316
|
metadataFilter?: unknown;
|
|
317
317
|
}, {
|
|
318
318
|
cursor?: string | undefined;
|
|
319
319
|
limit?: number | undefined;
|
|
320
|
-
state?: "idle" | "scheduled" | "running" | "done" | "failed" | "cancel_requested" | "cancelling" | "cancelled" | undefined;
|
|
321
|
-
rootId?: string | undefined;
|
|
322
320
|
database?: string | undefined;
|
|
323
321
|
prefix?: string | undefined;
|
|
322
|
+
state?: "idle" | "scheduled" | "running" | "done" | "failed" | "cancel_requested" | "cancelling" | "cancelled" | undefined;
|
|
323
|
+
rootId?: string | undefined;
|
|
324
324
|
metadataFilter?: string | undefined;
|
|
325
325
|
}>;
|
|
326
326
|
summary: "List and filter processes";
|
|
@@ -416,6 +416,8 @@ export declare const processesContract: {
|
|
|
416
416
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
417
417
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
418
418
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
419
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
420
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
419
421
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
420
422
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
421
423
|
requestId: z.ZodString;
|
|
@@ -509,6 +511,8 @@ export declare const processesContract: {
|
|
|
509
511
|
supportsResurrect?: boolean | undefined;
|
|
510
512
|
hasUnsavedWork?: boolean | undefined;
|
|
511
513
|
resurrecting?: boolean | undefined;
|
|
514
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
515
|
+
extensions?: string[] | undefined;
|
|
512
516
|
autoResumeScheduled?: boolean | undefined;
|
|
513
517
|
browserOpenRequests?: {
|
|
514
518
|
requestId: string;
|
|
@@ -575,6 +579,8 @@ export declare const processesContract: {
|
|
|
575
579
|
supportsResurrect?: boolean | undefined;
|
|
576
580
|
hasUnsavedWork?: boolean | undefined;
|
|
577
581
|
resurrecting?: boolean | undefined;
|
|
582
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
583
|
+
extensions?: string[] | undefined;
|
|
578
584
|
autoResumeScheduled?: boolean | undefined;
|
|
579
585
|
browserOpenRequests?: {
|
|
580
586
|
requestId: string;
|
|
@@ -645,6 +651,8 @@ export declare const processesContract: {
|
|
|
645
651
|
supportsResurrect?: boolean | undefined;
|
|
646
652
|
hasUnsavedWork?: boolean | undefined;
|
|
647
653
|
resurrecting?: boolean | undefined;
|
|
654
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
655
|
+
extensions?: string[] | undefined;
|
|
648
656
|
autoResumeScheduled?: boolean | undefined;
|
|
649
657
|
browserOpenRequests?: {
|
|
650
658
|
requestId: string;
|
|
@@ -715,6 +723,8 @@ export declare const processesContract: {
|
|
|
715
723
|
supportsResurrect?: boolean | undefined;
|
|
716
724
|
hasUnsavedWork?: boolean | undefined;
|
|
717
725
|
resurrecting?: boolean | undefined;
|
|
726
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
727
|
+
extensions?: string[] | undefined;
|
|
718
728
|
autoResumeScheduled?: boolean | undefined;
|
|
719
729
|
browserOpenRequests?: {
|
|
720
730
|
requestId: string;
|
|
@@ -848,6 +858,8 @@ export declare const processesContract: {
|
|
|
848
858
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
849
859
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
850
860
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
861
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
862
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
851
863
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
852
864
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
853
865
|
requestId: z.ZodString;
|
|
@@ -941,6 +953,8 @@ export declare const processesContract: {
|
|
|
941
953
|
supportsResurrect?: boolean | undefined;
|
|
942
954
|
hasUnsavedWork?: boolean | undefined;
|
|
943
955
|
resurrecting?: boolean | undefined;
|
|
956
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
957
|
+
extensions?: string[] | undefined;
|
|
944
958
|
autoResumeScheduled?: boolean | undefined;
|
|
945
959
|
browserOpenRequests?: {
|
|
946
960
|
requestId: string;
|
|
@@ -1007,6 +1021,8 @@ export declare const processesContract: {
|
|
|
1007
1021
|
supportsResurrect?: boolean | undefined;
|
|
1008
1022
|
hasUnsavedWork?: boolean | undefined;
|
|
1009
1023
|
resurrecting?: boolean | undefined;
|
|
1024
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1025
|
+
extensions?: string[] | undefined;
|
|
1010
1026
|
autoResumeScheduled?: boolean | undefined;
|
|
1011
1027
|
browserOpenRequests?: {
|
|
1012
1028
|
requestId: string;
|
|
@@ -1182,6 +1198,8 @@ export declare const processesContract: {
|
|
|
1182
1198
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
1183
1199
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
1184
1200
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
1201
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
1202
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1185
1203
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
1186
1204
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1187
1205
|
requestId: z.ZodString;
|
|
@@ -1315,6 +1333,8 @@ export declare const processesContract: {
|
|
|
1315
1333
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
1316
1334
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
1317
1335
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
1336
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
1337
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1318
1338
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
1319
1339
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1320
1340
|
requestId: z.ZodString;
|
|
@@ -1411,6 +1431,8 @@ export declare const processesContract: {
|
|
|
1411
1431
|
supportsResurrect?: boolean | undefined;
|
|
1412
1432
|
hasUnsavedWork?: boolean | undefined;
|
|
1413
1433
|
resurrecting?: boolean | undefined;
|
|
1434
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1435
|
+
extensions?: string[] | undefined;
|
|
1414
1436
|
autoResumeScheduled?: boolean | undefined;
|
|
1415
1437
|
browserOpenRequests?: {
|
|
1416
1438
|
requestId: string;
|
|
@@ -1478,6 +1500,8 @@ export declare const processesContract: {
|
|
|
1478
1500
|
supportsResurrect?: boolean | undefined;
|
|
1479
1501
|
hasUnsavedWork?: boolean | undefined;
|
|
1480
1502
|
resurrecting?: boolean | undefined;
|
|
1503
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1504
|
+
extensions?: string[] | undefined;
|
|
1481
1505
|
autoResumeScheduled?: boolean | undefined;
|
|
1482
1506
|
browserOpenRequests?: {
|
|
1483
1507
|
requestId: string;
|
|
@@ -1574,6 +1598,8 @@ export declare const processesContract: {
|
|
|
1574
1598
|
supportsResurrect?: boolean | undefined;
|
|
1575
1599
|
hasUnsavedWork?: boolean | undefined;
|
|
1576
1600
|
resurrecting?: boolean | undefined;
|
|
1601
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1602
|
+
extensions?: string[] | undefined;
|
|
1577
1603
|
autoResumeScheduled?: boolean | undefined;
|
|
1578
1604
|
browserOpenRequests?: {
|
|
1579
1605
|
requestId: string;
|
|
@@ -1613,6 +1639,8 @@ export declare const processesContract: {
|
|
|
1613
1639
|
supportsResurrect?: boolean | undefined;
|
|
1614
1640
|
hasUnsavedWork?: boolean | undefined;
|
|
1615
1641
|
resurrecting?: boolean | undefined;
|
|
1642
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1643
|
+
extensions?: string[] | undefined;
|
|
1616
1644
|
autoResumeScheduled?: boolean | undefined;
|
|
1617
1645
|
browserOpenRequests?: {
|
|
1618
1646
|
requestId: string;
|
|
@@ -1708,6 +1736,8 @@ export declare const processesContract: {
|
|
|
1708
1736
|
supportsResurrect?: boolean | undefined;
|
|
1709
1737
|
hasUnsavedWork?: boolean | undefined;
|
|
1710
1738
|
resurrecting?: boolean | undefined;
|
|
1739
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1740
|
+
extensions?: string[] | undefined;
|
|
1711
1741
|
autoResumeScheduled?: boolean | undefined;
|
|
1712
1742
|
browserOpenRequests?: {
|
|
1713
1743
|
requestId: string;
|
|
@@ -1747,6 +1777,8 @@ export declare const processesContract: {
|
|
|
1747
1777
|
supportsResurrect?: boolean | undefined;
|
|
1748
1778
|
hasUnsavedWork?: boolean | undefined;
|
|
1749
1779
|
resurrecting?: boolean | undefined;
|
|
1780
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1781
|
+
extensions?: string[] | undefined;
|
|
1750
1782
|
autoResumeScheduled?: boolean | undefined;
|
|
1751
1783
|
browserOpenRequests?: {
|
|
1752
1784
|
requestId: string;
|
|
@@ -2314,6 +2346,8 @@ export declare const processesContract: {
|
|
|
2314
2346
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
2315
2347
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2316
2348
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
2349
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
2350
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2317
2351
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
2318
2352
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2319
2353
|
requestId: z.ZodString;
|
|
@@ -2407,6 +2441,8 @@ export declare const processesContract: {
|
|
|
2407
2441
|
supportsResurrect?: boolean | undefined;
|
|
2408
2442
|
hasUnsavedWork?: boolean | undefined;
|
|
2409
2443
|
resurrecting?: boolean | undefined;
|
|
2444
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
2445
|
+
extensions?: string[] | undefined;
|
|
2410
2446
|
autoResumeScheduled?: boolean | undefined;
|
|
2411
2447
|
browserOpenRequests?: {
|
|
2412
2448
|
requestId: string;
|
|
@@ -2473,6 +2509,8 @@ export declare const processesContract: {
|
|
|
2473
2509
|
supportsResurrect?: boolean | undefined;
|
|
2474
2510
|
hasUnsavedWork?: boolean | undefined;
|
|
2475
2511
|
resurrecting?: boolean | undefined;
|
|
2512
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
2513
|
+
extensions?: string[] | undefined;
|
|
2476
2514
|
autoResumeScheduled?: boolean | undefined;
|
|
2477
2515
|
browserOpenRequests?: {
|
|
2478
2516
|
requestId: string;
|
|
@@ -2634,6 +2672,8 @@ export declare const processesContract: {
|
|
|
2634
2672
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
2635
2673
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2636
2674
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
2675
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
2676
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2637
2677
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
2638
2678
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2639
2679
|
requestId: z.ZodString;
|
|
@@ -2727,6 +2767,8 @@ export declare const processesContract: {
|
|
|
2727
2767
|
supportsResurrect?: boolean | undefined;
|
|
2728
2768
|
hasUnsavedWork?: boolean | undefined;
|
|
2729
2769
|
resurrecting?: boolean | undefined;
|
|
2770
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
2771
|
+
extensions?: string[] | undefined;
|
|
2730
2772
|
autoResumeScheduled?: boolean | undefined;
|
|
2731
2773
|
browserOpenRequests?: {
|
|
2732
2774
|
requestId: string;
|
|
@@ -2793,6 +2835,8 @@ export declare const processesContract: {
|
|
|
2793
2835
|
supportsResurrect?: boolean | undefined;
|
|
2794
2836
|
hasUnsavedWork?: boolean | undefined;
|
|
2795
2837
|
resurrecting?: boolean | undefined;
|
|
2838
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
2839
|
+
extensions?: string[] | undefined;
|
|
2796
2840
|
autoResumeScheduled?: boolean | undefined;
|
|
2797
2841
|
browserOpenRequests?: {
|
|
2798
2842
|
requestId: string;
|
|
@@ -2944,6 +2988,8 @@ export declare const processesContract: {
|
|
|
2944
2988
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
2945
2989
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
2946
2990
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
2991
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
2992
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2947
2993
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
2948
2994
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2949
2995
|
requestId: z.ZodString;
|
|
@@ -3037,6 +3083,8 @@ export declare const processesContract: {
|
|
|
3037
3083
|
supportsResurrect?: boolean | undefined;
|
|
3038
3084
|
hasUnsavedWork?: boolean | undefined;
|
|
3039
3085
|
resurrecting?: boolean | undefined;
|
|
3086
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
3087
|
+
extensions?: string[] | undefined;
|
|
3040
3088
|
autoResumeScheduled?: boolean | undefined;
|
|
3041
3089
|
browserOpenRequests?: {
|
|
3042
3090
|
requestId: string;
|
|
@@ -3103,6 +3151,8 @@ export declare const processesContract: {
|
|
|
3103
3151
|
supportsResurrect?: boolean | undefined;
|
|
3104
3152
|
hasUnsavedWork?: boolean | undefined;
|
|
3105
3153
|
resurrecting?: boolean | undefined;
|
|
3154
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
3155
|
+
extensions?: string[] | undefined;
|
|
3106
3156
|
autoResumeScheduled?: boolean | undefined;
|
|
3107
3157
|
browserOpenRequests?: {
|
|
3108
3158
|
requestId: string;
|
|
@@ -3260,6 +3310,8 @@ export declare const processesContract: {
|
|
|
3260
3310
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
3261
3311
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
3262
3312
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
3313
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
3314
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3263
3315
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
3264
3316
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3265
3317
|
requestId: z.ZodString;
|
|
@@ -3353,6 +3405,8 @@ export declare const processesContract: {
|
|
|
3353
3405
|
supportsResurrect?: boolean | undefined;
|
|
3354
3406
|
hasUnsavedWork?: boolean | undefined;
|
|
3355
3407
|
resurrecting?: boolean | undefined;
|
|
3408
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
3409
|
+
extensions?: string[] | undefined;
|
|
3356
3410
|
autoResumeScheduled?: boolean | undefined;
|
|
3357
3411
|
browserOpenRequests?: {
|
|
3358
3412
|
requestId: string;
|
|
@@ -3419,6 +3473,8 @@ export declare const processesContract: {
|
|
|
3419
3473
|
supportsResurrect?: boolean | undefined;
|
|
3420
3474
|
hasUnsavedWork?: boolean | undefined;
|
|
3421
3475
|
resurrecting?: boolean | undefined;
|
|
3476
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
3477
|
+
extensions?: string[] | undefined;
|
|
3422
3478
|
autoResumeScheduled?: boolean | undefined;
|
|
3423
3479
|
browserOpenRequests?: {
|
|
3424
3480
|
requestId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-to-frontend.d.ts","sourceRoot":"","sources":["../src/api-to-front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';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { PaginationQuerySchema, PaginatedResponseSchema, ErrorSchema, ObjectIdSchema, ProcessIdParamSchema } from './schemas/common.js';
|
|
3
|
+
import { PaginationQuerySchema, PaginatedResponseSchema, ErrorSchema, ObjectIdSchema, ProcessIdParamSchema, InstanceQuerySchema } from './schemas/common.js';
|
|
4
4
|
import { ProcessSchema, ProcessStateSchema, LogEntrySchema, ProcessMetadataFilterSchema, MetadataFilterQueryParamSchema, ProcessSnapshotSchema } from './schemas/process.js';
|
|
5
5
|
import { LaunchFailureReason, CancelFailureReason, DismissFailureReason, ResurrectFailureReason, ListSnapshotsFailureReason } from './engine-failure-reasons.js';
|
|
6
6
|
const c = initContract();
|
|
@@ -99,10 +99,6 @@ export const ConversationRecordSchema = z.object({
|
|
|
99
99
|
const ProcessTreeNodeSchema = ProcessSchema.extend({
|
|
100
100
|
children: z.array(z.lazy(() => ProcessSchema.extend({ children: z.array(z.any()) }))),
|
|
101
101
|
});
|
|
102
|
-
const InstanceQuerySchema = z.object({
|
|
103
|
-
database: z.string().optional(),
|
|
104
|
-
prefix: z.string().optional(),
|
|
105
|
-
});
|
|
106
102
|
export const processesContract = c.router({
|
|
107
103
|
list: {
|
|
108
104
|
method: 'GET',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-to-frontend.js","sourceRoot":"","sources":["../src/api-to-frontend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,WAAW,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"api-to-frontend.js","sourceRoot":"","sources":["../src/api-to-frontend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC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AAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE,CAAC;SACtD;QACD,OAAO,EAAE,kDAAkD;KAC5D;CACF,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { ObjectIdSchema, ProcessIdParamSchema, PaginationQuerySchema, PaginatedResponseSchema, ErrorSchema, DateSchema } from './schemas/common.js';
|
|
1
|
+
export { ObjectIdSchema, ProcessIdParamSchema, PaginationQuerySchema, PaginatedResponseSchema, ErrorSchema, DateSchema, InstanceQuerySchema } from './schemas/common.js';
|
|
2
|
+
export type { InstanceQuery } from './schemas/common.js';
|
|
2
3
|
export { ProcessSchema, ProcessStateSchema, LogEntrySchema, ProcessMetadataFilterSchema, MetadataFilterQueryParamSchema, ProcessMetadataPredicateSchema, ProcessMetadataFilterLegacySchema, FilterScalar, FilterLeafOps, FilterFieldPath, BrowserOpenRequestSchema, SessionEventSchema, ProcessSnapshotSchema } from './schemas/process.js';
|
|
3
4
|
export { SessionEventsStreamMessageSchema } from './schemas/session-events.js';
|
|
4
5
|
export type { Process, ProcessState, LogEntry, ProcessMetadataFilter, ProcessMetadataPredicate, BrowserOpenRequest, SessionEvent, ProcessSnapshot } from './schemas/process.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,qBAAqB,EAC3D,uBAAuB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,qBAAqB,EAC3D,uBAAuB,EAAE,WAAW,EAAE,UAAU,EAChD,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,YAA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ACf,iBAAiB,EACjB,aAAa,EACb,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,EAC5B,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,0BAA0B,EAC/B,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D,OAAO,EACL,8BAA8B,EAC9B,KAAK,oBAAoB,GAC1B,MAAM,0BAA0B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Schemas
|
|
2
|
-
export { ObjectIdSchema, ProcessIdParamSchema, PaginationQuerySchema, PaginatedResponseSchema, ErrorSchema, DateSchema } from './schemas/common.js';
|
|
2
|
+
export { ObjectIdSchema, ProcessIdParamSchema, PaginationQuerySchema, PaginatedResponseSchema, ErrorSchema, DateSchema, InstanceQuerySchema } from './schemas/common.js';
|
|
3
3
|
export { ProcessSchema, ProcessStateSchema, LogEntrySchema, ProcessMetadataFilterSchema, MetadataFilterQueryParamSchema, ProcessMetadataPredicateSchema, ProcessMetadataFilterLegacySchema, FilterScalar, FilterLeafOps, FilterFieldPath, BrowserOpenRequestSchema, SessionEventSchema, ProcessSnapshotSchema } from './schemas/process.js';
|
|
4
4
|
export { SessionEventsStreamMessageSchema } from './schemas/session-events.js';
|
|
5
5
|
// Filter builder helpers
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.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AAmB,EACnB,gBAAgB,EAChB,sBAAsB,EACtB,kBAAkB,EAClB,gCAAgC,EAChC,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,GAkB7B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,kEAAkE;AAClE,OAAO,EACL,8BAA8B,GAE/B,MAAM,0BAA0B,CAAC"}
|
|
@@ -114,6 +114,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
114
114
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
115
115
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
116
116
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
118
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
117
119
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
118
120
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
121
|
requestId: z.ZodString;
|
|
@@ -207,6 +209,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
207
209
|
supportsResurrect?: boolean | undefined;
|
|
208
210
|
hasUnsavedWork?: boolean | undefined;
|
|
209
211
|
resurrecting?: boolean | undefined;
|
|
212
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
213
|
+
extensions?: string[] | undefined;
|
|
210
214
|
autoResumeScheduled?: boolean | undefined;
|
|
211
215
|
browserOpenRequests?: {
|
|
212
216
|
requestId: string;
|
|
@@ -273,6 +277,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
273
277
|
supportsResurrect?: boolean | undefined;
|
|
274
278
|
hasUnsavedWork?: boolean | undefined;
|
|
275
279
|
resurrecting?: boolean | undefined;
|
|
280
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
281
|
+
extensions?: string[] | undefined;
|
|
276
282
|
autoResumeScheduled?: boolean | undefined;
|
|
277
283
|
browserOpenRequests?: {
|
|
278
284
|
requestId: string;
|
|
@@ -342,6 +348,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
342
348
|
supportsResurrect?: boolean | undefined;
|
|
343
349
|
hasUnsavedWork?: boolean | undefined;
|
|
344
350
|
resurrecting?: boolean | undefined;
|
|
351
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
352
|
+
extensions?: string[] | undefined;
|
|
345
353
|
autoResumeScheduled?: boolean | undefined;
|
|
346
354
|
browserOpenRequests?: {
|
|
347
355
|
requestId: string;
|
|
@@ -411,6 +419,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
411
419
|
supportsResurrect?: boolean | undefined;
|
|
412
420
|
hasUnsavedWork?: boolean | undefined;
|
|
413
421
|
resurrecting?: boolean | undefined;
|
|
422
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
423
|
+
extensions?: string[] | undefined;
|
|
414
424
|
autoResumeScheduled?: boolean | undefined;
|
|
415
425
|
browserOpenRequests?: {
|
|
416
426
|
requestId: string;
|
|
@@ -538,6 +548,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
538
548
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
539
549
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
540
550
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
551
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
552
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
541
553
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
542
554
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
543
555
|
requestId: z.ZodString;
|
|
@@ -631,6 +643,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
631
643
|
supportsResurrect?: boolean | undefined;
|
|
632
644
|
hasUnsavedWork?: boolean | undefined;
|
|
633
645
|
resurrecting?: boolean | undefined;
|
|
646
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
647
|
+
extensions?: string[] | undefined;
|
|
634
648
|
autoResumeScheduled?: boolean | undefined;
|
|
635
649
|
browserOpenRequests?: {
|
|
636
650
|
requestId: string;
|
|
@@ -697,6 +711,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
697
711
|
supportsResurrect?: boolean | undefined;
|
|
698
712
|
hasUnsavedWork?: boolean | undefined;
|
|
699
713
|
resurrecting?: boolean | undefined;
|
|
714
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
715
|
+
extensions?: string[] | undefined;
|
|
700
716
|
autoResumeScheduled?: boolean | undefined;
|
|
701
717
|
browserOpenRequests?: {
|
|
702
718
|
requestId: string;
|
|
@@ -766,6 +782,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
766
782
|
supportsResurrect?: boolean | undefined;
|
|
767
783
|
hasUnsavedWork?: boolean | undefined;
|
|
768
784
|
resurrecting?: boolean | undefined;
|
|
785
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
786
|
+
extensions?: string[] | undefined;
|
|
769
787
|
autoResumeScheduled?: boolean | undefined;
|
|
770
788
|
browserOpenRequests?: {
|
|
771
789
|
requestId: string;
|
|
@@ -835,6 +853,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
835
853
|
supportsResurrect?: boolean | undefined;
|
|
836
854
|
hasUnsavedWork?: boolean | undefined;
|
|
837
855
|
resurrecting?: boolean | undefined;
|
|
856
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
857
|
+
extensions?: string[] | undefined;
|
|
838
858
|
autoResumeScheduled?: boolean | undefined;
|
|
839
859
|
browserOpenRequests?: {
|
|
840
860
|
requestId: string;
|
|
@@ -959,6 +979,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
959
979
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
960
980
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
961
981
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
982
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
983
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
962
984
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
963
985
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
964
986
|
requestId: z.ZodString;
|
|
@@ -1052,6 +1074,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1052
1074
|
supportsResurrect?: boolean | undefined;
|
|
1053
1075
|
hasUnsavedWork?: boolean | undefined;
|
|
1054
1076
|
resurrecting?: boolean | undefined;
|
|
1077
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1078
|
+
extensions?: string[] | undefined;
|
|
1055
1079
|
autoResumeScheduled?: boolean | undefined;
|
|
1056
1080
|
browserOpenRequests?: {
|
|
1057
1081
|
requestId: string;
|
|
@@ -1118,6 +1142,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1118
1142
|
supportsResurrect?: boolean | undefined;
|
|
1119
1143
|
hasUnsavedWork?: boolean | undefined;
|
|
1120
1144
|
resurrecting?: boolean | undefined;
|
|
1145
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1146
|
+
extensions?: string[] | undefined;
|
|
1121
1147
|
autoResumeScheduled?: boolean | undefined;
|
|
1122
1148
|
browserOpenRequests?: {
|
|
1123
1149
|
requestId: string;
|
|
@@ -1187,6 +1213,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1187
1213
|
supportsResurrect?: boolean | undefined;
|
|
1188
1214
|
hasUnsavedWork?: boolean | undefined;
|
|
1189
1215
|
resurrecting?: boolean | undefined;
|
|
1216
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1217
|
+
extensions?: string[] | undefined;
|
|
1190
1218
|
autoResumeScheduled?: boolean | undefined;
|
|
1191
1219
|
browserOpenRequests?: {
|
|
1192
1220
|
requestId: string;
|
|
@@ -1256,6 +1284,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1256
1284
|
supportsResurrect?: boolean | undefined;
|
|
1257
1285
|
hasUnsavedWork?: boolean | undefined;
|
|
1258
1286
|
resurrecting?: boolean | undefined;
|
|
1287
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1288
|
+
extensions?: string[] | undefined;
|
|
1259
1289
|
autoResumeScheduled?: boolean | undefined;
|
|
1260
1290
|
browserOpenRequests?: {
|
|
1261
1291
|
requestId: string;
|
|
@@ -1383,6 +1413,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1383
1413
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
1384
1414
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
1385
1415
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
1416
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
1417
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1386
1418
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
1387
1419
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1388
1420
|
requestId: z.ZodString;
|
|
@@ -1476,6 +1508,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1476
1508
|
supportsResurrect?: boolean | undefined;
|
|
1477
1509
|
hasUnsavedWork?: boolean | undefined;
|
|
1478
1510
|
resurrecting?: boolean | undefined;
|
|
1511
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1512
|
+
extensions?: string[] | undefined;
|
|
1479
1513
|
autoResumeScheduled?: boolean | undefined;
|
|
1480
1514
|
browserOpenRequests?: {
|
|
1481
1515
|
requestId: string;
|
|
@@ -1542,6 +1576,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1542
1576
|
supportsResurrect?: boolean | undefined;
|
|
1543
1577
|
hasUnsavedWork?: boolean | undefined;
|
|
1544
1578
|
resurrecting?: boolean | undefined;
|
|
1579
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1580
|
+
extensions?: string[] | undefined;
|
|
1545
1581
|
autoResumeScheduled?: boolean | undefined;
|
|
1546
1582
|
browserOpenRequests?: {
|
|
1547
1583
|
requestId: string;
|
|
@@ -1611,6 +1647,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1611
1647
|
supportsResurrect?: boolean | undefined;
|
|
1612
1648
|
hasUnsavedWork?: boolean | undefined;
|
|
1613
1649
|
resurrecting?: boolean | undefined;
|
|
1650
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1651
|
+
extensions?: string[] | undefined;
|
|
1614
1652
|
autoResumeScheduled?: boolean | undefined;
|
|
1615
1653
|
browserOpenRequests?: {
|
|
1616
1654
|
requestId: string;
|
|
@@ -1680,6 +1718,8 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1680
1718
|
supportsResurrect?: boolean | undefined;
|
|
1681
1719
|
hasUnsavedWork?: boolean | undefined;
|
|
1682
1720
|
resurrecting?: boolean | undefined;
|
|
1721
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
1722
|
+
extensions?: string[] | undefined;
|
|
1683
1723
|
autoResumeScheduled?: boolean | undefined;
|
|
1684
1724
|
browserOpenRequests?: {
|
|
1685
1725
|
requestId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optio-engine-to-api.d.ts","sourceRoot":"","sources":["../src/opt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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuG9B,CAAC"}
|
package/dist/schemas/common.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const ObjectIdSchema: z.ZodString;
|
|
|
8
8
|
* `<project>__<kind>_<resource>_<uuid>`). Resolution to a single document
|
|
9
9
|
* is the handler's responsibility — see `findProcessByEitherId` in optio-api.
|
|
10
10
|
*
|
|
11
|
-
* Why permissive: callers (e.g.
|
|
11
|
+
* Why permissive: callers (e.g. an app's debug flow) may know the
|
|
12
12
|
* `processId` string before the engine has materialized the row in mongo
|
|
13
13
|
* and assigned an ObjectId. Validating strictly as ObjectId here would
|
|
14
14
|
* 400-reject those callers at the contract layer.
|
|
@@ -45,4 +45,19 @@ export declare const ErrorSchema: z.ZodObject<{
|
|
|
45
45
|
message: string;
|
|
46
46
|
}>;
|
|
47
47
|
export declare const DateSchema: z.ZodDate;
|
|
48
|
+
/**
|
|
49
|
+
* The instance a request is about (`?database=&prefix=`), shared with an extension's own
|
|
50
|
+
* contract (spec docs/2026-11-27-optio-extensions-design.md section 7.5).
|
|
51
|
+
*/
|
|
52
|
+
export declare const InstanceQuerySchema: z.ZodObject<{
|
|
53
|
+
database: z.ZodOptional<z.ZodString>;
|
|
54
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
database?: string | undefined;
|
|
57
|
+
prefix?: string | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
database?: string | undefined;
|
|
60
|
+
prefix?: string | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
export type InstanceQuery = z.infer<typeof InstanceQuerySchema>;
|
|
48
63
|
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/schemas/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc,aAAyD,CAAC;AAErF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB,aAAoB,CAAC;AAEtD,eAAO,MAAM,qBAAqB;;;;;;;;;EAGhC,CAAC;AAEH,eAAO,MAAM,uBAAuB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,YAAY,CAAC;;;;;;;;;;;;EAKzE,CAAC;AAEL,eAAO,MAAM,WAAW;;;;;;EAEtB,CAAC;AAEH,eAAO,MAAM,UAAU,WAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/schemas/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc,aAAyD,CAAC;AAErF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB,aAAoB,CAAC;AAEtD,eAAO,MAAM,qBAAqB;;;;;;;;;EAGhC,CAAC;AAEH,eAAO,MAAM,uBAAuB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,YAAY,CAAC;;;;;;;;;;;;EAKzE,CAAC;AAEL,eAAO,MAAM,WAAW;;;;;;EAEtB,CAAC;AAEH,eAAO,MAAM,UAAU,WAAkB,CAAC;AAE1C;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
package/dist/schemas/common.js
CHANGED
|
@@ -8,7 +8,7 @@ export const ObjectIdSchema = z.string().regex(/^[a-f\d]{24}$/i, 'Invalid Object
|
|
|
8
8
|
* `<project>__<kind>_<resource>_<uuid>`). Resolution to a single document
|
|
9
9
|
* is the handler's responsibility — see `findProcessByEitherId` in optio-api.
|
|
10
10
|
*
|
|
11
|
-
* Why permissive: callers (e.g.
|
|
11
|
+
* Why permissive: callers (e.g. an app's debug flow) may know the
|
|
12
12
|
* `processId` string before the engine has materialized the row in mongo
|
|
13
13
|
* and assigned an ObjectId. Validating strictly as ObjectId here would
|
|
14
14
|
* 400-reject those callers at the contract layer.
|
|
@@ -27,4 +27,12 @@ export const ErrorSchema = z.object({
|
|
|
27
27
|
message: z.string(),
|
|
28
28
|
});
|
|
29
29
|
export const DateSchema = z.coerce.date();
|
|
30
|
+
/**
|
|
31
|
+
* The instance a request is about (`?database=&prefix=`), shared with an extension's own
|
|
32
|
+
* contract (spec docs/2026-11-27-optio-extensions-design.md section 7.5).
|
|
33
|
+
*/
|
|
34
|
+
export const InstanceQuerySchema = z.object({
|
|
35
|
+
database: z.string().optional(),
|
|
36
|
+
prefix: z.string().optional(),
|
|
37
|
+
});
|
|
30
38
|
//# sourceMappingURL=common.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/schemas/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAAC;AAErF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC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;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAyB,UAAa,EAAE,EAAE,CAC/E,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC;IAC1B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC7B,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;AAE1C;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC"}
|
|
@@ -145,6 +145,8 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
145
145
|
supportsResurrect: z.ZodOptional<z.ZodBoolean>;
|
|
146
146
|
hasUnsavedWork: z.ZodOptional<z.ZodBoolean>;
|
|
147
147
|
resurrecting: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
+
launchMode: z.ZodOptional<z.ZodEnum<["resume", "fresh"]>>;
|
|
149
|
+
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
148
150
|
autoResumeScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
149
151
|
browserOpenRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
150
152
|
requestId: z.ZodString;
|
|
@@ -238,6 +240,8 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
238
240
|
supportsResurrect?: boolean | undefined;
|
|
239
241
|
hasUnsavedWork?: boolean | undefined;
|
|
240
242
|
resurrecting?: boolean | undefined;
|
|
243
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
244
|
+
extensions?: string[] | undefined;
|
|
241
245
|
autoResumeScheduled?: boolean | undefined;
|
|
242
246
|
browserOpenRequests?: {
|
|
243
247
|
requestId: string;
|
|
@@ -304,6 +308,8 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
304
308
|
supportsResurrect?: boolean | undefined;
|
|
305
309
|
hasUnsavedWork?: boolean | undefined;
|
|
306
310
|
resurrecting?: boolean | undefined;
|
|
311
|
+
launchMode?: "resume" | "fresh" | undefined;
|
|
312
|
+
extensions?: string[] | undefined;
|
|
307
313
|
autoResumeScheduled?: boolean | undefined;
|
|
308
314
|
browserOpenRequests?: {
|
|
309
315
|
requestId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process.d.ts","sourceRoot":"","sources":["../../src/schemas/process.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,kBAAkB,8GAG7B,CAAC;AAiBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAKzB,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAOnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAG7B,CAAC;AAEH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"process.d.ts","sourceRoot":"","sources":["../../src/schemas/process.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,kBAAkB,8GAG7B,CAAC;AAiBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAKzB,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAOnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;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AM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACxD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
package/dist/schemas/process.js
CHANGED
|
@@ -86,6 +86,14 @@ export const ProcessSchema = z.object({
|
|
|
86
86
|
hasUnsavedWork: z.boolean().optional(),
|
|
87
87
|
// Transient: true while a resurrect saves the unsaved work. Missing = false.
|
|
88
88
|
resurrecting: z.boolean().optional(),
|
|
89
|
+
// How the latest run started: 'resume' (it restores saved state) or 'fresh'
|
|
90
|
+
// (a new run). optio-core records it at every launch, in the same update that
|
|
91
|
+
// clears widgetData; absent on a record never launched (and from an engine
|
|
92
|
+
// older than the field).
|
|
93
|
+
launchMode: z.enum(['resume', 'fresh']).optional(),
|
|
94
|
+
// The names of the extensions the process's task uses (optio-core writes them
|
|
95
|
+
// at the sync and when it creates a child); absent when it uses none.
|
|
96
|
+
extensions: z.array(z.string()).optional(),
|
|
89
97
|
// Auto-resume on restart: set on a cancelled, state-saved top-level process
|
|
90
98
|
// whose task opted into auto_resume; the engine re-launches it (resume=true)
|
|
91
99
|
// after a post-boot delay. Cleared on resume / manual launch / failed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process.js","sourceRoot":"","sources":["../../src/schemas/process.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC;IACvC,MAAM,EAAE,WAAW,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,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAErF,4EAA4E;AAC5E,4EAA4E;AAC5E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,EAAE;KACR,KAAK,CAAC,qBAAqB,EAAE,oBAAoB,CAAC,CAAC;AAEtD,6EAA6E;AAC7E,gFAAgF;AAChF,8EAA8E;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,OAAO,GAAG,gBAAgB,CAAC;IAC/B,eAAe,EAAE,IAAI;IACrB,SAAS,EAAE,eAAe;IAC1B,gBAAgB,EAAE,mCAAmC;CACtD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC;AAC7C,MAAM,CAAC,MAAM,8BAA8B,GAAG,OAAO,CAAC,eAAe,CAAC;AACtE,MAAM,CAAC,MAAM,iCAAiC,GAAG,OAAO,CAAC,YAAY,CAAC;AACtE,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC,YAAY,CAAC;AAChE,MAAM,CAAC,MAAM,8BAA8B,GAAG,OAAO,CAAC,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optio-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Shared wire-protocol types and ts-rest contracts for the optio task runner.",
|
|
6
6
|
"repository": {
|
|
@@ -48,7 +48,8 @@
|
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsc",
|
|
50
50
|
"dev": "tsc --watch",
|
|
51
|
-
"test": "vitest run",
|
|
52
|
-
"test:watch": "vitest"
|
|
51
|
+
"test": "vitest run && tsc -p tsconfig.test.json",
|
|
52
|
+
"test:watch": "vitest",
|
|
53
|
+
"typecheck:tests": "tsc -p tsconfig.test.json"
|
|
53
54
|
}
|
|
54
55
|
}
|