mirror of
https://github.com/davidkaya/aryx.git
synced 2026-11-29 20:12:39 +01:00
fix: stabilize cross-platform CI checks
Use the repository's default Electron import pattern in the MCP OAuth service, make the attachment-path test platform-neutral, and ensure the hook runner cwd/env test drains stdin before asserting shell output. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
6321f9192d
commit
036fb4d4fa
3 files changed
+8
-5
No files matched your search
@@ -1,12 +1,14 @@
|
||||
import { randomBytes, createHash } from 'node:crypto';
|
||||
import { createServer, type Server, type IncomingMessage, type ServerResponse } from 'node:http';
|
||||
|
||||
import { shell } from 'electron';
|
||||
import electron from 'electron';
|
||||
|
||||
import type { McpOauthStaticClientConfig } from '@shared/domain/mcpAuth';
|
||||
|
||||
import { storeToken, buildWellKnownUrl, buildWellKnownUrlFallback, type McpOAuthToken } from './mcpTokenStore';
|
||||
|
||||
const { shell } = electron;
|
||||
|
||||
/* ── Public API ──────────────────────────────────────────────── */
|
||||
|
||||
export interface McpOAuthFlowOptions {
|
||||
|
||||
Reference in new issue
Block a user