@nodaro/sdk 1.22.0 → 1.23.0

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.cjs CHANGED
@@ -617,11 +617,12 @@ var AppsResource = class {
617
617
  /**
618
618
  * Trigger an app run with the given input values. The keys in `inputs` must
619
619
  * match the app's input-schema field names (see `get(slug).inputSchema`).
620
+ * `opts.inputOverrides` adds raw per-node overrides (see {@link RunAppOptions}).
620
621
  * Returns the execution-id for status polling via client.executions.get().
621
622
  */
622
- run(slug, inputs = {}) {
623
+ run(slug, inputs = {}, opts = {}) {
623
624
  return this.client.request("POST", `/v1/app/${encodeURIComponent(slug)}/run`, {
624
- body: { inputs }
625
+ body: { inputs, ...opts.inputOverrides ? { inputOverrides: opts.inputOverrides } : {} }
625
626
  });
626
627
  }
627
628
  /** List past runs for an app (the caller must own the app or the runs). */
@@ -2614,7 +2615,7 @@ var WorkspacesResource = class {
2614
2615
  return this.client.request("POST", "/v1/workspaces/join", { body: { code } });
2615
2616
  }
2616
2617
  };
2617
- var SDK_VERSION = "1.22.0" ;
2618
+ var SDK_VERSION = "1.23.0" ;
2618
2619
  var CLIENT_HEADER = "X-Nodaro-Client";
2619
2620
  var isBrowser = () => typeof window !== "undefined" && typeof window.document !== "undefined";
2620
2621
  var NodaroClient = class _NodaroClient {
@@ -2899,6 +2900,14 @@ Object.defineProperty(exports, "OBJECT_ATTACH_COLUMNS", {
2899
2900
  enumerable: true,
2900
2901
  get: function () { return shared.OBJECT_ATTACH_COLUMNS; }
2901
2902
  });
2903
+ Object.defineProperty(exports, "PROMPT_PREFIX_KEY", {
2904
+ enumerable: true,
2905
+ get: function () { return shared.PROMPT_PREFIX_KEY; }
2906
+ });
2907
+ Object.defineProperty(exports, "PROMPT_SUFFIX_KEY", {
2908
+ enumerable: true,
2909
+ get: function () { return shared.PROMPT_SUFFIX_KEY; }
2910
+ });
2902
2911
  Object.defineProperty(exports, "SURROUND_DIRECTIONS", {
2903
2912
  enumerable: true,
2904
2913
  get: function () { return shared.SURROUND_DIRECTIONS; }