@inline-openclaw/inline 0.0.66 → 0.0.67

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.
@@ -33910,7 +33910,8 @@ class AgentProjectCatalog$Type extends import_runtime4.MessageType {
33910
33910
  constructor() {
33911
33911
  super("AgentProjectCatalog", [
33912
33912
  { no: 1, name: "options", kind: "message", repeat: 1, T: () => AgentProjectOption },
33913
- { no: 2, name: "can_select_folder", kind: "scalar", opt: true, T: 8 }
33913
+ { no: 2, name: "can_select_folder", kind: "scalar", opt: true, T: 8 },
33914
+ { no: 3, name: "default_project_id", kind: "scalar", opt: true, T: 9 }
33914
33915
  ]);
33915
33916
  }
33916
33917
  create(value) {
@@ -33931,6 +33932,9 @@ class AgentProjectCatalog$Type extends import_runtime4.MessageType {
33931
33932
  case 2:
33932
33933
  message.canSelectFolder = reader.bool();
33933
33934
  break;
33935
+ case 3:
33936
+ message.defaultProjectId = reader.string();
33937
+ break;
33934
33938
  default:
33935
33939
  let u = options.readUnknownField;
33936
33940
  if (u === "throw")
@@ -33947,6 +33951,8 @@ class AgentProjectCatalog$Type extends import_runtime4.MessageType {
33947
33951
  AgentProjectOption.internalBinaryWrite(message.options[i], writer.tag(1, import_runtime.WireType.LengthDelimited).fork(), options).join();
33948
33952
  if (message.canSelectFolder !== undefined)
33949
33953
  writer.tag(2, import_runtime.WireType.Varint).bool(message.canSelectFolder);
33954
+ if (message.defaultProjectId !== undefined)
33955
+ writer.tag(3, import_runtime.WireType.LengthDelimited).string(message.defaultProjectId);
33950
33956
  let u = options.writeUnknownFields;
33951
33957
  if (u !== false)
33952
33958
  (u == true ? import_runtime2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -34060,7 +34066,8 @@ class AgentModelOption$Type extends import_runtime4.MessageType {
34060
34066
  { no: 1, name: "id", kind: "scalar", T: 9 },
34061
34067
  { no: 2, name: "label", kind: "scalar", T: 9 },
34062
34068
  { no: 3, name: "description", kind: "scalar", opt: true, T: 9 },
34063
- { no: 4, name: "reasoning_effort_ids", kind: "scalar", repeat: 2, T: 9 }
34069
+ { no: 4, name: "reasoning_effort_ids", kind: "scalar", repeat: 2, T: 9 },
34070
+ { no: 5, name: "default_reasoning_effort_id", kind: "scalar", opt: true, T: 9 }
34064
34071
  ]);
34065
34072
  }
34066
34073
  create(value) {
@@ -34089,6 +34096,9 @@ class AgentModelOption$Type extends import_runtime4.MessageType {
34089
34096
  case 4:
34090
34097
  message.reasoningEffortIds.push(reader.string());
34091
34098
  break;
34099
+ case 5:
34100
+ message.defaultReasoningEffortId = reader.string();
34101
+ break;
34092
34102
  default:
34093
34103
  let u = options.readUnknownField;
34094
34104
  if (u === "throw")
@@ -34109,6 +34119,8 @@ class AgentModelOption$Type extends import_runtime4.MessageType {
34109
34119
  writer.tag(3, import_runtime.WireType.LengthDelimited).string(message.description);
34110
34120
  for (let i = 0;i < message.reasoningEffortIds.length; i++)
34111
34121
  writer.tag(4, import_runtime.WireType.LengthDelimited).string(message.reasoningEffortIds[i]);
34122
+ if (message.defaultReasoningEffortId !== undefined)
34123
+ writer.tag(5, import_runtime.WireType.LengthDelimited).string(message.defaultReasoningEffortId);
34112
34124
  let u = options.writeUnknownFields;
34113
34125
  if (u !== false)
34114
34126
  (u == true ? import_runtime2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -34120,7 +34132,8 @@ var AgentModelOption = new AgentModelOption$Type;
34120
34132
  class AgentModelCatalog$Type extends import_runtime4.MessageType {
34121
34133
  constructor() {
34122
34134
  super("AgentModelCatalog", [
34123
- { no: 1, name: "options", kind: "message", repeat: 1, T: () => AgentModelOption }
34135
+ { no: 1, name: "options", kind: "message", repeat: 1, T: () => AgentModelOption },
34136
+ { no: 2, name: "default_model_id", kind: "scalar", opt: true, T: 9 }
34124
34137
  ]);
34125
34138
  }
34126
34139
  create(value) {
@@ -34138,6 +34151,9 @@ class AgentModelCatalog$Type extends import_runtime4.MessageType {
34138
34151
  case 1:
34139
34152
  message.options.push(AgentModelOption.internalBinaryRead(reader, reader.uint32(), options));
34140
34153
  break;
34154
+ case 2:
34155
+ message.defaultModelId = reader.string();
34156
+ break;
34141
34157
  default:
34142
34158
  let u = options.readUnknownField;
34143
34159
  if (u === "throw")
@@ -34152,6 +34168,8 @@ class AgentModelCatalog$Type extends import_runtime4.MessageType {
34152
34168
  internalBinaryWrite(message, writer, options) {
34153
34169
  for (let i = 0;i < message.options.length; i++)
34154
34170
  AgentModelOption.internalBinaryWrite(message.options[i], writer.tag(1, import_runtime.WireType.LengthDelimited).fork(), options).join();
34171
+ if (message.defaultModelId !== undefined)
34172
+ writer.tag(2, import_runtime.WireType.LengthDelimited).string(message.defaultModelId);
34155
34173
  let u = options.writeUnknownFields;
34156
34174
  if (u !== false)
34157
34175
  (u == true ? import_runtime2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -70283,13 +70301,44 @@ function createInlineUpdateCommand(api2) {
70283
70301
  };
70284
70302
  }
70285
70303
 
70304
+ // src/inline/maintenance-command-specs.ts
70305
+ var INLINE_SYNC_COMMAND_SPEC = {
70306
+ name: "inline-sync",
70307
+ nativeNames: { inline: "inline_sync" },
70308
+ nativeProgressMessages: { inline: "Syncing Inline commands and skills…" },
70309
+ description: "Resync Inline commands and skills",
70310
+ channels: ["inline"],
70311
+ acceptsArgs: false
70312
+ };
70313
+ var INLINE_VERSION_COMMAND_SPEC = {
70314
+ name: "inline-version",
70315
+ nativeNames: { inline: "inline_version" },
70316
+ description: "Show Inline plugin and sync information",
70317
+ channels: ["inline"],
70318
+ acceptsArgs: false
70319
+ };
70320
+ function listInlineMaintenanceCommandSpecs() {
70321
+ return [INLINE_SYNC_COMMAND_SPEC, INLINE_VERSION_COMMAND_SPEC].map((spec) => ({
70322
+ name: spec.nativeNames.inline,
70323
+ description: spec.description,
70324
+ acceptsArgs: spec.acceptsArgs
70325
+ }));
70326
+ }
70327
+
70286
70328
  // src/inline/bot-commands-sync.ts
70287
70329
  var INLINE_COMMAND_NAME_RE = /^[a-z0-9_]{1,32}$/;
70288
70330
  var INLINE_COMMAND_LIMIT = 100;
70289
70331
  var INLINE_COMMAND_DESCRIPTION_LIMIT = 256;
70290
70332
  var INLINE_COMMAND_RETRY_RATIO = 0.8;
70291
70333
  var INLINE_NATIVE_COMMAND_PROVIDER = "inline";
70292
- var INLINE_REQUIRED_COMMAND_NAMES = new Set(["follow", "unfollow", "threadreply", "inline_update"]);
70334
+ var INLINE_REQUIRED_COMMAND_NAMES = new Set([
70335
+ "follow",
70336
+ "unfollow",
70337
+ "threadreply",
70338
+ "inline_update",
70339
+ "inline_sync",
70340
+ "inline_version"
70341
+ ]);
70293
70342
  function resolveInlineChannelCommands(cfg) {
70294
70343
  const inline = cfg.channels?.inline;
70295
70344
  if (typeof inline !== "object" || inline === null || Array.isArray(inline))
@@ -70399,7 +70448,8 @@ async function buildInlineNativeCommandsForConfig(params) {
70399
70448
  ...getPluginCommandSpecs("inline", { config: params.cfg }),
70400
70449
  ...listInlineFollowCommandSpecs(),
70401
70450
  ...listInlineBuiltinCommandSpecs(),
70402
- ...listInlineUpdateCommandSpecs()
70451
+ ...listInlineUpdateCommandSpecs(),
70452
+ ...listInlineMaintenanceCommandSpecs()
70403
70453
  ];
70404
70454
  const seen = new Set;
70405
70455
  const resolved = [];
@@ -71523,7 +71573,8 @@ function listInlinePluginCommandSpecs(cfg) {
71523
71573
  return [
71524
71574
  ...listHostInlinePluginCommandSpecs(cfg),
71525
71575
  ...listInlineFollowCommandSpecs(),
71526
- ...listInlineBuiltinCommandSpecs()
71576
+ ...listInlineBuiltinCommandSpecs(),
71577
+ ...listInlineMaintenanceCommandSpecs()
71527
71578
  ];
71528
71579
  }
71529
71580
  function hasInlineCommandSpec(specs, commandName) {
@@ -79493,5 +79544,5 @@ export {
79493
79544
  inlineChannelPlugin2 as inlineChannelPlugin
79494
79545
  };
79495
79546
 
79496
- //# debugId=3BEABAA42C98A89864756E2164756E21
79547
+ //# debugId=0CD7141E321D85A264756E2164756E21
79497
79548
  //# sourceMappingURL=channel-plugin-api.js.map