@inline-openclaw/inline 0.0.43 → 0.0.44
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/approval-handler.runtime.js +81 -7
- package/dist/approval-handler.runtime.js.map +3 -3
- package/dist/channel-plugin-api.js +94 -27
- package/dist/channel-plugin-api.js.map +5 -5
- package/dist/inline/monitor.d.ts.map +1 -1
- package/dist/runtime-register-api.js +81 -7
- package/dist/runtime-register-api.js.map +3 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/inline/monitor.ts"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAEjE,OAAO,EAAsB,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/inline/monitor.ts"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAEjE,OAAO,EAAsB,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAoE9E,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;CACpB,CAAA;AAUD,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,KAAK,IAAI,CAAA;AAgiEV,wBAAsB,qBAAqB,CAAC,MAAM,EAAE;IAClD,GAAG,EAAE,cAAc,CAAA;IACnB,OAAO,EAAE,qBAAqB,CAAA;IAC9B,OAAO,EAAE,UAAU,CAAA;IACnB,cAAc,CAAC,EAAE,qBAAqB,CAAA;IACtC,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,CAgzE/B"}
|
|
@@ -6957,7 +6957,8 @@ class Chat$Type extends import_runtime4.MessageType {
|
|
|
6957
6957
|
{ no: 9, name: "date", kind: "scalar", opt: true, T: 3, L: 0 },
|
|
6958
6958
|
{ no: 10, name: "created_by", kind: "scalar", opt: true, T: 3, L: 0 },
|
|
6959
6959
|
{ no: 11, name: "parent_chat_id", kind: "scalar", opt: true, T: 3, L: 0 },
|
|
6960
|
-
{ no: 12, name: "parent_message_id", kind: "scalar", opt: true, T: 3, L: 0 }
|
|
6960
|
+
{ no: 12, name: "parent_message_id", kind: "scalar", opt: true, T: 3, L: 0 },
|
|
6961
|
+
{ no: 13, name: "untitled", kind: "scalar", opt: true, T: 8 }
|
|
6961
6962
|
]);
|
|
6962
6963
|
}
|
|
6963
6964
|
create(value) {
|
|
@@ -7009,6 +7010,9 @@ class Chat$Type extends import_runtime4.MessageType {
|
|
|
7009
7010
|
case 12:
|
|
7010
7011
|
message.parentMessageId = reader.int64().toBigInt();
|
|
7011
7012
|
break;
|
|
7013
|
+
case 13:
|
|
7014
|
+
message.untitled = reader.bool();
|
|
7015
|
+
break;
|
|
7012
7016
|
default:
|
|
7013
7017
|
let u = options.readUnknownField;
|
|
7014
7018
|
if (u === "throw")
|
|
@@ -7045,6 +7049,8 @@ class Chat$Type extends import_runtime4.MessageType {
|
|
|
7045
7049
|
writer.tag(11, import_runtime.WireType.Varint).int64(message.parentChatId);
|
|
7046
7050
|
if (message.parentMessageId !== undefined)
|
|
7047
7051
|
writer.tag(12, import_runtime.WireType.Varint).int64(message.parentMessageId);
|
|
7052
|
+
if (message.untitled !== undefined)
|
|
7053
|
+
writer.tag(13, import_runtime.WireType.Varint).bool(message.untitled);
|
|
7048
7054
|
let u = options.writeUnknownFields;
|
|
7049
7055
|
if (u !== false)
|
|
7050
7056
|
(u == true ? import_runtime2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -11154,6 +11160,63 @@ class GetUpdatesInput$Type extends import_runtime4.MessageType {
|
|
|
11154
11160
|
}
|
|
11155
11161
|
var GetUpdatesInput = new GetUpdatesInput$Type;
|
|
11156
11162
|
|
|
11163
|
+
class UpdateSidecars$Type extends import_runtime4.MessageType {
|
|
11164
|
+
constructor() {
|
|
11165
|
+
super("UpdateSidecars", [
|
|
11166
|
+
{ no: 1, name: "users", kind: "message", repeat: 1, T: () => User },
|
|
11167
|
+
{ no: 2, name: "chats", kind: "message", repeat: 1, T: () => Chat },
|
|
11168
|
+
{ no: 3, name: "dialogs", kind: "message", repeat: 1, T: () => Dialog }
|
|
11169
|
+
]);
|
|
11170
|
+
}
|
|
11171
|
+
create(value) {
|
|
11172
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
11173
|
+
message.users = [];
|
|
11174
|
+
message.chats = [];
|
|
11175
|
+
message.dialogs = [];
|
|
11176
|
+
if (value !== undefined)
|
|
11177
|
+
import_runtime3.reflectionMergePartial(this, message, value);
|
|
11178
|
+
return message;
|
|
11179
|
+
}
|
|
11180
|
+
internalBinaryRead(reader, length, options, target) {
|
|
11181
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
11182
|
+
while (reader.pos < end) {
|
|
11183
|
+
let [fieldNo, wireType] = reader.tag();
|
|
11184
|
+
switch (fieldNo) {
|
|
11185
|
+
case 1:
|
|
11186
|
+
message.users.push(User.internalBinaryRead(reader, reader.uint32(), options));
|
|
11187
|
+
break;
|
|
11188
|
+
case 2:
|
|
11189
|
+
message.chats.push(Chat.internalBinaryRead(reader, reader.uint32(), options));
|
|
11190
|
+
break;
|
|
11191
|
+
case 3:
|
|
11192
|
+
message.dialogs.push(Dialog.internalBinaryRead(reader, reader.uint32(), options));
|
|
11193
|
+
break;
|
|
11194
|
+
default:
|
|
11195
|
+
let u = options.readUnknownField;
|
|
11196
|
+
if (u === "throw")
|
|
11197
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
11198
|
+
let d = reader.skip(wireType);
|
|
11199
|
+
if (u !== false)
|
|
11200
|
+
(u === true ? import_runtime2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
11201
|
+
}
|
|
11202
|
+
}
|
|
11203
|
+
return message;
|
|
11204
|
+
}
|
|
11205
|
+
internalBinaryWrite(message, writer, options) {
|
|
11206
|
+
for (let i = 0;i < message.users.length; i++)
|
|
11207
|
+
User.internalBinaryWrite(message.users[i], writer.tag(1, import_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11208
|
+
for (let i = 0;i < message.chats.length; i++)
|
|
11209
|
+
Chat.internalBinaryWrite(message.chats[i], writer.tag(2, import_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11210
|
+
for (let i = 0;i < message.dialogs.length; i++)
|
|
11211
|
+
Dialog.internalBinaryWrite(message.dialogs[i], writer.tag(3, import_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11212
|
+
let u = options.writeUnknownFields;
|
|
11213
|
+
if (u !== false)
|
|
11214
|
+
(u == true ? import_runtime2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
11215
|
+
return writer;
|
|
11216
|
+
}
|
|
11217
|
+
}
|
|
11218
|
+
var UpdateSidecars = new UpdateSidecars$Type;
|
|
11219
|
+
|
|
11157
11220
|
class GetUpdatesResult$Type extends import_runtime4.MessageType {
|
|
11158
11221
|
constructor() {
|
|
11159
11222
|
super("GetUpdatesResult", [
|
|
@@ -11161,7 +11224,8 @@ class GetUpdatesResult$Type extends import_runtime4.MessageType {
|
|
|
11161
11224
|
{ no: 2, name: "seq", kind: "scalar", T: 3, L: 0 },
|
|
11162
11225
|
{ no: 3, name: "date", kind: "scalar", T: 3, L: 0 },
|
|
11163
11226
|
{ no: 4, name: "final", kind: "scalar", opt: true, T: 8 },
|
|
11164
|
-
{ no: 5, name: "result_type", kind: "enum", T: () => ["GetUpdatesResult.ResultType", GetUpdatesResult_ResultType, "RESULT_TYPE_"] }
|
|
11227
|
+
{ no: 5, name: "result_type", kind: "enum", T: () => ["GetUpdatesResult.ResultType", GetUpdatesResult_ResultType, "RESULT_TYPE_"] },
|
|
11228
|
+
{ no: 6, name: "sidecars", kind: "message", T: () => UpdateSidecars }
|
|
11165
11229
|
]);
|
|
11166
11230
|
}
|
|
11167
11231
|
create(value) {
|
|
@@ -11194,6 +11258,9 @@ class GetUpdatesResult$Type extends import_runtime4.MessageType {
|
|
|
11194
11258
|
case 5:
|
|
11195
11259
|
message.resultType = reader.int32();
|
|
11196
11260
|
break;
|
|
11261
|
+
case 6:
|
|
11262
|
+
message.sidecars = UpdateSidecars.internalBinaryRead(reader, reader.uint32(), options, message.sidecars);
|
|
11263
|
+
break;
|
|
11197
11264
|
default:
|
|
11198
11265
|
let u = options.readUnknownField;
|
|
11199
11266
|
if (u === "throw")
|
|
@@ -11216,6 +11283,8 @@ class GetUpdatesResult$Type extends import_runtime4.MessageType {
|
|
|
11216
11283
|
writer.tag(4, import_runtime.WireType.Varint).bool(message.final);
|
|
11217
11284
|
if (message.resultType !== 0)
|
|
11218
11285
|
writer.tag(5, import_runtime.WireType.Varint).int32(message.resultType);
|
|
11286
|
+
if (message.sidecars)
|
|
11287
|
+
UpdateSidecars.internalBinaryWrite(message.sidecars, writer.tag(6, import_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
11219
11288
|
let u = options.writeUnknownFields;
|
|
11220
11289
|
if (u !== false)
|
|
11221
11290
|
(u == true ? import_runtime2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -15942,7 +16011,7 @@ var ReserveChatIdsResult = new ReserveChatIdsResult$Type;
|
|
|
15942
16011
|
class CreateChatInput$Type extends import_runtime4.MessageType {
|
|
15943
16012
|
constructor() {
|
|
15944
16013
|
super("CreateChatInput", [
|
|
15945
|
-
{ no: 1, name: "title", kind: "scalar", T: 9 },
|
|
16014
|
+
{ no: 1, name: "title", kind: "scalar", opt: true, T: 9 },
|
|
15946
16015
|
{ no: 2, name: "space_id", kind: "scalar", opt: true, T: 3, L: 0 },
|
|
15947
16016
|
{ no: 3, name: "description", kind: "scalar", opt: true, T: 9 },
|
|
15948
16017
|
{ no: 4, name: "emoji", kind: "scalar", opt: true, T: 9 },
|
|
@@ -15953,7 +16022,6 @@ class CreateChatInput$Type extends import_runtime4.MessageType {
|
|
|
15953
16022
|
}
|
|
15954
16023
|
create(value) {
|
|
15955
16024
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
15956
|
-
message.title = "";
|
|
15957
16025
|
message.isPublic = false;
|
|
15958
16026
|
message.participants = [];
|
|
15959
16027
|
if (value !== undefined)
|
|
@@ -15998,7 +16066,7 @@ class CreateChatInput$Type extends import_runtime4.MessageType {
|
|
|
15998
16066
|
return message;
|
|
15999
16067
|
}
|
|
16000
16068
|
internalBinaryWrite(message, writer, options) {
|
|
16001
|
-
if (message.title !==
|
|
16069
|
+
if (message.title !== undefined)
|
|
16002
16070
|
writer.tag(1, import_runtime.WireType.LengthDelimited).string(message.title);
|
|
16003
16071
|
if (message.spaceId !== undefined)
|
|
16004
16072
|
writer.tag(2, import_runtime.WireType.Varint).int64(message.spaceId);
|
|
@@ -16848,7 +16916,8 @@ class UpdateChatInfo$Type extends import_runtime4.MessageType {
|
|
|
16848
16916
|
super("UpdateChatInfo", [
|
|
16849
16917
|
{ no: 1, name: "chat_id", kind: "scalar", T: 3, L: 0 },
|
|
16850
16918
|
{ no: 2, name: "title", kind: "scalar", opt: true, T: 9 },
|
|
16851
|
-
{ no: 3, name: "emoji", kind: "scalar", opt: true, T: 9 }
|
|
16919
|
+
{ no: 3, name: "emoji", kind: "scalar", opt: true, T: 9 },
|
|
16920
|
+
{ no: 4, name: "untitled", kind: "scalar", opt: true, T: 8 }
|
|
16852
16921
|
]);
|
|
16853
16922
|
}
|
|
16854
16923
|
create(value) {
|
|
@@ -16872,6 +16941,9 @@ class UpdateChatInfo$Type extends import_runtime4.MessageType {
|
|
|
16872
16941
|
case 3:
|
|
16873
16942
|
message.emoji = reader.string();
|
|
16874
16943
|
break;
|
|
16944
|
+
case 4:
|
|
16945
|
+
message.untitled = reader.bool();
|
|
16946
|
+
break;
|
|
16875
16947
|
default:
|
|
16876
16948
|
let u = options.readUnknownField;
|
|
16877
16949
|
if (u === "throw")
|
|
@@ -16890,6 +16962,8 @@ class UpdateChatInfo$Type extends import_runtime4.MessageType {
|
|
|
16890
16962
|
writer.tag(2, import_runtime.WireType.LengthDelimited).string(message.title);
|
|
16891
16963
|
if (message.emoji !== undefined)
|
|
16892
16964
|
writer.tag(3, import_runtime.WireType.LengthDelimited).string(message.emoji);
|
|
16965
|
+
if (message.untitled !== undefined)
|
|
16966
|
+
writer.tag(4, import_runtime.WireType.Varint).bool(message.untitled);
|
|
16893
16967
|
let u = options.writeUnknownFields;
|
|
16894
16968
|
if (u !== false)
|
|
16895
16969
|
(u == true ? import_runtime2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -39460,5 +39534,5 @@ export {
|
|
|
39460
39534
|
registerInlinePluginFull
|
|
39461
39535
|
};
|
|
39462
39536
|
|
|
39463
|
-
//# debugId=
|
|
39537
|
+
//# debugId=A0B96B5920BE445464756E2164756E21
|
|
39464
39538
|
//# sourceMappingURL=runtime-register-api.js.map
|