@inline-openclaw/inline 0.0.34 → 0.0.35
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/README.md +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4118 -3561
- package/dist/index.js.map +16 -15
- package/dist/inline/actions.d.ts +5 -3
- package/dist/inline/actions.d.ts.map +1 -1
- package/dist/inline/bot-commands-tool.d.ts.map +1 -1
- package/dist/inline/channel.d.ts.map +1 -1
- package/dist/inline/config-schema.d.ts +496 -6
- package/dist/inline/config-schema.d.ts.map +1 -1
- package/dist/inline/message-tools.d.ts.map +1 -1
- package/dist/inline/monitor.d.ts.map +1 -1
- package/dist/inline/outbound-sanitize.d.ts +8 -0
- package/dist/inline/outbound-sanitize.d.ts.map +1 -0
- package/dist/inline/profile-tool.d.ts.map +1 -1
- package/openclaw.plugin.json +98 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-tools.d.ts","sourceRoot":"","sources":["../../src/inline/message-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"message-tools.d.ts","sourceRoot":"","sources":["../../src/inline/message-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAO5E,KAAK,wBAAwB,GAAG;IAC9B,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AA0cD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,wBAAwB,GAAG,YAAY,EAAE,CAGtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/inline/monitor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/inline/monitor.ts"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAEjE,OAAO,EAAsB,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAsB9E,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;CACpB,CAAA;AAED,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,KAAK,IAAI,CAAA;AA6jDV,wBAAsB,qBAAqB,CAAC,MAAM,EAAE;IAClD,GAAG,EAAE,cAAc,CAAA;IACnB,OAAO,EAAE,qBAAqB,CAAA;IAC9B,OAAO,EAAE,UAAU,CAAA;IACnB,WAAW,EAAE,WAAW,CAAA;IACxB,GAAG,CAAC,EAAE;QAAE,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;IAC/H,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAo5C/B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type InlineSanitizedVisibleText = {
|
|
2
|
+
text: string;
|
|
3
|
+
shouldSkip: boolean;
|
|
4
|
+
didStrip: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare function sanitizeInlineVisibleText(raw: string | null | undefined): InlineSanitizedVisibleText;
|
|
7
|
+
export declare function sanitizeInlineVisibleLabel(raw: string | null | undefined): string | null;
|
|
8
|
+
//# sourceMappingURL=outbound-sanitize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outbound-sanitize.d.ts","sourceRoot":"","sources":["../../src/inline/outbound-sanitize.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AA0ED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,0BAA0B,CAsBpG;AAED,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAKxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-tool.d.ts","sourceRoot":"","sources":["../../src/inline/profile-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"profile-tool.d.ts","sourceRoot":"","sources":["../../src/inline/profile-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AA0I5E,wBAAgB,uBAAuB,CAAC,GAAG,EAAE;IAC3C,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,GAAG,YAAY,GAAG,IAAI,CA8DtB"}
|
package/openclaw.plugin.json
CHANGED
|
@@ -117,6 +117,80 @@
|
|
|
117
117
|
},
|
|
118
118
|
"textChunkLimit": { "type": "integer", "exclusiveMinimum": 0 },
|
|
119
119
|
"chunkMode": { "type": "string", "enum": ["length", "newline"] },
|
|
120
|
+
"streaming": {
|
|
121
|
+
"anyOf": [
|
|
122
|
+
{ "type": "boolean" },
|
|
123
|
+
{ "type": "string", "enum": ["off", "partial", "block", "progress"] },
|
|
124
|
+
{
|
|
125
|
+
"type": "object",
|
|
126
|
+
"additionalProperties": true,
|
|
127
|
+
"properties": {
|
|
128
|
+
"mode": { "type": "string", "enum": ["off", "partial", "block", "progress"] },
|
|
129
|
+
"chunkMode": { "type": "string", "enum": ["length", "newline"] },
|
|
130
|
+
"preview": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"additionalProperties": true,
|
|
133
|
+
"properties": {
|
|
134
|
+
"chunk": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"additionalProperties": true,
|
|
137
|
+
"properties": {
|
|
138
|
+
"minChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
139
|
+
"maxChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
140
|
+
"breakPreference": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"enum": ["paragraph", "newline", "sentence"]
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"toolProgress": { "type": "boolean" },
|
|
147
|
+
"commandText": { "type": "string", "enum": ["raw", "status"] }
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"progress": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"additionalProperties": true,
|
|
153
|
+
"properties": {
|
|
154
|
+
"label": {
|
|
155
|
+
"anyOf": [{ "type": "string" }, { "type": "boolean", "const": false }]
|
|
156
|
+
},
|
|
157
|
+
"labels": { "type": "array", "items": { "type": "string" } },
|
|
158
|
+
"maxLines": { "type": "integer", "exclusiveMinimum": 0 },
|
|
159
|
+
"render": { "type": "string", "enum": ["text", "rich"] },
|
|
160
|
+
"toolProgress": { "type": "boolean" },
|
|
161
|
+
"commandText": { "type": "string", "enum": ["raw", "status"] }
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"block": {
|
|
165
|
+
"type": "object",
|
|
166
|
+
"additionalProperties": true,
|
|
167
|
+
"properties": {
|
|
168
|
+
"enabled": { "type": "boolean" },
|
|
169
|
+
"coalesce": {
|
|
170
|
+
"type": "object",
|
|
171
|
+
"additionalProperties": true,
|
|
172
|
+
"properties": {
|
|
173
|
+
"minChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
174
|
+
"maxChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
175
|
+
"idleMs": { "type": "integer", "minimum": 0 }
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
"streamMode": { "type": "string", "enum": ["off", "partial", "block", "progress"] },
|
|
185
|
+
"draftChunk": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"additionalProperties": false,
|
|
188
|
+
"properties": {
|
|
189
|
+
"minChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
190
|
+
"maxChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
191
|
+
"breakPreference": { "type": "string", "enum": ["paragraph", "newline", "sentence"] }
|
|
192
|
+
}
|
|
193
|
+
},
|
|
120
194
|
"blockStreaming": { "type": "boolean" },
|
|
121
195
|
"streamViaEditMessage": { "type": "boolean" },
|
|
122
196
|
"blockStreamingCoalesce": {
|
|
@@ -209,6 +283,30 @@
|
|
|
209
283
|
"commands.nativeSkills": {
|
|
210
284
|
"label": "Inline Native Skill Commands",
|
|
211
285
|
"help": "Controls whether native skill slash commands are included in startup command sync."
|
|
286
|
+
},
|
|
287
|
+
"streaming": {
|
|
288
|
+
"label": "Inline Streaming Mode",
|
|
289
|
+
"help": "Unified Inline stream preview mode: \"off\" | \"partial\" | \"block\" | \"progress\". \"partial\" and \"progress\" use Inline edit previews for visible answer text; reasoning stays out of the chat-visible lane."
|
|
290
|
+
},
|
|
291
|
+
"streaming.mode": {
|
|
292
|
+
"label": "Inline Streaming Mode",
|
|
293
|
+
"help": "Canonical Inline preview mode: \"off\" | \"partial\" | \"block\" | \"progress\". \"progress\" degrades to answer-only edit previews until Inline has a dedicated progress/reasoning lane."
|
|
294
|
+
},
|
|
295
|
+
"streaming.preview.toolProgress": {
|
|
296
|
+
"label": "Inline Draft Tool Progress",
|
|
297
|
+
"help": "Accepted for config compatibility with native channels. Inline does not render tool-progress text into chat-visible edit previews."
|
|
298
|
+
},
|
|
299
|
+
"streaming.progress.toolProgress": {
|
|
300
|
+
"label": "Inline Progress Tool Lines",
|
|
301
|
+
"help": "Accepted for config compatibility with native channels. Inline keeps progress/tool details out of chat-visible messages."
|
|
302
|
+
},
|
|
303
|
+
"streaming.block.enabled": {
|
|
304
|
+
"label": "Inline Block Streaming",
|
|
305
|
+
"help": "Enable chunked block-style delivery when channels.inline.streaming.mode=\"block\"."
|
|
306
|
+
},
|
|
307
|
+
"streaming.block.coalesce": {
|
|
308
|
+
"label": "Inline Block Streaming Coalesce",
|
|
309
|
+
"help": "Merge streamed Inline block replies before delivery."
|
|
212
310
|
}
|
|
213
311
|
}
|
|
214
312
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inline-openclaw/inline",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^20.11.30",
|
|
36
36
|
"@vitest/coverage-v8": "4.0.16",
|
|
37
|
-
"openclaw": "2026.
|
|
37
|
+
"openclaw": "2026.5.7",
|
|
38
38
|
"typescript": "^5.8.3",
|
|
39
39
|
"vitest": "^4.0.16"
|
|
40
40
|
},
|