@digipair/skill-mcp 0.142.0 → 0.144.0

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.esm.js +15 -9
  2. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -22843,14 +22843,14 @@ function indent(str, spaces) {
22843
22843
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
22844
22844
  // match is required
22845
22845
  if (!match) {
22846
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
22846
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
22847
22847
  v: nextMatch1
22848
22848
  };
22849
22849
  }
22850
22850
  var token = match.token, offset = match.offset;
22851
22851
  i1 += offset;
22852
22852
  if (token === ' ') {
22853
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
22853
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
22854
22854
  }
22855
22855
  tokens1 = _to_consumable_array$4$1(tokens1).concat([
22856
22856
  token
@@ -22869,7 +22869,7 @@ function indent(str, spaces) {
22869
22869
  if (contextKeys.some(function(el) {
22870
22870
  return el.startsWith(name);
22871
22871
  })) {
22872
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
22872
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
22873
22873
  }
22874
22874
  if (dateTimeIdentifiers.some(function(el) {
22875
22875
  return el === name;
@@ -22888,9 +22888,9 @@ function indent(str, spaces) {
22888
22888
  if (dateTimeIdentifiers.some(function(el) {
22889
22889
  return el.startsWith(name);
22890
22890
  })) {
22891
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
22891
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
22892
22892
  }
22893
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
22893
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
22894
22894
  v: nextMatch1
22895
22895
  };
22896
22896
  };
@@ -44418,7 +44418,8 @@ const _config = globalInstance.__DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_C
44418
44418
  LIBRARIES: {},
44419
44419
  BASE_URL: 'https://cdn.jsdelivr.net/npm',
44420
44420
  ALIAS: [],
44421
- LOGGER: (level, path, message, context, data)=>{}
44421
+ LOGGER: (level, path, message, context, data)=>{},
44422
+ DIGIPAIR_FUNCTIONS: {}
44422
44423
  };
44423
44424
  const isRemoteVersion = /^https?:\/\/[^\s/$.?#].[^\s]*$/;
44424
44425
  const isPinsSettings = (value)=>{
@@ -44433,19 +44434,24 @@ const applyTemplate = (value, context)=>{
44433
44434
  const path = result.replace(/^EVALUATE:/, '');
44434
44435
  result = evaluate$1(path, {
44435
44436
  ...context,
44436
- ...DIGIPAIR_FUNCTIONS
44437
+ ...DIGIPAIR_FUNCTIONS,
44438
+ ..._config.DIGIPAIR_FUNCTIONS
44437
44439
  });
44438
44440
  } else if (result.startsWith('FEEL:')) {
44439
44441
  const path = result.replace(/^FEEL:/, '');
44440
44442
  result = evaluate$1(path, {
44441
44443
  ...context,
44442
- ...DIGIPAIR_FUNCTIONS
44444
+ ...DIGIPAIR_FUNCTIONS,
44445
+ ..._config.DIGIPAIR_FUNCTIONS
44443
44446
  });
44444
44447
  } else if (result.startsWith('CEL:')) {
44445
44448
  const path = result.replace(/^CEL:/, '');
44446
44449
  result = evaluate(path, {
44447
44450
  ...context
44448
- }, DIGIPAIR_FUNCTIONS);
44451
+ }, {
44452
+ ...DIGIPAIR_FUNCTIONS,
44453
+ ..._config.DIGIPAIR_FUNCTIONS
44454
+ });
44449
44455
  } else {
44450
44456
  const template = Handlebars.compile(value, {
44451
44457
  noEscape: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-mcp",
3
- "version": "0.142.0",
3
+ "version": "0.144.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",