@lzdi/pty-remote-protocol 0.1.4 → 0.1.6
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/package.json +1 -1
- package/src/protocol.ts +0 -14
- package/src/runtime-types.ts +0 -2
package/package.json
CHANGED
package/src/protocol.ts
CHANGED
|
@@ -53,7 +53,6 @@ export type CliCommandName =
|
|
|
53
53
|
| 'stop-message'
|
|
54
54
|
| 'reset-session'
|
|
55
55
|
| 'get-runtime-snapshot'
|
|
56
|
-
| 'get-older-messages'
|
|
57
56
|
| 'pick-project-directory'
|
|
58
57
|
| 'list-project-conversations'
|
|
59
58
|
| 'list-managed-pty-handles'
|
|
@@ -79,10 +78,6 @@ export interface CliCommandPayloadMap {
|
|
|
79
78
|
'stop-message': Record<string, never>;
|
|
80
79
|
'reset-session': Record<string, never>;
|
|
81
80
|
'get-runtime-snapshot': Record<string, never>;
|
|
82
|
-
'get-older-messages': {
|
|
83
|
-
beforeMessageId?: string;
|
|
84
|
-
maxMessages?: number;
|
|
85
|
-
};
|
|
86
81
|
'pick-project-directory': Record<string, never>;
|
|
87
82
|
'list-project-conversations': {
|
|
88
83
|
cwd: string;
|
|
@@ -109,14 +104,6 @@ export interface GetRuntimeSnapshotResultPayload {
|
|
|
109
104
|
snapshot: RuntimeSnapshot;
|
|
110
105
|
}
|
|
111
106
|
|
|
112
|
-
export interface GetOlderMessagesResultPayload {
|
|
113
|
-
messages: ChatMessage[];
|
|
114
|
-
providerId: ProviderId | null;
|
|
115
|
-
conversationKey: string | null;
|
|
116
|
-
sessionId: string | null;
|
|
117
|
-
hasOlderMessages: boolean;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
107
|
export interface PickProjectDirectoryResultPayload {
|
|
121
108
|
cwd: string;
|
|
122
109
|
label: string;
|
|
@@ -164,7 +151,6 @@ export interface CliCommandResultPayloadMap {
|
|
|
164
151
|
'stop-message': null;
|
|
165
152
|
'reset-session': null;
|
|
166
153
|
'get-runtime-snapshot': GetRuntimeSnapshotResultPayload;
|
|
167
|
-
'get-older-messages': GetOlderMessagesResultPayload;
|
|
168
154
|
'pick-project-directory': PickProjectDirectoryResultPayload;
|
|
169
155
|
'list-project-conversations': ListProjectSessionsResultPayload;
|
|
170
156
|
'list-managed-pty-handles': ListManagedPtyHandlesResultPayload;
|
package/src/runtime-types.ts
CHANGED
|
@@ -8,8 +8,6 @@ export const PROVIDER_LABELS: Record<ProviderId, string> = {
|
|
|
8
8
|
codex: 'codex'
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
export const PROVIDER_ORDER: ProviderId[] = ['claude', 'codex'];
|
|
12
|
-
|
|
13
11
|
export const BUILTIN_SLASH_COMMANDS: Record<ProviderId, string[]> = {
|
|
14
12
|
claude: ['clear', 'compact', 'context', 'cost', 'doctor', 'help', 'plan', 'stats', 'status'],
|
|
15
13
|
codex: ['review', 'new', 'compat', 'undo', 'diff', 'status']
|