@wowok/agent-mcp 2.3.14 → 2.3.18
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/config/index.d.ts +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/runtime.d.ts +26 -0
- package/dist/config/runtime.js +217 -0
- package/dist/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +40 -0
- package/dist/customer/industry-risks.js +438 -0
- package/dist/customer/info-puzzle.d.ts +102 -0
- package/dist/customer/info-puzzle.js +312 -0
- package/dist/customer/order-monitor.d.ts +75 -0
- package/dist/customer/order-monitor.js +327 -0
- package/dist/customer/order-strategy.d.ts +36 -0
- package/dist/customer/order-strategy.js +373 -0
- package/dist/customer/post-purchase.d.ts +42 -0
- package/dist/customer/post-purchase.js +350 -0
- package/dist/customer/reminder-system.d.ts +42 -0
- package/dist/customer/reminder-system.js +295 -0
- package/dist/customer/risk-assessment.d.ts +8 -0
- package/dist/customer/risk-assessment.js +337 -0
- package/dist/customer/types.d.ts +193 -0
- package/dist/customer/types.js +13 -0
- package/dist/customer/user-preferences.d.ts +70 -0
- package/dist/customer/user-preferences.js +460 -0
- package/dist/experience/experience-reuse.d.ts +10 -0
- package/dist/experience/experience-reuse.js +103 -0
- package/dist/experience/index.d.ts +6 -0
- package/dist/experience/index.js +5 -0
- package/dist/experience/intent-distill.d.ts +3 -0
- package/dist/experience/intent-distill.js +83 -0
- package/dist/experience/realtime-feedback.d.ts +5 -0
- package/dist/experience/realtime-feedback.js +94 -0
- package/dist/experience/types.d.ts +50 -0
- package/dist/experience/types.js +1 -0
- package/dist/experience/user-profile.d.ts +25 -0
- package/dist/experience/user-profile.js +171 -0
- package/dist/index.js +842 -371
- package/dist/knowledge/acquisition-flywheel.d.ts +53 -0
- package/dist/knowledge/acquisition-flywheel.js +192 -0
- package/dist/knowledge/arbitration-trust.d.ts +24 -0
- package/dist/knowledge/arbitration-trust.js +117 -0
- package/dist/knowledge/audit-rules.d.ts +28 -0
- package/dist/knowledge/audit-rules.js +141 -0
- package/dist/knowledge/demand-matching.d.ts +29 -0
- package/dist/knowledge/demand-matching.js +132 -0
- package/dist/knowledge/dynamic-pricing.d.ts +31 -0
- package/dist/knowledge/dynamic-pricing.js +87 -0
- package/dist/knowledge/flywheel-loop.d.ts +87 -0
- package/dist/knowledge/flywheel-loop.js +378 -0
- package/dist/knowledge/glossary.d.ts +18 -0
- package/dist/knowledge/glossary.js +209 -0
- package/dist/knowledge/guard-ledger.d.ts +19 -0
- package/dist/knowledge/guard-ledger.js +219 -0
- package/dist/knowledge/guard-puzzle.d.ts +93 -0
- package/dist/knowledge/guard-puzzle.js +278 -0
- package/dist/knowledge/guard-risk.d.ts +60 -0
- package/dist/knowledge/guard-risk.js +474 -0
- package/dist/knowledge/guard-translation.d.ts +46 -0
- package/dist/knowledge/guard-translation.js +487 -0
- package/dist/knowledge/index.d.ts +77 -0
- package/dist/knowledge/index.js +79 -0
- package/dist/knowledge/industry-evolution.d.ts +82 -0
- package/dist/knowledge/industry-evolution.js +323 -0
- package/dist/knowledge/industry-generalizer.d.ts +17 -0
- package/dist/knowledge/industry-generalizer.js +381 -0
- package/dist/knowledge/industry-registry.d.ts +48 -0
- package/dist/knowledge/industry-registry.js +187 -0
- package/dist/knowledge/intent-metrics.d.ts +42 -0
- package/dist/knowledge/intent-metrics.js +566 -0
- package/dist/knowledge/process-model.d.ts +24 -0
- package/dist/knowledge/process-model.js +160 -0
- package/dist/knowledge/reputation-rules.d.ts +42 -0
- package/dist/knowledge/reputation-rules.js +99 -0
- package/dist/knowledge/reward-templates.d.ts +25 -0
- package/dist/knowledge/reward-templates.js +125 -0
- package/dist/knowledge/safety-rules.d.ts +36 -0
- package/dist/knowledge/safety-rules.js +232 -0
- package/dist/knowledge/tool-constraints.d.ts +30 -0
- package/dist/knowledge/tool-constraints.js +175 -0
- package/dist/knowledge/trust-metrics.d.ts +37 -0
- package/dist/knowledge/trust-metrics.js +138 -0
- package/dist/loop-engineering/diagnose.d.ts +3 -2
- package/dist/loop-engineering/diagnose.js +94 -0
- package/dist/loop-engineering/improve.d.ts +1 -1
- package/dist/loop-engineering/improve.js +52 -1
- package/dist/project/graph.d.ts +71 -0
- package/dist/project/graph.js +314 -0
- package/dist/project/index.d.ts +62 -0
- package/dist/project/index.js +167 -0
- package/dist/project/namespace.d.ts +62 -0
- package/dist/project/namespace.js +181 -0
- package/dist/project/query.d.ts +40 -0
- package/dist/project/query.js +110 -0
- package/dist/safety/confirm-gate.d.ts +17 -0
- package/dist/safety/confirm-gate.js +88 -0
- package/dist/safety/index.d.ts +3 -0
- package/dist/safety/index.js +3 -0
- package/dist/safety/preview.d.ts +2 -0
- package/dist/safety/preview.js +36 -0
- package/dist/schema/call/allocation.d.ts +39 -14
- package/dist/schema/call/arbitration.d.ts +187 -162
- package/dist/schema/call/base.d.ts +1971 -87
- package/dist/schema/call/base.js +135 -3
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +1478 -53
- package/dist/schema/call/bridge.js +50 -2
- package/dist/schema/call/contact.d.ts +25 -0
- package/dist/schema/call/demand.d.ts +79 -54
- package/dist/schema/call/guard.d.ts +125 -50
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +60 -14
- package/dist/schema/call/machine.d.ts +988 -938
- package/dist/schema/call/order.d.ts +25 -0
- package/dist/schema/call/payment.d.ts +25 -0
- package/dist/schema/call/permission.d.ts +244 -219
- package/dist/schema/call/personal.d.ts +25 -0
- package/dist/schema/call/progress.d.ts +25 -0
- package/dist/schema/call/proof.d.ts +62 -12
- package/dist/schema/call/proof.js +3 -3
- package/dist/schema/call/repository.d.ts +101 -76
- package/dist/schema/call/reward.d.ts +55 -30
- package/dist/schema/call/semantic.d.ts +10 -2
- package/dist/schema/call/semantic.js +616 -11
- package/dist/schema/call/service.d.ts +442 -417
- package/dist/schema/call/treasury.d.ts +25 -0
- package/dist/schema/common/index.js +3 -3
- package/dist/schema/config/index.d.ts +18 -0
- package/dist/schema/config/index.js +17 -0
- package/dist/schema/index.d.ts +6 -0
- package/dist/schema/index.js +5 -0
- package/dist/schema/local/index.d.ts +237 -81
- package/dist/schema/local/index.js +42 -6
- package/dist/schema/messenger/index.d.ts +1018 -79
- package/dist/schema/messenger/index.js +26 -17
- package/dist/schema/operations.d.ts +3192 -1746
- package/dist/schema/operations.js +93 -98
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +2762 -1856
- package/dist/schema/query/index.js +38 -35
- package/dist/schema/schema-query/index.d.ts +33 -0
- package/dist/schema/schema-query/index.js +36 -0
- package/dist/schema/schema-version.d.ts +25 -0
- package/dist/schema/schema-version.js +76 -0
- package/dist/schema/trust/index.d.ts +407 -0
- package/dist/schema/trust/index.js +113 -0
- package/dist/schemas/account_operation.output.json +25 -16
- package/dist/schemas/account_operation.schema.json +1 -1
- package/dist/schemas/bridge_operation.output.json +744 -0
- package/dist/schemas/bridge_operation.schema.json +82 -8
- package/dist/schemas/config_operation.output.json +18 -0
- package/dist/schemas/config_operation.schema.json +34 -0
- package/dist/schemas/guard-node-schema.json +82 -0
- package/dist/schemas/guard2file.schema.json +23 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/local_info_operation.output.json +23 -0
- package/dist/schemas/local_info_operation.schema.json +1 -1
- package/dist/schemas/local_mark_operation.output.json +24 -1
- package/dist/schemas/local_mark_operation.schema.json +4 -4
- package/dist/schemas/machineNode2file.schema.json +23 -0
- package/dist/schemas/messenger_operation.output.json +752 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +627 -18
- package/dist/schemas/onchain_operations.schema.json +115 -39
- package/dist/schemas/onchain_operations_allocation.schema.json +23 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +23 -0
- package/dist/schemas/onchain_operations_contact.schema.json +23 -0
- package/dist/schemas/onchain_operations_demand.schema.json +23 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +46 -0
- package/dist/schemas/onchain_operations_guard.schema.json +26 -16
- package/dist/schemas/onchain_operations_machine.schema.json +89 -23
- package/dist/schemas/onchain_operations_order.schema.json +23 -0
- package/dist/schemas/onchain_operations_payment.schema.json +23 -0
- package/dist/schemas/onchain_operations_permission.schema.json +23 -0
- package/dist/schemas/onchain_operations_personal.schema.json +23 -0
- package/dist/schemas/onchain_operations_progress.schema.json +23 -0
- package/dist/schemas/onchain_operations_repository.schema.json +23 -0
- package/dist/schemas/onchain_operations_reward.schema.json +23 -0
- package/dist/schemas/onchain_operations_service.schema.json +23 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +23 -0
- package/dist/schemas/onchain_table_data.output.json +939 -69
- package/dist/schemas/onchain_table_data.schema.json +2 -2
- package/dist/schemas/project_operation.output.json +18 -0
- package/dist/schemas/project_operation.schema.json +42 -0
- package/dist/schemas/query_toolkit.schema.json +360 -368
- package/dist/schemas/schema_query.schema.json +6 -3
- package/dist/schemas/trust_score.output.json +327 -0
- package/dist/schemas/trust_score.schema.json +46 -0
- package/package.json +2 -2
|
@@ -1773,18 +1773,33 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
1773
1773
|
no_cache: z.ZodOptional<z.ZodBoolean>;
|
|
1774
1774
|
network: z.ZodOptional<z.ZodEnum<[import("@wowok/wowok").ENTRYPOINT.Localnet, import("@wowok/wowok").ENTRYPOINT.Testnet, import("@wowok/wowok").ENTRYPOINT.Mainnet]>>;
|
|
1775
1775
|
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1776
|
+
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
1777
|
+
user_intent_phrases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1778
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1779
|
+
client_schema_version: z.ZodOptional<z.ZodString>;
|
|
1780
|
+
schema_strict_mode: z.ZodOptional<z.ZodBoolean>;
|
|
1776
1781
|
}, "strict", z.ZodTypeAny, {
|
|
1777
1782
|
account: string;
|
|
1778
1783
|
no_cache?: boolean | undefined;
|
|
1779
1784
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1780
1785
|
permission_guard?: string[] | undefined;
|
|
1781
1786
|
referrer?: string | undefined;
|
|
1787
|
+
confirmed?: boolean | undefined;
|
|
1788
|
+
user_intent_phrases?: string[] | undefined;
|
|
1789
|
+
project?: string | undefined;
|
|
1790
|
+
client_schema_version?: string | undefined;
|
|
1791
|
+
schema_strict_mode?: boolean | undefined;
|
|
1782
1792
|
}, {
|
|
1783
1793
|
no_cache?: boolean | undefined;
|
|
1784
1794
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
1785
1795
|
account?: string | undefined;
|
|
1786
1796
|
permission_guard?: string[] | undefined;
|
|
1787
1797
|
referrer?: string | undefined;
|
|
1798
|
+
confirmed?: boolean | undefined;
|
|
1799
|
+
user_intent_phrases?: string[] | undefined;
|
|
1800
|
+
project?: string | undefined;
|
|
1801
|
+
client_schema_version?: string | undefined;
|
|
1802
|
+
schema_strict_mode?: boolean | undefined;
|
|
1788
1803
|
}>>;
|
|
1789
1804
|
submission: z.ZodOptional<z.ZodObject<{
|
|
1790
1805
|
type: z.ZodLiteral<"submission">;
|
|
@@ -2123,6 +2138,11 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
2123
2138
|
network?: import("@wowok/wowok").ENTRYPOINT | undefined;
|
|
2124
2139
|
permission_guard?: string[] | undefined;
|
|
2125
2140
|
referrer?: string | undefined;
|
|
2141
|
+
confirmed?: boolean | undefined;
|
|
2142
|
+
user_intent_phrases?: string[] | undefined;
|
|
2143
|
+
project?: string | undefined;
|
|
2144
|
+
client_schema_version?: string | undefined;
|
|
2145
|
+
schema_strict_mode?: boolean | undefined;
|
|
2126
2146
|
} | undefined;
|
|
2127
2147
|
}, {
|
|
2128
2148
|
data: {
|
|
@@ -2281,5 +2301,10 @@ export declare const CallTreasury_InputSchema: z.ZodObject<{
|
|
|
2281
2301
|
account?: string | undefined;
|
|
2282
2302
|
permission_guard?: string[] | undefined;
|
|
2283
2303
|
referrer?: string | undefined;
|
|
2304
|
+
confirmed?: boolean | undefined;
|
|
2305
|
+
user_intent_phrases?: string[] | undefined;
|
|
2306
|
+
project?: string | undefined;
|
|
2307
|
+
client_schema_version?: string | undefined;
|
|
2308
|
+
schema_strict_mode?: boolean | undefined;
|
|
2284
2309
|
} | undefined;
|
|
2285
2310
|
}>;
|
|
@@ -28,7 +28,7 @@ export const WowAddressSchema = z
|
|
|
28
28
|
.refine(isValidAddress, {
|
|
29
29
|
message: "Invalid ID format: must be '0x' prefix followed by 64 hex characters"
|
|
30
30
|
})
|
|
31
|
-
.describe("Valid ID: 0x prefix + 64 hex characters, or builtin ID (0x5-0x9,
|
|
31
|
+
.describe("Valid ID: 0x prefix + 64 hex characters, or builtin ID (0x5-0x9, 0xa, 0xc, 0xd, 0x403, 0xaaa, 0xaab, 0xacc)");
|
|
32
32
|
const WOW_TOKEN_TYPE = "0x2::wow::WOW";
|
|
33
33
|
export const TokenTypeSchema = z
|
|
34
34
|
.string()
|
|
@@ -61,13 +61,13 @@ export const NotEmptyNameSchema = z.string().nonempty()
|
|
|
61
61
|
export const NameOrAddressSchema = z
|
|
62
62
|
.string()
|
|
63
63
|
.refine((val) => {
|
|
64
|
-
if (
|
|
64
|
+
if (isValidAddress(val))
|
|
65
65
|
return true;
|
|
66
66
|
if (isValidName(val))
|
|
67
67
|
return true;
|
|
68
68
|
return false;
|
|
69
69
|
}, {
|
|
70
|
-
message: "Invalid ID format: must be '0x' prefix, or a builtin ID (0x5-0x9,
|
|
70
|
+
message: "Invalid ID format: must be '0x' prefix, or a builtin ID (0x5-0x9, 0xa, 0xc, 0xd, 0x403, 0xaaa, 0xaab, 0xacc)"
|
|
71
71
|
}).describe("Account/Object name or ID. If specifying an account, use empty string '' for the default account. " +
|
|
72
72
|
"If it starts with '0x', it will be treated as an ID. " +
|
|
73
73
|
"Otherwise, it will be treated as a name (max 64 bcs characters).");
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ConfigOperationInputSchema: z.ZodObject<{
|
|
3
|
+
action: z.ZodEnum<["list", "toggle", "enable", "disable", "reset", "info"]>;
|
|
4
|
+
service: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, "strict", z.ZodTypeAny, {
|
|
6
|
+
action: "reset" | "info" | "list" | "toggle" | "enable" | "disable";
|
|
7
|
+
service?: string | undefined;
|
|
8
|
+
}, {
|
|
9
|
+
action: "reset" | "info" | "list" | "toggle" | "enable" | "disable";
|
|
10
|
+
service?: string | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const ConfigOperationOutputSchema: z.ZodObject<{
|
|
13
|
+
result: z.ZodAny;
|
|
14
|
+
}, "strict", z.ZodTypeAny, {
|
|
15
|
+
result?: any;
|
|
16
|
+
}, {
|
|
17
|
+
result?: any;
|
|
18
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const ConfigOperationInputSchema = z
|
|
3
|
+
.object({
|
|
4
|
+
action: z
|
|
5
|
+
.enum(["list", "toggle", "enable", "disable", "reset", "info"])
|
|
6
|
+
.describe("Config action to perform"),
|
|
7
|
+
service: z
|
|
8
|
+
.string()
|
|
9
|
+
.optional()
|
|
10
|
+
.describe("Service name (required for toggle/enable/disable/reset/info)"),
|
|
11
|
+
})
|
|
12
|
+
.strict();
|
|
13
|
+
export const ConfigOperationOutputSchema = z
|
|
14
|
+
.object({
|
|
15
|
+
result: z.any().describe("Config result — shape depends on action"),
|
|
16
|
+
})
|
|
17
|
+
.strict();
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -6,3 +6,9 @@ export * from './common/index.js';
|
|
|
6
6
|
export * from './operations.js';
|
|
7
7
|
export * from './utils/guard-parser.js';
|
|
8
8
|
export * from './utils/node-parser.js';
|
|
9
|
+
export * from './project/index.js';
|
|
10
|
+
export * from './config/index.js';
|
|
11
|
+
export * from './trust/index.js';
|
|
12
|
+
export * from './schema-query/index.js';
|
|
13
|
+
export { MCP_SCHEMA_VERSION, getSchemaVersions, checkClientSchemaCompatibility, attachSchemaWarning, } from './schema-version.js';
|
|
14
|
+
export type { SchemaVersions, SchemaCompatibilityMode, SchemaCheckOptions, SchemaCheckResult, } from './schema-version.js';
|
package/dist/schema/index.js
CHANGED
|
@@ -6,3 +6,8 @@ export * from './common/index.js';
|
|
|
6
6
|
export * from './operations.js';
|
|
7
7
|
export * from './utils/guard-parser.js';
|
|
8
8
|
export * from './utils/node-parser.js';
|
|
9
|
+
export * from './project/index.js';
|
|
10
|
+
export * from './config/index.js';
|
|
11
|
+
export * from './trust/index.js';
|
|
12
|
+
export * from './schema-query/index.js';
|
|
13
|
+
export { MCP_SCHEMA_VERSION, getSchemaVersions, checkClientSchemaCompatibility, attachSchemaWarning, } from './schema-version.js';
|