wowok_agent 2.2.0 → 2.2.2
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/index.d.ts +2064 -177
- package/dist/index.js +62 -9
- package/dist/schema/call/base.d.ts +1 -1
- package/dist/schema/call/base.js +5 -1
- package/dist/schema/call/machine.d.ts +32 -32
- package/dist/schema/query/index.d.ts +43 -43
- package/dist/schema/query/index.js +8 -8
- package/package.json +2 -2
|
@@ -11247,7 +11247,7 @@ export declare const TableItem_DemandPresenterSchema: z.ZodObject<{
|
|
|
11247
11247
|
export declare const MachineForwardGuardSchema: z.ZodObject<{
|
|
11248
11248
|
guard: z.ZodString;
|
|
11249
11249
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
11250
|
-
}, "
|
|
11250
|
+
}, "strict", z.ZodTypeAny, {
|
|
11251
11251
|
guard: string;
|
|
11252
11252
|
retained_submission?: number[] | undefined;
|
|
11253
11253
|
}, {
|
|
@@ -11262,14 +11262,14 @@ export declare const MachineForwardSchema: z.ZodObject<{
|
|
|
11262
11262
|
guard: z.ZodOptional<z.ZodObject<{
|
|
11263
11263
|
guard: z.ZodString;
|
|
11264
11264
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
11265
|
-
}, "
|
|
11265
|
+
}, "strict", z.ZodTypeAny, {
|
|
11266
11266
|
guard: string;
|
|
11267
11267
|
retained_submission?: number[] | undefined;
|
|
11268
11268
|
}, {
|
|
11269
11269
|
guard: string;
|
|
11270
11270
|
retained_submission?: number[] | undefined;
|
|
11271
11271
|
}>>;
|
|
11272
|
-
}, "
|
|
11272
|
+
}, "strict", z.ZodTypeAny, {
|
|
11273
11273
|
name: string;
|
|
11274
11274
|
weight: number;
|
|
11275
11275
|
guard?: {
|
|
@@ -11299,14 +11299,14 @@ export declare const MachineNodePairSchema: z.ZodObject<{
|
|
|
11299
11299
|
guard: z.ZodOptional<z.ZodObject<{
|
|
11300
11300
|
guard: z.ZodString;
|
|
11301
11301
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
11302
|
-
}, "
|
|
11302
|
+
}, "strict", z.ZodTypeAny, {
|
|
11303
11303
|
guard: string;
|
|
11304
11304
|
retained_submission?: number[] | undefined;
|
|
11305
11305
|
}, {
|
|
11306
11306
|
guard: string;
|
|
11307
11307
|
retained_submission?: number[] | undefined;
|
|
11308
11308
|
}>>;
|
|
11309
|
-
}, "
|
|
11309
|
+
}, "strict", z.ZodTypeAny, {
|
|
11310
11310
|
name: string;
|
|
11311
11311
|
weight: number;
|
|
11312
11312
|
guard?: {
|
|
@@ -11325,7 +11325,7 @@ export declare const MachineNodePairSchema: z.ZodObject<{
|
|
|
11325
11325
|
namedOperator?: string | undefined;
|
|
11326
11326
|
permissionIndex?: number | undefined;
|
|
11327
11327
|
}>, "many">;
|
|
11328
|
-
}, "
|
|
11328
|
+
}, "strict", z.ZodTypeAny, {
|
|
11329
11329
|
forwards: {
|
|
11330
11330
|
name: string;
|
|
11331
11331
|
weight: number;
|
|
@@ -11365,14 +11365,14 @@ export declare const MachineNodeSchema: z.ZodObject<{
|
|
|
11365
11365
|
guard: z.ZodOptional<z.ZodObject<{
|
|
11366
11366
|
guard: z.ZodString;
|
|
11367
11367
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
11368
|
-
}, "
|
|
11368
|
+
}, "strict", z.ZodTypeAny, {
|
|
11369
11369
|
guard: string;
|
|
11370
11370
|
retained_submission?: number[] | undefined;
|
|
11371
11371
|
}, {
|
|
11372
11372
|
guard: string;
|
|
11373
11373
|
retained_submission?: number[] | undefined;
|
|
11374
11374
|
}>>;
|
|
11375
|
-
}, "
|
|
11375
|
+
}, "strict", z.ZodTypeAny, {
|
|
11376
11376
|
name: string;
|
|
11377
11377
|
weight: number;
|
|
11378
11378
|
guard?: {
|
|
@@ -11391,7 +11391,7 @@ export declare const MachineNodeSchema: z.ZodObject<{
|
|
|
11391
11391
|
namedOperator?: string | undefined;
|
|
11392
11392
|
permissionIndex?: number | undefined;
|
|
11393
11393
|
}>, "many">;
|
|
11394
|
-
}, "
|
|
11394
|
+
}, "strict", z.ZodTypeAny, {
|
|
11395
11395
|
forwards: {
|
|
11396
11396
|
name: string;
|
|
11397
11397
|
weight: number;
|
|
@@ -11418,7 +11418,7 @@ export declare const MachineNodeSchema: z.ZodObject<{
|
|
|
11418
11418
|
threshold: number;
|
|
11419
11419
|
prev_node: string;
|
|
11420
11420
|
}>, "many">;
|
|
11421
|
-
}, "
|
|
11421
|
+
}, "strict", z.ZodTypeAny, {
|
|
11422
11422
|
name: string;
|
|
11423
11423
|
pairs: {
|
|
11424
11424
|
forwards: {
|
|
@@ -11532,14 +11532,14 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
|
|
|
11532
11532
|
guard: z.ZodOptional<z.ZodObject<{
|
|
11533
11533
|
guard: z.ZodString;
|
|
11534
11534
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
11535
|
-
}, "
|
|
11535
|
+
}, "strict", z.ZodTypeAny, {
|
|
11536
11536
|
guard: string;
|
|
11537
11537
|
retained_submission?: number[] | undefined;
|
|
11538
11538
|
}, {
|
|
11539
11539
|
guard: string;
|
|
11540
11540
|
retained_submission?: number[] | undefined;
|
|
11541
11541
|
}>>;
|
|
11542
|
-
}, "
|
|
11542
|
+
}, "strict", z.ZodTypeAny, {
|
|
11543
11543
|
name: string;
|
|
11544
11544
|
weight: number;
|
|
11545
11545
|
guard?: {
|
|
@@ -11558,7 +11558,7 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
|
|
|
11558
11558
|
namedOperator?: string | undefined;
|
|
11559
11559
|
permissionIndex?: number | undefined;
|
|
11560
11560
|
}>, "many">;
|
|
11561
|
-
}, "
|
|
11561
|
+
}, "strict", z.ZodTypeAny, {
|
|
11562
11562
|
forwards: {
|
|
11563
11563
|
name: string;
|
|
11564
11564
|
weight: number;
|
|
@@ -11666,14 +11666,14 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
|
|
|
11666
11666
|
guard: z.ZodOptional<z.ZodObject<{
|
|
11667
11667
|
guard: z.ZodString;
|
|
11668
11668
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
11669
|
-
}, "
|
|
11669
|
+
}, "strict", z.ZodTypeAny, {
|
|
11670
11670
|
guard: string;
|
|
11671
11671
|
retained_submission?: number[] | undefined;
|
|
11672
11672
|
}, {
|
|
11673
11673
|
guard: string;
|
|
11674
11674
|
retained_submission?: number[] | undefined;
|
|
11675
11675
|
}>>;
|
|
11676
|
-
}, "
|
|
11676
|
+
}, "strict", z.ZodTypeAny, {
|
|
11677
11677
|
name: string;
|
|
11678
11678
|
weight: number;
|
|
11679
11679
|
guard?: {
|
|
@@ -11692,7 +11692,7 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
|
|
|
11692
11692
|
namedOperator?: string | undefined;
|
|
11693
11693
|
permissionIndex?: number | undefined;
|
|
11694
11694
|
}>, "many">;
|
|
11695
|
-
}, "
|
|
11695
|
+
}, "strict", z.ZodTypeAny, {
|
|
11696
11696
|
forwards: {
|
|
11697
11697
|
name: string;
|
|
11698
11698
|
weight: number;
|
|
@@ -11800,14 +11800,14 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
|
|
|
11800
11800
|
guard: z.ZodOptional<z.ZodObject<{
|
|
11801
11801
|
guard: z.ZodString;
|
|
11802
11802
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
11803
|
-
}, "
|
|
11803
|
+
}, "strict", z.ZodTypeAny, {
|
|
11804
11804
|
guard: string;
|
|
11805
11805
|
retained_submission?: number[] | undefined;
|
|
11806
11806
|
}, {
|
|
11807
11807
|
guard: string;
|
|
11808
11808
|
retained_submission?: number[] | undefined;
|
|
11809
11809
|
}>>;
|
|
11810
|
-
}, "
|
|
11810
|
+
}, "strict", z.ZodTypeAny, {
|
|
11811
11811
|
name: string;
|
|
11812
11812
|
weight: number;
|
|
11813
11813
|
guard?: {
|
|
@@ -11826,7 +11826,7 @@ export declare const TableItem_MachineNodeSchema: z.ZodObject<{
|
|
|
11826
11826
|
namedOperator?: string | undefined;
|
|
11827
11827
|
permissionIndex?: number | undefined;
|
|
11828
11828
|
}>, "many">;
|
|
11829
|
-
}, "
|
|
11829
|
+
}, "strict", z.ZodTypeAny, {
|
|
11830
11830
|
forwards: {
|
|
11831
11831
|
name: string;
|
|
11832
11832
|
weight: number;
|
|
@@ -38324,14 +38324,14 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
|
|
|
38324
38324
|
guard: z.ZodOptional<z.ZodObject<{
|
|
38325
38325
|
guard: z.ZodString;
|
|
38326
38326
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
38327
|
-
}, "
|
|
38327
|
+
}, "strict", z.ZodTypeAny, {
|
|
38328
38328
|
guard: string;
|
|
38329
38329
|
retained_submission?: number[] | undefined;
|
|
38330
38330
|
}, {
|
|
38331
38331
|
guard: string;
|
|
38332
38332
|
retained_submission?: number[] | undefined;
|
|
38333
38333
|
}>>;
|
|
38334
|
-
}, "
|
|
38334
|
+
}, "strict", z.ZodTypeAny, {
|
|
38335
38335
|
name: string;
|
|
38336
38336
|
weight: number;
|
|
38337
38337
|
guard?: {
|
|
@@ -38350,7 +38350,7 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
|
|
|
38350
38350
|
namedOperator?: string | undefined;
|
|
38351
38351
|
permissionIndex?: number | undefined;
|
|
38352
38352
|
}>, "many">;
|
|
38353
|
-
}, "
|
|
38353
|
+
}, "strict", z.ZodTypeAny, {
|
|
38354
38354
|
forwards: {
|
|
38355
38355
|
name: string;
|
|
38356
38356
|
weight: number;
|
|
@@ -38458,14 +38458,14 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
|
|
|
38458
38458
|
guard: z.ZodOptional<z.ZodObject<{
|
|
38459
38459
|
guard: z.ZodString;
|
|
38460
38460
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
38461
|
-
}, "
|
|
38461
|
+
}, "strict", z.ZodTypeAny, {
|
|
38462
38462
|
guard: string;
|
|
38463
38463
|
retained_submission?: number[] | undefined;
|
|
38464
38464
|
}, {
|
|
38465
38465
|
guard: string;
|
|
38466
38466
|
retained_submission?: number[] | undefined;
|
|
38467
38467
|
}>>;
|
|
38468
|
-
}, "
|
|
38468
|
+
}, "strict", z.ZodTypeAny, {
|
|
38469
38469
|
name: string;
|
|
38470
38470
|
weight: number;
|
|
38471
38471
|
guard?: {
|
|
@@ -38484,7 +38484,7 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
|
|
|
38484
38484
|
namedOperator?: string | undefined;
|
|
38485
38485
|
permissionIndex?: number | undefined;
|
|
38486
38486
|
}>, "many">;
|
|
38487
|
-
}, "
|
|
38487
|
+
}, "strict", z.ZodTypeAny, {
|
|
38488
38488
|
forwards: {
|
|
38489
38489
|
name: string;
|
|
38490
38490
|
weight: number;
|
|
@@ -38592,14 +38592,14 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
|
|
|
38592
38592
|
guard: z.ZodOptional<z.ZodObject<{
|
|
38593
38593
|
guard: z.ZodString;
|
|
38594
38594
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
38595
|
-
}, "
|
|
38595
|
+
}, "strict", z.ZodTypeAny, {
|
|
38596
38596
|
guard: string;
|
|
38597
38597
|
retained_submission?: number[] | undefined;
|
|
38598
38598
|
}, {
|
|
38599
38599
|
guard: string;
|
|
38600
38600
|
retained_submission?: number[] | undefined;
|
|
38601
38601
|
}>>;
|
|
38602
|
-
}, "
|
|
38602
|
+
}, "strict", z.ZodTypeAny, {
|
|
38603
38603
|
name: string;
|
|
38604
38604
|
weight: number;
|
|
38605
38605
|
guard?: {
|
|
@@ -38618,7 +38618,7 @@ export declare const TableItem_MachineNodeOrUndefinedSchema: z.ZodUnion<[z.ZodOb
|
|
|
38618
38618
|
namedOperator?: string | undefined;
|
|
38619
38619
|
permissionIndex?: number | undefined;
|
|
38620
38620
|
}>, "many">;
|
|
38621
|
-
}, "
|
|
38621
|
+
}, "strict", z.ZodTypeAny, {
|
|
38622
38622
|
forwards: {
|
|
38623
38623
|
name: string;
|
|
38624
38624
|
weight: number;
|
|
@@ -43296,14 +43296,14 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
43296
43296
|
guard: z.ZodOptional<z.ZodObject<{
|
|
43297
43297
|
guard: z.ZodString;
|
|
43298
43298
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
43299
|
-
}, "
|
|
43299
|
+
}, "strict", z.ZodTypeAny, {
|
|
43300
43300
|
guard: string;
|
|
43301
43301
|
retained_submission?: number[] | undefined;
|
|
43302
43302
|
}, {
|
|
43303
43303
|
guard: string;
|
|
43304
43304
|
retained_submission?: number[] | undefined;
|
|
43305
43305
|
}>>;
|
|
43306
|
-
}, "
|
|
43306
|
+
}, "strict", z.ZodTypeAny, {
|
|
43307
43307
|
name: string;
|
|
43308
43308
|
weight: number;
|
|
43309
43309
|
guard?: {
|
|
@@ -43322,7 +43322,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
43322
43322
|
namedOperator?: string | undefined;
|
|
43323
43323
|
permissionIndex?: number | undefined;
|
|
43324
43324
|
}>, "many">;
|
|
43325
|
-
}, "
|
|
43325
|
+
}, "strict", z.ZodTypeAny, {
|
|
43326
43326
|
forwards: {
|
|
43327
43327
|
name: string;
|
|
43328
43328
|
weight: number;
|
|
@@ -43430,14 +43430,14 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
43430
43430
|
guard: z.ZodOptional<z.ZodObject<{
|
|
43431
43431
|
guard: z.ZodString;
|
|
43432
43432
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
43433
|
-
}, "
|
|
43433
|
+
}, "strict", z.ZodTypeAny, {
|
|
43434
43434
|
guard: string;
|
|
43435
43435
|
retained_submission?: number[] | undefined;
|
|
43436
43436
|
}, {
|
|
43437
43437
|
guard: string;
|
|
43438
43438
|
retained_submission?: number[] | undefined;
|
|
43439
43439
|
}>>;
|
|
43440
|
-
}, "
|
|
43440
|
+
}, "strict", z.ZodTypeAny, {
|
|
43441
43441
|
name: string;
|
|
43442
43442
|
weight: number;
|
|
43443
43443
|
guard?: {
|
|
@@ -43456,7 +43456,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
43456
43456
|
namedOperator?: string | undefined;
|
|
43457
43457
|
permissionIndex?: number | undefined;
|
|
43458
43458
|
}>, "many">;
|
|
43459
|
-
}, "
|
|
43459
|
+
}, "strict", z.ZodTypeAny, {
|
|
43460
43460
|
forwards: {
|
|
43461
43461
|
name: string;
|
|
43462
43462
|
weight: number;
|
|
@@ -43564,14 +43564,14 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
43564
43564
|
guard: z.ZodOptional<z.ZodObject<{
|
|
43565
43565
|
guard: z.ZodString;
|
|
43566
43566
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
43567
|
-
}, "
|
|
43567
|
+
}, "strict", z.ZodTypeAny, {
|
|
43568
43568
|
guard: string;
|
|
43569
43569
|
retained_submission?: number[] | undefined;
|
|
43570
43570
|
}, {
|
|
43571
43571
|
guard: string;
|
|
43572
43572
|
retained_submission?: number[] | undefined;
|
|
43573
43573
|
}>>;
|
|
43574
|
-
}, "
|
|
43574
|
+
}, "strict", z.ZodTypeAny, {
|
|
43575
43575
|
name: string;
|
|
43576
43576
|
weight: number;
|
|
43577
43577
|
guard?: {
|
|
@@ -43590,7 +43590,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
43590
43590
|
namedOperator?: string | undefined;
|
|
43591
43591
|
permissionIndex?: number | undefined;
|
|
43592
43592
|
}>, "many">;
|
|
43593
|
-
}, "
|
|
43593
|
+
}, "strict", z.ZodTypeAny, {
|
|
43594
43594
|
forwards: {
|
|
43595
43595
|
name: string;
|
|
43596
43596
|
weight: number;
|
|
@@ -45101,14 +45101,14 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
45101
45101
|
guard: z.ZodOptional<z.ZodObject<{
|
|
45102
45102
|
guard: z.ZodString;
|
|
45103
45103
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
45104
|
-
}, "
|
|
45104
|
+
}, "strict", z.ZodTypeAny, {
|
|
45105
45105
|
guard: string;
|
|
45106
45106
|
retained_submission?: number[] | undefined;
|
|
45107
45107
|
}, {
|
|
45108
45108
|
guard: string;
|
|
45109
45109
|
retained_submission?: number[] | undefined;
|
|
45110
45110
|
}>>;
|
|
45111
|
-
}, "
|
|
45111
|
+
}, "strict", z.ZodTypeAny, {
|
|
45112
45112
|
name: string;
|
|
45113
45113
|
weight: number;
|
|
45114
45114
|
guard?: {
|
|
@@ -45127,7 +45127,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
45127
45127
|
namedOperator?: string | undefined;
|
|
45128
45128
|
permissionIndex?: number | undefined;
|
|
45129
45129
|
}>, "many">;
|
|
45130
|
-
}, "
|
|
45130
|
+
}, "strict", z.ZodTypeAny, {
|
|
45131
45131
|
forwards: {
|
|
45132
45132
|
name: string;
|
|
45133
45133
|
weight: number;
|
|
@@ -46128,14 +46128,14 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
46128
46128
|
guard: z.ZodOptional<z.ZodObject<{
|
|
46129
46129
|
guard: z.ZodString;
|
|
46130
46130
|
retained_submission: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
46131
|
-
}, "
|
|
46131
|
+
}, "strict", z.ZodTypeAny, {
|
|
46132
46132
|
guard: string;
|
|
46133
46133
|
retained_submission?: number[] | undefined;
|
|
46134
46134
|
}, {
|
|
46135
46135
|
guard: string;
|
|
46136
46136
|
retained_submission?: number[] | undefined;
|
|
46137
46137
|
}>>;
|
|
46138
|
-
}, "
|
|
46138
|
+
}, "strict", z.ZodTypeAny, {
|
|
46139
46139
|
name: string;
|
|
46140
46140
|
weight: number;
|
|
46141
46141
|
guard?: {
|
|
@@ -46154,7 +46154,7 @@ export declare const TableItemUnionOrUndefinedSchema: z.ZodObject<{
|
|
|
46154
46154
|
namedOperator?: string | undefined;
|
|
46155
46155
|
permissionIndex?: number | undefined;
|
|
46156
46156
|
}>, "many">;
|
|
46157
|
-
}, "
|
|
46157
|
+
}, "strict", z.ZodTypeAny, {
|
|
46158
46158
|
forwards: {
|
|
46159
46159
|
name: string;
|
|
46160
46160
|
weight: number;
|
|
@@ -638,7 +638,7 @@ export const GuardNodeSchema = z.lazy(() => z.discriminatedUnion('type', [
|
|
|
638
638
|
z.object({ eq: z.string().describe("Address string to match") })
|
|
639
639
|
]).optional().describe("Optional filter for store_from_id field: 'exists' means any value exists, 'not_exists' means no value, {eq: string} matches specific address."),
|
|
640
640
|
}).strict().describe("Filter conditions for the reward record query."),
|
|
641
|
-
}).strict().describe("Returns
|
|
641
|
+
}).strict().describe("Returns U64. Finds the index of the first or last reward record matching the specified recipient and filter conditions. Returns the record index (U64) if found. Throws error if no matching record is found (Guard validation fails)."),
|
|
642
642
|
z.object({
|
|
643
643
|
type: z.literal('query_reward_record_count'),
|
|
644
644
|
object: z.object({
|
|
@@ -691,7 +691,7 @@ export const GuardNodeSchema = z.lazy(() => z.discriminatedUnion('type', [
|
|
|
691
691
|
indexMax: z.string().optional().describe("Optional filter: maximum history index (inclusive) to search within. Use string to represent U64 value."),
|
|
692
692
|
}).strict().describe("Filter conditions for the progress history query."),
|
|
693
693
|
find: z.enum(['first', 'last']).describe("'first' finds the earliest matching history entry, 'last' finds the most recent matching history entry."),
|
|
694
|
-
}).strict().describe("Returns
|
|
694
|
+
}).strict().describe("Returns U64. Finds the index of the first or last history entry matching the filter conditions. Returns the history index (U64) if found. Throws error if no matching entry is found (Guard validation fails)."),
|
|
695
695
|
z.object({
|
|
696
696
|
type: z.literal('query_progress_history_session_find'),
|
|
697
697
|
object: z.object({
|
|
@@ -702,7 +702,7 @@ export const GuardNodeSchema = z.lazy(() => z.discriminatedUnion('type', [
|
|
|
702
702
|
nextNode: z.string().optional().describe("Optional filter: next node name string to match."),
|
|
703
703
|
}).strict().describe("Filter conditions for the progress history session query."),
|
|
704
704
|
find: z.enum(['first', 'last']).describe("'first' finds the earliest matching session, 'last' finds the most recent matching session."),
|
|
705
|
-
}).strict().describe("Returns
|
|
705
|
+
}).strict().describe("Returns U64. Finds the index of the first or last session within the specified history entry matching the filter conditions. Returns the session index (U64) if found. Throws error if no matching session is found (Guard validation fails)."),
|
|
706
706
|
z.object({
|
|
707
707
|
type: z.literal('query_progress_history_session_forward_find'),
|
|
708
708
|
object: z.object({
|
|
@@ -718,7 +718,7 @@ export const GuardNodeSchema = z.lazy(() => z.discriminatedUnion('type', [
|
|
|
718
718
|
timeMax: z.string().optional().describe("Optional filter: maximum timestamp (inclusive) for forward operation time. Use string to represent U64 value."),
|
|
719
719
|
}).strict().describe("Filter conditions for the progress history session forward query."),
|
|
720
720
|
find: z.enum(['first', 'last']).describe("'first' finds the earliest matching forward operation, 'last' finds the most recent matching forward operation."),
|
|
721
|
-
}).strict().describe("Returns
|
|
721
|
+
}).strict().describe("Returns U64. Finds the index of the first or last forward operation within the specified history session matching the filter conditions. Returns the forward index (U64) if found. Throws error if no matching forward operation is found (Guard validation fails)."),
|
|
722
722
|
z.object({
|
|
723
723
|
type: z.literal('query_progress_history_session_count'),
|
|
724
724
|
object: z.object({
|
|
@@ -834,23 +834,23 @@ export const TableItem_DemandPresenterSchema = ObjectBaseSchema.extend({
|
|
|
834
834
|
export const MachineForwardGuardSchema = z.object({
|
|
835
835
|
guard: z.string().describe("Guard object ID"),
|
|
836
836
|
retained_submission: z.array(z.number()).optional().describe("Data submitted by user during Guard object verification"),
|
|
837
|
-
}).describe("Record of Guard object in MachineForwardGuard object");
|
|
837
|
+
}).strict().describe("Record of Guard object in MachineForwardGuard object");
|
|
838
838
|
export const MachineForwardSchema = z.object({
|
|
839
839
|
name: z.string().describe("Forward name"),
|
|
840
840
|
namedOperator: z.string().optional().describe("Forward operation permission 1: Namespace (one of the two must be specified); recommended if Progress object operators are different (e.g., different delivery personnel for different orders)."),
|
|
841
841
|
permissionIndex: PermissionIndexTypeSchema.optional().describe("Forward operation permission 2: Permission index (one of the two must be specified); recommended if all Progress object operators are the same (e.g., same reward reviewers for all orders)."),
|
|
842
842
|
weight: z.number().int().min(0).max(65535).describe("Forward weight"),
|
|
843
843
|
guard: MachineForwardGuardSchema.optional().describe("Guard object ID, if defined, Guard verification must also pass to complete Forward (e.g., completed promised supply chain sub-order)."),
|
|
844
|
-
}).describe("Forward in Machine object");
|
|
844
|
+
}).strict().describe("Forward in Machine object");
|
|
845
845
|
export const MachineNodePairSchema = z.object({
|
|
846
846
|
prev_node: z.string().describe("Previous node name"),
|
|
847
847
|
threshold: z.number().int().min(0).max(4294967295).describe("Threshold to trigger node advancement. If total Forward weight is greater than or equal to threshold, node advancement is triggered."),
|
|
848
848
|
forwards: z.array(MachineForwardSchema).describe("Forward list"),
|
|
849
|
-
}).describe("Node pair in Machine object");
|
|
849
|
+
}).strict().describe("Node pair in Machine object");
|
|
850
850
|
export const MachineNodeSchema = z.object({
|
|
851
851
|
name: z.string().describe("Node name"),
|
|
852
852
|
pairs: z.array(MachineNodePairSchema).describe("Node pair list"),
|
|
853
|
-
}).describe("Node in Machine object");
|
|
853
|
+
}).strict().describe("Node in Machine object");
|
|
854
854
|
export const TableItem_MachineNodeSchema = ObjectBaseSchema.extend({
|
|
855
855
|
name: z.string().describe("Node name"),
|
|
856
856
|
value: z.array(MachineNodePairSchema).describe("Node pair list"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wowok_agent",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
32
32
|
"lodash": "^4.18.1",
|
|
33
|
-
"wowok": "2.2.
|
|
33
|
+
"wowok": "2.2.3",
|
|
34
34
|
"zod": "^3.25.76"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|