@opencode-ai/sdk 0.1.0-alpha.2 → 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 +200 -0
- package/README.md +27 -9
- package/client.d.mts +25 -50
- package/client.d.mts.map +1 -1
- package/client.d.ts +25 -50
- package/client.d.ts.map +1 -1
- package/client.js +28 -55
- package/client.js.map +1 -1
- package/client.mjs +28 -55
- package/client.mjs.map +1 -1
- package/core/streaming.d.mts +33 -0
- package/core/streaming.d.mts.map +1 -0
- package/core/streaming.d.ts +33 -0
- package/core/streaming.d.ts.map +1 -0
- package/core/streaming.js +263 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +258 -0
- package/core/streaming.mjs.map +1 -0
- package/internal/decoders/line.d.mts +17 -0
- package/internal/decoders/line.d.mts.map +1 -0
- package/internal/decoders/line.d.ts +17 -0
- package/internal/decoders/line.d.ts.map +1 -0
- package/internal/decoders/line.js +113 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +108 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +10 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +10 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +44 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +44 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/tslib.js +6 -6
- package/internal/types.d.mts +8 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +8 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.js +1 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/log.js +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.d.mts.map +1 -1
- package/internal/utils/path.d.ts.map +1 -1
- package/internal/utils/path.js +26 -5
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +26 -5
- package/internal/utils/path.mjs.map +1 -1
- package/package.json +12 -2
- package/resources/app.d.mts +127 -0
- package/resources/app.d.mts.map +1 -0
- package/resources/app.d.ts +127 -0
- package/resources/app.d.ts.map +1 -0
- package/resources/app.js +39 -0
- package/resources/app.js.map +1 -0
- package/resources/app.mjs +35 -0
- package/resources/app.mjs.map +1 -0
- package/resources/config.d.mts +391 -0
- package/resources/config.d.mts.map +1 -0
- package/resources/config.d.ts +391 -0
- package/resources/config.d.ts.map +1 -0
- package/resources/{config-get.js → config.js} +6 -6
- package/resources/config.js.map +1 -0
- package/resources/{config-get.mjs → config.mjs} +4 -4
- package/resources/config.mjs.map +1 -0
- package/resources/event.d.mts +104 -32
- package/resources/event.d.mts.map +1 -1
- package/resources/event.d.ts +104 -32
- package/resources/event.d.ts.map +1 -1
- package/resources/event.js +1 -1
- package/resources/event.js.map +1 -1
- package/resources/event.mjs +1 -1
- package/resources/event.mjs.map +1 -1
- package/resources/file.d.mts +31 -0
- package/resources/file.d.mts.map +1 -0
- package/resources/file.d.ts +31 -0
- package/resources/file.d.ts.map +1 -0
- package/resources/file.js +21 -0
- package/resources/file.js.map +1 -0
- package/resources/file.mjs +17 -0
- package/resources/file.mjs.map +1 -0
- package/resources/find.d.mts +87 -0
- package/resources/find.d.mts.map +1 -0
- package/resources/find.d.ts +87 -0
- package/resources/find.d.ts.map +1 -0
- package/resources/find.js +27 -0
- package/resources/find.js.map +1 -0
- package/resources/find.mjs +23 -0
- package/resources/find.mjs.map +1 -0
- package/resources/index.d.mts +7 -16
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -16
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +15 -33
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -16
- package/resources/index.mjs.map +1 -1
- package/resources/session.d.mts +357 -0
- package/resources/session.d.mts.map +1 -0
- package/resources/session.d.ts +357 -0
- package/resources/session.d.ts.map +1 -0
- package/resources/session.js +82 -0
- package/resources/session.js.map +1 -0
- package/resources/session.mjs +78 -0
- package/resources/session.mjs.map +1 -0
- package/resources/shared.d.mts +24 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +24 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- 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 +157 -122
- package/src/core/streaming.ts +315 -0
- package/src/internal/decoders/line.ts +135 -0
- package/src/internal/parse.ts +14 -0
- package/src/internal/request-options.ts +55 -0
- package/src/internal/types.ts +9 -6
- package/src/internal/uploads.ts +1 -1
- package/src/internal/utils/log.ts +1 -1
- package/src/internal/utils/path.ts +32 -7
- package/src/resources/app.ts +192 -0
- package/src/resources/config.ts +492 -0
- package/src/resources/event.ts +147 -39
- package/src/resources/file.ts +52 -0
- package/src/resources/find.ts +134 -0
- package/src/resources/index.ts +74 -31
- package/src/resources/session.ts +605 -0
- package/src/resources/shared.ts +33 -0
- package/src/resources/tui.ts +37 -0
- package/src/streaming.ts +2 -0
- package/src/version.ts +1 -1
- package/streaming.d.mts +2 -0
- package/streaming.d.mts.map +1 -0
- package/streaming.d.ts +2 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +6 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +2 -0
- package/streaming.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/app-info.d.mts +0 -31
- package/resources/app-info.d.mts.map +0 -1
- package/resources/app-info.d.ts +0 -31
- package/resources/app-info.d.ts.map +0 -1
- package/resources/app-info.js +0 -15
- package/resources/app-info.js.map +0 -1
- package/resources/app-info.mjs +0 -11
- package/resources/app-info.mjs.map +0 -1
- package/resources/app-initialize.d.mts +0 -14
- package/resources/app-initialize.d.mts.map +0 -1
- package/resources/app-initialize.d.ts +0 -14
- package/resources/app-initialize.d.ts.map +0 -1
- package/resources/app-initialize.js +0 -15
- package/resources/app-initialize.js.map +0 -1
- package/resources/app-initialize.mjs +0 -11
- package/resources/app-initialize.mjs.map +0 -1
- package/resources/config-get.d.mts +0 -236
- package/resources/config-get.d.mts.map +0 -1
- package/resources/config-get.d.ts +0 -236
- package/resources/config-get.d.ts.map +0 -1
- package/resources/config-get.js.map +0 -1
- package/resources/config-get.mjs.map +0 -1
- package/resources/file-search.d.mts +0 -17
- package/resources/file-search.d.mts.map +0 -1
- package/resources/file-search.d.ts +0 -17
- package/resources/file-search.d.ts.map +0 -1
- package/resources/file-search.js +0 -15
- package/resources/file-search.js.map +0 -1
- package/resources/file-search.mjs +0 -11
- package/resources/file-search.mjs.map +0 -1
- package/resources/installation-info.d.mts +0 -17
- package/resources/installation-info.d.mts.map +0 -1
- package/resources/installation-info.d.ts +0 -17
- package/resources/installation-info.d.ts.map +0 -1
- package/resources/installation-info.js +0 -15
- package/resources/installation-info.js.map +0 -1
- package/resources/installation-info.mjs +0 -11
- package/resources/installation-info.mjs.map +0 -1
- package/resources/path-get.d.mts +0 -19
- package/resources/path-get.d.mts.map +0 -1
- package/resources/path-get.d.ts +0 -19
- package/resources/path-get.d.ts.map +0 -1
- package/resources/path-get.js +0 -15
- package/resources/path-get.js.map +0 -1
- package/resources/path-get.mjs +0 -11
- package/resources/path-get.mjs.map +0 -1
- package/resources/provider-list.d.mts +0 -58
- package/resources/provider-list.d.mts.map +0 -1
- package/resources/provider-list.d.ts +0 -58
- package/resources/provider-list.d.ts.map +0 -1
- package/resources/provider-list.js +0 -15
- package/resources/provider-list.js.map +0 -1
- package/resources/provider-list.mjs +0 -11
- package/resources/provider-list.mjs.map +0 -1
- package/resources/session-abort.d.mts +0 -17
- package/resources/session-abort.d.mts.map +0 -1
- package/resources/session-abort.d.ts +0 -17
- package/resources/session-abort.d.ts.map +0 -1
- package/resources/session-abort.js +0 -15
- package/resources/session-abort.js.map +0 -1
- package/resources/session-abort.mjs +0 -11
- package/resources/session-abort.mjs.map +0 -1
- package/resources/session-chat.d.mts +0 -160
- package/resources/session-chat.d.mts.map +0 -1
- package/resources/session-chat.d.ts +0 -160
- package/resources/session-chat.d.ts.map +0 -1
- package/resources/session-chat.js +0 -15
- package/resources/session-chat.js.map +0 -1
- package/resources/session-chat.mjs +0 -11
- package/resources/session-chat.mjs.map +0 -1
- package/resources/session-create.d.mts +0 -30
- package/resources/session-create.d.mts.map +0 -1
- package/resources/session-create.d.ts +0 -30
- package/resources/session-create.d.ts.map +0 -1
- package/resources/session-create.js +0 -15
- package/resources/session-create.js.map +0 -1
- package/resources/session-create.mjs +0 -11
- package/resources/session-create.mjs.map +0 -1
- package/resources/session-initialize.d.mts +0 -19
- package/resources/session-initialize.d.mts.map +0 -1
- package/resources/session-initialize.d.ts +0 -19
- package/resources/session-initialize.d.ts.map +0 -1
- package/resources/session-initialize.js +0 -15
- package/resources/session-initialize.js.map +0 -1
- package/resources/session-initialize.mjs +0 -11
- package/resources/session-initialize.mjs.map +0 -1
- package/resources/session-list.d.mts +0 -15
- package/resources/session-list.d.mts.map +0 -1
- package/resources/session-list.d.ts +0 -15
- package/resources/session-list.d.ts.map +0 -1
- package/resources/session-list.js +0 -15
- package/resources/session-list.js.map +0 -1
- package/resources/session-list.mjs +0 -11
- package/resources/session-list.mjs.map +0 -1
- package/resources/session-messages.d.mts +0 -18
- package/resources/session-messages.d.mts.map +0 -1
- package/resources/session-messages.d.ts +0 -18
- package/resources/session-messages.d.ts.map +0 -1
- package/resources/session-messages.js +0 -15
- package/resources/session-messages.js.map +0 -1
- package/resources/session-messages.mjs +0 -11
- package/resources/session-messages.mjs.map +0 -1
- package/resources/session-share.d.mts +0 -17
- package/resources/session-share.d.mts.map +0 -1
- package/resources/session-share.d.ts +0 -17
- package/resources/session-share.d.ts.map +0 -1
- package/resources/session-share.js +0 -15
- package/resources/session-share.js.map +0 -1
- package/resources/session-share.mjs +0 -11
- package/resources/session-share.mjs.map +0 -1
- package/resources/session-summarize.d.mts +0 -19
- package/resources/session-summarize.d.mts.map +0 -1
- package/resources/session-summarize.d.ts +0 -19
- package/resources/session-summarize.d.ts.map +0 -1
- package/resources/session-summarize.js +0 -15
- package/resources/session-summarize.js.map +0 -1
- package/resources/session-summarize.mjs +0 -11
- package/resources/session-summarize.mjs.map +0 -1
- package/resources/session-unshare.d.mts +0 -17
- package/resources/session-unshare.d.mts.map +0 -1
- package/resources/session-unshare.d.ts +0 -17
- package/resources/session-unshare.d.ts.map +0 -1
- package/resources/session-unshare.js +0 -15
- package/resources/session-unshare.js.map +0 -1
- package/resources/session-unshare.mjs +0 -11
- package/resources/session-unshare.mjs.map +0 -1
- package/src/resources/app-info.ts +0 -46
- package/src/resources/app-initialize.ts +0 -20
- package/src/resources/config-get.ts +0 -294
- package/src/resources/file-search.ts +0 -27
- package/src/resources/installation-info.ts +0 -24
- package/src/resources/path-get.ts +0 -28
- package/src/resources/provider-list.ts +0 -80
- package/src/resources/session-abort.ts +0 -27
- package/src/resources/session-chat.ts +0 -250
- package/src/resources/session-create.ts +0 -44
- package/src/resources/session-initialize.ts +0 -34
- package/src/resources/session-list.ts +0 -21
- package/src/resources/session-messages.ts +0 -31
- package/src/resources/session-share.ts +0 -23
- package/src/resources/session-summarize.ts +0 -34
- package/src/resources/session-unshare.ts +0 -26
package/resources/event.d.ts
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as SessionAPI from "./session.js";
|
|
3
|
+
import * as Shared from "./shared.js";
|
|
4
4
|
import { APIPromise } from "../core/api-promise.js";
|
|
5
|
+
import { Stream } from "../core/streaming.js";
|
|
5
6
|
import { RequestOptions } from "../internal/request-options.js";
|
|
6
7
|
export declare class Event extends APIResource {
|
|
7
8
|
/**
|
|
8
9
|
* Get events
|
|
9
10
|
*/
|
|
10
|
-
list(options?: RequestOptions): APIPromise<EventListResponse
|
|
11
|
+
list(options?: RequestOptions): APIPromise<Stream<EventListResponse>>;
|
|
11
12
|
}
|
|
12
|
-
export type EventListResponse = 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;
|
|
13
14
|
export declare namespace EventListResponse {
|
|
14
|
-
interface EventStorageWrite {
|
|
15
|
-
properties: EventStorageWrite.Properties;
|
|
16
|
-
type: 'storage.write';
|
|
17
|
-
}
|
|
18
|
-
namespace EventStorageWrite {
|
|
19
|
-
interface Properties {
|
|
20
|
-
key: string;
|
|
21
|
-
content?: unknown;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
15
|
interface EventInstallationUpdated {
|
|
25
16
|
properties: EventInstallationUpdated.Properties;
|
|
26
17
|
type: 'installation.updated';
|
|
@@ -40,6 +31,54 @@ export declare namespace EventListResponse {
|
|
|
40
31
|
serverID: string;
|
|
41
32
|
}
|
|
42
33
|
}
|
|
34
|
+
interface EventMessageUpdated {
|
|
35
|
+
properties: EventMessageUpdated.Properties;
|
|
36
|
+
type: 'message.updated';
|
|
37
|
+
}
|
|
38
|
+
namespace EventMessageUpdated {
|
|
39
|
+
interface Properties {
|
|
40
|
+
info: SessionAPI.Message;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
interface EventMessageRemoved {
|
|
44
|
+
properties: EventMessageRemoved.Properties;
|
|
45
|
+
type: 'message.removed';
|
|
46
|
+
}
|
|
47
|
+
namespace EventMessageRemoved {
|
|
48
|
+
interface Properties {
|
|
49
|
+
messageID: string;
|
|
50
|
+
sessionID: string;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
interface EventMessagePartUpdated {
|
|
54
|
+
properties: EventMessagePartUpdated.Properties;
|
|
55
|
+
type: 'message.part.updated';
|
|
56
|
+
}
|
|
57
|
+
namespace EventMessagePartUpdated {
|
|
58
|
+
interface Properties {
|
|
59
|
+
part: SessionAPI.Part;
|
|
60
|
+
}
|
|
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
|
+
}
|
|
72
|
+
interface EventStorageWrite {
|
|
73
|
+
properties: EventStorageWrite.Properties;
|
|
74
|
+
type: 'storage.write';
|
|
75
|
+
}
|
|
76
|
+
namespace EventStorageWrite {
|
|
77
|
+
interface Properties {
|
|
78
|
+
key: string;
|
|
79
|
+
content?: unknown;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
43
82
|
interface EventPermissionUpdated {
|
|
44
83
|
properties: EventPermissionUpdated.Properties;
|
|
45
84
|
type: 'permission.updated';
|
|
@@ -60,24 +99,13 @@ export declare namespace EventListResponse {
|
|
|
60
99
|
}
|
|
61
100
|
}
|
|
62
101
|
}
|
|
63
|
-
interface
|
|
64
|
-
properties:
|
|
65
|
-
type: '
|
|
66
|
-
}
|
|
67
|
-
namespace EventMessageUpdated {
|
|
68
|
-
interface Properties {
|
|
69
|
-
info: SessionChatAPI.MessageInfo;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
interface EventMessagePartUpdated {
|
|
73
|
-
properties: EventMessagePartUpdated.Properties;
|
|
74
|
-
type: 'message.part.updated';
|
|
102
|
+
interface EventFileEdited {
|
|
103
|
+
properties: EventFileEdited.Properties;
|
|
104
|
+
type: 'file.edited';
|
|
75
105
|
}
|
|
76
|
-
namespace
|
|
106
|
+
namespace EventFileEdited {
|
|
77
107
|
interface Properties {
|
|
78
|
-
|
|
79
|
-
part: SessionChatAPI.MessagePart;
|
|
80
|
-
sessionID: string;
|
|
108
|
+
file: string;
|
|
81
109
|
}
|
|
82
110
|
}
|
|
83
111
|
interface EventSessionUpdated {
|
|
@@ -86,7 +114,25 @@ export declare namespace EventListResponse {
|
|
|
86
114
|
}
|
|
87
115
|
namespace EventSessionUpdated {
|
|
88
116
|
interface Properties {
|
|
89
|
-
info:
|
|
117
|
+
info: SessionAPI.Session;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
interface EventSessionDeleted {
|
|
121
|
+
properties: EventSessionDeleted.Properties;
|
|
122
|
+
type: 'session.deleted';
|
|
123
|
+
}
|
|
124
|
+
namespace EventSessionDeleted {
|
|
125
|
+
interface Properties {
|
|
126
|
+
info: SessionAPI.Session;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
interface EventSessionIdle {
|
|
130
|
+
properties: EventSessionIdle.Properties;
|
|
131
|
+
type: 'session.idle';
|
|
132
|
+
}
|
|
133
|
+
namespace EventSessionIdle {
|
|
134
|
+
interface Properties {
|
|
135
|
+
sessionID: string;
|
|
90
136
|
}
|
|
91
137
|
}
|
|
92
138
|
interface EventSessionError {
|
|
@@ -95,7 +141,33 @@ export declare namespace EventListResponse {
|
|
|
95
141
|
}
|
|
96
142
|
namespace EventSessionError {
|
|
97
143
|
interface Properties {
|
|
98
|
-
error?:
|
|
144
|
+
error?: Shared.ProviderAuthError | Shared.UnknownError | Properties.MessageOutputLengthError | Shared.MessageAbortedError;
|
|
145
|
+
sessionID?: string;
|
|
146
|
+
}
|
|
147
|
+
namespace Properties {
|
|
148
|
+
interface MessageOutputLengthError {
|
|
149
|
+
data: unknown;
|
|
150
|
+
name: 'MessageOutputLengthError';
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
interface EventFileWatcherUpdated {
|
|
155
|
+
properties: EventFileWatcherUpdated.Properties;
|
|
156
|
+
type: 'file.watcher.updated';
|
|
157
|
+
}
|
|
158
|
+
namespace EventFileWatcherUpdated {
|
|
159
|
+
interface Properties {
|
|
160
|
+
event: 'rename' | 'change';
|
|
161
|
+
file: string;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
interface EventIdeInstalled {
|
|
165
|
+
properties: EventIdeInstalled.Properties;
|
|
166
|
+
type: 'ide.installed';
|
|
167
|
+
}
|
|
168
|
+
namespace EventIdeInstalled {
|
|
169
|
+
interface Properties {
|
|
170
|
+
ide: string;
|
|
99
171
|
}
|
|
100
172
|
}
|
|
101
173
|
}
|
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,
|
|
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;OACV,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IA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AAI,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/event.js
CHANGED
package/resources/event.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAO/C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAA0C,CAAC;IAC3G,CAAC;CACF;AAPD,sBAOC"}
|
package/resources/event.mjs
CHANGED
package/resources/event.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.mjs","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"event.mjs","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAOtB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAA0C,CAAC;IAC3G,CAAC;CACF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class FileResource extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Read a file
|
|
7
|
+
*/
|
|
8
|
+
read(query: FileReadParams, options?: RequestOptions): APIPromise<FileReadResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Get file status
|
|
11
|
+
*/
|
|
12
|
+
status(options?: RequestOptions): APIPromise<FileStatusResponse>;
|
|
13
|
+
}
|
|
14
|
+
export interface File {
|
|
15
|
+
added: number;
|
|
16
|
+
path: string;
|
|
17
|
+
removed: number;
|
|
18
|
+
status: 'added' | 'deleted' | 'modified';
|
|
19
|
+
}
|
|
20
|
+
export interface FileReadResponse {
|
|
21
|
+
content: string;
|
|
22
|
+
type: 'raw' | 'patch';
|
|
23
|
+
}
|
|
24
|
+
export type FileStatusResponse = Array<File>;
|
|
25
|
+
export interface FileReadParams {
|
|
26
|
+
path: string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace FileResource {
|
|
29
|
+
export { type File as File, type FileReadResponse as FileReadResponse, type FileStatusResponse as FileStatusResponse, type FileReadParams as FileReadParams, };
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=file.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.d.mts","sourceRoot":"","sources":["../src/resources/file.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAInF;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;CAGjE;AAED,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;CAC1C;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAEhB,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class FileResource extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Read a file
|
|
7
|
+
*/
|
|
8
|
+
read(query: FileReadParams, options?: RequestOptions): APIPromise<FileReadResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Get file status
|
|
11
|
+
*/
|
|
12
|
+
status(options?: RequestOptions): APIPromise<FileStatusResponse>;
|
|
13
|
+
}
|
|
14
|
+
export interface File {
|
|
15
|
+
added: number;
|
|
16
|
+
path: string;
|
|
17
|
+
removed: number;
|
|
18
|
+
status: 'added' | 'deleted' | 'modified';
|
|
19
|
+
}
|
|
20
|
+
export interface FileReadResponse {
|
|
21
|
+
content: string;
|
|
22
|
+
type: 'raw' | 'patch';
|
|
23
|
+
}
|
|
24
|
+
export type FileStatusResponse = Array<File>;
|
|
25
|
+
export interface FileReadParams {
|
|
26
|
+
path: string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace FileResource {
|
|
29
|
+
export { type File as File, type FileReadResponse as FileReadResponse, type FileStatusResponse as FileStatusResponse, type FileReadParams as FileReadParams, };
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=file.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../src/resources/file.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAInF;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;CAGjE;AAED,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;CAC1C;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAEhB,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FileResource = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class FileResource extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Read a file
|
|
9
|
+
*/
|
|
10
|
+
read(query, options) {
|
|
11
|
+
return this._client.get('/file', { query, ...options });
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Get file status
|
|
15
|
+
*/
|
|
16
|
+
status(options) {
|
|
17
|
+
return this._client.get('/file/status', options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.FileResource = FileResource;
|
|
21
|
+
//# sourceMappingURL=file.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.js","sourceRoot":"","sources":["../src/resources/file.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,KAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;CACF;AAdD,oCAcC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class FileResource extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Read a file
|
|
6
|
+
*/
|
|
7
|
+
read(query, options) {
|
|
8
|
+
return this._client.get('/file', { query, ...options });
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Get file status
|
|
12
|
+
*/
|
|
13
|
+
status(options) {
|
|
14
|
+
return this._client.get('/file/status', options);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=file.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.mjs","sourceRoot":"","sources":["../src/resources/file.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CAAC,KAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;CACF"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class Find extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Find files
|
|
7
|
+
*/
|
|
8
|
+
files(query: FindFilesParams, options?: RequestOptions): APIPromise<FindFilesResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Find workspace symbols
|
|
11
|
+
*/
|
|
12
|
+
symbols(query: FindSymbolsParams, options?: RequestOptions): APIPromise<FindSymbolsResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Find text in files
|
|
15
|
+
*/
|
|
16
|
+
text(query: FindTextParams, options?: RequestOptions): APIPromise<FindTextResponse>;
|
|
17
|
+
}
|
|
18
|
+
export interface Symbol {
|
|
19
|
+
kind: number;
|
|
20
|
+
location: Symbol.Location;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace Symbol {
|
|
24
|
+
interface Location {
|
|
25
|
+
range: Location.Range;
|
|
26
|
+
uri: string;
|
|
27
|
+
}
|
|
28
|
+
namespace Location {
|
|
29
|
+
interface Range {
|
|
30
|
+
end: Range.End;
|
|
31
|
+
start: Range.Start;
|
|
32
|
+
}
|
|
33
|
+
namespace Range {
|
|
34
|
+
interface End {
|
|
35
|
+
character: number;
|
|
36
|
+
line: number;
|
|
37
|
+
}
|
|
38
|
+
interface Start {
|
|
39
|
+
character: number;
|
|
40
|
+
line: number;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export type FindFilesResponse = Array<string>;
|
|
46
|
+
export type FindSymbolsResponse = Array<Symbol>;
|
|
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
|
+
}
|
|
75
|
+
export interface FindFilesParams {
|
|
76
|
+
query: string;
|
|
77
|
+
}
|
|
78
|
+
export interface FindSymbolsParams {
|
|
79
|
+
query: string;
|
|
80
|
+
}
|
|
81
|
+
export interface FindTextParams {
|
|
82
|
+
pattern: string;
|
|
83
|
+
}
|
|
84
|
+
export declare namespace Find {
|
|
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, };
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=find.d.mts.map
|
|
@@ -0,0 +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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ED,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"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Find extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Find files
|
|
7
|
+
*/
|
|
8
|
+
files(query: FindFilesParams, options?: RequestOptions): APIPromise<FindFilesResponse>;
|
|
9
|
+
/**
|
|
10
|
+
* Find workspace symbols
|
|
11
|
+
*/
|
|
12
|
+
symbols(query: FindSymbolsParams, options?: RequestOptions): APIPromise<FindSymbolsResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Find text in files
|
|
15
|
+
*/
|
|
16
|
+
text(query: FindTextParams, options?: RequestOptions): APIPromise<FindTextResponse>;
|
|
17
|
+
}
|
|
18
|
+
export interface Symbol {
|
|
19
|
+
kind: number;
|
|
20
|
+
location: Symbol.Location;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace Symbol {
|
|
24
|
+
interface Location {
|
|
25
|
+
range: Location.Range;
|
|
26
|
+
uri: string;
|
|
27
|
+
}
|
|
28
|
+
namespace Location {
|
|
29
|
+
interface Range {
|
|
30
|
+
end: Range.End;
|
|
31
|
+
start: Range.Start;
|
|
32
|
+
}
|
|
33
|
+
namespace Range {
|
|
34
|
+
interface End {
|
|
35
|
+
character: number;
|
|
36
|
+
line: number;
|
|
37
|
+
}
|
|
38
|
+
interface Start {
|
|
39
|
+
character: number;
|
|
40
|
+
line: number;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export type FindFilesResponse = Array<string>;
|
|
46
|
+
export type FindSymbolsResponse = Array<Symbol>;
|
|
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
|
+
}
|
|
75
|
+
export interface FindFilesParams {
|
|
76
|
+
query: string;
|
|
77
|
+
}
|
|
78
|
+
export interface FindSymbolsParams {
|
|
79
|
+
query: string;
|
|
80
|
+
}
|
|
81
|
+
export interface FindTextParams {
|
|
82
|
+
pattern: string;
|
|
83
|
+
}
|
|
84
|
+
export declare namespace Find {
|
|
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, };
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=find.d.ts.map
|
|
@@ -0,0 +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,MAAM;IACrB,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC;IAE1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,yBAAiB,MAAM,CAAC;IACtB,UAAiB,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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"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Find = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class Find extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Find files
|
|
9
|
+
*/
|
|
10
|
+
files(query, options) {
|
|
11
|
+
return this._client.get('/find/file', { query, ...options });
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Find workspace symbols
|
|
15
|
+
*/
|
|
16
|
+
symbols(query, options) {
|
|
17
|
+
return this._client.get('/find/symbol', { query, ...options });
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Find text in files
|
|
21
|
+
*/
|
|
22
|
+
text(query, options) {
|
|
23
|
+
return this._client.get('/find', { query, ...options });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.Find = Find;
|
|
27
|
+
//# sourceMappingURL=find.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find.js","sourceRoot":"","sources":["../src/resources/find.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,KAAK,CAAC,KAAsB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,KAAwB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,KAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF;AArBD,oBAqBC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class Find extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Find files
|
|
6
|
+
*/
|
|
7
|
+
files(query, options) {
|
|
8
|
+
return this._client.get('/find/file', { query, ...options });
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Find workspace symbols
|
|
12
|
+
*/
|
|
13
|
+
symbols(query, options) {
|
|
14
|
+
return this._client.get('/find/symbol', { query, ...options });
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Find text in files
|
|
18
|
+
*/
|
|
19
|
+
text(query, options) {
|
|
20
|
+
return this._client.get('/find', { query, ...options });
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=find.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find.mjs","sourceRoot":"","sources":["../src/resources/find.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,KAAK,CAAC,KAAsB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,KAAwB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,KAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export * from "./shared.mjs";
|
|
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
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export { SessionAbort, type SessionAbortAbortResponse, type SessionAbortAbortParams } from "./session-abort.mjs";
|
|
10
|
-
export { SessionChat, type MessageInfo, type MessagePart, type ProviderAuthError, type UnknownError, type SessionChatCreateParams, } from "./session-chat.mjs";
|
|
11
|
-
export { SessionCreate, type SessionInfo } from "./session-create.mjs";
|
|
12
|
-
export { SessionInitialize, type SessionInitializeCreateResponse, type SessionInitializeCreateParams, } from "./session-initialize.mjs";
|
|
13
|
-
export { SessionList, type SessionListCreateResponse } from "./session-list.mjs";
|
|
14
|
-
export { SessionMessages, type SessionMessageCreateResponse, type SessionMessageCreateParams, } from "./session-messages.mjs";
|
|
15
|
-
export { SessionShare, type SessionShareCreateParams } from "./session-share.mjs";
|
|
16
|
-
export { SessionSummarize, type SessionSummarizeSummarizeResponse, type SessionSummarizeSummarizeParams, } from "./session-summarize.mjs";
|
|
17
|
-
export { SessionUnshare, type SessionUnshareUnshareParams } from "./session-unshare.mjs";
|
|
5
|
+
export { FileResource, type File, type FileReadResponse, type FileStatusResponse, type FileReadParams, } from "./file.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";
|
|
18
9
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"
|
|
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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