@skastr0/prism-darwin-x64 0.3.0 → 0.3.2

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.2",
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.2",
24
24
  "effect": "^3.21.1",
25
25
  "typescript": "^5.8.3",
26
26
  "zod": "4.4.3"
@@ -557,8 +557,8 @@ export declare const LOWERER_CAPABILITIES: {
557
557
  };
558
558
  readonly generatedTools: {
559
559
  readonly kind: "generated-mcp";
560
- readonly path: "<generated-plugin>/.mcp.json";
561
- readonly summary: "Canonical tools lower through the shared Streamable HTTP MCP daemon.";
560
+ readonly path: "<prism-home>/runtime/mcp/<plugin>/server.mjs";
561
+ readonly summary: "Canonical tools lower to the PRISM_HOME union MCP daemon fronted by the stdio shim.";
562
562
  };
563
563
  readonly hooks: {
564
564
  readonly kind: "native-plugin-bundle";
@@ -566,9 +566,9 @@ export declare const LOWERER_CAPABILITIES: {
566
566
  readonly summary: "Hooks are bundled in Grok plugin format.";
567
567
  };
568
568
  readonly mcpConfig: {
569
- readonly kind: "native-plugin-bundle";
570
- readonly path: "<generated-plugin>/.mcp.json";
571
- readonly summary: "Generated plugin-local MCP config points at Prism's Streamable HTTP daemon.";
569
+ readonly kind: "config-patch";
570
+ readonly path: "<grok-root>/config.toml#mcp_servers";
571
+ readonly summary: "Compile patches a managed [mcp_servers] stdio-shim region; grok does not resolve plugin-bundle .mcp.json files.";
572
572
  };
573
573
  readonly agentConfig: {
574
574
  readonly kind: "native-plugin-bundle";
@@ -40,6 +40,12 @@ export interface WorkflowHarnessDetectionSpec {
40
40
  * run with "no concrete model for workflow worker X".
41
41
  */
42
42
  readonly defaultModel: string;
43
+ /**
44
+ * Inference provider passed alongside `defaultModel` when the harness
45
+ * multiplexes providers (hermes `--provider`). Omitted for single-provider
46
+ * harnesses.
47
+ */
48
+ readonly defaultProvider?: string;
43
49
  }
44
50
  export interface WorkflowHarnessProbeRunResult {
45
51
  readonly exitCode: number | null;
@@ -78,6 +84,8 @@ export declare const isWorkflowHarnessId: (id: string) => id is WorkflowHarnessI
78
84
  * (src/workflows.ts) — do not hand-maintain a second per-harness default list.
79
85
  */
80
86
  export declare const workflowHarnessDefaultModel: (harness: string) => string | undefined;
87
+ /** Provider paired with `workflowHarnessDefaultModel` for provider-multiplexing harnesses (hermes). */
88
+ export declare const workflowHarnessDefaultProvider: (harness: string) => string | undefined;
81
89
  export declare const workflowHarnessIdsForHarnesses: (harnesses: ReadonlyArray<HarnessId>) => WorkflowHarnessId[];
82
90
  export declare const detectWorkflowHarness: (harness: WorkflowHarnessId, options?: WorkflowHarnessDetectionOptions) => Promise<WorkflowHarnessDetection>;
83
91
  export declare const detectWorkflowHarnesses: (options?: WorkflowHarnessDetectionOptions & {
@@ -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;
@@ -85,6 +85,8 @@ export declare class WorkflowModelResolutionError extends Error {
85
85
  export type WorkflowTaskModelResolutionSource = "task" | "profile" | "default" | "cli-fallback";
86
86
  export interface WorkflowTaskModelResolution {
87
87
  readonly model: string;
88
+ /** Harness-side inference provider (e.g. hermes `--provider xai-oauth`), from the modelspace target or harness default. */
89
+ readonly provider?: string;
88
90
  readonly source: WorkflowTaskModelResolutionSource;
89
91
  }
90
92
  export declare const resolveWorkflowTaskModelResolution: (task: AnyWorkflowTask, options?: {