@agent-wechat/agent-wechat 2.3.2 → 2.4.1
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.js +677 -203
- package/openclaw.plugin.json +97 -0
- package/package.json +49 -1
package/openclaw.plugin.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"wechat_recall",
|
|
15
15
|
"wechat_send_share",
|
|
16
16
|
"wechat_group_info",
|
|
17
|
+
"wechat_stickers",
|
|
17
18
|
"wechat_login",
|
|
18
19
|
"wechat_call"
|
|
19
20
|
],
|
|
@@ -430,6 +431,54 @@
|
|
|
430
431
|
"type": "boolean",
|
|
431
432
|
"description": "Set fast mode for the regular OpenClaw consultation run when its model supports it."
|
|
432
433
|
},
|
|
434
|
+
"fastContext": {
|
|
435
|
+
"type": "object",
|
|
436
|
+
"additionalProperties": false,
|
|
437
|
+
"description": "On the verified owner's direct calls, search the agent's indexed memory and session context before a consultation runs the agent. Matching snippets go straight back to the voice model and the agent does not run; the next consultation in the call runs the agent, so the voice model or the caller can ask again when the snippets do not answer or an action is needed. Other callers and conferences always run the agent. Applies to bidi mode.",
|
|
438
|
+
"properties": {
|
|
439
|
+
"enabled": {
|
|
440
|
+
"type": "boolean",
|
|
441
|
+
"default": false,
|
|
442
|
+
"description": "Search memory and session context before the owner's consultations."
|
|
443
|
+
},
|
|
444
|
+
"timeoutMs": {
|
|
445
|
+
"type": "integer",
|
|
446
|
+
"minimum": 100,
|
|
447
|
+
"maximum": 10000,
|
|
448
|
+
"default": 800,
|
|
449
|
+
"description": "How long the search may take before it counts as finding nothing."
|
|
450
|
+
},
|
|
451
|
+
"maxResults": {
|
|
452
|
+
"type": "integer",
|
|
453
|
+
"minimum": 1,
|
|
454
|
+
"maximum": 10,
|
|
455
|
+
"default": 3,
|
|
456
|
+
"description": "Most snippets returned to the voice model."
|
|
457
|
+
},
|
|
458
|
+
"sources": {
|
|
459
|
+
"type": "array",
|
|
460
|
+
"minItems": 1,
|
|
461
|
+
"uniqueItems": true,
|
|
462
|
+
"items": {
|
|
463
|
+
"type": "string",
|
|
464
|
+
"enum": [
|
|
465
|
+
"memory",
|
|
466
|
+
"sessions"
|
|
467
|
+
]
|
|
468
|
+
},
|
|
469
|
+
"default": [
|
|
470
|
+
"memory",
|
|
471
|
+
"sessions"
|
|
472
|
+
],
|
|
473
|
+
"description": "Indexed sources to search. The active memory plugin decides which session transcripts this call's session may see."
|
|
474
|
+
},
|
|
475
|
+
"fallbackToConsult": {
|
|
476
|
+
"type": "boolean",
|
|
477
|
+
"default": false,
|
|
478
|
+
"description": "Run the agent when the search finds nothing. When false, the voice model says it does not have that context handy."
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
433
482
|
"providers": {
|
|
434
483
|
"type": "object",
|
|
435
484
|
"additionalProperties": false,
|
|
@@ -974,6 +1023,54 @@
|
|
|
974
1023
|
"type": "boolean",
|
|
975
1024
|
"description": "Set fast mode for the regular OpenClaw consultation run when its model supports it."
|
|
976
1025
|
},
|
|
1026
|
+
"fastContext": {
|
|
1027
|
+
"type": "object",
|
|
1028
|
+
"additionalProperties": false,
|
|
1029
|
+
"description": "On the verified owner's direct calls, search the agent's indexed memory and session context before a consultation runs the agent. Matching snippets go straight back to the voice model and the agent does not run; the next consultation in the call runs the agent, so the voice model or the caller can ask again when the snippets do not answer or an action is needed. Other callers and conferences always run the agent. Applies to bidi mode.",
|
|
1030
|
+
"properties": {
|
|
1031
|
+
"enabled": {
|
|
1032
|
+
"type": "boolean",
|
|
1033
|
+
"default": false,
|
|
1034
|
+
"description": "Search memory and session context before the owner's consultations."
|
|
1035
|
+
},
|
|
1036
|
+
"timeoutMs": {
|
|
1037
|
+
"type": "integer",
|
|
1038
|
+
"minimum": 100,
|
|
1039
|
+
"maximum": 10000,
|
|
1040
|
+
"default": 800,
|
|
1041
|
+
"description": "How long the search may take before it counts as finding nothing."
|
|
1042
|
+
},
|
|
1043
|
+
"maxResults": {
|
|
1044
|
+
"type": "integer",
|
|
1045
|
+
"minimum": 1,
|
|
1046
|
+
"maximum": 10,
|
|
1047
|
+
"default": 3,
|
|
1048
|
+
"description": "Most snippets returned to the voice model."
|
|
1049
|
+
},
|
|
1050
|
+
"sources": {
|
|
1051
|
+
"type": "array",
|
|
1052
|
+
"minItems": 1,
|
|
1053
|
+
"uniqueItems": true,
|
|
1054
|
+
"items": {
|
|
1055
|
+
"type": "string",
|
|
1056
|
+
"enum": [
|
|
1057
|
+
"memory",
|
|
1058
|
+
"sessions"
|
|
1059
|
+
]
|
|
1060
|
+
},
|
|
1061
|
+
"default": [
|
|
1062
|
+
"memory",
|
|
1063
|
+
"sessions"
|
|
1064
|
+
],
|
|
1065
|
+
"description": "Indexed sources to search. The active memory plugin decides which session transcripts this call's session may see."
|
|
1066
|
+
},
|
|
1067
|
+
"fallbackToConsult": {
|
|
1068
|
+
"type": "boolean",
|
|
1069
|
+
"default": false,
|
|
1070
|
+
"description": "Run the agent when the search finds nothing. When false, the voice model says it does not have that context handy."
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
977
1074
|
"providers": {
|
|
978
1075
|
"type": "object",
|
|
979
1076
|
"additionalProperties": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-wechat/agent-wechat",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -479,6 +479,54 @@
|
|
|
479
479
|
"type": "boolean",
|
|
480
480
|
"description": "Set fast mode for the regular OpenClaw consultation run when its model supports it."
|
|
481
481
|
},
|
|
482
|
+
"fastContext": {
|
|
483
|
+
"type": "object",
|
|
484
|
+
"additionalProperties": false,
|
|
485
|
+
"description": "On the verified owner's direct calls, search the agent's indexed memory and session context before a consultation runs the agent. Matching snippets go straight back to the voice model and the agent does not run; the next consultation in the call runs the agent, so the voice model or the caller can ask again when the snippets do not answer or an action is needed. Other callers and conferences always run the agent. Applies to bidi mode.",
|
|
486
|
+
"properties": {
|
|
487
|
+
"enabled": {
|
|
488
|
+
"type": "boolean",
|
|
489
|
+
"default": false,
|
|
490
|
+
"description": "Search memory and session context before the owner's consultations."
|
|
491
|
+
},
|
|
492
|
+
"timeoutMs": {
|
|
493
|
+
"type": "integer",
|
|
494
|
+
"minimum": 100,
|
|
495
|
+
"maximum": 10000,
|
|
496
|
+
"default": 800,
|
|
497
|
+
"description": "How long the search may take before it counts as finding nothing."
|
|
498
|
+
},
|
|
499
|
+
"maxResults": {
|
|
500
|
+
"type": "integer",
|
|
501
|
+
"minimum": 1,
|
|
502
|
+
"maximum": 10,
|
|
503
|
+
"default": 3,
|
|
504
|
+
"description": "Most snippets returned to the voice model."
|
|
505
|
+
},
|
|
506
|
+
"sources": {
|
|
507
|
+
"type": "array",
|
|
508
|
+
"minItems": 1,
|
|
509
|
+
"uniqueItems": true,
|
|
510
|
+
"items": {
|
|
511
|
+
"type": "string",
|
|
512
|
+
"enum": [
|
|
513
|
+
"memory",
|
|
514
|
+
"sessions"
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
"default": [
|
|
518
|
+
"memory",
|
|
519
|
+
"sessions"
|
|
520
|
+
],
|
|
521
|
+
"description": "Indexed sources to search. The active memory plugin decides which session transcripts this call's session may see."
|
|
522
|
+
},
|
|
523
|
+
"fallbackToConsult": {
|
|
524
|
+
"type": "boolean",
|
|
525
|
+
"default": false,
|
|
526
|
+
"description": "Run the agent when the search finds nothing. When false, the voice model says it does not have that context handy."
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
},
|
|
482
530
|
"providers": {
|
|
483
531
|
"type": "object",
|
|
484
532
|
"additionalProperties": false,
|