@honor-claw/yoyo 1.6.0-alpha.1 โ†’ 1.6.0-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honor-claw/yoyo",
3
- "version": "1.6.0-alpha.1",
3
+ "version": "1.6.0-beta.2",
4
4
  "description": "OpenClaw Honor Yoyo connection plugin",
5
5
  "keywords": [
6
6
  "ai",
@@ -108,6 +108,7 @@ metadata: { "openclaw": { "emoji": "๐Ÿ“ฑ", "always": true } }
108
108
  | `message` | `references/message-send.md` | ๅ‘้€็Ÿญไฟก |
109
109
  | `message` | `references/message-search.md` | ็ŸญไฟกๆŸฅ่ฏข |
110
110
  | `local-search` | `references/local-search.md` | ๆœฌๅœฐๆœ็ดข๏ผˆๆ–‡ๆกฃใ€็ฌ”่ฎฐใ€ๆ—ฅ็จ‹ใ€ๅ›พๅบ“็ญ‰๏ผ‰ |
111
+ | `task-result-query` | `references/task-result-query.md` | ไปปๅŠก็ป“ๆžœๆŸฅ่ฏข๏ผˆ่ฝฎ่ฏข่Žทๅ–ๅผ‚ๆญฅไปปๅŠก็ป“ๆžœ๏ผ‰ |
111
112
  | `file-upload` | `references/file-upload.md` | ๆ–‡ไปถไธŠไผ  |
112
113
  | `alarm` | `references/alarm-create.md` | ๅˆ›ๅปบ้—น้’Ÿ |
113
114
  | `alarm` | `references/alarm-query.md` | ๆŸฅ่ฏข้—น้’Ÿ |
@@ -14,6 +14,66 @@ description: >
14
14
  local-search
15
15
  ```
16
16
 
17
+ ### ่พ“ๅ‡บ
18
+
19
+ ```json
20
+ {
21
+ "task_id": {
22
+ "type": "string",
23
+ "description": "ไปปๅŠกID๏ผŒ็”จไบŽๅŽ็ปญๆŸฅ่ฏขไปปๅŠกๆ‰ง่กŒ็ป“ๆžœ"
24
+ }
25
+ }
26
+ ```
27
+
28
+ ### Step 2: ่Žทๅ–ไปปๅŠก็ป“ๆžœ
29
+
30
+ ```bash
31
+ task_result_query
32
+ ```
33
+
34
+ ### ่พ“ๅ…ฅ (task_result_query)
35
+
36
+ ```json
37
+ {
38
+ "task_id": {
39
+ "type": "string",
40
+ "description": "local-search ่ฟ”ๅ›ž็š„ไปปๅŠกID"
41
+ }
42
+ }
43
+ ```
44
+
45
+ ### ่พ“ๅ‡บ (task_result_query)
46
+
47
+ ```json
48
+ {
49
+ "answer": {
50
+ "type": "string",
51
+ "description": "ๅทฅๅ…ทๆ‰ง่กŒ็š„ๆœ€ๆ–ฐ็ป“ๆžœ"
52
+ },
53
+ "isFinal": {
54
+ "type": "boolean",
55
+ "description": "ไปปๅŠกๆ˜ฏๅฆๆ‰ง่กŒๅฎŒๆˆ๏ผŒtrue ่กจ็คบๅฎŒๆˆ๏ผŒfalse ่กจ็คบไปๅœจๆ‰ง่กŒไธญ"
56
+ }
57
+ }
58
+ ```
59
+
60
+ ### ๅฎŒๆ•ด่ฐƒ็”จๆต็จ‹
61
+
62
+ ```
63
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
64
+ โ”‚ Step 1: ่ฐƒ็”จ local-search โ”‚
65
+ โ”‚ - ่พ“ๅ…ฅ: query, isSearchImage โ”‚
66
+ โ”‚ - ่พ“ๅ‡บ: task_id โ”‚
67
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
68
+ โ†“
69
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
70
+ โ”‚ Step 2: ่ฝฎ่ฏข task_result_query โ”‚
71
+ โ”‚ - ่พ“ๅ…ฅ: task_id โ”‚
72
+ โ”‚ - ่พ“ๅ‡บ: answer, isFinal โ”‚
73
+ โ”‚ - ๅพช็Žฏ่ฐƒ็”จ็›ดๅˆฐ isFinal = true โ”‚
74
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
75
+ ```
76
+
17
77
  ## ้›†ๆˆๅทฅไฝœๆต
18
78
 
19
79
  ### Step 1: ๆ„ๅ›พ่งฃๆžไธŽๅ‚ๆ•ฐ็ป„่ฃ…
@@ -46,6 +106,12 @@ local-search
46
106
  - Windows: Cmd ๆ ผๅผ๏ผˆๅŒๅผ•ๅท้œ€่ฝฌไน‰๏ผ‰
47
107
  - Linux: Bash ๆ ผๅผ๏ผˆๅ•ๅผ•ๅทๅŒ…่ฃน๏ผ‰
48
108
 
109
+ ### Step 3: ่Žทๅ–ไปปๅŠก็ป“ๆžœ
110
+
111
+ - ไฝฟ็”จ local-search ่ฟ”ๅ›ž็š„ task_id
112
+ - ่ฐƒ็”จ task_result_query ่ฝฎ่ฏข่Žทๅ–็ป“ๆžœ
113
+ - ๅฝ“ isFinal = false ๆ—ถ็ปง็ปญ่ฝฎ่ฏข๏ผŒๅฝ“ isFinal = true ๆ—ถ่ฟ”ๅ›žๆœ€็ปˆ็ป“ๆžœ
114
+
49
115
  ## ๆ•ฐๆฎ่Œƒๅ›ด
50
116
 
51
117
  | ไฟกๆบ | ่ฏดๆ˜Ž |
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: task-result-query
3
+ description: >
4
+ ่ฝฎ่ฏขๆŸฅ่ฏขไปปๅŠกๆ‰ง่กŒ็ป“ๆžœใ€‚้€š่ฟ‡ task_id ๆŸฅ่ฏขๅผ‚ๆญฅไปปๅŠก็š„ๆ‰ง่กŒ็Šถๆ€ๅ’Œ็ป“ๆžœ๏ผŒ
5
+ ็”จไบŽ่Žทๅ– local-search ็ญ‰ๅผ‚ๆญฅๅทฅๅ…ท็š„ๆ‰ง่กŒ็ป“ๆžœใ€‚
6
+ ---
7
+
8
+ # Task Result Query ไปปๅŠก็ป“ๆžœๆŸฅ่ฏข
9
+
10
+ ## Tool Command
11
+
12
+ ```bash
13
+ task_result_query
14
+ ```
15
+
16
+ ## ่พ“ๅ…ฅ
17
+
18
+ ```json
19
+ {
20
+ "task_id": {
21
+ "type": "string",
22
+ "description": "local-search ่ฟ”ๅ›ž็š„ไปปๅŠกID๏ผŒ็”จไบŽๆŸฅ่ฏขไปปๅŠกๆ‰ง่กŒ็ป“ๆžœ"
23
+ }
24
+ }
25
+ ```
26
+
27
+ ## ่พ“ๅ‡บ
28
+
29
+ ```json
30
+ {
31
+ "answer": {
32
+ "type": "string",
33
+ "description": "ๅทฅๅ…ทๆ‰ง่กŒ็š„ๆœ€ๆ–ฐ็ป“ๆžœๅ†…ๅฎน"
34
+ },
35
+ "isFinal": {
36
+ "type": "boolean",
37
+ "description": "ไปปๅŠกๆ˜ฏๅฆๆ‰ง่กŒๅฎŒๆˆ๏ผŒtrue ่กจ็คบๅทฒๅฎŒๆˆ๏ผŒfalse ่กจ็คบไปๅœจๆ‰ง่กŒไธญ"
38
+ }
39
+ }
40
+ ```
41
+
42
+ ## ไฝฟ็”จ่ฏดๆ˜Ž
43
+
44
+ 1. ๅ…ˆ่ฐƒ็”จ local-search ่Žทๅ– task_id
45
+ 2. ไฝฟ็”จ task_id ่ฐƒ็”จๆœฌๅทฅๅ…ทๆŸฅ่ฏข็ป“ๆžœ
46
+ 3. ๅฝ“ isFinal = false ๆ—ถ็ปง็ปญ่ฝฎ่ฏข๏ผˆๅปบ่ฎฎ้—ด้š” 1-2 ็ง’๏ผ‰
47
+ 4. ๅฝ“ isFinal = true ๆ—ถ่ฟ”ๅ›žๆœ€็ปˆ็ป“ๆžœ
48
+
49
+ ## Windows (Cmd) ๆ‰ง่กŒๅ‘ฝไปค
50
+
51
+ ```bash
52
+ cmd /c 'openclaw nodes invoke --node <ID> --command task_result_query --params "{\"task_id\":\"<task_id>\"}"'
53
+ ```
54
+
55
+ ## Linux (Bash) ๆ‰ง่กŒๅ‘ฝไปค
56
+
57
+ ```bash
58
+ openclaw nodes invoke --node <ID> --command task_result_query --params '{"task_id":"<task_id>"}'
59
+ ```