@wowok/agent-mcp 2.2.21 → 2.3.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/README.md +1 -3
- package/dist/index.d.ts +86 -126
- package/dist/index.js +4 -1
- package/dist/schema/call/allocation.d.ts +1 -1
- package/dist/schema/call/arbitration.d.ts +1 -1
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +830 -830
- package/dist/schema/call/contact.d.ts +1 -1
- package/dist/schema/call/demand.d.ts +1 -1
- package/dist/schema/call/demand.js +1 -1
- package/dist/schema/call/guard.d.ts +3 -3
- package/dist/schema/call/machine.d.ts +4 -4
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +15 -15
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +1 -1
- package/dist/schema/call/permission.d.ts +1 -1
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/personal.d.ts +1 -1
- package/dist/schema/call/progress.d.ts +1 -1
- package/dist/schema/call/proof.d.ts +13 -98
- package/dist/schema/call/proof.js +3 -3
- package/dist/schema/call/repository.d.ts +79 -79
- package/dist/schema/call/repository.js +4 -3
- package/dist/schema/call/reward.d.ts +1 -1
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/service.d.ts +46 -46
- package/dist/schema/call/service.js +3 -3
- package/dist/schema/call/treasury.d.ts +9 -69
- package/dist/schema/call/treasury.js +1 -1
- package/dist/schema/common/index.d.ts +46 -46
- package/dist/schema/common/index.js +5 -3
- package/dist/schema/local/index.d.ts +1906 -1906
- package/dist/schema/local/index.js +12 -12
- package/dist/schema/local/wip.d.ts +16 -16
- package/dist/schema/local/wip.js +2 -2
- package/dist/schema/messenger/index.d.ts +1 -1
- package/dist/schema/query/index.d.ts +6918 -6918
- package/dist/schema/query/index.js +6 -6
- package/dist/schemas/account_operation.schema.json +4 -2
- package/dist/schemas/guard2file.schema.json +2 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/machineNode2file.schema.json +2 -1
- package/dist/schemas/messenger_operation.schema.json +2 -1
- package/dist/schemas/onchain_events.schema.json +6 -2
- package/dist/schemas/onchain_operations_allocation.schema.json +2 -1
- package/dist/schemas/onchain_operations_arbitration.schema.json +3 -2
- package/dist/schemas/onchain_operations_contact.schema.json +2 -1
- package/dist/schemas/onchain_operations_demand.schema.json +3 -2
- package/dist/schemas/onchain_operations_gen_passport.schema.json +4 -2
- package/dist/schemas/onchain_operations_guard.schema.json +2 -1
- package/dist/schemas/onchain_operations_machine.schema.json +10 -5
- package/dist/schemas/onchain_operations_order.schema.json +6 -5
- package/dist/schemas/onchain_operations_payment.schema.json +2 -1
- package/dist/schemas/onchain_operations_permission.schema.json +3 -2
- package/dist/schemas/onchain_operations_personal.schema.json +2 -1
- package/dist/schemas/onchain_operations_progress.schema.json +2 -1
- package/dist/schemas/onchain_operations_repository.schema.json +9 -5
- package/dist/schemas/onchain_operations_reward.schema.json +3 -2
- package/dist/schemas/onchain_operations_service.schema.json +6 -2
- package/dist/schemas/onchain_operations_treasury.schema.json +4 -3
- package/package.json +2 -2
|
@@ -92,40 +92,40 @@ export declare const ObjectOwnerSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
92
92
|
ObjectOwner: string;
|
|
93
93
|
}>, z.ZodObject<{
|
|
94
94
|
Shared: z.ZodObject<{
|
|
95
|
-
initial_shared_version: z.ZodString
|
|
95
|
+
initial_shared_version: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
96
96
|
}, "strict", z.ZodTypeAny, {
|
|
97
|
-
initial_shared_version: string;
|
|
97
|
+
initial_shared_version: string | number;
|
|
98
98
|
}, {
|
|
99
|
-
initial_shared_version: string;
|
|
99
|
+
initial_shared_version: string | number;
|
|
100
100
|
}>;
|
|
101
101
|
}, "strict", z.ZodTypeAny, {
|
|
102
102
|
Shared: {
|
|
103
|
-
initial_shared_version: string;
|
|
103
|
+
initial_shared_version: string | number;
|
|
104
104
|
};
|
|
105
105
|
}, {
|
|
106
106
|
Shared: {
|
|
107
|
-
initial_shared_version: string;
|
|
107
|
+
initial_shared_version: string | number;
|
|
108
108
|
};
|
|
109
109
|
}>, z.ZodLiteral<"Immutable">, z.ZodObject<{
|
|
110
110
|
ConsensusAddressOwner: z.ZodObject<{
|
|
111
111
|
owner: z.ZodString;
|
|
112
|
-
start_version: z.ZodString
|
|
112
|
+
start_version: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
113
113
|
}, "strict", z.ZodTypeAny, {
|
|
114
114
|
owner: string;
|
|
115
|
-
start_version: string;
|
|
115
|
+
start_version: string | number;
|
|
116
116
|
}, {
|
|
117
117
|
owner: string;
|
|
118
|
-
start_version: string;
|
|
118
|
+
start_version: string | number;
|
|
119
119
|
}>;
|
|
120
120
|
}, "strict", z.ZodTypeAny, {
|
|
121
121
|
ConsensusAddressOwner: {
|
|
122
122
|
owner: string;
|
|
123
|
-
start_version: string;
|
|
123
|
+
start_version: string | number;
|
|
124
124
|
};
|
|
125
125
|
}, {
|
|
126
126
|
ConsensusAddressOwner: {
|
|
127
127
|
owner: string;
|
|
128
|
-
start_version: string;
|
|
128
|
+
start_version: string | number;
|
|
129
129
|
};
|
|
130
130
|
}>]>;
|
|
131
131
|
export declare const ValueTypeUserSchema: z.ZodUnion<[z.ZodLiteral<WowValueType.Bool>, z.ZodLiteral<WowValueType.Address>, z.ZodLiteral<WowValueType.String>, z.ZodLiteral<WowValueType.U8>, z.ZodLiteral<WowValueType.U16>, z.ZodLiteral<WowValueType.U32>, z.ZodLiteral<WowValueType.U64>, z.ZodLiteral<WowValueType.U128>, z.ZodLiteral<WowValueType.U256>, z.ZodLiteral<WowValueType.VecBool>, z.ZodLiteral<WowValueType.VecAddress>, z.ZodLiteral<WowValueType.VecString>, z.ZodLiteral<WowValueType.VecU8>, z.ZodLiteral<WowValueType.VecU16>, z.ZodLiteral<WowValueType.VecU32>, z.ZodLiteral<WowValueType.VecU64>, z.ZodLiteral<WowValueType.VecU128>, z.ZodLiteral<WowValueType.VecU256>, z.ZodLiteral<WowValueType.VecVecU8>, z.ZodLiteral<"Bool">, z.ZodLiteral<"Address">, z.ZodLiteral<"String">, z.ZodLiteral<"U8">, z.ZodLiteral<"U16">, z.ZodLiteral<"U32">, z.ZodLiteral<"U64">, z.ZodLiteral<"U128">, z.ZodLiteral<"U256">, z.ZodLiteral<"VecBool">, z.ZodLiteral<"VecAddress">, z.ZodLiteral<"VecString">, z.ZodLiteral<"VecU8">, z.ZodLiteral<"VecU16">, z.ZodLiteral<"VecU32">, z.ZodLiteral<"VecU64">, z.ZodLiteral<"VecU128">, z.ZodLiteral<"VecU256">, z.ZodLiteral<"VecVecU8">, z.ZodLiteral<"bool">, z.ZodLiteral<"address">, z.ZodLiteral<"string">, z.ZodLiteral<"u8">, z.ZodLiteral<"u16">, z.ZodLiteral<"u32">, z.ZodLiteral<"u64">, z.ZodLiteral<"u128">, z.ZodLiteral<"u256">, z.ZodLiteral<"vecbool">, z.ZodLiteral<"vecaddress">, z.ZodLiteral<"vecstring">, z.ZodLiteral<"vecu8">, z.ZodLiteral<"vecu16">, z.ZodLiteral<"vecu32">, z.ZodLiteral<"vecu64">, z.ZodLiteral<"vecu128">, z.ZodLiteral<"vecu256">, z.ZodLiteral<"vecvecu8">]>;
|
|
@@ -348,8 +348,8 @@ export declare const GuardTableItemSchema: z.ZodObject<{
|
|
|
348
348
|
name?: string | undefined;
|
|
349
349
|
object_type?: WowObjectType | undefined;
|
|
350
350
|
}>;
|
|
351
|
-
export declare const EntrypointSchema: z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet]>;
|
|
352
|
-
export declare const FaucetNetworkSchema: z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet]>;
|
|
351
|
+
export declare const EntrypointSchema: z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet, ENTRYPOINT.Devnet]>;
|
|
352
|
+
export declare const FaucetNetworkSchema: z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet, ENTRYPOINT.Devnet]>;
|
|
353
353
|
export declare const ObjectBaseSchema: z.ZodObject<{
|
|
354
354
|
object: z.ZodString;
|
|
355
355
|
type: z.ZodOptional<z.ZodEnum<[WowObjectType.Permission, WowObjectType.Repository, WowObjectType.Arb, WowObjectType.Arbitration, WowObjectType.Service, WowObjectType.Machine, WowObjectType.Order, WowObjectType.Progress, WowObjectType.Payment, WowObjectType.Treasury, WowObjectType.Guard, WowObjectType.Demand, WowObjectType.Passport, WowObjectType.Allocation, WowObjectType.Resource, WowObjectType.Reward, WowObjectType.Discount, WowObjectType.EntityRegistrar, WowObjectType.EntityLinker, WowObjectType.Proof, WowObjectType.WReceivedObject, WowObjectType.Contact, WowObjectType.TableItem_ProgressHistory, WowObjectType.TableItem_PermissionPerm, WowObjectType.TableItem_DemandPresenter, WowObjectType.TableItem_MachineNode, WowObjectType.TableItem_TreasuryHistory, WowObjectType.TableItem_RepositoryData, WowObjectType.TableItem_RewardRecord, WowObjectType.TableItem_EntityLinker, WowObjectType.TableItem_AddressMark, WowObjectType.TableItem_EntityRegistrar]>>;
|
|
@@ -368,43 +368,43 @@ export declare const ObjectBaseSchema: z.ZodObject<{
|
|
|
368
368
|
ObjectOwner: string;
|
|
369
369
|
}>, z.ZodObject<{
|
|
370
370
|
Shared: z.ZodObject<{
|
|
371
|
-
initial_shared_version: z.ZodString
|
|
371
|
+
initial_shared_version: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
372
372
|
}, "strict", z.ZodTypeAny, {
|
|
373
|
-
initial_shared_version: string;
|
|
373
|
+
initial_shared_version: string | number;
|
|
374
374
|
}, {
|
|
375
|
-
initial_shared_version: string;
|
|
375
|
+
initial_shared_version: string | number;
|
|
376
376
|
}>;
|
|
377
377
|
}, "strict", z.ZodTypeAny, {
|
|
378
378
|
Shared: {
|
|
379
|
-
initial_shared_version: string;
|
|
379
|
+
initial_shared_version: string | number;
|
|
380
380
|
};
|
|
381
381
|
}, {
|
|
382
382
|
Shared: {
|
|
383
|
-
initial_shared_version: string;
|
|
383
|
+
initial_shared_version: string | number;
|
|
384
384
|
};
|
|
385
385
|
}>, z.ZodLiteral<"Immutable">, z.ZodObject<{
|
|
386
386
|
ConsensusAddressOwner: z.ZodObject<{
|
|
387
387
|
owner: z.ZodString;
|
|
388
|
-
start_version: z.ZodString
|
|
388
|
+
start_version: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
389
389
|
}, "strict", z.ZodTypeAny, {
|
|
390
390
|
owner: string;
|
|
391
|
-
start_version: string;
|
|
391
|
+
start_version: string | number;
|
|
392
392
|
}, {
|
|
393
393
|
owner: string;
|
|
394
|
-
start_version: string;
|
|
394
|
+
start_version: string | number;
|
|
395
395
|
}>;
|
|
396
396
|
}, "strict", z.ZodTypeAny, {
|
|
397
397
|
ConsensusAddressOwner: {
|
|
398
398
|
owner: string;
|
|
399
|
-
start_version: string;
|
|
399
|
+
start_version: string | number;
|
|
400
400
|
};
|
|
401
401
|
}, {
|
|
402
402
|
ConsensusAddressOwner: {
|
|
403
403
|
owner: string;
|
|
404
|
-
start_version: string;
|
|
404
|
+
start_version: string | number;
|
|
405
405
|
};
|
|
406
406
|
}>]>, z.ZodNull]>>;
|
|
407
|
-
version: z.ZodOptional<z.ZodString
|
|
407
|
+
version: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
408
408
|
previousTransaction: z.ZodOptional<z.ZodString>;
|
|
409
409
|
cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
410
410
|
query_name: z.ZodOptional<z.ZodString>;
|
|
@@ -437,43 +437,43 @@ export declare const ObjectBaseSchema: z.ZodObject<{
|
|
|
437
437
|
ObjectOwner: string;
|
|
438
438
|
}>, z.ZodObject<{
|
|
439
439
|
Shared: z.ZodObject<{
|
|
440
|
-
initial_shared_version: z.ZodString
|
|
440
|
+
initial_shared_version: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
441
441
|
}, "strict", z.ZodTypeAny, {
|
|
442
|
-
initial_shared_version: string;
|
|
442
|
+
initial_shared_version: string | number;
|
|
443
443
|
}, {
|
|
444
|
-
initial_shared_version: string;
|
|
444
|
+
initial_shared_version: string | number;
|
|
445
445
|
}>;
|
|
446
446
|
}, "strict", z.ZodTypeAny, {
|
|
447
447
|
Shared: {
|
|
448
|
-
initial_shared_version: string;
|
|
448
|
+
initial_shared_version: string | number;
|
|
449
449
|
};
|
|
450
450
|
}, {
|
|
451
451
|
Shared: {
|
|
452
|
-
initial_shared_version: string;
|
|
452
|
+
initial_shared_version: string | number;
|
|
453
453
|
};
|
|
454
454
|
}>, z.ZodLiteral<"Immutable">, z.ZodObject<{
|
|
455
455
|
ConsensusAddressOwner: z.ZodObject<{
|
|
456
456
|
owner: z.ZodString;
|
|
457
|
-
start_version: z.ZodString
|
|
457
|
+
start_version: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
458
458
|
}, "strict", z.ZodTypeAny, {
|
|
459
459
|
owner: string;
|
|
460
|
-
start_version: string;
|
|
460
|
+
start_version: string | number;
|
|
461
461
|
}, {
|
|
462
462
|
owner: string;
|
|
463
|
-
start_version: string;
|
|
463
|
+
start_version: string | number;
|
|
464
464
|
}>;
|
|
465
465
|
}, "strict", z.ZodTypeAny, {
|
|
466
466
|
ConsensusAddressOwner: {
|
|
467
467
|
owner: string;
|
|
468
|
-
start_version: string;
|
|
468
|
+
start_version: string | number;
|
|
469
469
|
};
|
|
470
470
|
}, {
|
|
471
471
|
ConsensusAddressOwner: {
|
|
472
472
|
owner: string;
|
|
473
|
-
start_version: string;
|
|
473
|
+
start_version: string | number;
|
|
474
474
|
};
|
|
475
475
|
}>]>, z.ZodNull]>>;
|
|
476
|
-
version: z.ZodOptional<z.ZodString
|
|
476
|
+
version: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
477
477
|
previousTransaction: z.ZodOptional<z.ZodString>;
|
|
478
478
|
cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
479
479
|
query_name: z.ZodOptional<z.ZodString>;
|
|
@@ -506,43 +506,43 @@ export declare const ObjectBaseSchema: z.ZodObject<{
|
|
|
506
506
|
ObjectOwner: string;
|
|
507
507
|
}>, z.ZodObject<{
|
|
508
508
|
Shared: z.ZodObject<{
|
|
509
|
-
initial_shared_version: z.ZodString
|
|
509
|
+
initial_shared_version: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
510
510
|
}, "strict", z.ZodTypeAny, {
|
|
511
|
-
initial_shared_version: string;
|
|
511
|
+
initial_shared_version: string | number;
|
|
512
512
|
}, {
|
|
513
|
-
initial_shared_version: string;
|
|
513
|
+
initial_shared_version: string | number;
|
|
514
514
|
}>;
|
|
515
515
|
}, "strict", z.ZodTypeAny, {
|
|
516
516
|
Shared: {
|
|
517
|
-
initial_shared_version: string;
|
|
517
|
+
initial_shared_version: string | number;
|
|
518
518
|
};
|
|
519
519
|
}, {
|
|
520
520
|
Shared: {
|
|
521
|
-
initial_shared_version: string;
|
|
521
|
+
initial_shared_version: string | number;
|
|
522
522
|
};
|
|
523
523
|
}>, z.ZodLiteral<"Immutable">, z.ZodObject<{
|
|
524
524
|
ConsensusAddressOwner: z.ZodObject<{
|
|
525
525
|
owner: z.ZodString;
|
|
526
|
-
start_version: z.ZodString
|
|
526
|
+
start_version: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
527
527
|
}, "strict", z.ZodTypeAny, {
|
|
528
528
|
owner: string;
|
|
529
|
-
start_version: string;
|
|
529
|
+
start_version: string | number;
|
|
530
530
|
}, {
|
|
531
531
|
owner: string;
|
|
532
|
-
start_version: string;
|
|
532
|
+
start_version: string | number;
|
|
533
533
|
}>;
|
|
534
534
|
}, "strict", z.ZodTypeAny, {
|
|
535
535
|
ConsensusAddressOwner: {
|
|
536
536
|
owner: string;
|
|
537
|
-
start_version: string;
|
|
537
|
+
start_version: string | number;
|
|
538
538
|
};
|
|
539
539
|
}, {
|
|
540
540
|
ConsensusAddressOwner: {
|
|
541
541
|
owner: string;
|
|
542
|
-
start_version: string;
|
|
542
|
+
start_version: string | number;
|
|
543
543
|
};
|
|
544
544
|
}>]>, z.ZodNull]>>;
|
|
545
|
-
version: z.ZodOptional<z.ZodString
|
|
545
|
+
version: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
546
546
|
previousTransaction: z.ZodOptional<z.ZodString>;
|
|
547
547
|
cache_expire: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"INFINITE">]>>;
|
|
548
548
|
query_name: z.ZodOptional<z.ZodString>;
|
|
@@ -560,7 +560,7 @@ export declare const ObjectBaseSchema: z.ZodObject<{
|
|
|
560
560
|
}, z.ZodTypeAny, "passthrough">>;
|
|
561
561
|
export declare const QueryEnvSchema: z.ZodObject<{
|
|
562
562
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
-
network: z.ZodOptional<z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet]>>;
|
|
563
|
+
network: z.ZodOptional<z.ZodEnum<[ENTRYPOINT.Localnet, ENTRYPOINT.Testnet, ENTRYPOINT.Devnet]>>;
|
|
564
564
|
}, "strict", z.ZodTypeAny, {
|
|
565
565
|
no_cache?: boolean | undefined;
|
|
566
566
|
network?: ENTRYPOINT | undefined;
|
|
@@ -105,14 +105,14 @@ export const ObjectOwnerSchema = z.union([
|
|
|
105
105
|
}).strict(),
|
|
106
106
|
z.object({
|
|
107
107
|
Shared: z.object({
|
|
108
|
-
initial_shared_version: z.string().describe("Version when object became shared"),
|
|
108
|
+
initial_shared_version: z.union([z.string(), z.number()]).describe("Version when object became shared"),
|
|
109
109
|
}).strict().describe("Shared object"),
|
|
110
110
|
}).strict(),
|
|
111
111
|
z.literal("Immutable"),
|
|
112
112
|
z.object({
|
|
113
113
|
ConsensusAddressOwner: z.object({
|
|
114
114
|
owner: z.string().describe("Consensus ID owner"),
|
|
115
|
-
start_version: z.string().describe("Version when object recently became consensus object"),
|
|
115
|
+
start_version: z.union([z.string(), z.number()]).describe("Version when object recently became consensus object"),
|
|
116
116
|
}).strict().describe("Consensus ID owner"),
|
|
117
117
|
}).strict(),
|
|
118
118
|
]).describe("Object owner");
|
|
@@ -248,17 +248,19 @@ export const GuardTableItemSchema = GuardTableItemBaseSchema.extend({
|
|
|
248
248
|
export const EntrypointSchema = z.enum([
|
|
249
249
|
ENTRYPOINT.Localnet,
|
|
250
250
|
ENTRYPOINT.Testnet,
|
|
251
|
+
ENTRYPOINT.Devnet,
|
|
251
252
|
]).describe("Network entrypoint: Specifies which network the operation occurs on");
|
|
252
253
|
export const FaucetNetworkSchema = z.enum([
|
|
253
254
|
ENTRYPOINT.Localnet,
|
|
254
255
|
ENTRYPOINT.Testnet,
|
|
256
|
+
ENTRYPOINT.Devnet,
|
|
255
257
|
]).describe("Network entrypoint for Faucet: Specifies which network the operation occurs on");
|
|
256
258
|
export const ObjectBaseSchema = z.object({
|
|
257
259
|
object: z.string().describe("Object ID"),
|
|
258
260
|
type: ObjectTypeSchema.optional().describe("Object type"),
|
|
259
261
|
type_raw: z.string().optional().describe("Raw object type"),
|
|
260
262
|
owner: z.union([ObjectOwnerSchema, z.null()]).optional().describe("Object owner"),
|
|
261
|
-
version: z.string().optional().describe("Object version"),
|
|
263
|
+
version: z.union([z.string(), z.number()]).optional().describe("Object version"),
|
|
262
264
|
previousTransaction: z.string().optional().describe("Previous transaction ID"),
|
|
263
265
|
cache_expire: CacheExpireTypeSchema.optional().describe("Cache expiration time"),
|
|
264
266
|
query_name: z.string().optional().describe("Original query name or address used to retrieve this object"),
|