@skastr0/prism-darwin-x64 0.3.0 → 0.3.1

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/bin/prism CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skastr0/prism-darwin-x64",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "Prism standalone CLI binary for macOS x64.",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  "@modelcontextprotocol/sdk": "1.29.0",
21
21
  "@opencode-ai/plugin": "^1.15.13",
22
22
  "@opentui/core-darwin-x64": "0.4.1",
23
- "@skastr0/prism-sdk": "0.3.0",
23
+ "@skastr0/prism-sdk": "0.3.1",
24
24
  "effect": "^3.21.1",
25
25
  "typescript": "^5.8.3",
26
26
  "zod": "4.4.3"
@@ -142,6 +142,15 @@ export interface WorkflowRunRecord {
142
142
  readonly heartbeatAt?: string;
143
143
  }
144
144
  export type WorkflowRunStatus = "running" | "completed" | "failed" | "escalated" | "unknown";
145
+ /**
146
+ * A run's persisted status can read "completed" while carrying isolated task failures: the
147
+ * dynamic runtime's fault-isolation contract (PQ-166) lets an author's `run` program finish
148
+ * successfully after recovering from a task that itself failed or escalated (e.g. via
149
+ * `Effect.either`). That is not a caller-visible success — a caller gating on `$?` (the CLI)
150
+ * must still see the partial failure. Success requires both: the run itself reached
151
+ * "completed", and every recorded task did too.
152
+ */
153
+ export declare function isWorkflowRunOutcomeSuccessful(runStatus: WorkflowRunStatus, taskStatuses: ReadonlyArray<WorkflowRunTaskProgressStatus>): boolean;
145
154
  export interface WorkflowEventRecord {
146
155
  readonly sequence: number;
147
156
  readonly runId: string;