opencode-plugin-flow 4.3.1 → 4.3.3

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.
@@ -22,11 +22,13 @@ export declare function summarizeSession(session: Session | null): {
22
22
  status: string;
23
23
  summary: string;
24
24
  nextAction: string;
25
+ dataNote?: never;
25
26
  session?: never;
26
27
  } | {
27
28
  status: "completed" | "blocked" | "planning" | "ready" | "running";
28
29
  summary: string;
29
30
  nextAction: string;
31
+ dataNote: string;
30
32
  session: {
31
33
  id: string;
32
34
  goal: string;
@@ -26,7 +26,10 @@ export declare class UnreadableFlowSessionError extends Error {
26
26
  }
27
27
  export declare function loadSession(worktree: string): Promise<Session | null>;
28
28
  export declare function quarantineUnreadableSession(worktree: string): Promise<string | null>;
29
+ export declare function flowSessionProgress(session: Session): {
30
+ completed: number;
31
+ total: number;
32
+ };
29
33
  export declare function refreshFlowInstructionFile(worktree: string): Promise<void>;
30
34
  export declare function saveSession(worktree: string, session: Session): Promise<Session>;
31
35
  export declare function archiveAndClearSession(worktree: string, session: Session): Promise<void>;
32
- export declare function isAbsoluteOrTraversal(value: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-plugin-flow",
3
- "version": "4.3.1",
3
+ "version": "4.3.3",
4
4
  "description": "Stateful planning and execution workflow plugin for OpenCode",
5
5
  "type": "module",
6
6
  "repository": {
@@ -48,7 +48,7 @@
48
48
  "author": "Douwe de Vries",
49
49
  "license": "MIT",
50
50
  "engines": {
51
- "node": ">=20"
51
+ "node": ">=20.12.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@opencode-ai/plugin": ">=1.17.3 <2"