fix(pi): keep session command failures structural #14235
Closedkvnloo(GitHub profile, opens in a new tab)wants to merge 10 commits into
t3code/pi-provider-v1 fromrefs/pull/14235/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
- packages/contracts/src/provider.ts lines 155 to 155OutdatedResolvedby kvnloo(GitHub profile, opens in a new tab)@@ -149,4 +149,7 @@149149150150 export class ProviderSessionCommandError extends Schema.TaggedError<ProviderSessionCommandError>()(151151 "ProviderSessionCommandError",152- { threadId: ThreadId, detail: Schema.String },152+ {153+ threadId: ThreadId,154+ command: Schema.Literals(["copy", "export", "share"]),155+ cause: Schema.optional(Schema.Defect()),
juliusmarminge closed this
Sign in to join this conversation.
macroscopeapp[bot](GitHub profile, opens in a new tab) reviewed