@wowok/agent-mcp 2.2.8 → 2.2.11
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 +5 -5
- package/dist/index.d.ts +388 -388
- package/dist/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +23 -23
- package/dist/schema/call/arbitration.d.ts +23 -23
- package/dist/schema/call/base.d.ts +72 -72
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/contact.d.ts +23 -23
- package/dist/schema/call/demand.d.ts +23 -23
- package/dist/schema/call/guard.d.ts +45 -45
- package/dist/schema/call/handler.d.ts +1 -1
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +28 -28
- package/dist/schema/call/order.d.ts +23 -23
- package/dist/schema/call/payment.d.ts +5 -5
- package/dist/schema/call/permission.d.ts +23 -23
- package/dist/schema/call/personal.d.ts +31 -31
- package/dist/schema/call/progress.d.ts +23 -23
- package/dist/schema/call/proof.d.ts +10 -10
- package/dist/schema/call/repository.d.ts +49 -49
- package/dist/schema/call/reward.d.ts +23 -23
- package/dist/schema/call/service.d.ts +38 -38
- package/dist/schema/call/treasury.d.ts +23 -23
- package/dist/schema/common/index.d.ts +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/local/index.d.ts +63 -63
- package/dist/schema/messenger/index.d.ts +3 -3
- package/dist/schema/query/index.d.ts +1446 -1446
- package/dist/schema/query/index.js +2 -2
- package/dist/schema/utils/guard-query-utils.d.ts +1 -1
- package/dist/schema/utils/guard-query-utils.js +1 -1
- package/dist/schema/utils/permission-index-utils.js +1 -1
- package/package.json +2 -2
|
@@ -3,8 +3,8 @@ import { TokenTypeInfoSchema, QueryLocalMarkListResultSchema, QueryAccountListRe
|
|
|
3
3
|
import { AccountOrMark_AddressSchema, BalanceTypeSchema, EntrypointSchema, GuardIdentifierSchema, GuardTableItemSchema, NameOrAddressSchema, ObjectBaseSchema, ObjectTypeSchema, QueryIdSchema, SupportedValueSchema, ValueTypeSchema, QueryReceivedResultSchema, LongNameSchema, DescriptionSchema } from "../common/index.js";
|
|
4
4
|
import { isValidPermissionIndex } from '../utils/permission-index-utils.js';
|
|
5
5
|
import { isValidGuardQueryId, isValidGuardQueryIdOrName } from '../utils/guard-query-utils.js';
|
|
6
|
-
import { isWitnessType, } from "wowok";
|
|
7
|
-
import { DiscountType as WDiscountType } from "wowok";
|
|
6
|
+
import { isWitnessType, } from "@wowok/wowok";
|
|
7
|
+
import { DiscountType as WDiscountType } from "@wowok/wowok";
|
|
8
8
|
import { QueryEnvSchema } from "../common/index.js";
|
|
9
9
|
const MAX_MULTI_OPERANDS = 8;
|
|
10
10
|
const VALUE_TYPE_DESCRIPTION = "Value type: can be specified as a string name (e.g., 'U64', 'Address', 'String') or a number (0-18). Supported types: Bool=0/'Bool', Address=1/'Address', String=2/'String', U8=3/'U8', U16=4/'U16', U32=5/'U32', U64=6/'U64', U128=7/'U128', U256=8/'U256', VecBool=9/'VecBool', VecAddress=10/'VecAddress', VecString=11/'VecString', VecU8=12/'VecU8', VecU16=13/'VecU16', VecU32=14/'VecU32', VecU64=15/'VecU64', VecU128=16/'VecU128', VecU256=17/'VecU256', VecVecU8=18/'VecVecU8'. Note: Value=19 is an INTERNAL type for wowok system use only and should NOT be used directly by users. String format is recommended for better readability.";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const isValidGuardQueryId: (id: number) => boolean;
|
|
2
2
|
export declare const isValidGuardQueryName: (name: string) => boolean;
|
|
3
3
|
export declare const isValidGuardQueryIdOrName: (input: number | string) => boolean;
|
|
4
|
-
export declare const getGuardQueryByIdOrName: (input: number | string) => import("wowok").GuardQuery | undefined;
|
|
4
|
+
export declare const getGuardQueryByIdOrName: (input: number | string) => import("@wowok/wowok").GuardQuery | undefined;
|
|
5
5
|
export declare const GUARD_QUERY_NAMES: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GUARDQUERY } from "wowok";
|
|
1
|
+
import { GUARDQUERY } from "@wowok/wowok";
|
|
2
2
|
const validGuardQueryIds = new Set(GUARDQUERY.map(item => item.id));
|
|
3
3
|
const validGuardQueryNames = new Set(GUARDQUERY.map(item => item.name.toLowerCase()));
|
|
4
4
|
export const isValidGuardQueryId = (id) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wowok/agent-mcp",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.11",
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
33
33
|
"lodash": "^4.18.1",
|
|
34
|
-
"wowok": "2.2.
|
|
34
|
+
"@wowok/wowok": "^2.2.12",
|
|
35
35
|
"zod": "^3.25.76"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|