@digipair/skill-mcp 0.143.0 → 0.144.1
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/dist/index.esm.js +10 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -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
|
-
},
|
|
44451
|
+
}, {
|
|
44452
|
+
...DIGIPAIR_FUNCTIONS,
|
|
44453
|
+
..._config.DIGIPAIR_FUNCTIONS
|
|
44454
|
+
});
|
|
44449
44455
|
} else {
|
|
44450
44456
|
const template = Handlebars.compile(value, {
|
|
44451
44457
|
noEscape: true
|