@workglow/tasks 0.0.123 → 0.0.125

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 (33) hide show
  1. package/dist/browser.js +12 -12
  2. package/dist/browser.js.map +15 -15
  3. package/dist/bun.js +12 -12
  4. package/dist/bun.js.map +15 -15
  5. package/dist/node.js +12 -12
  6. package/dist/node.js.map +15 -15
  7. package/dist/task/FetchUrlTask.d.ts +1 -1
  8. package/dist/task/FetchUrlTask.d.ts.map +1 -1
  9. package/dist/task/mcp/McpListTask.d.ts +1 -1
  10. package/dist/task/mcp/McpListTask.d.ts.map +1 -1
  11. package/dist/task/mcp/McpPromptGetTask.d.ts +1 -1
  12. package/dist/task/mcp/McpPromptGetTask.d.ts.map +1 -1
  13. package/dist/task/mcp/McpToolCallTask.d.ts +1 -1
  14. package/dist/task/mcp/McpToolCallTask.d.ts.map +1 -1
  15. package/dist/task/string/StringIncludesTask.d.ts +1 -1
  16. package/dist/task/string/StringIncludesTask.d.ts.map +1 -1
  17. package/dist/task/string/StringJoinTask.d.ts +1 -1
  18. package/dist/task/string/StringJoinTask.d.ts.map +1 -1
  19. package/dist/task/string/StringLengthTask.d.ts +1 -1
  20. package/dist/task/string/StringLengthTask.d.ts.map +1 -1
  21. package/dist/task/string/StringLowerCaseTask.d.ts +1 -1
  22. package/dist/task/string/StringLowerCaseTask.d.ts.map +1 -1
  23. package/dist/task/string/StringReplaceTask.d.ts +1 -1
  24. package/dist/task/string/StringReplaceTask.d.ts.map +1 -1
  25. package/dist/task/string/StringSliceTask.d.ts +1 -1
  26. package/dist/task/string/StringSliceTask.d.ts.map +1 -1
  27. package/dist/task/string/StringTemplateTask.d.ts +1 -1
  28. package/dist/task/string/StringTemplateTask.d.ts.map +1 -1
  29. package/dist/task/string/StringTrimTask.d.ts +1 -1
  30. package/dist/task/string/StringTrimTask.d.ts.map +1 -1
  31. package/dist/task/string/StringUpperCaseTask.d.ts +1 -1
  32. package/dist/task/string/StringUpperCaseTask.d.ts.map +1 -1
  33. package/package.json +9 -9
package/dist/browser.js CHANGED
@@ -6808,7 +6808,7 @@ class McpPromptGetTask extends Task23 {
6808
6808
  return this.config?.outputSchema ?? fallbackOutputSchema;
6809
6809
  }
6810
6810
  _schemasDiscovering = false;
6811
- async discoverSchemas(signal) {
6811
+ async discoverSchemas(_signal) {
6812
6812
  if (this.config.inputSchema)
6813
6813
  return;
6814
6814
  if (this._schemasDiscovering)
@@ -7310,7 +7310,7 @@ class McpToolCallTask extends Task26 {
7310
7310
  return this.config?.outputSchema ?? fallbackOutputSchema2;
7311
7311
  }
7312
7312
  _schemasDiscovering = false;
7313
- async discoverSchemas(signal) {
7313
+ async discoverSchemas(_signal) {
7314
7314
  if (this.config.inputSchema && this.config.outputSchema)
7315
7315
  return;
7316
7316
  if (this._schemasDiscovering)
@@ -7474,7 +7474,7 @@ class StringIncludesTask extends Task28 {
7474
7474
  static outputSchema() {
7475
7475
  return outputSchema24;
7476
7476
  }
7477
- async executeReactive(input2, output, _context) {
7477
+ async executeReactive(input2, _output, _context) {
7478
7478
  return { result: input2.value.includes(input2.search) };
7479
7479
  }
7480
7480
  }
@@ -7528,7 +7528,7 @@ class StringJoinTask extends Task29 {
7528
7528
  static outputSchema() {
7529
7529
  return outputSchema25;
7530
7530
  }
7531
- async executeReactive(input2, output, _context) {
7531
+ async executeReactive(input2, _output, _context) {
7532
7532
  const separator = input2.separator ?? "";
7533
7533
  return { result: input2.values.join(separator) };
7534
7534
  }
@@ -7576,7 +7576,7 @@ class StringLengthTask extends Task30 {
7576
7576
  static outputSchema() {
7577
7577
  return outputSchema26;
7578
7578
  }
7579
- async executeReactive(input2, output, _context) {
7579
+ async executeReactive(input2, _output, _context) {
7580
7580
  return { result: input2.value.length };
7581
7581
  }
7582
7582
  }
@@ -7623,7 +7623,7 @@ class StringLowerCaseTask extends Task31 {
7623
7623
  static outputSchema() {
7624
7624
  return outputSchema27;
7625
7625
  }
7626
- async executeReactive(input2, output, _context) {
7626
+ async executeReactive(input2, _output, _context) {
7627
7627
  return { result: input2.value.toLowerCase() };
7628
7628
  }
7629
7629
  }
@@ -7680,7 +7680,7 @@ class StringReplaceTask extends Task32 {
7680
7680
  static outputSchema() {
7681
7681
  return outputSchema28;
7682
7682
  }
7683
- async executeReactive(input2, output, _context) {
7683
+ async executeReactive(input2, _output, _context) {
7684
7684
  return { result: input2.value.replaceAll(input2.search, input2.replace) };
7685
7685
  }
7686
7686
  }
@@ -7737,7 +7737,7 @@ class StringSliceTask extends Task33 {
7737
7737
  static outputSchema() {
7738
7738
  return outputSchema29;
7739
7739
  }
7740
- async executeReactive(input2, output, _context) {
7740
+ async executeReactive(input2, _output, _context) {
7741
7741
  return { result: input2.value.slice(input2.start, input2.end) };
7742
7742
  }
7743
7743
  }
@@ -7790,7 +7790,7 @@ class StringTemplateTask extends Task34 {
7790
7790
  static outputSchema() {
7791
7791
  return outputSchema30;
7792
7792
  }
7793
- async executeReactive(input2, output, _context) {
7793
+ async executeReactive(input2, _output, _context) {
7794
7794
  let result = input2.template;
7795
7795
  for (const [key, value] of Object.entries(input2.values)) {
7796
7796
  result = result.replaceAll(`{{${key}}}`, String(value));
@@ -7841,7 +7841,7 @@ class StringTrimTask extends Task35 {
7841
7841
  static outputSchema() {
7842
7842
  return outputSchema31;
7843
7843
  }
7844
- async executeReactive(input2, output, _context) {
7844
+ async executeReactive(input2, _output, _context) {
7845
7845
  return { result: input2.value.trim() };
7846
7846
  }
7847
7847
  }
@@ -7888,7 +7888,7 @@ class StringUpperCaseTask extends Task36 {
7888
7888
  static outputSchema() {
7889
7889
  return outputSchema32;
7890
7890
  }
7891
- async executeReactive(input2, output, _context) {
7891
+ async executeReactive(input2, _output, _context) {
7892
7892
  return { result: input2.value.toUpperCase() };
7893
7893
  }
7894
7894
  }
@@ -9621,4 +9621,4 @@ export {
9621
9621
  ArrayTask
9622
9622
  };
9623
9623
 
9624
- //# debugId=6DBC608C0A83C83164756E2164756E21
9624
+ //# debugId=C5DDB128FFF7127C64756E2164756E21