@cline/shared 0.0.56-nightly.1783135013 → 0.0.57

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.
@@ -1,6 +1,12 @@
1
1
  export declare function formatFileContentBlock(path: string, content: string): string;
2
2
  export declare function formatUserInputBlock(input: string, mode?: "act" | "plan" | "yolo"): string;
3
3
  export declare function formatUserCommandBlock(input: string, slash: string): string;
4
+ /**
5
+ * Recovers the agent mode a persisted user message was sent in from its
6
+ * <user_input mode="..."> wrapper. Returns undefined when the input isn't
7
+ * wrapped (plain text, user_command envelopes, older transcripts).
8
+ */
9
+ export declare function parseUserInputMode(input?: string): "act" | "plan" | "yolo" | undefined;
4
10
  /**
5
11
  * Marks the exact point in the conversation where the user switched between
6
12
  * plan and act modes. Prepended to the first user message sent after the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cline/shared",
3
- "version": "0.0.56-nightly.1783135013",
3
+ "version": "0.0.57",
4
4
  "description": "Shared utilities, types, and schemas for Cline packages",
5
5
  "repository": {
6
6
  "type": "git",