@signetai/connector-hermes-agent 0.163.16 → 0.163.18

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.
Files changed (2) hide show
  1. package/dist/index.js +105 -105
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { fileURLToPath as fileURLToPath3 } from "node:url";
9
9
  // ../../../libs/connector-base/dist/index.js
10
10
  import { randomBytes } from "node:crypto";
11
11
  import { existsSync, readFileSync, renameSync, statSync as statSync2, unlinkSync as unlinkSync2, writeFileSync } from "node:fs";
12
- import { dirname as dirname3, join as join3 } from "node:path";
12
+ import { dirname as dirname3, isAbsolute, join as join3, relative, sep } from "node:path";
13
13
  import { createRequire } from "node:module";
14
14
  import { dirname, join } from "node:path";
15
15
  import { fileURLToPath } from "node:url";
@@ -3627,10 +3627,10 @@ var require_resolve_block_map = __commonJS2((exports) => {
3627
3627
  let offset = bm.offset;
3628
3628
  let commentEnd = null;
3629
3629
  for (const collItem of bm.items) {
3630
- const { start, key, sep, value } = collItem;
3630
+ const { start, key, sep: sep2, value } = collItem;
3631
3631
  const keyProps = resolveProps.resolveProps(start, {
3632
3632
  indicator: "explicit-key-ind",
3633
- next: key ?? sep?.[0],
3633
+ next: key ?? sep2?.[0],
3634
3634
  offset,
3635
3635
  onError,
3636
3636
  parentIndent: bm.indent,
@@ -3644,7 +3644,7 @@ var require_resolve_block_map = __commonJS2((exports) => {
3644
3644
  else if ("indent" in key && key.indent !== bm.indent)
3645
3645
  onError(offset, "BAD_INDENT", startColMsg);
3646
3646
  }
3647
- if (!keyProps.anchor && !keyProps.tag && !sep) {
3647
+ if (!keyProps.anchor && !keyProps.tag && !sep2) {
3648
3648
  commentEnd = keyProps.end;
3649
3649
  if (keyProps.comment) {
3650
3650
  if (map.comment)
@@ -3669,7 +3669,7 @@ var require_resolve_block_map = __commonJS2((exports) => {
3669
3669
  ctx.atKey = false;
3670
3670
  if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode))
3671
3671
  onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
3672
- const valueProps = resolveProps.resolveProps(sep ?? [], {
3672
+ const valueProps = resolveProps.resolveProps(sep2 ?? [], {
3673
3673
  indicator: "map-value-ind",
3674
3674
  next: value,
3675
3675
  offset: keyNode.range[2],
@@ -3685,7 +3685,7 @@ var require_resolve_block_map = __commonJS2((exports) => {
3685
3685
  if (ctx.options.strict && keyProps.start < valueProps.found.offset - 1024)
3686
3686
  onError(keyNode.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key");
3687
3687
  }
3688
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep, null, valueProps, onError);
3688
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep2, null, valueProps, onError);
3689
3689
  if (ctx.schema.compat)
3690
3690
  utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);
3691
3691
  offset = valueNode.range[2];
@@ -3767,7 +3767,7 @@ var require_resolve_end = __commonJS2((exports) => {
3767
3767
  let comment = "";
3768
3768
  if (end) {
3769
3769
  let hasSpace = false;
3770
- let sep = "";
3770
+ let sep2 = "";
3771
3771
  for (const token of end) {
3772
3772
  const { source, type } = token;
3773
3773
  switch (type) {
@@ -3781,13 +3781,13 @@ var require_resolve_end = __commonJS2((exports) => {
3781
3781
  if (!comment)
3782
3782
  comment = cb;
3783
3783
  else
3784
- comment += sep + cb;
3785
- sep = "";
3784
+ comment += sep2 + cb;
3785
+ sep2 = "";
3786
3786
  break;
3787
3787
  }
3788
3788
  case "newline":
3789
3789
  if (comment)
3790
- sep += source;
3790
+ sep2 += source;
3791
3791
  hasSpace = true;
3792
3792
  break;
3793
3793
  default:
@@ -3825,18 +3825,18 @@ var require_resolve_flow_collection = __commonJS2((exports) => {
3825
3825
  let offset = fc.offset + fc.start.source.length;
3826
3826
  for (let i = 0;i < fc.items.length; ++i) {
3827
3827
  const collItem = fc.items[i];
3828
- const { start, key, sep, value } = collItem;
3828
+ const { start, key, sep: sep2, value } = collItem;
3829
3829
  const props = resolveProps.resolveProps(start, {
3830
3830
  flow: fcName,
3831
3831
  indicator: "explicit-key-ind",
3832
- next: key ?? sep?.[0],
3832
+ next: key ?? sep2?.[0],
3833
3833
  offset,
3834
3834
  onError,
3835
3835
  parentIndent: fc.indent,
3836
3836
  startOnNewline: false
3837
3837
  });
3838
3838
  if (!props.found) {
3839
- if (!props.anchor && !props.tag && !sep && !value) {
3839
+ if (!props.anchor && !props.tag && !sep2 && !value) {
3840
3840
  if (i === 0 && props.comma)
3841
3841
  onError(props.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${fcName}`);
3842
3842
  else if (i < fc.items.length - 1)
@@ -3888,8 +3888,8 @@ var require_resolve_flow_collection = __commonJS2((exports) => {
3888
3888
  }
3889
3889
  }
3890
3890
  }
3891
- if (!isMap && !sep && !props.found) {
3892
- const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep, null, props, onError);
3891
+ if (!isMap && !sep2 && !props.found) {
3892
+ const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep2, null, props, onError);
3893
3893
  coll.items.push(valueNode);
3894
3894
  offset = valueNode.range[2];
3895
3895
  if (isBlock(value))
@@ -3901,7 +3901,7 @@ var require_resolve_flow_collection = __commonJS2((exports) => {
3901
3901
  if (isBlock(key))
3902
3902
  onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg);
3903
3903
  ctx.atKey = false;
3904
- const valueProps = resolveProps.resolveProps(sep ?? [], {
3904
+ const valueProps = resolveProps.resolveProps(sep2 ?? [], {
3905
3905
  flow: fcName,
3906
3906
  indicator: "map-value-ind",
3907
3907
  next: value,
@@ -3912,8 +3912,8 @@ var require_resolve_flow_collection = __commonJS2((exports) => {
3912
3912
  });
3913
3913
  if (valueProps.found) {
3914
3914
  if (!isMap && !props.found && ctx.options.strict) {
3915
- if (sep)
3916
- for (const st of sep) {
3915
+ if (sep2)
3916
+ for (const st of sep2) {
3917
3917
  if (st === valueProps.found)
3918
3918
  break;
3919
3919
  if (st.type === "newline") {
@@ -3930,7 +3930,7 @@ var require_resolve_flow_collection = __commonJS2((exports) => {
3930
3930
  else
3931
3931
  onError(valueProps.start, "MISSING_CHAR", `Missing , or : between ${fcName} items`);
3932
3932
  }
3933
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep, null, valueProps, onError) : null;
3933
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep2, null, valueProps, onError) : null;
3934
3934
  if (valueNode) {
3935
3935
  if (isBlock(value))
3936
3936
  onError(valueNode.range, "BLOCK_IN_FLOW", blockMsg);
@@ -4103,7 +4103,7 @@ var require_resolve_block_scalar = __commonJS2((exports) => {
4103
4103
  chompStart = i + 1;
4104
4104
  }
4105
4105
  let value = "";
4106
- let sep = "";
4106
+ let sep2 = "";
4107
4107
  let prevMoreIndented = false;
4108
4108
  for (let i = 0;i < contentStart; ++i)
4109
4109
  value += lines[i][0].slice(trimIndent) + `
@@ -4121,33 +4121,33 @@ var require_resolve_block_scalar = __commonJS2((exports) => {
4121
4121
  indent = "";
4122
4122
  }
4123
4123
  if (type === Scalar.Scalar.BLOCK_LITERAL) {
4124
- value += sep + indent.slice(trimIndent) + content;
4125
- sep = `
4124
+ value += sep2 + indent.slice(trimIndent) + content;
4125
+ sep2 = `
4126
4126
  `;
4127
4127
  } else if (indent.length > trimIndent || content[0] === "\t") {
4128
- if (sep === " ")
4129
- sep = `
4128
+ if (sep2 === " ")
4129
+ sep2 = `
4130
4130
  `;
4131
- else if (!prevMoreIndented && sep === `
4131
+ else if (!prevMoreIndented && sep2 === `
4132
4132
  `)
4133
- sep = `
4133
+ sep2 = `
4134
4134
 
4135
4135
  `;
4136
- value += sep + indent.slice(trimIndent) + content;
4137
- sep = `
4136
+ value += sep2 + indent.slice(trimIndent) + content;
4137
+ sep2 = `
4138
4138
  `;
4139
4139
  prevMoreIndented = true;
4140
4140
  } else if (content === "") {
4141
- if (sep === `
4141
+ if (sep2 === `
4142
4142
  `)
4143
4143
  value += `
4144
4144
  `;
4145
4145
  else
4146
- sep = `
4146
+ sep2 = `
4147
4147
  `;
4148
4148
  } else {
4149
- value += sep + content;
4150
- sep = " ";
4149
+ value += sep2 + content;
4150
+ sep2 = " ";
4151
4151
  prevMoreIndented = false;
4152
4152
  }
4153
4153
  }
@@ -4326,27 +4326,27 @@ var require_resolve_flow_scalar = __commonJS2((exports) => {
4326
4326
  if (!match)
4327
4327
  return source;
4328
4328
  let res = match[1];
4329
- let sep = " ";
4329
+ let sep2 = " ";
4330
4330
  let pos = first.lastIndex;
4331
4331
  line.lastIndex = pos;
4332
4332
  while (match = line.exec(source)) {
4333
4333
  if (match[1] === "") {
4334
- if (sep === `
4334
+ if (sep2 === `
4335
4335
  `)
4336
- res += sep;
4336
+ res += sep2;
4337
4337
  else
4338
- sep = `
4338
+ sep2 = `
4339
4339
  `;
4340
4340
  } else {
4341
- res += sep + match[1];
4342
- sep = " ";
4341
+ res += sep2 + match[1];
4342
+ sep2 = " ";
4343
4343
  }
4344
4344
  pos = line.lastIndex;
4345
4345
  }
4346
4346
  const last = /[ \t]*(.*)/sy;
4347
4347
  last.lastIndex = pos;
4348
4348
  match = last.exec(source);
4349
- return res + sep + (match?.[1] ?? "");
4349
+ return res + sep2 + (match?.[1] ?? "");
4350
4350
  }
4351
4351
  function doubleQuotedValue(source, onError) {
4352
4352
  let res = "";
@@ -5113,14 +5113,14 @@ var require_cst_stringify = __commonJS2((exports) => {
5113
5113
  }
5114
5114
  }
5115
5115
  }
5116
- function stringifyItem({ start, key, sep, value }) {
5116
+ function stringifyItem({ start, key, sep: sep2, value }) {
5117
5117
  let res = "";
5118
5118
  for (const st of start)
5119
5119
  res += st.source;
5120
5120
  if (key)
5121
5121
  res += stringifyToken(key);
5122
- if (sep)
5123
- for (const st of sep)
5122
+ if (sep2)
5123
+ for (const st of sep2)
5124
5124
  res += st.source;
5125
5125
  if (value)
5126
5126
  res += stringifyToken(value);
@@ -6259,18 +6259,18 @@ var require_parser = __commonJS2((exports) => {
6259
6259
  if (this.type === "map-value-ind") {
6260
6260
  const prev = getPrevProps(this.peek(2));
6261
6261
  const start = getFirstKeyStartProps(prev);
6262
- let sep;
6262
+ let sep2;
6263
6263
  if (scalar.end) {
6264
- sep = scalar.end;
6265
- sep.push(this.sourceToken);
6264
+ sep2 = scalar.end;
6265
+ sep2.push(this.sourceToken);
6266
6266
  delete scalar.end;
6267
6267
  } else
6268
- sep = [this.sourceToken];
6268
+ sep2 = [this.sourceToken];
6269
6269
  const map = {
6270
6270
  type: "block-map",
6271
6271
  offset: scalar.offset,
6272
6272
  indent: scalar.indent,
6273
- items: [{ start, key: scalar, sep }]
6273
+ items: [{ start, key: scalar, sep: sep2 }]
6274
6274
  };
6275
6275
  this.onKeyLine = true;
6276
6276
  this.stack[this.stack.length - 1] = map;
@@ -6424,15 +6424,15 @@ var require_parser = __commonJS2((exports) => {
6424
6424
  } else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) {
6425
6425
  const start2 = getFirstKeyStartProps(it.start);
6426
6426
  const key = it.key;
6427
- const sep = it.sep;
6428
- sep.push(this.sourceToken);
6427
+ const sep2 = it.sep;
6428
+ sep2.push(this.sourceToken);
6429
6429
  delete it.key;
6430
6430
  delete it.sep;
6431
6431
  this.stack.push({
6432
6432
  type: "block-map",
6433
6433
  offset: this.offset,
6434
6434
  indent: this.indent,
6435
- items: [{ start: start2, key, sep }]
6435
+ items: [{ start: start2, key, sep: sep2 }]
6436
6436
  });
6437
6437
  } else if (start.length > 0) {
6438
6438
  it.sep = it.sep.concat(start, this.sourceToken);
@@ -6626,13 +6626,13 @@ var require_parser = __commonJS2((exports) => {
6626
6626
  const prev = getPrevProps(parent);
6627
6627
  const start = getFirstKeyStartProps(prev);
6628
6628
  fixFlowSeqItems(fc);
6629
- const sep = fc.end.splice(1, fc.end.length);
6630
- sep.push(this.sourceToken);
6629
+ const sep2 = fc.end.splice(1, fc.end.length);
6630
+ sep2.push(this.sourceToken);
6631
6631
  const map = {
6632
6632
  type: "block-map",
6633
6633
  offset: fc.offset,
6634
6634
  indent: fc.indent,
6635
- items: [{ start, key: fc, sep }]
6635
+ items: [{ start, key: fc, sep: sep2 }]
6636
6636
  };
6637
6637
  this.onKeyLine = true;
6638
6638
  this.stack[this.stack.length - 1] = map;
@@ -15080,10 +15080,10 @@ var require_resolve_block_map2 = __commonJS((exports) => {
15080
15080
  let offset = bm.offset;
15081
15081
  let commentEnd = null;
15082
15082
  for (const collItem of bm.items) {
15083
- const { start, key, sep, value } = collItem;
15083
+ const { start, key, sep: sep2, value } = collItem;
15084
15084
  const keyProps = resolveProps.resolveProps(start, {
15085
15085
  indicator: "explicit-key-ind",
15086
- next: key ?? sep?.[0],
15086
+ next: key ?? sep2?.[0],
15087
15087
  offset,
15088
15088
  onError,
15089
15089
  parentIndent: bm.indent,
@@ -15097,7 +15097,7 @@ var require_resolve_block_map2 = __commonJS((exports) => {
15097
15097
  else if ("indent" in key && key.indent !== bm.indent)
15098
15098
  onError(offset, "BAD_INDENT", startColMsg);
15099
15099
  }
15100
- if (!keyProps.anchor && !keyProps.tag && !sep) {
15100
+ if (!keyProps.anchor && !keyProps.tag && !sep2) {
15101
15101
  commentEnd = keyProps.end;
15102
15102
  if (keyProps.comment) {
15103
15103
  if (map.comment)
@@ -15122,7 +15122,7 @@ var require_resolve_block_map2 = __commonJS((exports) => {
15122
15122
  ctx.atKey = false;
15123
15123
  if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode))
15124
15124
  onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
15125
- const valueProps = resolveProps.resolveProps(sep ?? [], {
15125
+ const valueProps = resolveProps.resolveProps(sep2 ?? [], {
15126
15126
  indicator: "map-value-ind",
15127
15127
  next: value,
15128
15128
  offset: keyNode.range[2],
@@ -15138,7 +15138,7 @@ var require_resolve_block_map2 = __commonJS((exports) => {
15138
15138
  if (ctx.options.strict && keyProps.start < valueProps.found.offset - 1024)
15139
15139
  onError(keyNode.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key");
15140
15140
  }
15141
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep, null, valueProps, onError);
15141
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep2, null, valueProps, onError);
15142
15142
  if (ctx.schema.compat)
15143
15143
  utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);
15144
15144
  offset = valueNode.range[2];
@@ -15220,7 +15220,7 @@ var require_resolve_end2 = __commonJS((exports) => {
15220
15220
  let comment = "";
15221
15221
  if (end) {
15222
15222
  let hasSpace = false;
15223
- let sep = "";
15223
+ let sep2 = "";
15224
15224
  for (const token of end) {
15225
15225
  const { source, type } = token;
15226
15226
  switch (type) {
@@ -15234,13 +15234,13 @@ var require_resolve_end2 = __commonJS((exports) => {
15234
15234
  if (!comment)
15235
15235
  comment = cb;
15236
15236
  else
15237
- comment += sep + cb;
15238
- sep = "";
15237
+ comment += sep2 + cb;
15238
+ sep2 = "";
15239
15239
  break;
15240
15240
  }
15241
15241
  case "newline":
15242
15242
  if (comment)
15243
- sep += source;
15243
+ sep2 += source;
15244
15244
  hasSpace = true;
15245
15245
  break;
15246
15246
  default:
@@ -15278,18 +15278,18 @@ var require_resolve_flow_collection2 = __commonJS((exports) => {
15278
15278
  let offset = fc.offset + fc.start.source.length;
15279
15279
  for (let i = 0;i < fc.items.length; ++i) {
15280
15280
  const collItem = fc.items[i];
15281
- const { start, key, sep, value } = collItem;
15281
+ const { start, key, sep: sep2, value } = collItem;
15282
15282
  const props = resolveProps.resolveProps(start, {
15283
15283
  flow: fcName,
15284
15284
  indicator: "explicit-key-ind",
15285
- next: key ?? sep?.[0],
15285
+ next: key ?? sep2?.[0],
15286
15286
  offset,
15287
15287
  onError,
15288
15288
  parentIndent: fc.indent,
15289
15289
  startOnNewline: false
15290
15290
  });
15291
15291
  if (!props.found) {
15292
- if (!props.anchor && !props.tag && !sep && !value) {
15292
+ if (!props.anchor && !props.tag && !sep2 && !value) {
15293
15293
  if (i === 0 && props.comma)
15294
15294
  onError(props.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${fcName}`);
15295
15295
  else if (i < fc.items.length - 1)
@@ -15341,8 +15341,8 @@ var require_resolve_flow_collection2 = __commonJS((exports) => {
15341
15341
  }
15342
15342
  }
15343
15343
  }
15344
- if (!isMap && !sep && !props.found) {
15345
- const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep, null, props, onError);
15344
+ if (!isMap && !sep2 && !props.found) {
15345
+ const valueNode = value ? composeNode(ctx, value, props, onError) : composeEmptyNode(ctx, props.end, sep2, null, props, onError);
15346
15346
  coll.items.push(valueNode);
15347
15347
  offset = valueNode.range[2];
15348
15348
  if (isBlock(value))
@@ -15354,7 +15354,7 @@ var require_resolve_flow_collection2 = __commonJS((exports) => {
15354
15354
  if (isBlock(key))
15355
15355
  onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg);
15356
15356
  ctx.atKey = false;
15357
- const valueProps = resolveProps.resolveProps(sep ?? [], {
15357
+ const valueProps = resolveProps.resolveProps(sep2 ?? [], {
15358
15358
  flow: fcName,
15359
15359
  indicator: "map-value-ind",
15360
15360
  next: value,
@@ -15365,8 +15365,8 @@ var require_resolve_flow_collection2 = __commonJS((exports) => {
15365
15365
  });
15366
15366
  if (valueProps.found) {
15367
15367
  if (!isMap && !props.found && ctx.options.strict) {
15368
- if (sep)
15369
- for (const st of sep) {
15368
+ if (sep2)
15369
+ for (const st of sep2) {
15370
15370
  if (st === valueProps.found)
15371
15371
  break;
15372
15372
  if (st.type === "newline") {
@@ -15383,7 +15383,7 @@ var require_resolve_flow_collection2 = __commonJS((exports) => {
15383
15383
  else
15384
15384
  onError(valueProps.start, "MISSING_CHAR", `Missing , or : between ${fcName} items`);
15385
15385
  }
15386
- const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep, null, valueProps, onError) : null;
15386
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : valueProps.found ? composeEmptyNode(ctx, valueProps.end, sep2, null, valueProps, onError) : null;
15387
15387
  if (valueNode) {
15388
15388
  if (isBlock(value))
15389
15389
  onError(valueNode.range, "BLOCK_IN_FLOW", blockMsg);
@@ -15556,7 +15556,7 @@ var require_resolve_block_scalar2 = __commonJS((exports) => {
15556
15556
  chompStart = i + 1;
15557
15557
  }
15558
15558
  let value = "";
15559
- let sep = "";
15559
+ let sep2 = "";
15560
15560
  let prevMoreIndented = false;
15561
15561
  for (let i = 0;i < contentStart; ++i)
15562
15562
  value += lines[i][0].slice(trimIndent) + `
@@ -15574,33 +15574,33 @@ var require_resolve_block_scalar2 = __commonJS((exports) => {
15574
15574
  indent = "";
15575
15575
  }
15576
15576
  if (type === Scalar.Scalar.BLOCK_LITERAL) {
15577
- value += sep + indent.slice(trimIndent) + content;
15578
- sep = `
15577
+ value += sep2 + indent.slice(trimIndent) + content;
15578
+ sep2 = `
15579
15579
  `;
15580
15580
  } else if (indent.length > trimIndent || content[0] === "\t") {
15581
- if (sep === " ")
15582
- sep = `
15581
+ if (sep2 === " ")
15582
+ sep2 = `
15583
15583
  `;
15584
- else if (!prevMoreIndented && sep === `
15584
+ else if (!prevMoreIndented && sep2 === `
15585
15585
  `)
15586
- sep = `
15586
+ sep2 = `
15587
15587
 
15588
15588
  `;
15589
- value += sep + indent.slice(trimIndent) + content;
15590
- sep = `
15589
+ value += sep2 + indent.slice(trimIndent) + content;
15590
+ sep2 = `
15591
15591
  `;
15592
15592
  prevMoreIndented = true;
15593
15593
  } else if (content === "") {
15594
- if (sep === `
15594
+ if (sep2 === `
15595
15595
  `)
15596
15596
  value += `
15597
15597
  `;
15598
15598
  else
15599
- sep = `
15599
+ sep2 = `
15600
15600
  `;
15601
15601
  } else {
15602
- value += sep + content;
15603
- sep = " ";
15602
+ value += sep2 + content;
15603
+ sep2 = " ";
15604
15604
  prevMoreIndented = false;
15605
15605
  }
15606
15606
  }
@@ -15779,27 +15779,27 @@ var require_resolve_flow_scalar2 = __commonJS((exports) => {
15779
15779
  if (!match)
15780
15780
  return source;
15781
15781
  let res = match[1];
15782
- let sep = " ";
15782
+ let sep2 = " ";
15783
15783
  let pos = first.lastIndex;
15784
15784
  line.lastIndex = pos;
15785
15785
  while (match = line.exec(source)) {
15786
15786
  if (match[1] === "") {
15787
- if (sep === `
15787
+ if (sep2 === `
15788
15788
  `)
15789
- res += sep;
15789
+ res += sep2;
15790
15790
  else
15791
- sep = `
15791
+ sep2 = `
15792
15792
  `;
15793
15793
  } else {
15794
- res += sep + match[1];
15795
- sep = " ";
15794
+ res += sep2 + match[1];
15795
+ sep2 = " ";
15796
15796
  }
15797
15797
  pos = line.lastIndex;
15798
15798
  }
15799
15799
  const last = /[ \t]*(.*)/sy;
15800
15800
  last.lastIndex = pos;
15801
15801
  match = last.exec(source);
15802
- return res + sep + (match?.[1] ?? "");
15802
+ return res + sep2 + (match?.[1] ?? "");
15803
15803
  }
15804
15804
  function doubleQuotedValue(source, onError) {
15805
15805
  let res = "";
@@ -16566,14 +16566,14 @@ var require_cst_stringify2 = __commonJS((exports) => {
16566
16566
  }
16567
16567
  }
16568
16568
  }
16569
- function stringifyItem({ start, key, sep, value }) {
16569
+ function stringifyItem({ start, key, sep: sep2, value }) {
16570
16570
  let res = "";
16571
16571
  for (const st of start)
16572
16572
  res += st.source;
16573
16573
  if (key)
16574
16574
  res += stringifyToken(key);
16575
- if (sep)
16576
- for (const st of sep)
16575
+ if (sep2)
16576
+ for (const st of sep2)
16577
16577
  res += st.source;
16578
16578
  if (value)
16579
16579
  res += stringifyToken(value);
@@ -17712,18 +17712,18 @@ var require_parser2 = __commonJS((exports) => {
17712
17712
  if (this.type === "map-value-ind") {
17713
17713
  const prev = getPrevProps(this.peek(2));
17714
17714
  const start = getFirstKeyStartProps(prev);
17715
- let sep;
17715
+ let sep2;
17716
17716
  if (scalar.end) {
17717
- sep = scalar.end;
17718
- sep.push(this.sourceToken);
17717
+ sep2 = scalar.end;
17718
+ sep2.push(this.sourceToken);
17719
17719
  delete scalar.end;
17720
17720
  } else
17721
- sep = [this.sourceToken];
17721
+ sep2 = [this.sourceToken];
17722
17722
  const map = {
17723
17723
  type: "block-map",
17724
17724
  offset: scalar.offset,
17725
17725
  indent: scalar.indent,
17726
- items: [{ start, key: scalar, sep }]
17726
+ items: [{ start, key: scalar, sep: sep2 }]
17727
17727
  };
17728
17728
  this.onKeyLine = true;
17729
17729
  this.stack[this.stack.length - 1] = map;
@@ -17877,15 +17877,15 @@ var require_parser2 = __commonJS((exports) => {
17877
17877
  } else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) {
17878
17878
  const start2 = getFirstKeyStartProps(it.start);
17879
17879
  const key = it.key;
17880
- const sep = it.sep;
17881
- sep.push(this.sourceToken);
17880
+ const sep2 = it.sep;
17881
+ sep2.push(this.sourceToken);
17882
17882
  delete it.key;
17883
17883
  delete it.sep;
17884
17884
  this.stack.push({
17885
17885
  type: "block-map",
17886
17886
  offset: this.offset,
17887
17887
  indent: this.indent,
17888
- items: [{ start: start2, key, sep }]
17888
+ items: [{ start: start2, key, sep: sep2 }]
17889
17889
  });
17890
17890
  } else if (start.length > 0) {
17891
17891
  it.sep = it.sep.concat(start, this.sourceToken);
@@ -18079,13 +18079,13 @@ var require_parser2 = __commonJS((exports) => {
18079
18079
  const prev = getPrevProps(parent);
18080
18080
  const start = getFirstKeyStartProps(prev);
18081
18081
  fixFlowSeqItems(fc);
18082
- const sep = fc.end.splice(1, fc.end.length);
18083
- sep.push(this.sourceToken);
18082
+ const sep2 = fc.end.splice(1, fc.end.length);
18083
+ sep2.push(this.sourceToken);
18084
18084
  const map = {
18085
18085
  type: "block-map",
18086
18086
  offset: fc.offset,
18087
18087
  indent: fc.indent,
18088
- items: [{ start, key: fc, sep }]
18088
+ items: [{ start, key: fc, sep: sep2 }]
18089
18089
  };
18090
18090
  this.onKeyLine = true;
18091
18091
  this.stack[this.stack.length - 1] = map;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-hermes-agent",
3
- "version": "0.163.16",
3
+ "version": "0.163.18",
4
4
  "description": "Signet connector for Hermes Agent — installs Signet as a pluggable memory provider",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,8 +25,8 @@
25
25
  "typecheck": "tsc --noEmit"
26
26
  },
27
27
  "dependencies": {
28
- "@signetai/connector-base": "0.163.16",
29
- "@signetai/core": "0.163.16"
28
+ "@signetai/connector-base": "0.163.18",
29
+ "@signetai/core": "0.163.18"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",