@quantiya/codevibe-codex-plugin 1.0.6 → 1.0.7
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/README.md +59 -106
- package/package.json +6 -9
- package/dist/approval-detector.d.ts +0 -38
- package/dist/approval-detector.d.ts.map +0 -1
- package/dist/approval-detector.js.map +0 -1
- package/dist/appsync-client.d.ts +0 -69
- package/dist/appsync-client.d.ts.map +0 -1
- package/dist/appsync-client.js.map +0 -1
- package/dist/auth-cli.d.ts +0 -11
- package/dist/auth-cli.d.ts.map +0 -1
- package/dist/auth-cli.js.map +0 -1
- package/dist/config.d.ts +0 -29
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js.map +0 -1
- package/dist/crypto-service.d.ts +0 -115
- package/dist/crypto-service.d.ts.map +0 -1
- package/dist/crypto-service.js.map +0 -1
- package/dist/event-mapper.d.ts +0 -39
- package/dist/event-mapper.d.ts.map +0 -1
- package/dist/event-mapper.js.map +0 -1
- package/dist/key-manager.d.ts +0 -87
- package/dist/key-manager.d.ts.map +0 -1
- package/dist/key-manager.js.map +0 -1
- package/dist/logger.d.ts +0 -2
- package/dist/logger.d.ts.map +0 -1
- package/dist/logger.js.map +0 -1
- package/dist/prompt-parser.d.ts +0 -3
- package/dist/prompt-parser.d.ts.map +0 -1
- package/dist/prompt-parser.js.map +0 -1
- package/dist/prompt-responder.d.ts +0 -18
- package/dist/prompt-responder.d.ts.map +0 -1
- package/dist/prompt-responder.js.map +0 -1
- package/dist/server.d.ts +0 -8
- package/dist/server.d.ts.map +0 -1
- package/dist/server.js.map +0 -1
- package/dist/session-id-cache.d.ts +0 -16
- package/dist/session-id-cache.d.ts.map +0 -1
- package/dist/session-id-cache.js.map +0 -1
- package/dist/session-log-watcher.d.ts +0 -61
- package/dist/session-log-watcher.d.ts.map +0 -1
- package/dist/session-log-watcher.js.map +0 -1
- package/dist/tmux-pane-observer.d.ts +0 -39
- package/dist/tmux-pane-observer.d.ts.map +0 -1
- package/dist/tmux-pane-observer.js.map +0 -1
- package/dist/token-storage.d.ts +0 -39
- package/dist/token-storage.d.ts.map +0 -1
- package/dist/token-storage.js.map +0 -1
- package/dist/types.d.ts +0 -158
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js.map +0 -1
package/dist/types.d.ts
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
export { EventType, EventSource, DeliveryStatus, Attachment, Event, CreateEventInput, UpdateEventStatusInput, SessionStatus, AgentType, Session, CreateSessionInput, UpdateSessionInput, EncryptedSessionKey, DeviceKey, KeyPair, DeviceIdentity, RegisterDeviceKeyInput, GrantSessionKeyInput, TokenData, } from '@quantiya/codevibe-core';
|
|
2
|
-
/**
|
|
3
|
-
* Top-level entry in Codex session log
|
|
4
|
-
*/
|
|
5
|
-
export interface CodexLogEntry {
|
|
6
|
-
timestamp: string;
|
|
7
|
-
type: 'session_meta' | 'event_msg' | 'response_item' | 'turn_context';
|
|
8
|
-
payload: any;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Session metadata (first entry in JSONL)
|
|
12
|
-
*/
|
|
13
|
-
export interface CodexSessionMeta {
|
|
14
|
-
id: string;
|
|
15
|
-
timestamp: string;
|
|
16
|
-
cwd: string;
|
|
17
|
-
originator: string;
|
|
18
|
-
cli_version: string;
|
|
19
|
-
instructions: string | null;
|
|
20
|
-
source: string;
|
|
21
|
-
model_provider: string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Event message types
|
|
25
|
-
*/
|
|
26
|
-
export interface CodexEventMsg {
|
|
27
|
-
type: 'user_message' | 'agent_message' | 'agent_reasoning' | 'token_count';
|
|
28
|
-
message?: string;
|
|
29
|
-
text?: string;
|
|
30
|
-
images?: string[];
|
|
31
|
-
info?: any;
|
|
32
|
-
rate_limits?: any;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Response item - function calls
|
|
36
|
-
*/
|
|
37
|
-
export interface CodexFunctionCall {
|
|
38
|
-
type: 'function_call';
|
|
39
|
-
name: string;
|
|
40
|
-
arguments: string;
|
|
41
|
-
call_id: string;
|
|
42
|
-
}
|
|
43
|
-
export interface CodexFunctionCallOutput {
|
|
44
|
-
type: 'function_call_output';
|
|
45
|
-
call_id: string;
|
|
46
|
-
output: string;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Response item - custom tool calls (file edits)
|
|
50
|
-
*/
|
|
51
|
-
export interface CodexCustomToolCall {
|
|
52
|
-
type: 'custom_tool_call';
|
|
53
|
-
status: string;
|
|
54
|
-
name: string;
|
|
55
|
-
call_id: string;
|
|
56
|
-
input: string;
|
|
57
|
-
}
|
|
58
|
-
export interface CodexCustomToolCallOutput {
|
|
59
|
-
type: 'custom_tool_call_output';
|
|
60
|
-
call_id: string;
|
|
61
|
-
output: string;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Turn context
|
|
65
|
-
*/
|
|
66
|
-
export interface CodexTurnContext {
|
|
67
|
-
cwd: string;
|
|
68
|
-
approval_policy: string;
|
|
69
|
-
sandbox_policy: {
|
|
70
|
-
type: string;
|
|
71
|
-
};
|
|
72
|
-
model: string;
|
|
73
|
-
summary: string;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Session state (in-memory tracking)
|
|
77
|
-
*/
|
|
78
|
-
export interface SessionState {
|
|
79
|
-
sessionId: string;
|
|
80
|
-
userId: string;
|
|
81
|
-
projectPath: string;
|
|
82
|
-
cwd: string;
|
|
83
|
-
createdAt: Date;
|
|
84
|
-
subscriptionActive: boolean;
|
|
85
|
-
metadata: Record<string, any>;
|
|
86
|
-
codexSessionId?: string;
|
|
87
|
-
codexLogFile?: string;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Pending tool call (for approval detection)
|
|
91
|
-
*/
|
|
92
|
-
export interface PendingToolCall {
|
|
93
|
-
callId: string;
|
|
94
|
-
name: string;
|
|
95
|
-
input: string;
|
|
96
|
-
filePath?: string;
|
|
97
|
-
diff?: string;
|
|
98
|
-
parsedInput?: any;
|
|
99
|
-
timestamp: number;
|
|
100
|
-
notificationSent: boolean;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Active interactive prompt detected from tmux or the timeout heuristic.
|
|
104
|
-
*/
|
|
105
|
-
export interface PendingInteractivePrompt {
|
|
106
|
-
promptId: string;
|
|
107
|
-
callId?: string;
|
|
108
|
-
kind: 'yes_no' | 'numbered' | 'text';
|
|
109
|
-
options: Array<{
|
|
110
|
-
number: string;
|
|
111
|
-
text: string;
|
|
112
|
-
}>;
|
|
113
|
-
submitMap: Record<string, string>;
|
|
114
|
-
promptText: string;
|
|
115
|
-
createdAt: number;
|
|
116
|
-
source: 'tmux' | 'heuristic';
|
|
117
|
-
requiresFollowUpText?: boolean;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Command execution result
|
|
121
|
-
*/
|
|
122
|
-
export interface CommandResult {
|
|
123
|
-
success: boolean;
|
|
124
|
-
output?: string;
|
|
125
|
-
error?: string;
|
|
126
|
-
exitCode?: number;
|
|
127
|
-
timedOut?: boolean;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* FileChange type
|
|
131
|
-
*/
|
|
132
|
-
export interface FileChange {
|
|
133
|
-
changeId: string;
|
|
134
|
-
sessionId: string;
|
|
135
|
-
filePath: string;
|
|
136
|
-
action: string;
|
|
137
|
-
diff?: string;
|
|
138
|
-
timestamp: string;
|
|
139
|
-
metadata?: Record<string, any>;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* GraphQL input for creating file changes
|
|
143
|
-
*/
|
|
144
|
-
export interface CreateFileChangeInput {
|
|
145
|
-
sessionId: string;
|
|
146
|
-
filePath: string;
|
|
147
|
-
action: string;
|
|
148
|
-
diff?: string;
|
|
149
|
-
metadata?: Record<string, any>;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Pre-signed URL response for downloading attachments
|
|
153
|
-
*/
|
|
154
|
-
export interface DownloadUrlResponse {
|
|
155
|
-
downloadUrl: string;
|
|
156
|
-
expiresAt: string;
|
|
157
|
-
}
|
|
158
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,SAAS,EACT,WAAW,EACX,cAAc,EACd,UAAU,EACV,KAAK,EACL,gBAAgB,EAChB,sBAAsB,EACtB,aAAa,EACb,SAAS,EACT,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,OAAO,EACP,cAAc,EACd,sBAAsB,EACtB,oBAAoB,EACpB,SAAS,GACV,MAAM,yBAAyB,CAAC;AAMjC;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,cAAc,GAAG,WAAW,GAAG,eAAe,GAAG,cAAc,CAAC;IACtE,OAAO,EAAE,GAAG,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,cAAc,GAAG,eAAe,GAAG,iBAAiB,GAAG,aAAa,CAAC;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,GAAG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,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
package/dist/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,WAAW;AACX,wBAAwB;AACxB,EAAE;AACF,6EAA6E;AAC7E,EAAE;;;AAEF,uCAAuC;AACvC,yDAoBiC;AAnB/B,0GAAA,SAAS,OAAA;AACT,4GAAA,WAAW,OAAA;AACX,+GAAA,cAAc,OAAA;AAKd,8GAAA,aAAa,OAAA;AACb,0GAAA,SAAS,OAAA"}
|