@asaidimu/utils-workspace 6.6.8 → 6.6.9

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.d.mts CHANGED
@@ -3104,6 +3104,12 @@ declare class TurnBuilder {
3104
3104
  withRole(role: string): TurnBuilder;
3105
3105
  withModel(model: string): TurnBuilder;
3106
3106
  build(): Turn;
3107
+ /**
3108
+ * Builds a `TurnNode` from the current turn.
3109
+ * The node will contain the turn as its only version,
3110
+ * marked as the active version, with an empty children map.
3111
+ */
3112
+ node(): TurnNode;
3107
3113
  }
3108
3114
 
3109
3115
  declare class DefaultPromptBuilder implements PromptBuilder {
package/index.d.ts CHANGED
@@ -3104,6 +3104,12 @@ declare class TurnBuilder {
3104
3104
  withRole(role: string): TurnBuilder;
3105
3105
  withModel(model: string): TurnBuilder;
3106
3106
  build(): Turn;
3107
+ /**
3108
+ * Builds a `TurnNode` from the current turn.
3109
+ * The node will contain the turn as its only version,
3110
+ * marked as the active version, with an empty children map.
3111
+ */
3112
+ node(): TurnNode;
3107
3113
  }
3108
3114
 
3109
3115
  declare class DefaultPromptBuilder implements PromptBuilder {