@agentfield/sdk 0.1.92-rc.4 → 0.1.92-rc.6

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.js CHANGED
@@ -27,8 +27,13 @@ import { readFile } from 'fs/promises';
27
27
 
28
28
  var __defProp = Object.defineProperty;
29
29
  var __getOwnPropNames = Object.getOwnPropertyNames;
30
- var __esm = (fn, res) => function __init() {
31
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
30
+ var __esm = (fn, res, err) => function __init() {
31
+ if (err) throw err[0];
32
+ try {
33
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
34
+ } catch (e) {
35
+ throw err = [e], e;
36
+ }
32
37
  };
33
38
  var __export = (target, all) => {
34
39
  for (var name in all)
@@ -813,6 +818,7 @@ var init_runner = __esm({
813
818
  constructor(config) {
814
819
  this.config = config;
815
820
  }
821
+ config;
816
822
  async run(prompt, options = {}) {
817
823
  const { schema, ...rest } = options;
818
824
  const resolved = this.resolveOptions(this.config, rest);