@digipair/skill-llm 0.30.1 → 0.31.2
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/index.cjs2.js +5 -13
- package/index.esm2.js +5 -13
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
@@ -23509,14 +23509,14 @@ function indent(str, spaces) {
|
|
23509
23509
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23510
23510
|
// match is required
|
23511
23511
|
if (!match) {
|
23512
|
-
return
|
23512
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
23513
23513
|
v: nextMatch1
|
23514
23514
|
};
|
23515
23515
|
}
|
23516
23516
|
var token = match.token, offset = match.offset;
|
23517
23517
|
i1 += offset;
|
23518
23518
|
if (token === " ") {
|
23519
|
-
return
|
23519
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
23520
23520
|
}
|
23521
23521
|
tokens1 = _to_consumable_array$y(tokens1).concat([
|
23522
23522
|
token
|
@@ -23535,7 +23535,7 @@ function indent(str, spaces) {
|
|
23535
23535
|
if (contextKeys.some(function(el) {
|
23536
23536
|
return el.startsWith(name);
|
23537
23537
|
})) {
|
23538
|
-
return
|
23538
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
23539
23539
|
}
|
23540
23540
|
if (dateTimeIdentifiers.some(function(el) {
|
23541
23541
|
return el === name;
|
@@ -23554,9 +23554,9 @@ function indent(str, spaces) {
|
|
23554
23554
|
if (dateTimeIdentifiers.some(function(el) {
|
23555
23555
|
return el.startsWith(name);
|
23556
23556
|
})) {
|
23557
|
-
return
|
23557
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
23558
23558
|
}
|
23559
|
-
return
|
23559
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
23560
23560
|
v: nextMatch1
|
23561
23561
|
};
|
23562
23562
|
};
|
@@ -27432,17 +27432,14 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
27432
27432
|
};
|
27433
27433
|
const executePinsList = async (pinsSettingsList, context)=>{
|
27434
27434
|
let previous = {};
|
27435
|
-
const steps = [];
|
27436
27435
|
// parcourir tous les pins
|
27437
27436
|
for(let i = 0; i < pinsSettingsList.length; i++){
|
27438
27437
|
const settings = pinsSettingsList[i];
|
27439
27438
|
try {
|
27440
27439
|
previous = await executePins(settings, _extends({}, context, {
|
27441
27440
|
previous,
|
27442
|
-
steps,
|
27443
27441
|
parent: {
|
27444
27442
|
previous: context.previous,
|
27445
|
-
steps: context.steps,
|
27446
27443
|
parent: context.parent
|
27447
27444
|
}
|
27448
27445
|
}));
|
@@ -27452,10 +27449,6 @@ const executePinsList = async (pinsSettingsList, context)=>{
|
|
27452
27449
|
}
|
27453
27450
|
throw error;
|
27454
27451
|
}
|
27455
|
-
steps[i] = {
|
27456
|
-
name: settings.name,
|
27457
|
-
result: previous
|
27458
|
-
};
|
27459
27452
|
}
|
27460
27453
|
return previous;
|
27461
27454
|
};
|
@@ -77137,7 +77130,6 @@ let LLMService = class LLMService {
|
|
77137
77130
|
previous,
|
77138
77131
|
parent: {
|
77139
77132
|
previous: context.previous,
|
77140
|
-
steps: context.steps,
|
77141
77133
|
parent: context.parent
|
77142
77134
|
}
|
77143
77135
|
}));
|
package/index.esm2.js
CHANGED
@@ -23489,14 +23489,14 @@ function indent(str, spaces) {
|
|
23489
23489
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23490
23490
|
// match is required
|
23491
23491
|
if (!match) {
|
23492
|
-
return
|
23492
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
23493
23493
|
v: nextMatch1
|
23494
23494
|
};
|
23495
23495
|
}
|
23496
23496
|
var token = match.token, offset = match.offset;
|
23497
23497
|
i1 += offset;
|
23498
23498
|
if (token === " ") {
|
23499
|
-
return
|
23499
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23500
23500
|
}
|
23501
23501
|
tokens1 = _to_consumable_array$y(tokens1).concat([
|
23502
23502
|
token
|
@@ -23515,7 +23515,7 @@ function indent(str, spaces) {
|
|
23515
23515
|
if (contextKeys.some(function(el) {
|
23516
23516
|
return el.startsWith(name);
|
23517
23517
|
})) {
|
23518
|
-
return
|
23518
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23519
23519
|
}
|
23520
23520
|
if (dateTimeIdentifiers.some(function(el) {
|
23521
23521
|
return el === name;
|
@@ -23534,9 +23534,9 @@ function indent(str, spaces) {
|
|
23534
23534
|
if (dateTimeIdentifiers.some(function(el) {
|
23535
23535
|
return el.startsWith(name);
|
23536
23536
|
})) {
|
23537
|
-
return
|
23537
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
23538
23538
|
}
|
23539
|
-
return
|
23539
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
23540
23540
|
v: nextMatch1
|
23541
23541
|
};
|
23542
23542
|
};
|
@@ -27412,17 +27412,14 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
27412
27412
|
};
|
27413
27413
|
const executePinsList = async (pinsSettingsList, context)=>{
|
27414
27414
|
let previous = {};
|
27415
|
-
const steps = [];
|
27416
27415
|
// parcourir tous les pins
|
27417
27416
|
for(let i = 0; i < pinsSettingsList.length; i++){
|
27418
27417
|
const settings = pinsSettingsList[i];
|
27419
27418
|
try {
|
27420
27419
|
previous = await executePins(settings, _extends({}, context, {
|
27421
27420
|
previous,
|
27422
|
-
steps,
|
27423
27421
|
parent: {
|
27424
27422
|
previous: context.previous,
|
27425
|
-
steps: context.steps,
|
27426
27423
|
parent: context.parent
|
27427
27424
|
}
|
27428
27425
|
}));
|
@@ -27432,10 +27429,6 @@ const executePinsList = async (pinsSettingsList, context)=>{
|
|
27432
27429
|
}
|
27433
27430
|
throw error;
|
27434
27431
|
}
|
27435
|
-
steps[i] = {
|
27436
|
-
name: settings.name,
|
27437
|
-
result: previous
|
27438
|
-
};
|
27439
27432
|
}
|
27440
27433
|
return previous;
|
27441
27434
|
};
|
@@ -77117,7 +77110,6 @@ let LLMService = class LLMService {
|
|
77117
77110
|
previous,
|
77118
77111
|
parent: {
|
77119
77112
|
previous: context.previous,
|
77120
|
-
steps: context.steps,
|
77121
77113
|
parent: context.parent
|
77122
77114
|
}
|
77123
77115
|
}));
|