// src/oauth-popup-types.ts
var OAUTH_POPUP_MESSAGE_TYPE = "executor:oauth-result";
var isOAuthPopupResult = (value) => typeof value === "object" && value !== null && value.type === OAUTH_POPUP_MESSAGE_TYPE;

// src/api-errors.ts
import { Schema } from "effect";
var InternalError = class extends Schema.TaggedErrorClass()(
  "InternalError",
  {
    /** Opaque correlation id for backend lookup (Sentry event id, log line, etc.). */
    traceId: Schema.String
  },
  { httpApiStatus: 500 }
) {
};

export {
  OAUTH_POPUP_MESSAGE_TYPE,
  isOAuthPopupResult,
  InternalError
};
//# sourceMappingURL=chunk-B4YGTZF6.js.map