@modelprofile.com/mcp-crossharness 5.0.0

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.
@@ -0,0 +1,34 @@
1
+ {
2
+ "@git.zone/cli": {
3
+ "schemaVersion": 2,
4
+ "projectType": "npm",
5
+ "module": {
6
+ "githost": "code.foss.global",
7
+ "gitscope": "modelprofile.com",
8
+ "gitrepo": "mcp-crossharness",
9
+ "description": "Connection-first MCP server for explicit OpenCode HTTP and Codex WebSocket session servers",
10
+ "npmPackagename": "@modelprofile.com/mcp-crossharness",
11
+ "license": "MIT",
12
+ "projectDomain": "modelprofile.com"
13
+ },
14
+ "release": {
15
+ "targets": {
16
+ "git": {
17
+ "enabled": true,
18
+ "remote": "origin",
19
+ "pushBranch": true,
20
+ "pushTags": true
21
+ },
22
+ "npm": {
23
+ "enabled": true,
24
+ "registries": [
25
+ "https://verdaccio.lossless.digital",
26
+ "https://registry.npmjs.org"
27
+ ],
28
+ "accessLevel": "public",
29
+ "alreadyPublished": "success"
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
package/cli.js ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ process.env.CLI_CALL = 'true';
3
+ const cliTool = await import('./dist_ts/index.js');
4
+ cliTool.runCli();
@@ -0,0 +1,8 @@
1
+ /**
2
+ * autocreated commitinfo by @push.rocks/commitinfo
3
+ */
4
+ export declare const commitinfo: {
5
+ name: string;
6
+ version: string;
7
+ description: string;
8
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * autocreated commitinfo by @push.rocks/commitinfo
3
+ */
4
+ export const commitinfo = {
5
+ name: '@modelprofile.com/mcp-crossharness',
6
+ version: '5.0.0',
7
+ description: 'Connection-first MCP server for explicit OpenCode HTTP and Codex WebSocket session servers'
8
+ };
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxvQ0FBb0M7SUFDMUMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLDRGQUE0RjtDQUMxRyxDQUFBIn0=
@@ -0,0 +1,66 @@
1
+ import type * as interfaces from './interfaces.js';
2
+ export declare class CodexConnection implements interfaces.IHarnessConnection {
3
+ readonly connectionId: string;
4
+ readonly serverUrl: string;
5
+ readonly directory: string;
6
+ private onClosing?;
7
+ private onClosed?;
8
+ readonly harness: "codex";
9
+ state: interfaces.TConnectionState;
10
+ private connectedAt;
11
+ private serverVersion;
12
+ private socket;
13
+ private requestCounter;
14
+ private pendingRequests;
15
+ private pendingTurns;
16
+ private threadQueues;
17
+ private activeThreads;
18
+ private queuedSends;
19
+ private queuedSendsByThread;
20
+ private connectStarted;
21
+ constructor(connectionId: string, serverUrl: string, directory: string, onClosing?: (() => void) | undefined, onClosed?: (() => void) | undefined);
22
+ connect(): Promise<void>;
23
+ getInfo(): interfaces.IConnectionInfo;
24
+ getStatus(): Promise<interfaces.IConnectionStatus>;
25
+ listChats(limitArg: number): Promise<interfaces.IChatSummary[]>;
26
+ readChat(chatIdArg: string, limitArg: number, maxCharsArg: number): Promise<interfaces.IChatTranscript>;
27
+ sendMessage(chatIdArg: string, messageArg: string, timeoutSecondsArg: number, signalArg?: AbortSignal): Promise<interfaces.ISendResult>;
28
+ private sendMessageInner;
29
+ private enqueueThreadSend;
30
+ close(reasonArg?: string): Promise<void>;
31
+ private readThread;
32
+ private parseThread;
33
+ private assertThreadIdentity;
34
+ private request;
35
+ private sendNotification;
36
+ private sendFrame;
37
+ private handleMessage;
38
+ private handleNotification;
39
+ private handleTurnNotification;
40
+ private bindTurnId;
41
+ private extractTurnId;
42
+ private completeTurn;
43
+ private failTurn;
44
+ private timeoutTurn;
45
+ private cancelActiveTurn;
46
+ private timeoutQueuedSend;
47
+ private cancelThreadSend;
48
+ private drainThreadQueue;
49
+ private appendTurnDelta;
50
+ private remainingSendMs;
51
+ private clearQueueEntryResources;
52
+ private clearPendingRequestResources;
53
+ private abortError;
54
+ private assertChatId;
55
+ private bufferEarlyNotification;
56
+ private normalizeEarlyNotification;
57
+ private failUncertainTurnStart;
58
+ private rejectTimedOutTurnIfSafe;
59
+ private settleTurn;
60
+ private respondToServerRequest;
61
+ private handleSocketFailure;
62
+ private handleSocketClose;
63
+ private finishClosed;
64
+ private rejectAll;
65
+ private closeSocket;
66
+ }