@opencode-ai/sdk 0.1.0-alpha.14 → 0.1.0-alpha.2
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 +0 -113
- package/LICENSE +4 -198
- package/README.md +0 -18
- package/client.d.mts +48 -17
- package/client.d.mts.map +1 -1
- package/client.d.ts +48 -17
- package/client.d.ts.map +1 -1
- package/client.js +48 -15
- package/client.js.map +1 -1
- package/client.mjs +48 -15
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +0 -10
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +0 -10
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +0 -2
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +0 -2
- 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 +6 -8
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -8
- 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 +5 -26
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +5 -26
- package/internal/utils/path.mjs.map +1 -1
- package/package.json +3 -13
- package/resources/app-info.d.mts +31 -0
- package/resources/app-info.d.mts.map +1 -0
- package/resources/app-info.d.ts +31 -0
- package/resources/app-info.d.ts.map +1 -0
- package/resources/app-info.js +15 -0
- package/resources/app-info.js.map +1 -0
- package/resources/app-info.mjs +11 -0
- package/resources/app-info.mjs.map +1 -0
- package/resources/app-initialize.d.mts +14 -0
- package/resources/app-initialize.d.mts.map +1 -0
- package/resources/app-initialize.d.ts +14 -0
- package/resources/app-initialize.d.ts.map +1 -0
- package/resources/app-initialize.js +15 -0
- package/resources/app-initialize.js.map +1 -0
- package/resources/app-initialize.mjs +11 -0
- package/resources/app-initialize.mjs.map +1 -0
- package/resources/config-get.d.mts +236 -0
- package/resources/config-get.d.mts.map +1 -0
- package/resources/config-get.d.ts +236 -0
- package/resources/config-get.d.ts.map +1 -0
- package/resources/config-get.js +15 -0
- package/resources/config-get.js.map +1 -0
- package/resources/config-get.mjs +11 -0
- package/resources/config-get.mjs.map +1 -0
- package/resources/event.d.mts +27 -81
- package/resources/event.d.mts.map +1 -1
- package/resources/event.d.ts +27 -81
- 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-search.d.mts +17 -0
- package/resources/file-search.d.mts.map +1 -0
- package/resources/file-search.d.ts +17 -0
- package/resources/file-search.d.ts.map +1 -0
- package/resources/file-search.js +15 -0
- package/resources/file-search.js.map +1 -0
- package/resources/file-search.mjs +11 -0
- package/resources/file-search.mjs.map +1 -0
- package/resources/index.d.mts +16 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +16 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +33 -13
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +16 -6
- package/resources/index.mjs.map +1 -1
- package/resources/installation-info.d.mts +17 -0
- package/resources/installation-info.d.mts.map +1 -0
- package/resources/installation-info.d.ts +17 -0
- package/resources/installation-info.d.ts.map +1 -0
- package/resources/installation-info.js +15 -0
- package/resources/installation-info.js.map +1 -0
- package/resources/installation-info.mjs +11 -0
- package/resources/installation-info.mjs.map +1 -0
- package/resources/path-get.d.mts +19 -0
- package/resources/path-get.d.mts.map +1 -0
- package/resources/path-get.d.ts +19 -0
- package/resources/path-get.d.ts.map +1 -0
- package/resources/path-get.js +15 -0
- package/resources/path-get.js.map +1 -0
- package/resources/path-get.mjs +11 -0
- package/resources/path-get.mjs.map +1 -0
- package/resources/provider-list.d.mts +58 -0
- package/resources/provider-list.d.mts.map +1 -0
- package/resources/provider-list.d.ts +58 -0
- package/resources/provider-list.d.ts.map +1 -0
- package/resources/provider-list.js +15 -0
- package/resources/provider-list.js.map +1 -0
- package/resources/provider-list.mjs +11 -0
- package/resources/provider-list.mjs.map +1 -0
- package/resources/session-abort.d.mts +17 -0
- package/resources/session-abort.d.mts.map +1 -0
- package/resources/session-abort.d.ts +17 -0
- package/resources/session-abort.d.ts.map +1 -0
- package/resources/session-abort.js +15 -0
- package/resources/session-abort.js.map +1 -0
- package/resources/session-abort.mjs +11 -0
- package/resources/session-abort.mjs.map +1 -0
- package/resources/session-chat.d.mts +160 -0
- package/resources/session-chat.d.mts.map +1 -0
- package/resources/session-chat.d.ts +160 -0
- package/resources/session-chat.d.ts.map +1 -0
- package/resources/session-chat.js +15 -0
- package/resources/session-chat.js.map +1 -0
- package/resources/session-chat.mjs +11 -0
- package/resources/session-chat.mjs.map +1 -0
- package/resources/session-create.d.mts +30 -0
- package/resources/session-create.d.mts.map +1 -0
- package/resources/session-create.d.ts +30 -0
- package/resources/session-create.d.ts.map +1 -0
- package/resources/session-create.js +15 -0
- package/resources/session-create.js.map +1 -0
- package/resources/session-create.mjs +11 -0
- package/resources/session-create.mjs.map +1 -0
- package/resources/session-initialize.d.mts +19 -0
- package/resources/session-initialize.d.mts.map +1 -0
- package/resources/session-initialize.d.ts +19 -0
- package/resources/session-initialize.d.ts.map +1 -0
- package/resources/session-initialize.js +15 -0
- package/resources/session-initialize.js.map +1 -0
- package/resources/session-initialize.mjs +11 -0
- package/resources/session-initialize.mjs.map +1 -0
- package/resources/session-list.d.mts +15 -0
- package/resources/session-list.d.mts.map +1 -0
- package/resources/session-list.d.ts +15 -0
- package/resources/session-list.d.ts.map +1 -0
- package/resources/session-list.js +15 -0
- package/resources/session-list.js.map +1 -0
- package/resources/session-list.mjs +11 -0
- package/resources/session-list.mjs.map +1 -0
- package/resources/session-messages.d.mts +18 -0
- package/resources/session-messages.d.mts.map +1 -0
- package/resources/session-messages.d.ts +18 -0
- package/resources/session-messages.d.ts.map +1 -0
- package/resources/session-messages.js +15 -0
- package/resources/session-messages.js.map +1 -0
- package/resources/session-messages.mjs +11 -0
- package/resources/session-messages.mjs.map +1 -0
- package/resources/session-share.d.mts +17 -0
- package/resources/session-share.d.mts.map +1 -0
- package/resources/session-share.d.ts +17 -0
- package/resources/session-share.d.ts.map +1 -0
- package/resources/session-share.js +15 -0
- package/resources/session-share.js.map +1 -0
- package/resources/session-share.mjs +11 -0
- package/resources/session-share.mjs.map +1 -0
- package/resources/session-summarize.d.mts +19 -0
- package/resources/session-summarize.d.mts.map +1 -0
- package/resources/session-summarize.d.ts +19 -0
- package/resources/session-summarize.d.ts.map +1 -0
- package/resources/session-summarize.js +15 -0
- package/resources/session-summarize.js.map +1 -0
- package/resources/session-summarize.mjs +11 -0
- package/resources/session-summarize.mjs.map +1 -0
- package/resources/session-unshare.d.mts +17 -0
- package/resources/session-unshare.d.mts.map +1 -0
- package/resources/session-unshare.d.ts +17 -0
- package/resources/session-unshare.d.ts.map +1 -0
- package/resources/session-unshare.js +15 -0
- package/resources/session-unshare.js.map +1 -0
- package/resources/session-unshare.mjs +11 -0
- package/resources/session-unshare.mjs.map +1 -0
- package/src/client.ts +118 -96
- package/src/internal/parse.ts +0 -14
- package/src/internal/request-options.ts +0 -2
- package/src/internal/types.ts +6 -9
- package/src/internal/uploads.ts +1 -1
- package/src/internal/utils/log.ts +1 -1
- package/src/internal/utils/path.ts +7 -32
- package/src/resources/app-info.ts +46 -0
- package/src/resources/app-initialize.ts +20 -0
- package/src/resources/config-get.ts +294 -0
- package/src/resources/event.ts +37 -115
- package/src/resources/file-search.ts +27 -0
- package/src/resources/index.ts +33 -44
- package/src/resources/installation-info.ts +24 -0
- package/src/resources/path-get.ts +28 -0
- package/src/resources/provider-list.ts +80 -0
- package/src/resources/session-abort.ts +27 -0
- package/src/resources/session-chat.ts +250 -0
- package/src/resources/session-create.ts +44 -0
- package/src/resources/session-initialize.ts +34 -0
- package/src/resources/session-list.ts +21 -0
- package/src/resources/session-messages.ts +31 -0
- package/src/resources/session-share.ts +23 -0
- package/src/resources/session-summarize.ts +34 -0
- package/src/resources/session-unshare.ts +26 -0
- package/src/version.ts +1 -1
- 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/core/streaming.d.mts +0 -31
- package/core/streaming.d.mts.map +0 -1
- package/core/streaming.d.ts +0 -31
- package/core/streaming.d.ts.map +0 -1
- package/core/streaming.js +0 -257
- package/core/streaming.js.map +0 -1
- package/core/streaming.mjs +0 -252
- package/core/streaming.mjs.map +0 -1
- package/internal/decoders/line.d.mts +0 -17
- package/internal/decoders/line.d.mts.map +0 -1
- package/internal/decoders/line.d.ts +0 -17
- package/internal/decoders/line.d.ts.map +0 -1
- package/internal/decoders/line.js +0 -113
- package/internal/decoders/line.js.map +0 -1
- package/internal/decoders/line.mjs +0 -108
- package/internal/decoders/line.mjs.map +0 -1
- package/resources/app.d.mts +0 -37
- package/resources/app.d.mts.map +0 -1
- package/resources/app.d.ts +0 -37
- package/resources/app.d.ts.map +0 -1
- package/resources/app.js +0 -21
- package/resources/app.js.map +0 -1
- package/resources/app.mjs +0 -17
- package/resources/app.mjs.map +0 -1
- package/resources/config.d.mts +0 -318
- package/resources/config.d.mts.map +0 -1
- package/resources/config.d.ts +0 -318
- package/resources/config.d.ts.map +0 -1
- package/resources/config.js +0 -21
- package/resources/config.js.map +0 -1
- package/resources/config.mjs +0 -17
- package/resources/config.mjs.map +0 -1
- package/resources/file.d.mts +0 -33
- package/resources/file.d.mts.map +0 -1
- package/resources/file.d.ts +0 -33
- package/resources/file.d.ts.map +0 -1
- package/resources/file.js +0 -21
- package/resources/file.js.map +0 -1
- package/resources/file.mjs +0 -17
- package/resources/file.mjs.map +0 -1
- package/resources/find.d.mts +0 -60
- package/resources/find.d.mts.map +0 -1
- package/resources/find.d.ts +0 -60
- package/resources/find.d.ts.map +0 -1
- package/resources/find.js +0 -27
- package/resources/find.js.map +0 -1
- package/resources/find.mjs +0 -23
- package/resources/find.mjs.map +0 -1
- package/resources/session.d.mts +0 -215
- package/resources/session.d.mts.map +0 -1
- package/resources/session.d.ts +0 -215
- package/resources/session.d.ts.map +0 -1
- package/resources/session.js +0 -70
- package/resources/session.js.map +0 -1
- package/resources/session.mjs +0 -66
- package/resources/session.mjs.map +0 -1
- package/resources/shared.d.mts +0 -20
- package/resources/shared.d.mts.map +0 -1
- package/resources/shared.d.ts +0 -20
- package/resources/shared.d.ts.map +0 -1
- package/resources/shared.js +0 -4
- package/resources/shared.js.map +0 -1
- package/resources/shared.mjs +0 -3
- package/resources/shared.mjs.map +0 -1
- package/src/core/streaming.ts +0 -301
- package/src/internal/decoders/line.ts +0 -135
- package/src/resources/app.ts +0 -57
- package/src/resources/config.ts +0 -409
- package/src/resources/file.ts +0 -53
- package/src/resources/find.ts +0 -95
- package/src/resources/session.ts +0 -369
- package/src/resources/shared.ts +0 -27
- package/src/streaming.ts +0 -2
- package/streaming.d.mts +0 -2
- package/streaming.d.mts.map +0 -1
- package/streaming.d.ts +0 -2
- package/streaming.d.ts.map +0 -1
- package/streaming.js +0 -6
- package/streaming.js.map +0 -1
- package/streaming.mjs +0 -2
- package/streaming.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.mts","sourceRoot":"","sources":["../src/resources/event.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,
|
|
1
|
+
{"version":3,"file":"event.d.mts","sourceRoot":"","sources":["../src/resources/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UAAiB,UAAU;YACzB,KAAK,CAAC,EAAE,cAAc,CAAC,iBAAiB,GAAG,cAAc,CAAC,YAAY,CAAC;SACxE;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
|
package/resources/event.d.ts
CHANGED
|
@@ -1,17 +1,35 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as SessionChatAPI from "./session-chat.js";
|
|
3
|
+
import * as SessionCreateAPI from "./session-create.js";
|
|
4
4
|
import { APIPromise } from "../core/api-promise.js";
|
|
5
|
-
import { Stream } from "../core/streaming.js";
|
|
6
5
|
import { RequestOptions } from "../internal/request-options.js";
|
|
7
6
|
export declare class Event extends APIResource {
|
|
8
7
|
/**
|
|
9
8
|
* Get events
|
|
10
9
|
*/
|
|
11
|
-
list(options?: RequestOptions): APIPromise<
|
|
10
|
+
list(options?: RequestOptions): APIPromise<EventListResponse>;
|
|
12
11
|
}
|
|
13
|
-
export type EventListResponse = EventListResponse.
|
|
12
|
+
export type EventListResponse = EventListResponse.EventStorageWrite | EventListResponse.EventInstallationUpdated | EventListResponse.EventLspClientDiagnostics | EventListResponse.EventPermissionUpdated | EventListResponse.EventMessageUpdated | EventListResponse.EventMessagePartUpdated | EventListResponse.EventSessionUpdated | EventListResponse.EventSessionError;
|
|
14
13
|
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
|
+
interface EventInstallationUpdated {
|
|
25
|
+
properties: EventInstallationUpdated.Properties;
|
|
26
|
+
type: 'installation.updated';
|
|
27
|
+
}
|
|
28
|
+
namespace EventInstallationUpdated {
|
|
29
|
+
interface Properties {
|
|
30
|
+
version: string;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
15
33
|
interface EventLspClientDiagnostics {
|
|
16
34
|
properties: EventLspClientDiagnostics.Properties;
|
|
17
35
|
type: 'lsp.client.diagnostics';
|
|
@@ -42,51 +60,13 @@ export declare namespace EventListResponse {
|
|
|
42
60
|
}
|
|
43
61
|
}
|
|
44
62
|
}
|
|
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 EventStorageWrite {
|
|
55
|
-
properties: EventStorageWrite.Properties;
|
|
56
|
-
type: 'storage.write';
|
|
57
|
-
}
|
|
58
|
-
namespace EventStorageWrite {
|
|
59
|
-
interface Properties {
|
|
60
|
-
key: string;
|
|
61
|
-
content?: unknown;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
interface EventInstallationUpdated {
|
|
65
|
-
properties: EventInstallationUpdated.Properties;
|
|
66
|
-
type: 'installation.updated';
|
|
67
|
-
}
|
|
68
|
-
namespace EventInstallationUpdated {
|
|
69
|
-
interface Properties {
|
|
70
|
-
version: string;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
63
|
interface EventMessageUpdated {
|
|
74
64
|
properties: EventMessageUpdated.Properties;
|
|
75
65
|
type: 'message.updated';
|
|
76
66
|
}
|
|
77
67
|
namespace EventMessageUpdated {
|
|
78
68
|
interface Properties {
|
|
79
|
-
info:
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
interface EventMessageRemoved {
|
|
83
|
-
properties: EventMessageRemoved.Properties;
|
|
84
|
-
type: 'message.removed';
|
|
85
|
-
}
|
|
86
|
-
namespace EventMessageRemoved {
|
|
87
|
-
interface Properties {
|
|
88
|
-
messageID: string;
|
|
89
|
-
sessionID: string;
|
|
69
|
+
info: SessionChatAPI.MessageInfo;
|
|
90
70
|
}
|
|
91
71
|
}
|
|
92
72
|
interface EventMessagePartUpdated {
|
|
@@ -96,7 +76,7 @@ export declare namespace EventListResponse {
|
|
|
96
76
|
namespace EventMessagePartUpdated {
|
|
97
77
|
interface Properties {
|
|
98
78
|
messageID: string;
|
|
99
|
-
part:
|
|
79
|
+
part: SessionChatAPI.MessagePart;
|
|
100
80
|
sessionID: string;
|
|
101
81
|
}
|
|
102
82
|
}
|
|
@@ -106,25 +86,7 @@ export declare namespace EventListResponse {
|
|
|
106
86
|
}
|
|
107
87
|
namespace EventSessionUpdated {
|
|
108
88
|
interface Properties {
|
|
109
|
-
info:
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
interface EventSessionDeleted {
|
|
113
|
-
properties: EventSessionDeleted.Properties;
|
|
114
|
-
type: 'session.deleted';
|
|
115
|
-
}
|
|
116
|
-
namespace EventSessionDeleted {
|
|
117
|
-
interface Properties {
|
|
118
|
-
info: SessionAPI.Session;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
interface EventSessionIdle {
|
|
122
|
-
properties: EventSessionIdle.Properties;
|
|
123
|
-
type: 'session.idle';
|
|
124
|
-
}
|
|
125
|
-
namespace EventSessionIdle {
|
|
126
|
-
interface Properties {
|
|
127
|
-
sessionID: string;
|
|
89
|
+
info: SessionCreateAPI.SessionInfo;
|
|
128
90
|
}
|
|
129
91
|
}
|
|
130
92
|
interface EventSessionError {
|
|
@@ -133,23 +95,7 @@ export declare namespace EventListResponse {
|
|
|
133
95
|
}
|
|
134
96
|
namespace EventSessionError {
|
|
135
97
|
interface Properties {
|
|
136
|
-
error?:
|
|
137
|
-
}
|
|
138
|
-
namespace Properties {
|
|
139
|
-
interface MessageOutputLengthError {
|
|
140
|
-
data: unknown;
|
|
141
|
-
name: 'MessageOutputLengthError';
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
interface EventFileWatcherUpdated {
|
|
146
|
-
properties: EventFileWatcherUpdated.Properties;
|
|
147
|
-
type: 'file.watcher.updated';
|
|
148
|
-
}
|
|
149
|
-
namespace EventFileWatcherUpdated {
|
|
150
|
-
interface Properties {
|
|
151
|
-
event: 'rename' | 'change';
|
|
152
|
-
file: string;
|
|
98
|
+
error?: SessionChatAPI.ProviderAuthError | SessionChatAPI.UnknownError;
|
|
153
99
|
}
|
|
154
100
|
}
|
|
155
101
|
}
|
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,cAAc;OACnB,KAAK,gBAAgB;OACrB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG9D;AAED,MAAM,MAAM,iBAAiB,GACzB,iBAAiB,CAAC,iBAAiB,GACnC,iBAAiB,CAAC,wBAAwB,GAC1C,iBAAiB,CAAC,yBAAyB,GAC3C,iBAAiB,CAAC,sBAAsB,GACxC,iBAAiB,CAAC,mBAAmB,GACrC,iBAAiB,CAAC,uBAAuB,GACzC,iBAAiB,CAAC,mBAAmB,GACrC,iBAAiB,CAAC,iBAAiB,CAAC;AAExC,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,iBAAiB;QAChC,UAAU,EAAE,iBAAiB,CAAC,UAAU,CAAC;QAEzC,IAAI,EAAE,eAAe,CAAC;KACvB;IAED,UAAiB,iBA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uB,CAAC,UAAU,CAAC;QAE/C,IAAI,EAAE,sBAAsB,CAAC;KAC9B;IAED,UAAiB,uBAAuB,CAAC;QACvC,UAAiB,UAAU;YACzB,SAAS,EAAE,MAAM,CAAC;YAElB,IAAI,EAAE,cAAc,CAAC,WAAW,CAAC;YAEjC,SAAS,EAAE,MAAM,CAAC;SACnB;KACF;IAED,UAAiB,mBAAmB;QAClC,UAAU,EAAE,mBAAmB,CAAC,UAAU,CAAC;QAE3C,IAAI,EAAE,iBAAiB,CAAC;KACzB;IAED,UAAiB,mBAAmB,CAAC;QACnC,UAAiB,UAAU;YACzB,IAAI,EAAE,gBAAgB,CAAC,WAAW,CAAC;SACpC;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,EAAE,cAAc,CAAC,iBAAiB,GAAG,cAAc,CAAC,YAAY,CAAC;SACxE;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;AAM/C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC7C,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;AAMtB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;CACF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 FileSearch extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Search for files
|
|
7
|
+
*/
|
|
8
|
+
search(body: FileSearchSearchParams, options?: RequestOptions): APIPromise<FileSearchSearchResponse>;
|
|
9
|
+
}
|
|
10
|
+
export type FileSearchSearchResponse = Array<string>;
|
|
11
|
+
export interface FileSearchSearchParams {
|
|
12
|
+
query: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace FileSearch {
|
|
15
|
+
export { type FileSearchSearchResponse as FileSearchSearchResponse, type FileSearchSearchParams as FileSearchSearchParams, };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=file-search.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-search.d.mts","sourceRoot":"","sources":["../src/resources/file-search.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrG;AAED,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAErD,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 FileSearch extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Search for files
|
|
7
|
+
*/
|
|
8
|
+
search(body: FileSearchSearchParams, options?: RequestOptions): APIPromise<FileSearchSearchResponse>;
|
|
9
|
+
}
|
|
10
|
+
export type FileSearchSearchResponse = Array<string>;
|
|
11
|
+
export interface FileSearchSearchParams {
|
|
12
|
+
query: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace FileSearch {
|
|
15
|
+
export { type FileSearchSearchResponse as FileSearchSearchResponse, type FileSearchSearchParams as FileSearchSearchParams, };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=file-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-search.d.ts","sourceRoot":"","sources":["../src/resources/file-search.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrG;AAED,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAErD,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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.FileSearch = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class FileSearch extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Search for files
|
|
9
|
+
*/
|
|
10
|
+
search(body, options) {
|
|
11
|
+
return this._client.post('/file_search', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.FileSearch = FileSearch;
|
|
15
|
+
//# sourceMappingURL=file-search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-search.js","sourceRoot":"","sources":["../src/resources/file-search.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF;AAPD,gCAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class FileSearch extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Search for files
|
|
6
|
+
*/
|
|
7
|
+
search(body, options) {
|
|
8
|
+
return this._client.post('/file_search', { body, ...options });
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=file-search.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-search.mjs","sourceRoot":"","sources":["../src/resources/file-search.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { AppInfo, type AppInfoCreateResponse } from "./app-info.mjs";
|
|
2
|
+
export { AppInitialize, type AppInitializeInitializeResponse } from "./app-initialize.mjs";
|
|
3
|
+
export { ConfigGet, type ConfigGetRetrieveResponse } from "./config-get.mjs";
|
|
4
4
|
export { Event, type EventListResponse } from "./event.mjs";
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
5
|
+
export { FileSearch, type FileSearchSearchResponse, type FileSearchSearchParams } from "./file-search.mjs";
|
|
6
|
+
export { InstallationInfo, type InstallationInfoCreateResponse } from "./installation-info.mjs";
|
|
7
|
+
export { PathGet, type PathGetCreateResponse } from "./path-get.mjs";
|
|
8
|
+
export { ProviderList, type ProviderListCreateResponse } from "./provider-list.mjs";
|
|
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";
|
|
8
18
|
//# 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":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EAAE,aAAa,EAAE,KAAK,+BAA+B,EAAE;OACvD,EAAE,SAAS,EAAE,KAAK,yBAAyB,EAAE;OAC7C,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE;OACjC,EAAE,UAAU,EAAE,KAAK,wBAAwB,EAAE,KAAK,sBAAsB,EAAE;OAC1E,EAAE,gBAAgB,EAAE,KAAK,8BAA8B,EAAE;OACzD,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EAAE,YAAY,EAAE,KAAK,0BAA0B,EAAE;OACjD,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;OAC9E,EACL,WAAW,EACX,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,uBAAuB,GAC7B;OACM,EAAE,aAAa,EAAE,KAAK,WAAW,EAAE;OACnC,EACL,iBAAiB,EACjB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE;OAC/C,EACL,eAAe,EACf,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC;OACM,EAAE,YAAY,EAAE,KAAK,wBAAwB,EAAE;OAC/C,EACL,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC;OACM,EAAE,cAAc,EAAE,KAAK,2BAA2B,EAAE"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export { AppInfo, type AppInfoCreateResponse } from "./app-info.js";
|
|
2
|
+
export { AppInitialize, type AppInitializeInitializeResponse } from "./app-initialize.js";
|
|
3
|
+
export { ConfigGet, type ConfigGetRetrieveResponse } from "./config-get.js";
|
|
4
4
|
export { Event, type EventListResponse } from "./event.js";
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
5
|
+
export { FileSearch, type FileSearchSearchResponse, type FileSearchSearchParams } from "./file-search.js";
|
|
6
|
+
export { InstallationInfo, type InstallationInfoCreateResponse } from "./installation-info.js";
|
|
7
|
+
export { PathGet, type PathGetCreateResponse } from "./path-get.js";
|
|
8
|
+
export { ProviderList, type ProviderListCreateResponse } from "./provider-list.js";
|
|
9
|
+
export { SessionAbort, type SessionAbortAbortResponse, type SessionAbortAbortParams } from "./session-abort.js";
|
|
10
|
+
export { SessionChat, type MessageInfo, type MessagePart, type ProviderAuthError, type UnknownError, type SessionChatCreateParams, } from "./session-chat.js";
|
|
11
|
+
export { SessionCreate, type SessionInfo } from "./session-create.js";
|
|
12
|
+
export { SessionInitialize, type SessionInitializeCreateResponse, type SessionInitializeCreateParams, } from "./session-initialize.js";
|
|
13
|
+
export { SessionList, type SessionListCreateResponse } from "./session-list.js";
|
|
14
|
+
export { SessionMessages, type SessionMessageCreateResponse, type SessionMessageCreateParams, } from "./session-messages.js";
|
|
15
|
+
export { SessionShare, type SessionShareCreateParams } from "./session-share.js";
|
|
16
|
+
export { SessionSummarize, type SessionSummarizeSummarizeResponse, type SessionSummarizeSummarizeParams, } from "./session-summarize.js";
|
|
17
|
+
export { SessionUnshare, type SessionUnshareUnshareParams } from "./session-unshare.js";
|
|
8
18
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EAAE,aAAa,EAAE,KAAK,+BAA+B,EAAE;OACvD,EAAE,SAAS,EAAE,KAAK,yBAAyB,EAAE;OAC7C,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE;OACjC,EAAE,UAAU,EAAE,KAAK,wBAAwB,EAAE,KAAK,sBAAsB,EAAE;OAC1E,EAAE,gBAAgB,EAAE,KAAK,8BAA8B,EAAE;OACzD,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE;OACvC,EAAE,YAAY,EAAE,KAAK,0BAA0B,EAAE;OACjD,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE;OAC9E,EACL,WAAW,EACX,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,uBAAuB,GAC7B;OACM,EAAE,aAAa,EAAE,KAAK,WAAW,EAAE;OACnC,EACL,iBAAiB,EACjB,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE;OAC/C,EACL,eAAe,EACf,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC;OACM,EAAE,YAAY,EAAE,KAAK,wBAAwB,EAAE;OAC/C,EACL,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,GACrC;OACM,EAAE,cAAc,EAAE,KAAK,2BAA2B,EAAE"}
|
package/resources/index.js
CHANGED
|
@@ -1,19 +1,39 @@
|
|
|
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.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var
|
|
8
|
-
Object.defineProperty(exports, "
|
|
9
|
-
var
|
|
10
|
-
Object.defineProperty(exports, "
|
|
4
|
+
exports.SessionUnshare = exports.SessionSummarize = exports.SessionShare = exports.SessionMessages = exports.SessionList = exports.SessionInitialize = exports.SessionCreate = exports.SessionChat = exports.SessionAbort = exports.ProviderList = exports.PathGet = exports.InstallationInfo = exports.FileSearch = exports.Event = exports.ConfigGet = exports.AppInitialize = exports.AppInfo = void 0;
|
|
5
|
+
var app_info_1 = require("./app-info.js");
|
|
6
|
+
Object.defineProperty(exports, "AppInfo", { enumerable: true, get: function () { return app_info_1.AppInfo; } });
|
|
7
|
+
var app_initialize_1 = require("./app-initialize.js");
|
|
8
|
+
Object.defineProperty(exports, "AppInitialize", { enumerable: true, get: function () { return app_initialize_1.AppInitialize; } });
|
|
9
|
+
var config_get_1 = require("./config-get.js");
|
|
10
|
+
Object.defineProperty(exports, "ConfigGet", { enumerable: true, get: function () { return config_get_1.ConfigGet; } });
|
|
11
11
|
var event_1 = require("./event.js");
|
|
12
12
|
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return event_1.Event; } });
|
|
13
|
-
var
|
|
14
|
-
Object.defineProperty(exports, "
|
|
15
|
-
var
|
|
16
|
-
Object.defineProperty(exports, "
|
|
17
|
-
var
|
|
18
|
-
Object.defineProperty(exports, "
|
|
13
|
+
var file_search_1 = require("./file-search.js");
|
|
14
|
+
Object.defineProperty(exports, "FileSearch", { enumerable: true, get: function () { return file_search_1.FileSearch; } });
|
|
15
|
+
var installation_info_1 = require("./installation-info.js");
|
|
16
|
+
Object.defineProperty(exports, "InstallationInfo", { enumerable: true, get: function () { return installation_info_1.InstallationInfo; } });
|
|
17
|
+
var path_get_1 = require("./path-get.js");
|
|
18
|
+
Object.defineProperty(exports, "PathGet", { enumerable: true, get: function () { return path_get_1.PathGet; } });
|
|
19
|
+
var provider_list_1 = require("./provider-list.js");
|
|
20
|
+
Object.defineProperty(exports, "ProviderList", { enumerable: true, get: function () { return provider_list_1.ProviderList; } });
|
|
21
|
+
var session_abort_1 = require("./session-abort.js");
|
|
22
|
+
Object.defineProperty(exports, "SessionAbort", { enumerable: true, get: function () { return session_abort_1.SessionAbort; } });
|
|
23
|
+
var session_chat_1 = require("./session-chat.js");
|
|
24
|
+
Object.defineProperty(exports, "SessionChat", { enumerable: true, get: function () { return session_chat_1.SessionChat; } });
|
|
25
|
+
var session_create_1 = require("./session-create.js");
|
|
26
|
+
Object.defineProperty(exports, "SessionCreate", { enumerable: true, get: function () { return session_create_1.SessionCreate; } });
|
|
27
|
+
var session_initialize_1 = require("./session-initialize.js");
|
|
28
|
+
Object.defineProperty(exports, "SessionInitialize", { enumerable: true, get: function () { return session_initialize_1.SessionInitialize; } });
|
|
29
|
+
var session_list_1 = require("./session-list.js");
|
|
30
|
+
Object.defineProperty(exports, "SessionList", { enumerable: true, get: function () { return session_list_1.SessionList; } });
|
|
31
|
+
var session_messages_1 = require("./session-messages.js");
|
|
32
|
+
Object.defineProperty(exports, "SessionMessages", { enumerable: true, get: function () { return session_messages_1.SessionMessages; } });
|
|
33
|
+
var session_share_1 = require("./session-share.js");
|
|
34
|
+
Object.defineProperty(exports, "SessionShare", { enumerable: true, get: function () { return session_share_1.SessionShare; } });
|
|
35
|
+
var session_summarize_1 = require("./session-summarize.js");
|
|
36
|
+
Object.defineProperty(exports, "SessionSummarize", { enumerable: true, get: function () { return session_summarize_1.SessionSummarize; } });
|
|
37
|
+
var session_unshare_1 = require("./session-unshare.js");
|
|
38
|
+
Object.defineProperty(exports, "SessionUnshare", { enumerable: true, get: function () { return session_unshare_1.SessionUnshare; } });
|
|
19
39
|
//# 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
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAiE;AAAxD,mGAAA,OAAO,OAAA;AAChB,sDAAuF;AAA9E,+GAAA,aAAa,OAAA;AACtB,8CAAyE;AAAhE,uGAAA,SAAS,OAAA;AAClB,oCAAwD;AAA/C,8FAAA,KAAK,OAAA;AACd,gDAAuG;AAA9F,yGAAA,UAAU,OAAA;AACnB,4DAA4F;AAAnF,qHAAA,gBAAgB,OAAA;AACzB,0CAAiE;AAAxD,mGAAA,OAAO,OAAA;AAChB,oDAAgF;AAAvE,6GAAA,YAAY,OAAA;AACrB,oDAA6G;AAApG,6GAAA,YAAY,OAAA;AACrB,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,sDAAmE;AAA1D,+GAAA,aAAa,OAAA;AACtB,8DAI8B;AAH5B,uHAAA,iBAAiB,OAAA;AAInB,kDAA6E;AAApE,2GAAA,WAAW,OAAA;AACpB,0DAI4B;AAH1B,mHAAA,eAAe,OAAA;AAIjB,oDAA8E;AAArE,6GAAA,YAAY,OAAA;AACrB,4DAI6B;AAH3B,qHAAA,gBAAgB,OAAA;AAIlB,wDAAqF;AAA5E,iHAAA,cAAc,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
2
|
+
export { AppInfo } from "./app-info.mjs";
|
|
3
|
+
export { AppInitialize } from "./app-initialize.mjs";
|
|
4
|
+
export { ConfigGet } from "./config-get.mjs";
|
|
5
5
|
export { Event } from "./event.mjs";
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
6
|
+
export { FileSearch } from "./file-search.mjs";
|
|
7
|
+
export { InstallationInfo } from "./installation-info.mjs";
|
|
8
|
+
export { PathGet } from "./path-get.mjs";
|
|
9
|
+
export { ProviderList } from "./provider-list.mjs";
|
|
10
|
+
export { SessionAbort } from "./session-abort.mjs";
|
|
11
|
+
export { SessionChat, } from "./session-chat.mjs";
|
|
12
|
+
export { SessionCreate } from "./session-create.mjs";
|
|
13
|
+
export { SessionInitialize, } from "./session-initialize.mjs";
|
|
14
|
+
export { SessionList } from "./session-list.mjs";
|
|
15
|
+
export { SessionMessages, } from "./session-messages.mjs";
|
|
16
|
+
export { SessionShare } from "./session-share.mjs";
|
|
17
|
+
export { SessionSummarize, } from "./session-summarize.mjs";
|
|
18
|
+
export { SessionUnshare } from "./session-unshare.mjs";
|
|
9
19
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAA8B;OACvC,EAAE,aAAa,EAAwC;OACvD,EAAE,SAAS,EAAkC;OAC7C,EAAE,KAAK,EAA0B;OACjC,EAAE,UAAU,EAA8D;OAC1E,EAAE,gBAAgB,EAAuC;OACzD,EAAE,OAAO,EAA8B;OACvC,EAAE,YAAY,EAAmC;OACjD,EAAE,YAAY,EAAgE;OAC9E,EACL,WAAW,GAMZ;OACM,EAAE,aAAa,EAAoB;OACnC,EACL,iBAAiB,GAGlB;OACM,EAAE,WAAW,EAAkC;OAC/C,EACL,eAAe,GAGhB;OACM,EAAE,YAAY,EAAiC;OAC/C,EACL,gBAAgB,GAGjB;OACM,EAAE,cAAc,EAAoC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 InstallationInfo extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get installation info
|
|
7
|
+
*/
|
|
8
|
+
create(options?: RequestOptions): APIPromise<InstallationInfoCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface InstallationInfoCreateResponse {
|
|
11
|
+
latest: string;
|
|
12
|
+
version: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace InstallationInfo {
|
|
15
|
+
export { type InstallationInfoCreateResponse as InstallationInfoCreateResponse };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=installation-info.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installation-info.d.mts","sourceRoot":"","sources":["../src/resources/installation-info.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;CAG7E;AAED,MAAM,WAAW,8BAA8B;IAC7C,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EAAE,KAAK,8BAA8B,IAAI,8BAA8B,EAAE,CAAC;CAClF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 InstallationInfo extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get installation info
|
|
7
|
+
*/
|
|
8
|
+
create(options?: RequestOptions): APIPromise<InstallationInfoCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface InstallationInfoCreateResponse {
|
|
11
|
+
latest: string;
|
|
12
|
+
version: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace InstallationInfo {
|
|
15
|
+
export { type InstallationInfoCreateResponse as InstallationInfoCreateResponse };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=installation-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installation-info.d.ts","sourceRoot":"","sources":["../src/resources/installation-info.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;CAG7E;AAED,MAAM,WAAW,8BAA8B;IAC7C,MAAM,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EAAE,KAAK,8BAA8B,IAAI,8BAA8B,EAAE,CAAC;CAClF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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.InstallationInfo = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class InstallationInfo extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get installation info
|
|
9
|
+
*/
|
|
10
|
+
create(options) {
|
|
11
|
+
return this._client.post('/installation_info', options);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.InstallationInfo = InstallationInfo;
|
|
15
|
+
//# sourceMappingURL=installation-info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installation-info.js","sourceRoot":"","sources":["../src/resources/installation-info.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;CACF;AAPD,4CAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class InstallationInfo extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get installation info
|
|
6
|
+
*/
|
|
7
|
+
create(options) {
|
|
8
|
+
return this._client.post('/installation_info', options);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=installation-info.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installation-info.mjs","sourceRoot":"","sources":["../src/resources/installation-info.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,MAAM,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 PathGet extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get paths
|
|
7
|
+
*/
|
|
8
|
+
create(options?: RequestOptions): APIPromise<PathGetCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface PathGetCreateResponse {
|
|
11
|
+
config: string;
|
|
12
|
+
cwd: string;
|
|
13
|
+
data: string;
|
|
14
|
+
root: string;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace PathGet {
|
|
17
|
+
export { type PathGetCreateResponse as PathGetCreateResponse };
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=path-get.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-get.d.mts","sourceRoot":"","sources":["../src/resources/path-get.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAGpE;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IAEf,GAAG,EAAE,MAAM,CAAC;IAEZ,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAChE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 PathGet extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get paths
|
|
7
|
+
*/
|
|
8
|
+
create(options?: RequestOptions): APIPromise<PathGetCreateResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface PathGetCreateResponse {
|
|
11
|
+
config: string;
|
|
12
|
+
cwd: string;
|
|
13
|
+
data: string;
|
|
14
|
+
root: string;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace PathGet {
|
|
17
|
+
export { type PathGetCreateResponse as PathGetCreateResponse };
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=path-get.d.ts.map
|