@wowok/agent-mcp 2.3.16 → 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/customer/index.d.ts +9 -0
- package/dist/customer/index.js +9 -0
- package/dist/customer/industry-risks.d.ts +4 -0
- package/dist/customer/industry-risks.js +14 -0
- package/dist/customer/user-preferences.d.ts +3 -0
- package/dist/customer/user-preferences.js +9 -0
- package/dist/experience/realtime-feedback.js +17 -0
- package/dist/index.js +360 -273
- package/dist/knowledge/acquisition-flywheel.d.ts +3 -0
- package/dist/knowledge/acquisition-flywheel.js +9 -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 +13 -0
- package/dist/knowledge/index.js +13 -0
- package/dist/knowledge/industry-registry.d.ts +1 -2
- package/dist/knowledge/industry-registry.js +23 -3
- package/dist/knowledge/safety-rules.js +61 -0
- package/dist/knowledge/tool-constraints.js +12 -22
- package/dist/safety/confirm-gate.d.ts +4 -2
- package/dist/safety/confirm-gate.js +48 -4
- package/dist/schema/call/allocation.d.ts +24 -14
- package/dist/schema/call/arbitration.d.ts +142 -132
- package/dist/schema/call/base.d.ts +901 -43
- package/dist/schema/call/base.js +66 -2
- package/dist/schema/call/bridge-handler.js +15 -2
- package/dist/schema/call/bridge.d.ts +769 -1
- package/dist/schema/call/bridge.js +37 -0
- package/dist/schema/call/contact.d.ts +10 -0
- package/dist/schema/call/demand.d.ts +10 -0
- package/dist/schema/call/guard.d.ts +76 -46
- package/dist/schema/call/handler.js +46 -14
- package/dist/schema/call/machine.d.ts +158 -138
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/payment.d.ts +10 -0
- package/dist/schema/call/permission.d.ts +232 -222
- package/dist/schema/call/personal.d.ts +10 -0
- package/dist/schema/call/progress.d.ts +10 -0
- package/dist/schema/call/proof.d.ts +20 -0
- package/dist/schema/call/repository.d.ts +32 -22
- package/dist/schema/call/reward.d.ts +10 -0
- package/dist/schema/call/semantic.d.ts +9 -2
- package/dist/schema/call/semantic.js +409 -21
- package/dist/schema/call/service.d.ts +20 -10
- package/dist/schema/call/treasury.d.ts +10 -0
- 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 +9 -9
- package/dist/schema/local/index.js +9 -0
- package/dist/schema/messenger/index.d.ts +350 -29
- package/dist/schema/messenger/index.js +17 -17
- package/dist/schema/operations.d.ts +1667 -545
- package/dist/schema/operations.js +91 -96
- package/dist/schema/project/index.d.ts +21 -0
- package/dist/schema/project/index.js +32 -0
- package/dist/schema/query/index.d.ts +1074 -168
- package/dist/schema/query/index.js +8 -8
- 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/bridge_operation.output.json +224 -0
- package/dist/schemas/bridge_operation.schema.json +67 -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 +8 -0
- package/dist/schemas/index.json +19 -1
- package/dist/schemas/machineNode2file.schema.json +8 -0
- package/dist/schemas/messenger_operation.output.json +224 -0
- package/dist/schemas/onchain_events.output.json +718 -0
- package/dist/schemas/onchain_operations.output.json +277 -2
- package/dist/schemas/onchain_operations.schema.json +19 -16
- package/dist/schemas/onchain_operations_allocation.schema.json +8 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +8 -0
- package/dist/schemas/onchain_operations_contact.schema.json +8 -0
- package/dist/schemas/onchain_operations_demand.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +16 -0
- package/dist/schemas/onchain_operations_guard.schema.json +11 -16
- package/dist/schemas/onchain_operations_machine.schema.json +8 -0
- package/dist/schemas/onchain_operations_order.schema.json +8 -0
- package/dist/schemas/onchain_operations_payment.schema.json +8 -0
- package/dist/schemas/onchain_operations_permission.schema.json +8 -0
- package/dist/schemas/onchain_operations_personal.schema.json +8 -0
- package/dist/schemas/onchain_operations_progress.schema.json +8 -0
- package/dist/schemas/onchain_operations_repository.schema.json +8 -0
- package/dist/schemas/onchain_operations_reward.schema.json +8 -0
- package/dist/schemas/onchain_operations_service.schema.json +8 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +8 -0
- package/dist/schemas/onchain_table_data.output.json +718 -0
- 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
|
@@ -293,91 +293,91 @@ export const MessengerOperationInputSchema = z.discriminatedUnion("operation", [
|
|
|
293
293
|
z.object({
|
|
294
294
|
operation: z.literal("watch_conversations"),
|
|
295
295
|
filter: ConversationsFilterSchema.optional().describe("Conversations filter options - use unreadOnly to find conversations with unread messages, previewMessageCount to control message previews (default 2), and sortBy/sortOrder to customize sorting"),
|
|
296
|
-
}),
|
|
296
|
+
}).strict(),
|
|
297
297
|
z.object({
|
|
298
298
|
operation: z.literal("send_message"),
|
|
299
299
|
from: NameOrAddressSchema.optional().describe("Sender account name or address. If not specified, uses default account"),
|
|
300
300
|
to: AccountOrMark_AddressAISchema.describe("Recipient address or account name - can be a string (name/address) or full object"),
|
|
301
301
|
content: z.string().max(NORMAL_MESSAGE_BYTES_LIMIT).describe("Message content text (max 10240 bytes)"),
|
|
302
302
|
options: SendMessageOptionsSchema.optional().describe("Optional message settings"),
|
|
303
|
-
}),
|
|
303
|
+
}).strict(),
|
|
304
304
|
z.object({
|
|
305
305
|
operation: z.literal("send_file"),
|
|
306
306
|
from: NameOrAddressSchema.optional().describe("Sender account name or address. If not specified, uses default account"),
|
|
307
307
|
to: AccountOrMark_AddressAISchema.describe("Recipient address or account name - can be a string (name/address) or full object"),
|
|
308
308
|
filePath: z.string().describe("Local file path to send. File will be compressed as ZIP before sending"),
|
|
309
309
|
options: SendFileOptionsSchema.optional().describe("Optional file sending settings"),
|
|
310
|
-
}),
|
|
310
|
+
}).strict(),
|
|
311
311
|
z.object({
|
|
312
312
|
operation: z.literal("watch_messages"),
|
|
313
313
|
filter: MessageFilterSchema.optional().describe("Message filter options"),
|
|
314
|
-
}),
|
|
314
|
+
}).strict(),
|
|
315
315
|
z.object({
|
|
316
316
|
operation: z.literal("extract_zip_messages"),
|
|
317
317
|
account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
|
|
318
318
|
messages: z.array(z.union([z.string(), MessageSchema])).describe("Array of message objects or message IDs to extract"),
|
|
319
319
|
outputDir: z.string().describe("Output directory path for extracted files"),
|
|
320
|
-
}),
|
|
320
|
+
}).strict(),
|
|
321
321
|
z.object({
|
|
322
322
|
operation: z.literal("generate_wts"),
|
|
323
323
|
params: WtsGenerationParamsSchema.describe("WTS generation parameters"),
|
|
324
|
-
}),
|
|
324
|
+
}).strict(),
|
|
325
325
|
z.object({
|
|
326
326
|
operation: z.literal("verify_wts"),
|
|
327
327
|
wtsFilePath: z.string().describe("WTS file path to verify"),
|
|
328
|
-
}),
|
|
328
|
+
}).strict(),
|
|
329
329
|
z.object({
|
|
330
330
|
operation: z.literal("sign_wts"),
|
|
331
331
|
wtsFilePath: z.string().describe("WTS file path to sign"),
|
|
332
332
|
account: NameOrAddressSchema.optional().describe("Account name or address to sign with. If not specified, uses default account"),
|
|
333
333
|
outputPath: z.string().optional().describe("Output file path. If not specified, saves to signed_*.wts"),
|
|
334
|
-
}),
|
|
334
|
+
}).strict(),
|
|
335
335
|
z.object({
|
|
336
336
|
operation: z.literal("wts2html"),
|
|
337
337
|
wtsPath: z.string().describe("WTS file path or directory to convert"),
|
|
338
338
|
options: WtsToHtmlOptionsSchema.optional().describe("Conversion options"),
|
|
339
|
-
}),
|
|
339
|
+
}).strict(),
|
|
340
340
|
z.object({
|
|
341
341
|
operation: z.literal("proof_message"),
|
|
342
342
|
account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
|
|
343
343
|
messageId: z.string().describe("Message ID to proof on-chain"),
|
|
344
344
|
network: EntrypointSchema.describe("Network to use for on-chain proof (required)"),
|
|
345
|
-
}),
|
|
345
|
+
}).strict(),
|
|
346
346
|
z.object({
|
|
347
347
|
operation: z.literal("blacklist"),
|
|
348
348
|
account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
|
|
349
349
|
blacklist: BlacklistOperationSchema.describe("Blacklist management operation"),
|
|
350
|
-
}),
|
|
350
|
+
}).strict(),
|
|
351
351
|
z.object({
|
|
352
352
|
operation: z.literal("friendslist"),
|
|
353
353
|
account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
|
|
354
354
|
friendslist: FriendslistOperationSchema.describe("Friends list management operation"),
|
|
355
|
-
}),
|
|
355
|
+
}).strict(),
|
|
356
356
|
z.object({
|
|
357
357
|
operation: z.literal("guardlist"),
|
|
358
358
|
account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
|
|
359
359
|
guardlist: GuardlistOperationSchema.describe("Guard list management operation"),
|
|
360
|
-
}),
|
|
360
|
+
}).strict(),
|
|
361
361
|
z.object({
|
|
362
362
|
operation: z.literal("settings"),
|
|
363
363
|
account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
|
|
364
364
|
settings: SettingsOperationSchema.describe("Settings management operation"),
|
|
365
|
-
}),
|
|
365
|
+
}).strict(),
|
|
366
366
|
z.object({
|
|
367
367
|
operation: z.literal("mark_messages_as_viewed"),
|
|
368
368
|
account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
|
|
369
369
|
messageIds: z.array(z.string()).min(1).max(1000).describe("Array of message IDs to mark as viewed (1-1000 messages). Only messages belonging to this account will be marked"),
|
|
370
|
-
}),
|
|
370
|
+
}).strict(),
|
|
371
371
|
z.object({
|
|
372
372
|
operation: z.literal("mark_conversation_as_viewed"),
|
|
373
373
|
account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
|
|
374
374
|
peerAddress: AccountOrMark_AddressAISchema.describe("Peer address or account name - can be a string (name/address) or full object. All unviewed received messages from this peer will be marked as viewed"),
|
|
375
|
-
}),
|
|
375
|
+
}).strict(),
|
|
376
376
|
z.object({
|
|
377
377
|
operation: z.literal("pull_messages"),
|
|
378
378
|
account: NameOrAddressSchema.optional().describe("Account name or address. If not specified, uses default account"),
|
|
379
379
|
limit: z.number().optional().describe("Maximum number of messages to pull from server"),
|
|
380
|
-
}),
|
|
380
|
+
}).strict(),
|
|
381
381
|
]).describe("Messenger operation input schema");
|
|
382
382
|
export const MessengerOperationOutputSchema = z.object({
|
|
383
383
|
result: z.discriminatedUnion("operation", [
|