@keyflow2/keyflow-kit-tone-rewrite 0.2.0 → 0.2.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/icons/icon-128.png +0 -0
- package/icons/icon-256.png +0 -0
- package/icons/icon-48.png +0 -0
- package/icons/icon-64.png +0 -0
- package/icons/icon-96.png +0 -0
- package/manifest.json +169 -161
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/manifest.json
CHANGED
|
@@ -1,161 +1,169 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "tone-rewrite",
|
|
3
|
-
"name": "语气改写",
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"description": "一键把聊天内容改成更短、更长、更礼貌、更口语,或加上合适 emoji。",
|
|
6
|
-
"platforms": [
|
|
7
|
-
"android"
|
|
8
|
-
],
|
|
9
|
-
"entry": {
|
|
10
|
-
"type": "browser-app",
|
|
11
|
-
"bundle": {
|
|
12
|
-
"html": "ui/app/index.html",
|
|
13
|
-
"script": "ui/app/main.js",
|
|
14
|
-
"style": "ui/app/styles.css"
|
|
15
|
-
},
|
|
16
|
-
"sdk": {
|
|
17
|
-
"project": "../../function-kit-runtime-sdk/package.json",
|
|
18
|
-
"browserBundle": "../../function-kit-runtime-sdk/dist/function-kit-runtime.js"
|
|
19
|
-
},
|
|
20
|
-
"surfaces": {
|
|
21
|
-
"android": {
|
|
22
|
-
"preferred": "bottom-sheet",
|
|
23
|
-
"fallback": "full-screen",
|
|
24
|
-
"peekHeightDp": 320
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"runtimePermissions": [
|
|
29
|
-
"context.read",
|
|
30
|
-
"input.replace",
|
|
31
|
-
"ai.request"
|
|
32
|
-
],
|
|
33
|
-
"bindings": [
|
|
34
|
-
{
|
|
35
|
-
"id": "tone.shorter",
|
|
36
|
-
"title": "更短",
|
|
37
|
-
"triggers": [
|
|
38
|
-
"manual",
|
|
39
|
-
"selection"
|
|
40
|
-
],
|
|
41
|
-
"requestedPayloads": [
|
|
42
|
-
"selection.text",
|
|
43
|
-
"selection.beforeCursor",
|
|
44
|
-
"selection.afterCursor"
|
|
45
|
-
],
|
|
46
|
-
"categories": [
|
|
47
|
-
"chat",
|
|
48
|
-
"writing",
|
|
49
|
-
"tone",
|
|
50
|
-
"rewrite"
|
|
51
|
-
],
|
|
52
|
-
"preferredPresentation": "apply.headless",
|
|
53
|
-
"entry": {
|
|
54
|
-
"tone": "shorter",
|
|
55
|
-
"view": "apply"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"id": "tone.longer",
|
|
60
|
-
"title": "更长",
|
|
61
|
-
"triggers": [
|
|
62
|
-
"manual",
|
|
63
|
-
"selection"
|
|
64
|
-
],
|
|
65
|
-
"requestedPayloads": [
|
|
66
|
-
"selection.text",
|
|
67
|
-
"selection.beforeCursor",
|
|
68
|
-
"selection.afterCursor"
|
|
69
|
-
],
|
|
70
|
-
"categories": [
|
|
71
|
-
"chat",
|
|
72
|
-
"writing",
|
|
73
|
-
"tone",
|
|
74
|
-
"rewrite"
|
|
75
|
-
],
|
|
76
|
-
"preferredPresentation": "panel.preview",
|
|
77
|
-
"entry": {
|
|
78
|
-
"tone": "longer",
|
|
79
|
-
"view": "preview"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"id": "tone.polite",
|
|
84
|
-
"title": "更礼貌",
|
|
85
|
-
"triggers": [
|
|
86
|
-
"manual",
|
|
87
|
-
"selection"
|
|
88
|
-
],
|
|
89
|
-
"requestedPayloads": [
|
|
90
|
-
"selection.text",
|
|
91
|
-
"selection.beforeCursor",
|
|
92
|
-
"selection.afterCursor"
|
|
93
|
-
],
|
|
94
|
-
"categories": [
|
|
95
|
-
"chat",
|
|
96
|
-
"writing",
|
|
97
|
-
"tone",
|
|
98
|
-
"rewrite"
|
|
99
|
-
],
|
|
100
|
-
"preferredPresentation": "panel.preview",
|
|
101
|
-
"entry": {
|
|
102
|
-
"tone": "polite",
|
|
103
|
-
"view": "preview"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"id": "tone.casual",
|
|
108
|
-
"title": "更口语",
|
|
109
|
-
"triggers": [
|
|
110
|
-
"manual",
|
|
111
|
-
"selection"
|
|
112
|
-
],
|
|
113
|
-
"requestedPayloads": [
|
|
114
|
-
"selection.text",
|
|
115
|
-
"selection.beforeCursor",
|
|
116
|
-
"selection.afterCursor"
|
|
117
|
-
],
|
|
118
|
-
"categories": [
|
|
119
|
-
"chat",
|
|
120
|
-
"writing",
|
|
121
|
-
"tone",
|
|
122
|
-
"rewrite"
|
|
123
|
-
],
|
|
124
|
-
"preferredPresentation": "panel",
|
|
125
|
-
"entry": {
|
|
126
|
-
"tone": "casual",
|
|
127
|
-
"view": "panel"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"id": "tone.emoji",
|
|
132
|
-
"title": "加个 emoji",
|
|
133
|
-
"triggers": [
|
|
134
|
-
"manual",
|
|
135
|
-
"selection"
|
|
136
|
-
],
|
|
137
|
-
"requestedPayloads": [
|
|
138
|
-
"selection.text",
|
|
139
|
-
"selection.beforeCursor",
|
|
140
|
-
"selection.afterCursor"
|
|
141
|
-
],
|
|
142
|
-
"categories": [
|
|
143
|
-
"chat",
|
|
144
|
-
"writing",
|
|
145
|
-
"tone",
|
|
146
|
-
"rewrite"
|
|
147
|
-
],
|
|
148
|
-
"preferredPresentation": "panel.preview",
|
|
149
|
-
"entry": {
|
|
150
|
-
"tone": "emoji",
|
|
151
|
-
"view": "preview"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
"discovery": {
|
|
156
|
-
"launchMode": "panel-first",
|
|
157
|
-
"slash": {
|
|
158
|
-
"enabled": false
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
1
|
+
{
|
|
2
|
+
"id": "tone-rewrite",
|
|
3
|
+
"name": "语气改写",
|
|
4
|
+
"version": "0.2.1",
|
|
5
|
+
"description": "一键把聊天内容改成更短、更长、更礼貌、更口语,或加上合适 emoji。",
|
|
6
|
+
"platforms": [
|
|
7
|
+
"android"
|
|
8
|
+
],
|
|
9
|
+
"entry": {
|
|
10
|
+
"type": "browser-app",
|
|
11
|
+
"bundle": {
|
|
12
|
+
"html": "ui/app/index.html",
|
|
13
|
+
"script": "ui/app/main.js",
|
|
14
|
+
"style": "ui/app/styles.css"
|
|
15
|
+
},
|
|
16
|
+
"sdk": {
|
|
17
|
+
"project": "../../function-kit-runtime-sdk/package.json",
|
|
18
|
+
"browserBundle": "../../function-kit-runtime-sdk/dist/function-kit-runtime.js"
|
|
19
|
+
},
|
|
20
|
+
"surfaces": {
|
|
21
|
+
"android": {
|
|
22
|
+
"preferred": "bottom-sheet",
|
|
23
|
+
"fallback": "full-screen",
|
|
24
|
+
"peekHeightDp": 320
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"runtimePermissions": [
|
|
29
|
+
"context.read",
|
|
30
|
+
"input.replace",
|
|
31
|
+
"ai.request"
|
|
32
|
+
],
|
|
33
|
+
"bindings": [
|
|
34
|
+
{
|
|
35
|
+
"id": "tone.shorter",
|
|
36
|
+
"title": "更短",
|
|
37
|
+
"triggers": [
|
|
38
|
+
"manual",
|
|
39
|
+
"selection"
|
|
40
|
+
],
|
|
41
|
+
"requestedPayloads": [
|
|
42
|
+
"selection.text",
|
|
43
|
+
"selection.beforeCursor",
|
|
44
|
+
"selection.afterCursor"
|
|
45
|
+
],
|
|
46
|
+
"categories": [
|
|
47
|
+
"chat",
|
|
48
|
+
"writing",
|
|
49
|
+
"tone",
|
|
50
|
+
"rewrite"
|
|
51
|
+
],
|
|
52
|
+
"preferredPresentation": "apply.headless",
|
|
53
|
+
"entry": {
|
|
54
|
+
"tone": "shorter",
|
|
55
|
+
"view": "apply"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "tone.longer",
|
|
60
|
+
"title": "更长",
|
|
61
|
+
"triggers": [
|
|
62
|
+
"manual",
|
|
63
|
+
"selection"
|
|
64
|
+
],
|
|
65
|
+
"requestedPayloads": [
|
|
66
|
+
"selection.text",
|
|
67
|
+
"selection.beforeCursor",
|
|
68
|
+
"selection.afterCursor"
|
|
69
|
+
],
|
|
70
|
+
"categories": [
|
|
71
|
+
"chat",
|
|
72
|
+
"writing",
|
|
73
|
+
"tone",
|
|
74
|
+
"rewrite"
|
|
75
|
+
],
|
|
76
|
+
"preferredPresentation": "panel.preview",
|
|
77
|
+
"entry": {
|
|
78
|
+
"tone": "longer",
|
|
79
|
+
"view": "preview"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "tone.polite",
|
|
84
|
+
"title": "更礼貌",
|
|
85
|
+
"triggers": [
|
|
86
|
+
"manual",
|
|
87
|
+
"selection"
|
|
88
|
+
],
|
|
89
|
+
"requestedPayloads": [
|
|
90
|
+
"selection.text",
|
|
91
|
+
"selection.beforeCursor",
|
|
92
|
+
"selection.afterCursor"
|
|
93
|
+
],
|
|
94
|
+
"categories": [
|
|
95
|
+
"chat",
|
|
96
|
+
"writing",
|
|
97
|
+
"tone",
|
|
98
|
+
"rewrite"
|
|
99
|
+
],
|
|
100
|
+
"preferredPresentation": "panel.preview",
|
|
101
|
+
"entry": {
|
|
102
|
+
"tone": "polite",
|
|
103
|
+
"view": "preview"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "tone.casual",
|
|
108
|
+
"title": "更口语",
|
|
109
|
+
"triggers": [
|
|
110
|
+
"manual",
|
|
111
|
+
"selection"
|
|
112
|
+
],
|
|
113
|
+
"requestedPayloads": [
|
|
114
|
+
"selection.text",
|
|
115
|
+
"selection.beforeCursor",
|
|
116
|
+
"selection.afterCursor"
|
|
117
|
+
],
|
|
118
|
+
"categories": [
|
|
119
|
+
"chat",
|
|
120
|
+
"writing",
|
|
121
|
+
"tone",
|
|
122
|
+
"rewrite"
|
|
123
|
+
],
|
|
124
|
+
"preferredPresentation": "panel",
|
|
125
|
+
"entry": {
|
|
126
|
+
"tone": "casual",
|
|
127
|
+
"view": "panel"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "tone.emoji",
|
|
132
|
+
"title": "加个 emoji",
|
|
133
|
+
"triggers": [
|
|
134
|
+
"manual",
|
|
135
|
+
"selection"
|
|
136
|
+
],
|
|
137
|
+
"requestedPayloads": [
|
|
138
|
+
"selection.text",
|
|
139
|
+
"selection.beforeCursor",
|
|
140
|
+
"selection.afterCursor"
|
|
141
|
+
],
|
|
142
|
+
"categories": [
|
|
143
|
+
"chat",
|
|
144
|
+
"writing",
|
|
145
|
+
"tone",
|
|
146
|
+
"rewrite"
|
|
147
|
+
],
|
|
148
|
+
"preferredPresentation": "panel.preview",
|
|
149
|
+
"entry": {
|
|
150
|
+
"tone": "emoji",
|
|
151
|
+
"view": "preview"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"discovery": {
|
|
156
|
+
"launchMode": "panel-first",
|
|
157
|
+
"slash": {
|
|
158
|
+
"enabled": false
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"icons": {
|
|
162
|
+
"48": "icons/icon-48.png",
|
|
163
|
+
"64": "icons/icon-64.png",
|
|
164
|
+
"96": "icons/icon-96.png",
|
|
165
|
+
"128": "icons/icon-128.png",
|
|
166
|
+
"256": "icons/icon-256.png"
|
|
167
|
+
},
|
|
168
|
+
"icon": "icons/icon-128.png"
|
|
169
|
+
}
|