@digipair/skill-llm 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
|
@@ -44413,7 +44413,8 @@ const _config = globalInstance.__DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_C
|
|
|
44413
44413
|
LIBRARIES: {},
|
|
44414
44414
|
BASE_URL: 'https://cdn.jsdelivr.net/npm',
|
|
44415
44415
|
ALIAS: [],
|
|
44416
|
-
LOGGER: (level, path, message, context, data)=>{}
|
|
44416
|
+
LOGGER: (level, path, message, context, data)=>{},
|
|
44417
|
+
DIGIPAIR_FUNCTIONS: {}
|
|
44417
44418
|
};
|
|
44418
44419
|
const isRemoteVersion = /^https?:\/\/[^\s/$.?#].[^\s]*$/;
|
|
44419
44420
|
const isPinsSettings = (value)=>{
|
|
@@ -44428,19 +44429,24 @@ const applyTemplate = (value, context)=>{
|
|
|
44428
44429
|
const path = result.replace(/^EVALUATE:/, '');
|
|
44429
44430
|
result = evaluate$1(path, {
|
|
44430
44431
|
...context,
|
|
44431
|
-
...DIGIPAIR_FUNCTIONS
|
|
44432
|
+
...DIGIPAIR_FUNCTIONS,
|
|
44433
|
+
..._config.DIGIPAIR_FUNCTIONS
|
|
44432
44434
|
});
|
|
44433
44435
|
} else if (result.startsWith('FEEL:')) {
|
|
44434
44436
|
const path = result.replace(/^FEEL:/, '');
|
|
44435
44437
|
result = evaluate$1(path, {
|
|
44436
44438
|
...context,
|
|
44437
|
-
...DIGIPAIR_FUNCTIONS
|
|
44439
|
+
...DIGIPAIR_FUNCTIONS,
|
|
44440
|
+
..._config.DIGIPAIR_FUNCTIONS
|
|
44438
44441
|
});
|
|
44439
44442
|
} else if (result.startsWith('CEL:')) {
|
|
44440
44443
|
const path = result.replace(/^CEL:/, '');
|
|
44441
44444
|
result = evaluate(path, {
|
|
44442
44445
|
...context
|
|
44443
|
-
},
|
|
44446
|
+
}, {
|
|
44447
|
+
...DIGIPAIR_FUNCTIONS,
|
|
44448
|
+
..._config.DIGIPAIR_FUNCTIONS
|
|
44449
|
+
});
|
|
44444
44450
|
} else {
|
|
44445
44451
|
const template = Handlebars.compile(value, {
|
|
44446
44452
|
noEscape: true
|