@opengeni/sdk 1.0.2 → 1.1.0
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/dist/adapters/next.js +2 -2
- package/dist/artifact-catalog.d.ts +7 -0
- package/dist/artifacts.js +4 -4
- package/dist/browser.js +2 -2
- package/dist/chat/index.js +8 -7
- package/dist/chat/index.js.map +1 -1
- package/dist/{chunk-FG3OO5LM.js → chunk-BNZNLUD4.js} +12 -2
- package/dist/chunk-BNZNLUD4.js.map +1 -0
- package/dist/{chunk-AH5D5Q5V.js → chunk-E3KHK7FG.js} +2 -2
- package/dist/{chunk-MOTJYIYL.js → chunk-H6WMYN23.js} +2 -2
- package/dist/{chunk-YIKA2QT4.js → chunk-RLLUZFOW.js} +1 -1
- package/dist/{chunk-YIKA2QT4.js.map → chunk-RLLUZFOW.js.map} +1 -1
- package/dist/{chunk-DUVIYER4.js → chunk-T6HNHCN2.js} +2 -2
- package/dist/{chunk-RWKB6YZG.js → chunk-YH3W3HZZ.js} +2 -2
- package/dist/{chunk-HMGADJGZ.js → chunk-ZBMS2HCV.js} +2 -2
- package/dist/client.d.ts +5 -1
- package/dist/core.js +3 -3
- package/dist/document-authority.js +3 -3
- package/dist/editable-artifacts.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/session-proxy.js +2 -2
- package/dist/site-browser-runtime.gen.d.ts +1 -1
- package/dist/site-document.js +1 -1
- package/dist/site-document.js.map +1 -1
- package/dist/site.js +3 -3
- package/dist/types.d.ts +1 -1
- package/package.json +5 -4
- package/src/artifact-catalog.ts +8 -0
- package/src/chat/opengeni.ts +3 -2
- package/src/client.ts +23 -1
- package/src/index.ts +1 -0
- package/src/site-browser-runtime.gen.ts +1 -1
- package/src/types.ts +1 -0
- package/dist/chunk-FG3OO5LM.js.map +0 -1
- /package/dist/{chunk-AH5D5Q5V.js.map → chunk-E3KHK7FG.js.map} +0 -0
- /package/dist/{chunk-MOTJYIYL.js.map → chunk-H6WMYN23.js.map} +0 -0
- /package/dist/{chunk-DUVIYER4.js.map → chunk-T6HNHCN2.js.map} +0 -0
- /package/dist/{chunk-RWKB6YZG.js.map → chunk-YH3W3HZZ.js.map} +0 -0
- /package/dist/{chunk-HMGADJGZ.js.map → chunk-ZBMS2HCV.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-4SMEOV3P.js";
|
|
4
4
|
import {
|
|
5
5
|
OpenGeniClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BNZNLUD4.js";
|
|
7
7
|
import {
|
|
8
8
|
OpenGeniApiError
|
|
9
9
|
} from "./chunk-V6GIY62B.js";
|
|
@@ -636,4 +636,4 @@ export {
|
|
|
636
636
|
isOpenGeniSiteBridgeCancelMessage,
|
|
637
637
|
sanitizeOpenGeniSiteToolCallRequest
|
|
638
638
|
};
|
|
639
|
-
//# sourceMappingURL=chunk-
|
|
639
|
+
//# sourceMappingURL=chunk-T6HNHCN2.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
OPENGENI_API_CONTRACT_HEADER,
|
|
13
13
|
OPENGENI_API_CONTRACT_REVISION
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RLLUZFOW.js";
|
|
15
15
|
import {
|
|
16
16
|
OpenGeniApiError,
|
|
17
17
|
OpenGeniSetupError
|
|
@@ -1267,4 +1267,4 @@ export {
|
|
|
1267
1267
|
createSessionProxyHandler,
|
|
1268
1268
|
artifactViewerCapability
|
|
1269
1269
|
};
|
|
1270
|
-
//# sourceMappingURL=chunk-
|
|
1270
|
+
//# sourceMappingURL=chunk-YH3W3HZZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenGeniClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BNZNLUD4.js";
|
|
4
4
|
|
|
5
5
|
// src/document-authority-client.ts
|
|
6
6
|
var OpenGeniDocumentAuthorityClient = class extends OpenGeniClient {
|
|
@@ -147,4 +147,4 @@ var OpenGeniDocumentAuthorityClient = class extends OpenGeniClient {
|
|
|
147
147
|
export {
|
|
148
148
|
OpenGeniDocumentAuthorityClient
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=chunk-
|
|
150
|
+
//# sourceMappingURL=chunk-ZBMS2HCV.js.map
|
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ClaudeSubscriptionAccountsResponse, ClaudeSubscriptionAccount, ClaudeSubscriptionOAuthStartRequest, ClaudeSubscriptionSetupTokenRequest, SubscriptionPoolSettings } from "@opengeni/contracts";
|
|
2
|
-
import type { ArtifactCatalogListOptions, ArtifactCatalogListResponse } from "./artifact-catalog.js";
|
|
2
|
+
import type { ArtifactCatalogKind, ArtifactCatalogListOptions, ArtifactCatalogListResponse, ArtifactPinResponse } from "./artifact-catalog.js";
|
|
3
3
|
import type { SessionMessageSearchRequest, SessionMessageSearchResponse, SessionMessagePreview, SessionMessagePreviewReference } from "./session-message-search.js";
|
|
4
4
|
import type { KnowledgeOriginalFileDownload, AgentLearningContext, AgentLearningSettingsRecord, AgentLearningOverrideRecord, SaveAgentLearningSettingsRequest, KnowledgeEntryListRequest, KnowledgeEntryListResponse, KnowledgeReviewBatchListRequest, KnowledgeReviewBatchListResponse, KnowledgeEntryRecord, KnowledgeEntrySaveRequest, KnowledgeEntryWriteReceipt, KnowledgeEntryReviewRequest, KnowledgeEntryBatchReviewRequest, KnowledgeEntryRestoreRequest, AgentInstructionReviewRequest, AgentInstructionReceipt, AgentInstructionReviewListResponse } from "./knowledge.js";
|
|
5
5
|
import type { RollbackWorkspaceArtifactRequest, SetWorkspaceArtifactStatusRequest, WorkspaceArtifactDetailResponse, WorkspaceArtifactListOptions, WorkspaceArtifactListResponse, WorkspaceArtifactMutationResponse } from "./workspace-artifacts.js";
|
|
@@ -1225,6 +1225,10 @@ export declare class OpenGeniClient {
|
|
|
1225
1225
|
listArtifactCatalog(workspaceId: string, options?: ArtifactCatalogListOptions & {
|
|
1226
1226
|
signal?: AbortSignal;
|
|
1227
1227
|
}): Promise<ArtifactCatalogListResponse>;
|
|
1228
|
+
/** Idempotently set a workspace-shared pin; refresh the catalog after completion. */
|
|
1229
|
+
updateArtifactPin(workspaceId: string, kind: ArtifactCatalogKind, artifactId: string, pinned: boolean, options?: {
|
|
1230
|
+
signal?: AbortSignal;
|
|
1231
|
+
}): Promise<ArtifactPinResponse>;
|
|
1228
1232
|
listWorkspaceArtifacts(workspaceId: string, options?: WorkspaceArtifactListOptions & {
|
|
1229
1233
|
signal?: AbortSignal;
|
|
1230
1234
|
}): Promise<WorkspaceArtifactListResponse>;
|
package/dist/core.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-VYCTL62C.js";
|
|
4
4
|
import {
|
|
5
5
|
OpenGeniDocumentAuthorityClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZBMS2HCV.js";
|
|
7
7
|
import {
|
|
8
8
|
OpenGeniToolCallError,
|
|
9
9
|
OpenGeniToolReapprovalRequiredError,
|
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
} from "./chunk-4SMEOV3P.js";
|
|
12
12
|
import {
|
|
13
13
|
parseDeprecationNotice
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BNZNLUD4.js";
|
|
15
15
|
import "./chunk-APXVSSSY.js";
|
|
16
16
|
import {
|
|
17
17
|
OPENGENI_API_CONTRACT_HEADER,
|
|
18
18
|
OPENGENI_API_CONTRACT_REVISION
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RLLUZFOW.js";
|
|
20
20
|
import "./chunk-NC57YMUO.js";
|
|
21
21
|
import {
|
|
22
22
|
OpenGeniApiContractMismatchError,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OpenGeniDocumentAuthorityClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZBMS2HCV.js";
|
|
4
|
+
import "./chunk-BNZNLUD4.js";
|
|
5
5
|
import "./chunk-APXVSSSY.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-RLLUZFOW.js";
|
|
7
7
|
import "./chunk-NC57YMUO.js";
|
|
8
8
|
import "./chunk-V6GIY62B.js";
|
|
9
9
|
export {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { SubscriptionAccountSummary, SubscriptionPoolSettings, ClaudeSubscriptionSetupTokenRequest, ClaudeSubscriptionAccount, ClaudeSubscriptionAccountsResponse, } from "@opengeni/contracts";
|
|
2
|
-
export type { ArtifactCatalogKind, ArtifactCatalogItem, ArtifactCatalogListOptions, ArtifactCatalogListResponse, } from "./artifact-catalog.js";
|
|
2
|
+
export type { ArtifactPinResponse, ArtifactCatalogKind, ArtifactCatalogItem, ArtifactCatalogListOptions, ArtifactCatalogListResponse, } from "./artifact-catalog.js";
|
|
3
3
|
export type { SessionMessageSearchRequest, SessionMessageSearchMatch, SessionMessageSearchResponse, SessionMessagePreview, SessionMessagePreviewReference, } from "./session-message-search.js";
|
|
4
4
|
export { OpenGeniEmbeddingClient as OpenGeniClient } from "./embedding-client.js";
|
|
5
5
|
export type { Chats } from "./chats.js";
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
EMPTY_FINAL_REPLY_NOTICE,
|
|
3
3
|
OpenGeniEmbeddingClient,
|
|
4
4
|
turnCompletedWithEmptyFinalReply
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H6WMYN23.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_WORKSPACE_TRANSCRIPTION_POLICY,
|
|
8
8
|
authorizeTranscriptionAdapter,
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
projectSessionRealtimeLifecycle,
|
|
36
36
|
startCodexRealtimeWebrtc
|
|
37
37
|
} from "./chunk-2UXZUCEZ.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-E3KHK7FG.js";
|
|
39
|
+
import "./chunk-ZBMS2HCV.js";
|
|
40
40
|
import {
|
|
41
41
|
humanizeModelSlug,
|
|
42
42
|
isRawModelLabel,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
resumeSequenceFromRequest,
|
|
67
67
|
sessionEventsToSseResponse,
|
|
68
68
|
sessionEventsToSseStream
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-YH3W3HZZ.js";
|
|
70
70
|
import "./chunk-UM4ZXXJR.js";
|
|
71
71
|
import {
|
|
72
72
|
ToolRequestError,
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
isOpenGeniSiteBridgeRequestMessage,
|
|
92
92
|
isSiteCatalogStaleError,
|
|
93
93
|
sanitizeOpenGeniSiteToolCallRequest
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-T6HNHCN2.js";
|
|
95
95
|
import {
|
|
96
96
|
OpenGeniToolCallError,
|
|
97
97
|
OpenGeniToolReapprovalRequiredError,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
streamWorkspaceControlEvents,
|
|
112
112
|
streamWorkspaceInteractionRevisions,
|
|
113
113
|
streamWorkspaceLiveEvents
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-BNZNLUD4.js";
|
|
115
115
|
import {
|
|
116
116
|
parseSseStream,
|
|
117
117
|
sessionEventStreamCoveredThrough,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
RETAINED_OUTPUT_MAX_PAGE_BYTES,
|
|
132
132
|
SANDBOX_FILE_ARTIFACT_MAX_BYTES,
|
|
133
133
|
SESSION_EVENT_TYPES
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-RLLUZFOW.js";
|
|
135
135
|
import {
|
|
136
136
|
AttachedBrowserDeviceCollection,
|
|
137
137
|
AttachedBrowserDeviceResource,
|
package/dist/session-proxy.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
downloadSessionProxySiteHtml,
|
|
7
7
|
getSessionProxyArtifactAssociation,
|
|
8
8
|
getSessionProxyWorkspaceGrant
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YH3W3HZZ.js";
|
|
10
10
|
import "./chunk-UM4ZXXJR.js";
|
|
11
11
|
import "./chunk-U6CV2SXO.js";
|
|
12
12
|
import "./chunk-APXVSSSY.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-RLLUZFOW.js";
|
|
14
14
|
import "./chunk-V6GIY62B.js";
|
|
15
15
|
export {
|
|
16
16
|
SESSION_PROXY_SITE_HTML_MAX_BYTES,
|