@opencode-ai/sdk 0.1.0-alpha.20 → 0.1.0-alpha.21
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/CHANGELOG.md +27 -0
- package/LICENSE +4 -198
- package/client.d.mts +14 -11
- package/client.d.mts.map +1 -1
- package/client.d.ts +14 -11
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/app.d.mts +2 -5
- package/resources/app.d.mts.map +1 -1
- package/resources/app.d.ts +2 -5
- package/resources/app.d.ts.map +1 -1
- package/resources/config.d.mts +64 -17
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +64 -17
- package/resources/config.d.ts.map +1 -1
- package/resources/config.js.map +1 -1
- package/resources/config.mjs.map +1 -1
- package/resources/event.d.mts +58 -39
- package/resources/event.d.mts.map +1 -1
- package/resources/event.d.ts +58 -39
- package/resources/event.d.ts.map +1 -1
- package/resources/find.d.mts +29 -27
- package/resources/find.d.mts.map +1 -1
- package/resources/find.d.ts +29 -27
- package/resources/find.d.ts.map +1 -1
- package/resources/index.d.mts +5 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/session.d.mts +91 -6
- package/resources/session.d.mts.map +1 -1
- package/resources/session.d.ts +91 -6
- package/resources/session.d.ts.map +1 -1
- package/resources/session.js +12 -0
- package/resources/session.js.map +1 -1
- package/resources/session.mjs +12 -0
- package/resources/session.mjs.map +1 -1
- package/resources/tui.d.mts +22 -0
- package/resources/tui.d.mts.map +1 -0
- package/resources/tui.d.ts +22 -0
- package/resources/tui.d.ts.map +1 -0
- package/resources/tui.js +21 -0
- package/resources/tui.js.map +1 -0
- package/resources/tui.mjs +17 -0
- package/resources/tui.mjs.map +1 -0
- package/src/client.ts +27 -9
- package/src/resources/app.ts +2 -6
- package/src/resources/config.ts +78 -17
- package/src/resources/event.ts +81 -53
- package/src/resources/find.ts +39 -38
- package/src/resources/index.ts +13 -3
- package/src/resources/session.ts +155 -7
- package/src/resources/tui.ts +37 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/event.d.mts
CHANGED
|
@@ -10,8 +10,17 @@ export declare class Event extends APIResource {
|
|
|
10
10
|
*/
|
|
11
11
|
list(options?: RequestOptions): APIPromise<Stream<EventListResponse>>;
|
|
12
12
|
}
|
|
13
|
-
export type EventListResponse = EventListResponse.EventLspClientDiagnostics | EventListResponse.
|
|
13
|
+
export type EventListResponse = EventListResponse.EventInstallationUpdated | EventListResponse.EventLspClientDiagnostics | EventListResponse.EventMessageUpdated | EventListResponse.EventMessageRemoved | EventListResponse.EventMessagePartUpdated | EventListResponse.EventMessagePartRemoved | EventListResponse.EventStorageWrite | EventListResponse.EventPermissionUpdated | EventListResponse.EventFileEdited | EventListResponse.EventSessionUpdated | EventListResponse.EventSessionDeleted | EventListResponse.EventSessionIdle | EventListResponse.EventSessionError | EventListResponse.EventFileWatcherUpdated | EventListResponse.EventIdeInstalled;
|
|
14
14
|
export declare namespace EventListResponse {
|
|
15
|
+
interface EventInstallationUpdated {
|
|
16
|
+
properties: EventInstallationUpdated.Properties;
|
|
17
|
+
type: 'installation.updated';
|
|
18
|
+
}
|
|
19
|
+
namespace EventInstallationUpdated {
|
|
20
|
+
interface Properties {
|
|
21
|
+
version: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
15
24
|
interface EventLspClientDiagnostics {
|
|
16
25
|
properties: EventLspClientDiagnostics.Properties;
|
|
17
26
|
type: 'lsp.client.diagnostics';
|
|
@@ -22,44 +31,6 @@ export declare namespace EventListResponse {
|
|
|
22
31
|
serverID: string;
|
|
23
32
|
}
|
|
24
33
|
}
|
|
25
|
-
interface EventPermissionUpdated {
|
|
26
|
-
properties: EventPermissionUpdated.Properties;
|
|
27
|
-
type: 'permission.updated';
|
|
28
|
-
}
|
|
29
|
-
namespace EventPermissionUpdated {
|
|
30
|
-
interface Properties {
|
|
31
|
-
id: string;
|
|
32
|
-
metadata: {
|
|
33
|
-
[key: string]: unknown;
|
|
34
|
-
};
|
|
35
|
-
sessionID: string;
|
|
36
|
-
time: Properties.Time;
|
|
37
|
-
title: string;
|
|
38
|
-
}
|
|
39
|
-
namespace Properties {
|
|
40
|
-
interface Time {
|
|
41
|
-
created: number;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
interface EventFileEdited {
|
|
46
|
-
properties: EventFileEdited.Properties;
|
|
47
|
-
type: 'file.edited';
|
|
48
|
-
}
|
|
49
|
-
namespace EventFileEdited {
|
|
50
|
-
interface Properties {
|
|
51
|
-
file: string;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
interface EventInstallationUpdated {
|
|
55
|
-
properties: EventInstallationUpdated.Properties;
|
|
56
|
-
type: 'installation.updated';
|
|
57
|
-
}
|
|
58
|
-
namespace EventInstallationUpdated {
|
|
59
|
-
interface Properties {
|
|
60
|
-
version: string;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
34
|
interface EventMessageUpdated {
|
|
64
35
|
properties: EventMessageUpdated.Properties;
|
|
65
36
|
type: 'message.updated';
|
|
@@ -88,6 +59,16 @@ export declare namespace EventListResponse {
|
|
|
88
59
|
part: SessionAPI.Part;
|
|
89
60
|
}
|
|
90
61
|
}
|
|
62
|
+
interface EventMessagePartRemoved {
|
|
63
|
+
properties: EventMessagePartRemoved.Properties;
|
|
64
|
+
type: 'message.part.removed';
|
|
65
|
+
}
|
|
66
|
+
namespace EventMessagePartRemoved {
|
|
67
|
+
interface Properties {
|
|
68
|
+
messageID: string;
|
|
69
|
+
partID: string;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
91
72
|
interface EventStorageWrite {
|
|
92
73
|
properties: EventStorageWrite.Properties;
|
|
93
74
|
type: 'storage.write';
|
|
@@ -98,6 +79,35 @@ export declare namespace EventListResponse {
|
|
|
98
79
|
content?: unknown;
|
|
99
80
|
}
|
|
100
81
|
}
|
|
82
|
+
interface EventPermissionUpdated {
|
|
83
|
+
properties: EventPermissionUpdated.Properties;
|
|
84
|
+
type: 'permission.updated';
|
|
85
|
+
}
|
|
86
|
+
namespace EventPermissionUpdated {
|
|
87
|
+
interface Properties {
|
|
88
|
+
id: string;
|
|
89
|
+
metadata: {
|
|
90
|
+
[key: string]: unknown;
|
|
91
|
+
};
|
|
92
|
+
sessionID: string;
|
|
93
|
+
time: Properties.Time;
|
|
94
|
+
title: string;
|
|
95
|
+
}
|
|
96
|
+
namespace Properties {
|
|
97
|
+
interface Time {
|
|
98
|
+
created: number;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
interface EventFileEdited {
|
|
103
|
+
properties: EventFileEdited.Properties;
|
|
104
|
+
type: 'file.edited';
|
|
105
|
+
}
|
|
106
|
+
namespace EventFileEdited {
|
|
107
|
+
interface Properties {
|
|
108
|
+
file: string;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
101
111
|
interface EventSessionUpdated {
|
|
102
112
|
properties: EventSessionUpdated.Properties;
|
|
103
113
|
type: 'session.updated';
|
|
@@ -151,6 +161,15 @@ export declare namespace EventListResponse {
|
|
|
151
161
|
file: string;
|
|
152
162
|
}
|
|
153
163
|
}
|
|
164
|
+
interface EventIdeInstalled {
|
|
165
|
+
properties: EventIdeInstalled.Properties;
|
|
166
|
+
type: 'ide.installed';
|
|
167
|
+
}
|
|
168
|
+
namespace EventIdeInstalled {
|
|
169
|
+
interface Properties {
|
|
170
|
+
ide: string;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
154
173
|
}
|
|
155
174
|
export declare namespace Event {
|
|
156
175
|
export { type EventListResponse as EventListResponse };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.mts","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;CAGtE;AAED,MAAM,MAAM,iBAAiB,GACzB,iBAAiB,CAAC,yBAAyB,GAC3C,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"event.d.mts","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;CAGtE;AAED,MAAM,MAAM,iBAAiB,GACzB,iBAAiB,CAAC,wBAAwB,GAC1C,iBAAiB,CAAC,yBAAyB,GAC3C,iBAAiB,CAAC,mBAAmB,GACrC,iBAAiB,CAAC,mBAAmB,GACrC,iBAAiB,CAAC,uBAAuB,GACzC,iBAAiB,CAAC,uBAAuB,GACzC,iBAAiB,CAAC,iBAAiB,GACnC,iBAAiB,CAAC,sBAAsB,GACxC,iBAAiB,CAAC,eAAe,GACjC,iBAAiB,CAAC,mBAAmB,GACrC,iBAAiB,CAAC,mBAAmB,GACrC,iBAAiB,CAAC,gBAAgB,GAClC,iBAAiB,CAAC,iBAAiB,GACnC,iBAAiB,CAAC,uBAAuB,GACzC,iBAAiB,CAA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AC;IAC7B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
|
package/resources/event.d.ts
CHANGED
|
@@ -10,8 +10,17 @@ export declare class Event extends APIResource {
|
|
|
10
10
|
*/
|
|
11
11
|
list(options?: RequestOptions): APIPromise<Stream<EventListResponse>>;
|
|
12
12
|
}
|
|
13
|
-
export type EventListResponse = EventListResponse.EventLspClientDiagnostics | EventListResponse.
|
|
13
|
+
export type EventListResponse = EventListResponse.EventInstallationUpdated | EventListResponse.EventLspClientDiagnostics | EventListResponse.EventMessageUpdated | EventListResponse.EventMessageRemoved | EventListResponse.EventMessagePartUpdated | EventListResponse.EventMessagePartRemoved | EventListResponse.EventStorageWrite | EventListResponse.EventPermissionUpdated | EventListResponse.EventFileEdited | EventListResponse.EventSessionUpdated | EventListResponse.EventSessionDeleted | EventListResponse.EventSessionIdle | EventListResponse.EventSessionError | EventListResponse.EventFileWatcherUpdated | EventListResponse.EventIdeInstalled;
|
|
14
14
|
export declare namespace EventListResponse {
|
|
15
|
+
interface EventInstallationUpdated {
|
|
16
|
+
properties: EventInstallationUpdated.Properties;
|
|
17
|
+
type: 'installation.updated';
|
|
18
|
+
}
|
|
19
|
+
namespace EventInstallationUpdated {
|
|
20
|
+
interface Properties {
|
|
21
|
+
version: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
15
24
|
interface EventLspClientDiagnostics {
|
|
16
25
|
properties: EventLspClientDiagnostics.Properties;
|
|
17
26
|
type: 'lsp.client.diagnostics';
|
|
@@ -22,44 +31,6 @@ export declare namespace EventListResponse {
|
|
|
22
31
|
serverID: string;
|
|
23
32
|
}
|
|
24
33
|
}
|
|
25
|
-
interface EventPermissionUpdated {
|
|
26
|
-
properties: EventPermissionUpdated.Properties;
|
|
27
|
-
type: 'permission.updated';
|
|
28
|
-
}
|
|
29
|
-
namespace EventPermissionUpdated {
|
|
30
|
-
interface Properties {
|
|
31
|
-
id: string;
|
|
32
|
-
metadata: {
|
|
33
|
-
[key: string]: unknown;
|
|
34
|
-
};
|
|
35
|
-
sessionID: string;
|
|
36
|
-
time: Properties.Time;
|
|
37
|
-
title: string;
|
|
38
|
-
}
|
|
39
|
-
namespace Properties {
|
|
40
|
-
interface Time {
|
|
41
|
-
created: number;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
interface EventFileEdited {
|
|
46
|
-
properties: EventFileEdited.Properties;
|
|
47
|
-
type: 'file.edited';
|
|
48
|
-
}
|
|
49
|
-
namespace EventFileEdited {
|
|
50
|
-
interface Properties {
|
|
51
|
-
file: string;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
interface EventInstallationUpdated {
|
|
55
|
-
properties: EventInstallationUpdated.Properties;
|
|
56
|
-
type: 'installation.updated';
|
|
57
|
-
}
|
|
58
|
-
namespace EventInstallationUpdated {
|
|
59
|
-
interface Properties {
|
|
60
|
-
version: string;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
34
|
interface EventMessageUpdated {
|
|
64
35
|
properties: EventMessageUpdated.Properties;
|
|
65
36
|
type: 'message.updated';
|
|
@@ -88,6 +59,16 @@ export declare namespace EventListResponse {
|
|
|
88
59
|
part: SessionAPI.Part;
|
|
89
60
|
}
|
|
90
61
|
}
|
|
62
|
+
interface EventMessagePartRemoved {
|
|
63
|
+
properties: EventMessagePartRemoved.Properties;
|
|
64
|
+
type: 'message.part.removed';
|
|
65
|
+
}
|
|
66
|
+
namespace EventMessagePartRemoved {
|
|
67
|
+
interface Properties {
|
|
68
|
+
messageID: string;
|
|
69
|
+
partID: string;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
91
72
|
interface EventStorageWrite {
|
|
92
73
|
properties: EventStorageWrite.Properties;
|
|
93
74
|
type: 'storage.write';
|
|
@@ -98,6 +79,35 @@ export declare namespace EventListResponse {
|
|
|
98
79
|
content?: unknown;
|
|
99
80
|
}
|
|
100
81
|
}
|
|
82
|
+
interface EventPermissionUpdated {
|
|
83
|
+
properties: EventPermissionUpdated.Properties;
|
|
84
|
+
type: 'permission.updated';
|
|
85
|
+
}
|
|
86
|
+
namespace EventPermissionUpdated {
|
|
87
|
+
interface Properties {
|
|
88
|
+
id: string;
|
|
89
|
+
metadata: {
|
|
90
|
+
[key: string]: unknown;
|
|
91
|
+
};
|
|
92
|
+
sessionID: string;
|
|
93
|
+
time: Properties.Time;
|
|
94
|
+
title: string;
|
|
95
|
+
}
|
|
96
|
+
namespace Properties {
|
|
97
|
+
interface Time {
|
|
98
|
+
created: number;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
interface EventFileEdited {
|
|
103
|
+
properties: EventFileEdited.Properties;
|
|
104
|
+
type: 'file.edited';
|
|
105
|
+
}
|
|
106
|
+
namespace EventFileEdited {
|
|
107
|
+
interface Properties {
|
|
108
|
+
file: string;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
101
111
|
interface EventSessionUpdated {
|
|
102
112
|
properties: EventSessionUpdated.Properties;
|
|
103
113
|
type: 'session.updated';
|
|
@@ -151,6 +161,15 @@ export declare namespace EventListResponse {
|
|
|
151
161
|
file: string;
|
|
152
162
|
}
|
|
153
163
|
}
|
|
164
|
+
interface EventIdeInstalled {
|
|
165
|
+
properties: EventIdeInstalled.Properties;
|
|
166
|
+
type: 'ide.installed';
|
|
167
|
+
}
|
|
168
|
+
namespace EventIdeInstalled {
|
|
169
|
+
interface Properties {
|
|
170
|
+
ide: string;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
154
173
|
}
|
|
155
174
|
export declare namespace Event {
|
|
156
175
|
export { type EventListResponse as EventListResponse };
|
package/resources/event.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE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,CAAC;QAExC,IAAI,EAAE,cAAc,CAAC;KACtB;IAED,UAAiB,gBAAgB,CAAC;QAChC,UAAiB,UAAU;YACzB,SAAS,EAAE,MAAM,CAAC;SACnB;KACF;IAED,UAAiB,iBAAiB;QAChC,UAAU,EAAE,iBAAiB,CAAC,UAAU,CAAC;QAEzC,IAAI,EAAE,eAAe,CAAC;KACvB;IAED,UAAiB,iBAAiB,CAAC;QACjC,UAAiB,UAAU;YACzB,KAAK,CAAC,EACF,MAAM,CAAC,iBAAiB,GACxB,MAAM,CAAC,YAAY,GACnB,UAAU,CAAC,wBAAwB,GACnC,MAAM,CAAC,mBAAmB,CAAC;YAE/B,SAAS,CAAC,EAAE,MAAM,CAAC;SACpB;QAED,UAAiB,UAAU,CAAC;YAC1B,UAAiB,wBAAwB;gBACvC,IAAI,EAAE,OAAO,CAAC;gBAEd,IAAI,EAAE,0BAA0B,CAAC;aAClC;SACF;KACF;IAED,UAAiB,uBAAuB;QACtC,UAAU,EAAE,uBAAuB,CAAC,UAAU,CAAC;QAE/C,IAAI,EAAE,sBAAsB,CAAC;KAC9B;IAED,UAAiB,uBAAuB,CAAC;QACvC,UAAiB,UAAU;YACzB,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAAC;YAE3B,IAAI,EAAE,MAAM,CAAC;SACd;KACF;IAED,UAAiB,iBAAiB;QAChC,UAAU,EAAE,iBAAiB,CAAC,UAAU,CAAC;QAEzC,IAAI,EAAE,eAAe,CAAC;KACvB;IAED,UAAiB,iBAAiB,CAAC;QACjC,UAAiB,UAAU;YACzB,GAAG,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
|
package/resources/find.d.mts
CHANGED
|
@@ -15,31 +15,6 @@ export declare class Find extends APIResource {
|
|
|
15
15
|
*/
|
|
16
16
|
text(query: FindTextParams, options?: RequestOptions): APIPromise<FindTextResponse>;
|
|
17
17
|
}
|
|
18
|
-
export interface Match {
|
|
19
|
-
absolute_offset: number;
|
|
20
|
-
line_number: number;
|
|
21
|
-
lines: Match.Lines;
|
|
22
|
-
path: Match.Path;
|
|
23
|
-
submatches: Array<Match.Submatch>;
|
|
24
|
-
}
|
|
25
|
-
export declare namespace Match {
|
|
26
|
-
interface Lines {
|
|
27
|
-
text: string;
|
|
28
|
-
}
|
|
29
|
-
interface Path {
|
|
30
|
-
text: string;
|
|
31
|
-
}
|
|
32
|
-
interface Submatch {
|
|
33
|
-
end: number;
|
|
34
|
-
match: Submatch.Match;
|
|
35
|
-
start: number;
|
|
36
|
-
}
|
|
37
|
-
namespace Submatch {
|
|
38
|
-
interface Match {
|
|
39
|
-
text: string;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
18
|
export interface Symbol {
|
|
44
19
|
kind: number;
|
|
45
20
|
location: Symbol.Location;
|
|
@@ -69,7 +44,34 @@ export declare namespace Symbol {
|
|
|
69
44
|
}
|
|
70
45
|
export type FindFilesResponse = Array<string>;
|
|
71
46
|
export type FindSymbolsResponse = Array<Symbol>;
|
|
72
|
-
export type FindTextResponse = Array<
|
|
47
|
+
export type FindTextResponse = Array<FindTextResponse.FindTextResponseItem>;
|
|
48
|
+
export declare namespace FindTextResponse {
|
|
49
|
+
interface FindTextResponseItem {
|
|
50
|
+
absolute_offset: number;
|
|
51
|
+
line_number: number;
|
|
52
|
+
lines: FindTextResponseItem.Lines;
|
|
53
|
+
path: FindTextResponseItem.Path;
|
|
54
|
+
submatches: Array<FindTextResponseItem.Submatch>;
|
|
55
|
+
}
|
|
56
|
+
namespace FindTextResponseItem {
|
|
57
|
+
interface Lines {
|
|
58
|
+
text: string;
|
|
59
|
+
}
|
|
60
|
+
interface Path {
|
|
61
|
+
text: string;
|
|
62
|
+
}
|
|
63
|
+
interface Submatch {
|
|
64
|
+
end: number;
|
|
65
|
+
match: Submatch.Match;
|
|
66
|
+
start: number;
|
|
67
|
+
}
|
|
68
|
+
namespace Submatch {
|
|
69
|
+
interface Match {
|
|
70
|
+
text: string;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
73
75
|
export interface FindFilesParams {
|
|
74
76
|
query: string;
|
|
75
77
|
}
|
|
@@ -80,6 +82,6 @@ export interface FindTextParams {
|
|
|
80
82
|
pattern: string;
|
|
81
83
|
}
|
|
82
84
|
export declare namespace Find {
|
|
83
|
-
export { type
|
|
85
|
+
export { type Symbol as Symbol, type FindFilesResponse as FindFilesResponse, type FindSymbolsResponse as FindSymbolsResponse, type FindTextResponse as FindTextResponse, type FindFilesParams as FindFilesParams, type FindSymbolsParams as FindSymbolsParams, type FindTextParams as FindTextParams, };
|
|
84
86
|
}
|
|
85
87
|
//# sourceMappingURL=find.d.mts.map
|
package/resources/find.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.mts","sourceRoot":"","sources":["../src/resources/find.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,KAAK,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAItF;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI5F;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAGpF;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"find.d.mts","sourceRoot":"","sources":["../src/resources/find.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,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BAAgB,CAAC;IAChC,UAAiB,oBAAoB;QACnC,eAAe,EAAE,MAAM,CAAC;QAExB,WAAW,EAAE,MAAM,CAAC;QAEpB,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC;QAElC,IAAI,EAAE,oBAAoB,CAAC,IAAI,CAAC;QAEhC,UAAU,EAAE,KAAK,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;KAClD;IAED,UAAiB,oBAAoB,CAAC;QACpC,UAAiB,KAAK;YACpB,IAAI,EAAE,MAAM,CAAC;SACd;QAED,UAAiB,IAAI;YACnB,IAAI,EAAE,MAAM,CAAC;SACd;QAED,UAAiB,QAAQ;YACvB,GAAG,EAAE,MAAM,CAAC;YAEZ,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC;YAEtB,KAAK,EAAE,MAAM,CAAC;SACf;QAED,UAAiB,QAAQ,CAAC;YACxB,UAAiB,KAAK;gBACpB,IAAI,EAAE,MAAM,CAAC;aACd;SACF;KACF;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
package/resources/find.d.ts
CHANGED
|
@@ -15,31 +15,6 @@ export declare class Find extends APIResource {
|
|
|
15
15
|
*/
|
|
16
16
|
text(query: FindTextParams, options?: RequestOptions): APIPromise<FindTextResponse>;
|
|
17
17
|
}
|
|
18
|
-
export interface Match {
|
|
19
|
-
absolute_offset: number;
|
|
20
|
-
line_number: number;
|
|
21
|
-
lines: Match.Lines;
|
|
22
|
-
path: Match.Path;
|
|
23
|
-
submatches: Array<Match.Submatch>;
|
|
24
|
-
}
|
|
25
|
-
export declare namespace Match {
|
|
26
|
-
interface Lines {
|
|
27
|
-
text: string;
|
|
28
|
-
}
|
|
29
|
-
interface Path {
|
|
30
|
-
text: string;
|
|
31
|
-
}
|
|
32
|
-
interface Submatch {
|
|
33
|
-
end: number;
|
|
34
|
-
match: Submatch.Match;
|
|
35
|
-
start: number;
|
|
36
|
-
}
|
|
37
|
-
namespace Submatch {
|
|
38
|
-
interface Match {
|
|
39
|
-
text: string;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
18
|
export interface Symbol {
|
|
44
19
|
kind: number;
|
|
45
20
|
location: Symbol.Location;
|
|
@@ -69,7 +44,34 @@ export declare namespace Symbol {
|
|
|
69
44
|
}
|
|
70
45
|
export type FindFilesResponse = Array<string>;
|
|
71
46
|
export type FindSymbolsResponse = Array<Symbol>;
|
|
72
|
-
export type FindTextResponse = Array<
|
|
47
|
+
export type FindTextResponse = Array<FindTextResponse.FindTextResponseItem>;
|
|
48
|
+
export declare namespace FindTextResponse {
|
|
49
|
+
interface FindTextResponseItem {
|
|
50
|
+
absolute_offset: number;
|
|
51
|
+
line_number: number;
|
|
52
|
+
lines: FindTextResponseItem.Lines;
|
|
53
|
+
path: FindTextResponseItem.Path;
|
|
54
|
+
submatches: Array<FindTextResponseItem.Submatch>;
|
|
55
|
+
}
|
|
56
|
+
namespace FindTextResponseItem {
|
|
57
|
+
interface Lines {
|
|
58
|
+
text: string;
|
|
59
|
+
}
|
|
60
|
+
interface Path {
|
|
61
|
+
text: string;
|
|
62
|
+
}
|
|
63
|
+
interface Submatch {
|
|
64
|
+
end: number;
|
|
65
|
+
match: Submatch.Match;
|
|
66
|
+
start: number;
|
|
67
|
+
}
|
|
68
|
+
namespace Submatch {
|
|
69
|
+
interface Match {
|
|
70
|
+
text: string;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
73
75
|
export interface FindFilesParams {
|
|
74
76
|
query: string;
|
|
75
77
|
}
|
|
@@ -80,6 +82,6 @@ export interface FindTextParams {
|
|
|
80
82
|
pattern: string;
|
|
81
83
|
}
|
|
82
84
|
export declare namespace Find {
|
|
83
|
-
export { type
|
|
85
|
+
export { type Symbol as Symbol, type FindFilesResponse as FindFilesResponse, type FindSymbolsResponse as FindSymbolsResponse, type FindTextResponse as FindTextResponse, type FindFilesParams as FindFilesParams, type FindSymbolsParams as FindSymbolsParams, type FindTextParams as FindTextParams, };
|
|
84
86
|
}
|
|
85
87
|
//# sourceMappingURL=find.d.ts.map
|
package/resources/find.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../src/resources/find.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,KAAK,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAItF;;OAEG;IACH,OAAO,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI5F;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAGpF;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../src/resources/find.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAA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AChC,UAAiB,oBAAoB;QACnC,eAAe,EAAE,MAAM,CAAC;QAExB,WAAW,EAAE,MAAM,CAAC;QAEpB,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC;QAElC,IAAI,EAAE,oBAAoB,CAAC,IAAI,CAAC;QAEhC,UAAU,EAAE,KAAK,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;KAClD;IAED,UAAiB,oBAAoB,CAAC;QACpC,UAAiB,KAAK;YACpB,IAAI,EAAE,MAAM,CAAC;SACd;QAED,UAAiB,IAAI;YACnB,IAAI,EAAE,MAAM,CAAC;SACd;QAED,UAAiB,QAAQ;YACvB,GAAG,EAAE,MAAM,CAAC;YAEZ,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC;YAEtB,KAAK,EAAE,MAAM,CAAC;SACf;QAED,UAAiB,QAAQ,CAAC;YACxB,UAAiB,KAAK;gBACpB,IAAI,EAAE,MAAM,CAAC;aACd;SACF;KACF;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from "./shared.mjs";
|
|
2
|
-
export { AppResource, type App, type
|
|
3
|
-
export { ConfigResource, type Config, type KeybindsConfig, type
|
|
2
|
+
export { AppResource, type App, type Mode, type Model, type Provider, type AppInitResponse, type AppLogResponse, type AppModesResponse, type AppProvidersResponse, type AppLogParams, } from "./app.mjs";
|
|
3
|
+
export { ConfigResource, type Config, type KeybindsConfig, type McpLocalConfig, type McpRemoteConfig, type ModeConfig, } from "./config.mjs";
|
|
4
4
|
export { Event, type EventListResponse } from "./event.mjs";
|
|
5
5
|
export { FileResource, type File, type FileReadResponse, type FileStatusResponse, type FileReadParams, } from "./file.mjs";
|
|
6
|
-
export { Find, type
|
|
7
|
-
export { SessionResource, type AssistantMessage, type FilePart, type Message, type Part, type Session, type SnapshotPart, type StepFinishPart, type StepStartPart, type TextPart, type ToolPart, type ToolStateCompleted, type ToolStateError, type ToolStatePending, type ToolStateRunning, type UserMessage, type SessionListResponse, type SessionDeleteResponse, type SessionAbortResponse, type SessionInitResponse, type SessionMessagesResponse, type SessionSummarizeResponse, type SessionChatParams, type SessionInitParams, type SessionSummarizeParams, } from "./session.mjs";
|
|
6
|
+
export { Find, type Symbol, type FindFilesResponse, type FindSymbolsResponse, type FindTextResponse, type FindFilesParams, type FindSymbolsParams, type FindTextParams, } from "./find.mjs";
|
|
7
|
+
export { SessionResource, type AssistantMessage, type FilePart, type FilePartInput, type FilePartSource, type FilePartSourceText, type FileSource, type Message, type Part, type Session, type SnapshotPart, type StepFinishPart, type StepStartPart, type SymbolSource, type TextPart, type TextPartInput, type ToolPart, type ToolStateCompleted, type ToolStateError, type ToolStatePending, type ToolStateRunning, type UserMessage, type SessionListResponse, type SessionDeleteResponse, type SessionAbortResponse, type SessionInitResponse, type SessionMessagesResponse, type SessionSummarizeResponse, type SessionChatParams, type SessionInitParams, type SessionRevertParams, type SessionSummarizeParams, } from "./session.mjs";
|
|
8
|
+
export { Tui, type TuiAppendPromptResponse, type TuiOpenHelpResponse, type TuiAppendPromptParams, } from "./tui.mjs";
|
|
8
9
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,WAAW,EACX,KAAK,GAAG,EACR,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,WAAW,EACX,KAAK,GAAG,EACR,KAAK,IAAI,EACT,KAAK,KAAK,EACV,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,YAAY,GAClB;OACM,EACL,cAAc,EACd,KAAK,MAAM,EACX,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB;OACM,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE;OACjC,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB;OACM,EACL,IAAI,EACJ,KAAK,MAAM,EACX,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,GACpB;OACM,EACL,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,GAC5B;OACM,EACL,GAAG,EACH,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from "./shared.js";
|
|
2
|
-
export { AppResource, type App, type
|
|
3
|
-
export { ConfigResource, type Config, type KeybindsConfig, type
|
|
2
|
+
export { AppResource, type App, type Mode, type Model, type Provider, type AppInitResponse, type AppLogResponse, type AppModesResponse, type AppProvidersResponse, type AppLogParams, } from "./app.js";
|
|
3
|
+
export { ConfigResource, type Config, type KeybindsConfig, type McpLocalConfig, type McpRemoteConfig, type ModeConfig, } from "./config.js";
|
|
4
4
|
export { Event, type EventListResponse } from "./event.js";
|
|
5
5
|
export { FileResource, type File, type FileReadResponse, type FileStatusResponse, type FileReadParams, } from "./file.js";
|
|
6
|
-
export { Find, type
|
|
7
|
-
export { SessionResource, type AssistantMessage, type FilePart, type Message, type Part, type Session, type SnapshotPart, type StepFinishPart, type StepStartPart, type TextPart, type ToolPart, type ToolStateCompleted, type ToolStateError, type ToolStatePending, type ToolStateRunning, type UserMessage, type SessionListResponse, type SessionDeleteResponse, type SessionAbortResponse, type SessionInitResponse, type SessionMessagesResponse, type SessionSummarizeResponse, type SessionChatParams, type SessionInitParams, type SessionSummarizeParams, } from "./session.js";
|
|
6
|
+
export { Find, type Symbol, type FindFilesResponse, type FindSymbolsResponse, type FindTextResponse, type FindFilesParams, type FindSymbolsParams, type FindTextParams, } from "./find.js";
|
|
7
|
+
export { SessionResource, type AssistantMessage, type FilePart, type FilePartInput, type FilePartSource, type FilePartSourceText, type FileSource, type Message, type Part, type Session, type SnapshotPart, type StepFinishPart, type StepStartPart, type SymbolSource, type TextPart, type TextPartInput, type ToolPart, type ToolStateCompleted, type ToolStateError, type ToolStatePending, type ToolStateRunning, type UserMessage, type SessionListResponse, type SessionDeleteResponse, type SessionAbortResponse, type SessionInitResponse, type SessionMessagesResponse, type SessionSummarizeResponse, type SessionChatParams, type SessionInitParams, type SessionRevertParams, type SessionSummarizeParams, } from "./session.js";
|
|
8
|
+
export { Tui, type TuiAppendPromptResponse, type TuiOpenHelpResponse, type TuiAppendPromptParams, } from "./tui.js";
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,WAAW,EACX,KAAK,GAAG,EACR,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,WAAW,EACX,KAAK,GAAG,EACR,KAAK,IAAI,EACT,KAAK,KAAK,EACV,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,YAAY,GAClB;OACM,EACL,cAAc,EACd,KAAK,MAAM,EACX,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB;OACM,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE;OACjC,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,GACpB;OACM,EACL,IAAI,EACJ,KAAK,MAAM,EACX,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,GACpB;OACM,EACL,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,GAC5B;OACM,EACL,GAAG,EACH,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.SessionResource = exports.Find = exports.FileResource = exports.Event = exports.ConfigResource = exports.AppResource = void 0;
|
|
4
|
+
exports.Tui = exports.SessionResource = exports.Find = exports.FileResource = exports.Event = exports.ConfigResource = exports.AppResource = void 0;
|
|
5
5
|
const tslib_1 = require("../internal/tslib.js");
|
|
6
6
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
7
7
|
var app_1 = require("./app.js");
|
|
@@ -16,4 +16,6 @@ var find_1 = require("./find.js");
|
|
|
16
16
|
Object.defineProperty(exports, "Find", { enumerable: true, get: function () { return find_1.Find; } });
|
|
17
17
|
var session_1 = require("./session.js");
|
|
18
18
|
Object.defineProperty(exports, "SessionResource", { enumerable: true, get: function () { return session_1.SessionResource; } });
|
|
19
|
+
var tui_1 = require("./tui.js");
|
|
20
|
+
Object.defineProperty(exports, "Tui", { enumerable: true, get: function () { return tui_1.Tui; } });
|
|
19
21
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,gCAWe;AAVb,kGAAA,WAAW,OAAA;AAWb,sCAOkB;AANhB,wGAAA,cAAc,OAAA;AAOhB,oCAAwD;AAA/C,8FAAA,KAAK,OAAA;AACd,kCAMgB;AALd,oGAAA,YAAY,OAAA;AAMd,kCASgB;AARd,4FAAA,IAAI,OAAA;AASN,wCAiCmB;AAhCjB,0GAAA,eAAe,OAAA;AAiCjB,gCAKe;AAJb,0FAAA,GAAG,OAAA"}
|
package/resources/index.mjs
CHANGED
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EACL,WAAW,GAUZ;OACM,EACL,cAAc,GAMf;OACM,EAAE,KAAK,EAA0B;OACjC,EACL,YAAY,GAKb;OACM,EACL,IAAI,GAQL;OACM,EACL,eAAe,GAgChB;OACM,EACL,GAAG,GAIJ"}
|