@skastr0/prism-linux-arm64 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 +0 -0
- package/package.json +2 -2
- package/types/workflow-store.d.ts +9 -0
package/bin/prism
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skastr0/prism-linux-arm64",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Prism standalone CLI binary for Linux arm64.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
21
21
|
"@opencode-ai/plugin": "^1.15.13",
|
|
22
|
-
"@skastr0/prism-sdk": "0.3.
|
|
22
|
+
"@skastr0/prism-sdk": "0.3.1",
|
|
23
23
|
"effect": "^3.21.1",
|
|
24
24
|
"typescript": "^5.8.3",
|
|
25
25
|
"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;
|