@opengeni/core 0.28.1 → 2.1.0-canary.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/access/index.d.ts +37 -0
- package/dist/application/new-session-drafts.d.ts +8 -1
- package/dist/application/session-commands.d.ts +18 -11
- package/dist/application/session-tenancy.d.ts +18 -0
- package/dist/application/user-resource-grants.d.ts +20 -0
- package/dist/{chunk-6WKPWE5S.js → chunk-H7X52RI2.js} +27 -18
- package/dist/chunk-H7X52RI2.js.map +1 -0
- package/dist/{chunk-JJU6I5XD.js → chunk-VCZFFEPB.js} +21 -9
- package/dist/chunk-VCZFFEPB.js.map +1 -0
- package/dist/{chunk-NYPMQ7NO.js → chunk-ZYCNLYGH.js} +29 -27
- package/dist/chunk-ZYCNLYGH.js.map +1 -0
- package/dist/dependencies.d.ts +12 -1
- package/dist/domain/automations.d.ts +51 -0
- package/dist/domain/company-brain-governed-writes.d.ts +70 -0
- package/dist/domain/company-profile-agent-admin.d.ts +24 -0
- package/dist/domain/connection-authority.d.ts +97 -0
- package/dist/domain/connection-authority.js +169 -0
- package/dist/domain/connection-authority.js.map +1 -0
- package/dist/domain/editable-artifacts/service.d.ts +1 -2
- package/dist/domain/environments.d.ts +1 -1
- package/dist/domain/github-repository-bindings.d.ts +117 -0
- package/dist/domain/governed-learning-activation.d.ts +16 -0
- package/dist/domain/governed-learning-evaluator.d.ts +6 -0
- package/dist/domain/governed-learning-slack-publication.d.ts +45 -0
- package/dist/domain/memory-slack-delivery.d.ts +1 -4
- package/dist/domain/organization-membership-lifecycle.d.ts +1 -0
- package/dist/domain/packs.d.ts +5 -1
- package/dist/domain/personal-connection-delegations.d.ts +44 -2
- package/dist/domain/pr-review.d.ts +149 -0
- package/dist/domain/remember.d.ts +69 -0
- package/dist/domain/resources.d.ts +23 -2
- package/dist/domain/scheduled-tasks.d.ts +43 -2
- package/dist/domain/session-tool-policy.d.ts +1 -1
- package/dist/domain/sessions.d.ts +43 -9
- package/dist/editable-artifact-live/application.d.ts +10 -2
- package/dist/editable-artifact-live/ports.d.ts +0 -1
- package/dist/editable-artifact-live/server.d.ts +0 -1
- package/dist/editable-artifact-live/ticket.d.ts +0 -1
- package/dist/editable-artifact-live/types.d.ts +5 -2
- package/dist/editable-artifact-live.js +2 -2
- package/dist/editable-artifacts.js +2 -4
- package/dist/index.d.ts +13 -1
- package/dist/index.js +4973 -1243
- package/dist/index.js.map +1 -1
- package/dist/rigs/index.d.ts +22 -5
- package/dist/sandbox/fleet.d.ts +34 -6
- package/dist/sandbox/routing.d.ts +15 -1
- package/dist/sandbox/runtime-settings.d.ts +39 -0
- package/package.json +16 -11
- package/src/access/index.ts +151 -31
- package/src/application/new-session-drafts.ts +32 -5
- package/src/application/session-commands.ts +305 -71
- package/src/application/session-tenancy.ts +321 -0
- package/src/application/user-resource-grants.ts +140 -0
- package/src/billing/limits.ts +25 -15
- package/src/dependencies.ts +12 -1
- package/src/domain/automations.ts +196 -0
- package/src/domain/capabilities.ts +7 -1
- package/src/domain/company-brain-governed-writes.ts +330 -0
- package/src/domain/company-profile-agent-admin.ts +55 -0
- package/src/domain/connection-authority.ts +329 -0
- package/src/domain/editable-artifacts/agent-application.ts +17 -9
- package/src/domain/editable-artifacts/service.ts +12 -1
- package/src/domain/editable-artifacts/snapshot-compaction.ts +9 -5
- package/src/domain/editable-artifacts/snapshot-verifier-genesis.ts +10 -8
- package/src/domain/editable-artifacts/snapshot-verifier.ts +10 -3
- package/src/domain/environments.ts +16 -3
- package/src/domain/github-repository-bindings.ts +295 -0
- package/src/domain/governed-learning-activation.ts +44 -0
- package/src/domain/governed-learning-evaluator.ts +49 -0
- package/src/domain/governed-learning-slack-publication.ts +157 -0
- package/src/domain/insights.ts +9 -0
- package/src/domain/memory-slack-delivery.ts +0 -30
- package/src/domain/organization-membership-lifecycle.ts +9 -0
- package/src/domain/packs.ts +106 -3
- package/src/domain/personal-connection-delegations.ts +597 -42
- package/src/domain/pr-review.ts +671 -0
- package/src/domain/remember.ts +549 -0
- package/src/domain/resources.ts +144 -6
- package/src/domain/scheduled-tasks.ts +504 -77
- package/src/domain/session-tool-policy.ts +12 -9
- package/src/domain/sessions.ts +629 -176
- package/src/editable-artifact-live/application.ts +21 -3
- package/src/editable-artifact-live/ports.ts +0 -1
- package/src/editable-artifact-live/server.ts +13 -7
- package/src/editable-artifact-live/ticket.ts +1 -5
- package/src/editable-artifact-live/types.ts +6 -2
- package/src/editable-artifact-live/wire.ts +0 -10
- package/src/index.ts +13 -1
- package/src/rigs/index.ts +165 -48
- package/src/sandbox/fleet.ts +376 -30
- package/src/sandbox/routing.ts +91 -29
- package/src/sandbox/runtime-settings.ts +274 -0
- package/src/session-authorization.ts +17 -49
- package/dist/chunk-6WKPWE5S.js.map +0 -1
- package/dist/chunk-JJU6I5XD.js.map +0 -1
- package/dist/chunk-NYPMQ7NO.js.map +0 -1
- package/dist/domain/durable-learning-slack-publication.d.ts +0 -72
- package/src/domain/durable-learning-slack-publication.ts +0 -202
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type Settings } from "@opengeni/config";
|
|
2
|
-
import { SessionSpawnDenial, type AccessGrant, type CreateSessionResponse, type GoalSpec, type FirstPartyMcpToolName, type McpPersonalConnectionDelegation, type Permission, type ReasoningEffort, type ResourceRef, type Session, type SessionSkill, type SessionEvent, SessionMcpApprovalPolicy, type SessionMcpCredentialUpdateInput, type SessionMcpServerMetadata, type SubmittedTimelineAnnotation, type TimelineAnnotation, type UpdateSessionMcpApprovalPolicyResponse, type UpdateSessionToolPolicyRequest, type SessionAuthorizationPort, type SessionToolPolicy, type SessionTurn, type ToolRef, type TurnInitiator, type TurnInitiatorContext, type TurnExecutionPolicyV1, type XaiProviderAccountAuthoritySnapshotV1 } from "@opengeni/contracts";
|
|
3
|
-
import { type CreateSessionMcpServerInput, type Database, type UpdateSessionMcpServerCredentialsInput, type SessionCommandActor } from "@opengeni/db";
|
|
2
|
+
import { SessionSpawnDenial, type AccessGrant, type ComposerDraft, type CreateSessionResponse, type GoalSpec, type FirstPartyMcpToolName, type McpPersonalConnectionDelegation, type McpConnectionAuthoritySelection, type Permission, type PersonalResourceAttachmentIntent, type ReasoningEffort, type ResourceRef, type Session, type SessionCommandReceipt, type SessionSkill, type SessionEvent, SessionMcpApprovalPolicy, type SessionMcpCredentialUpdateInput, type SessionMcpServerMetadata, type SubmittedTimelineAnnotation, type TimelineAnnotation, type UpdateSessionMcpApprovalPolicyResponse, type UpdateSessionToolPolicyRequest, type SessionAuthorizationPort, type SessionToolPolicy, type SessionTurn, type SessionPromptRouting, type SessionGoalSnapshot, type ToolRef, type TurnInitiator, type TurnInitiatorContext, type TurnExecutionPolicyV1, type XaiProviderAccountAuthoritySnapshotV1 } from "@opengeni/contracts";
|
|
3
|
+
import { type CreateSessionMcpServerInput, type Database, type UpdateSessionMcpServerCredentialsInput, type SessionCommandActor, type NewSessionDraftSnapshot } from "@opengeni/db";
|
|
4
4
|
import { type EventBus } from "@opengeni/events";
|
|
5
|
+
import { type AccessGrantAuthorization } from "../access/index.js";
|
|
5
6
|
import type { AcceptSessionUserMessageDependencies, ApiRouteDeps, SessionWorkflowClient } from "../dependencies.js";
|
|
6
7
|
/** Transport-neutral typed denial raised only after its audit row committed. */
|
|
7
8
|
export declare class SessionSpawnDeniedError extends Error {
|
|
@@ -75,10 +76,11 @@ export declare function createAndStartSessionWithOutcome(input: {
|
|
|
75
76
|
beforeCreateCommit?: (tx: Database, sessionId: string) => Promise<void>;
|
|
76
77
|
accountId: string;
|
|
77
78
|
workspaceId: string;
|
|
79
|
+
visibility?: "user_private" | "workspace_shared";
|
|
78
80
|
initialMessage: string;
|
|
79
81
|
/** Create the session shell without an initial user event/agent turn. */
|
|
80
82
|
deferInitialTurn?: boolean;
|
|
81
|
-
|
|
83
|
+
modelContext?: string | null;
|
|
82
84
|
resources: ResourceRef[];
|
|
83
85
|
skills?: SessionSkill[];
|
|
84
86
|
tools: ToolRef[];
|
|
@@ -111,6 +113,7 @@ export declare function createAndStartSessionWithOutcome(input: {
|
|
|
111
113
|
mcpServers?: CreateSessionMcpServerInput[];
|
|
112
114
|
sessionMcpServers?: SessionMcpServerMetadata[];
|
|
113
115
|
personalConnectionDelegations?: McpPersonalConnectionDelegation[];
|
|
116
|
+
initialPersonalResourceAttachmentIntent?: PersonalResourceAttachmentIntent | null;
|
|
114
117
|
xaiProviderAccountAuthoritySnapshot?: XaiProviderAccountAuthoritySnapshotV1;
|
|
115
118
|
parentSessionId?: string | null;
|
|
116
119
|
createIdempotencyKey?: string | null;
|
|
@@ -120,10 +123,25 @@ export declare function createAndStartSessionWithOutcome(input: {
|
|
|
120
123
|
sandboxId: string;
|
|
121
124
|
settings: Settings;
|
|
122
125
|
workingDir?: string | null;
|
|
126
|
+
resourceSubjectId?: string | null;
|
|
123
127
|
} | null;
|
|
124
128
|
consumeNewSessionDraft?: {
|
|
125
129
|
subjectId: string;
|
|
126
130
|
expectedRevision: number;
|
|
131
|
+
expectedSnapshot: NewSessionDraftSnapshot;
|
|
132
|
+
acceptedSelection: {
|
|
133
|
+
channelId: string | null;
|
|
134
|
+
targetSandboxId: string | null;
|
|
135
|
+
workingDir: string | null;
|
|
136
|
+
};
|
|
137
|
+
} | null;
|
|
138
|
+
rememberNewSessionSelection?: {
|
|
139
|
+
subjectId: string;
|
|
140
|
+
acceptedSelection: {
|
|
141
|
+
channelId: string | null;
|
|
142
|
+
targetSandboxId: string | null;
|
|
143
|
+
workingDir: string | null;
|
|
144
|
+
};
|
|
127
145
|
} | null;
|
|
128
146
|
maxNestedAgentDepthOverride?: number | null;
|
|
129
147
|
allowNestedAgentDepthIncrease?: boolean;
|
|
@@ -175,8 +193,6 @@ export declare function assertSessionAllowsProductModel(session: Pick<Session, "
|
|
|
175
193
|
*/
|
|
176
194
|
export declare function assertWorkspaceModelPolicyAllows(db: Database, settings: Settings, workspaceId: string, model: string | null | undefined): Promise<void>;
|
|
177
195
|
export declare function requireQueuedTurnForApi(db: Database, workspaceId: string, sessionId: string, turnId: string): Promise<SessionTurn>;
|
|
178
|
-
export declare function reasoningEffortForSession(metadata: Record<string, unknown>, fallback: Settings["openaiReasoningEffort"]): Settings["openaiReasoningEffort"];
|
|
179
|
-
export declare function latencyModeForSession(metadata: Record<string, unknown>, fallback?: "standard" | "priority" | "fast"): "standard" | "priority" | "fast";
|
|
180
196
|
/**
|
|
181
197
|
* Appends a `user.message` to an existing session and enqueues the resulting
|
|
182
198
|
* turn, merging requested resources/tools into the session and waking the
|
|
@@ -194,7 +210,7 @@ export declare function postUserMessageTurn(input: {
|
|
|
194
210
|
sessionId: string;
|
|
195
211
|
text: string;
|
|
196
212
|
annotations?: TimelineAnnotation[];
|
|
197
|
-
|
|
213
|
+
modelContext?: string | null;
|
|
198
214
|
resources: ResourceRef[];
|
|
199
215
|
model?: string | null;
|
|
200
216
|
reasoningEffort?: Settings["openaiReasoningEffort"] | null;
|
|
@@ -202,6 +218,7 @@ export declare function postUserMessageTurn(input: {
|
|
|
202
218
|
clientEventId?: string;
|
|
203
219
|
mcpCredentialUpdates?: UpdateSessionMcpServerCredentialsInput[];
|
|
204
220
|
personalConnectionDelegations?: McpPersonalConnectionDelegation[];
|
|
221
|
+
personalResourceAttachment?: PersonalResourceAttachmentIntent;
|
|
205
222
|
delivery?: "send" | "steer";
|
|
206
223
|
origin?: "human" | "operator";
|
|
207
224
|
actor?: string;
|
|
@@ -216,6 +233,9 @@ export declare function postUserMessageTurn(input: {
|
|
|
216
233
|
}): Promise<{
|
|
217
234
|
accepted: SessionEvent;
|
|
218
235
|
turn: SessionTurn;
|
|
236
|
+
draft: ComposerDraft | null;
|
|
237
|
+
receipt: SessionCommandReceipt;
|
|
238
|
+
routing: SessionPromptRouting;
|
|
219
239
|
interruptionCount: number;
|
|
220
240
|
replay: boolean;
|
|
221
241
|
}>;
|
|
@@ -228,11 +248,17 @@ export declare function postUserMessageTurn(input: {
|
|
|
228
248
|
* trusted immediate parent, while explicit arrays (including []) win. A
|
|
229
249
|
* top-level create with omitted tools applies workspace-default capability MCPs.
|
|
230
250
|
*/
|
|
231
|
-
export declare function
|
|
251
|
+
export declare function resolveChildGoalFromAcceptedSnapshot(goal: GoalSpec, parentGoalSnapshot: SessionGoalSnapshot): GoalSpec;
|
|
252
|
+
export declare function resolveSessionCreateVisibility(input: {
|
|
253
|
+
requestedVisibility: "private" | "workspace";
|
|
254
|
+
visibilityProvided: boolean;
|
|
255
|
+
parentVisibility: "user_private" | "workspace_shared" | null;
|
|
256
|
+
}): "user_private" | "workspace_shared";
|
|
257
|
+
export declare function createSessionForRequestWithOutcome(deps: ApiRouteDeps, grant: AccessGrant, workspaceId: string, rawPayload: unknown, authorization?: AccessGrantAuthorization): Promise<CreateSessionRequestOutcome>;
|
|
232
258
|
/** @internal Fixed public projection; the committed session outcome remains authoritative. */
|
|
233
259
|
export declare function reportSessionUsageRecordingFailure(_error: unknown): void;
|
|
234
260
|
/** Backward-compatible entity-returning request path for REST and core callers. */
|
|
235
|
-
export declare function createSessionForRequest(deps: ApiRouteDeps, grant: AccessGrant, workspaceId: string, rawPayload: unknown): Promise<CreateSessionResponse>;
|
|
261
|
+
export declare function createSessionForRequest(deps: ApiRouteDeps, grant: AccessGrant, workspaceId: string, rawPayload: unknown, authorization?: AccessGrantAuthorization): Promise<CreateSessionResponse>;
|
|
236
262
|
/**
|
|
237
263
|
* Full accept-user-message flow shared by the `user.message` branch of
|
|
238
264
|
* `POST /sessions/:id/events` and the first-party MCP `session_send_message`
|
|
@@ -243,20 +269,26 @@ export declare function createSessionForRequest(deps: ApiRouteDeps, grant: Acces
|
|
|
243
269
|
export declare function acceptSessionUserMessageWithOutcome(deps: AcceptSessionUserMessageDependencies, grant: AccessGrant, workspaceId: string, sessionId: string, input: {
|
|
244
270
|
text: string;
|
|
245
271
|
annotations?: SubmittedTimelineAnnotation[];
|
|
246
|
-
|
|
272
|
+
modelContext?: string | null;
|
|
247
273
|
resources?: ResourceRef[];
|
|
248
274
|
model?: string | null;
|
|
249
275
|
reasoningEffort?: ReasoningEffort | null;
|
|
250
276
|
latencyMode?: "standard" | "priority" | "fast" | null;
|
|
251
277
|
clientEventId?: string;
|
|
252
278
|
mcpCredentialUpdates?: SessionMcpCredentialUpdateInput[];
|
|
279
|
+
connectionAuthorities?: McpConnectionAuthoritySelection[];
|
|
253
280
|
delivery?: "send" | "steer";
|
|
254
281
|
origin?: "human" | "operator";
|
|
255
282
|
controlEtag?: string | null;
|
|
256
283
|
expectedDraftRevision?: number | null;
|
|
284
|
+
personalResourceAttachment?: PersonalResourceAttachmentIntent;
|
|
285
|
+
authorization?: AccessGrantAuthorization;
|
|
257
286
|
}): Promise<{
|
|
258
287
|
accepted: SessionEvent;
|
|
259
288
|
turn: SessionTurn;
|
|
289
|
+
draft: ComposerDraft | null;
|
|
290
|
+
receipt: SessionCommandReceipt;
|
|
291
|
+
routing: SessionPromptRouting;
|
|
260
292
|
interruptionCount: number;
|
|
261
293
|
replay: boolean;
|
|
262
294
|
}>;
|
|
@@ -264,6 +296,8 @@ export declare function acceptSessionUserMessageWithOutcome(deps: AcceptSessionU
|
|
|
264
296
|
export declare function acceptSessionUserMessage(deps: Parameters<typeof acceptSessionUserMessageWithOutcome>[0], grant: Parameters<typeof acceptSessionUserMessageWithOutcome>[1], workspaceId: Parameters<typeof acceptSessionUserMessageWithOutcome>[2], sessionId: Parameters<typeof acceptSessionUserMessageWithOutcome>[3], input: Parameters<typeof acceptSessionUserMessageWithOutcome>[4]): Promise<{
|
|
265
297
|
accepted: SessionEvent;
|
|
266
298
|
turn: SessionTurn;
|
|
299
|
+
receipt: SessionCommandReceipt;
|
|
300
|
+
routing: SessionPromptRouting;
|
|
267
301
|
interruptionCount: number;
|
|
268
302
|
replay: boolean;
|
|
269
303
|
}>;
|
|
@@ -4,9 +4,13 @@ import type { EditableArtifactLiveSession, EditableArtifactLiveServer, OpenEdita
|
|
|
4
4
|
import type { EditableArtifactLiveTicket } from "./types.js";
|
|
5
5
|
export type EditableArtifactLiveCompatibilityRequest = Readonly<{
|
|
6
6
|
artifact: EditableArtifact;
|
|
7
|
-
|
|
7
|
+
modality: EditableArtifactModality;
|
|
8
|
+
liveProtocolVersion: number;
|
|
8
9
|
kernelVersion: string;
|
|
9
10
|
modelSchemaVersion: number;
|
|
11
|
+
snapshotVersion: number;
|
|
12
|
+
commandProtocolVersion: number;
|
|
13
|
+
committedTransactionProtocolVersion: number;
|
|
10
14
|
}>;
|
|
11
15
|
/** A client/runtime protocol tuple cannot be served by the loaded kernel. */
|
|
12
16
|
export declare class EditableArtifactCompatibilityError extends Error {
|
|
@@ -41,9 +45,13 @@ export type ReadEditableArtifactApplicationInput = Readonly<{
|
|
|
41
45
|
artifactId: EditableArtifactId;
|
|
42
46
|
}>;
|
|
43
47
|
export type MintEditableArtifactApplicationTicketInput = ReadEditableArtifactApplicationInput & Readonly<{
|
|
44
|
-
|
|
48
|
+
modality: EditableArtifactModality;
|
|
49
|
+
liveProtocolVersion: number;
|
|
45
50
|
kernelVersion: string;
|
|
46
51
|
modelSchemaVersion: number;
|
|
52
|
+
snapshotVersion: number;
|
|
53
|
+
commandProtocolVersion: number;
|
|
54
|
+
committedTransactionProtocolVersion: number;
|
|
47
55
|
allowEdit: boolean;
|
|
48
56
|
}>;
|
|
49
57
|
/** Exact application seam used by standalone API and embedding hosts. */
|
|
@@ -21,7 +21,6 @@ export type EditableArtifactLiveBootstrapRead = Readonly<{
|
|
|
21
21
|
scope: EditableArtifactScope;
|
|
22
22
|
artifactId: EditableArtifactId;
|
|
23
23
|
resume: EditableArtifactLiveResume;
|
|
24
|
-
protocolVersion: number;
|
|
25
24
|
}>;
|
|
26
25
|
export type EditableArtifactLiveTransactionPage = Readonly<{
|
|
27
26
|
transactions: readonly EditableArtifactLiveCommittedTransaction[];
|
|
@@ -4,7 +4,6 @@ import { type EditableArtifactActor, type EditableArtifactId, type EditableArtif
|
|
|
4
4
|
import type { EditableArtifactLiveAuthorizationInvalidationPort, EditableArtifactLiveClockPort, EditableArtifactLiveHintPort, EditableArtifactLiveReadPort, EditableArtifactLiveSchedulerPort, EditableArtifactLiveServerDependencies, EditableArtifactLiveSinkPort, EditableArtifactLiveTicketStorePort, EditableArtifactLiveTokenPort } from "./ports.js";
|
|
5
5
|
import { type EditableArtifactLiveAppliedClientFrame, type EditableArtifactLiveClose, type EditableArtifactLiveCloseReason, type EditableArtifactLiveMutationReceipt, type EditableArtifactLiveResume, type EditableArtifactLiveTicket } from "./types.js";
|
|
6
6
|
export type EditableArtifactLiveServerOptions = Readonly<{
|
|
7
|
-
protocolVersion?: number;
|
|
8
7
|
ticketTtlMs?: number;
|
|
9
8
|
maxClientFrameBytes?: number;
|
|
10
9
|
maxOutboundFrameBytes?: number;
|
|
@@ -8,7 +8,6 @@ export type EditableArtifactLiveTicketAuthorityDependencies = Readonly<{
|
|
|
8
8
|
tokens: EditableArtifactLiveTokenPort;
|
|
9
9
|
clock: EditableArtifactLiveClockPort;
|
|
10
10
|
ttlMs?: number;
|
|
11
|
-
protocolVersion?: number;
|
|
12
11
|
}>;
|
|
13
12
|
export declare class EditableArtifactLiveTicketAuthority {
|
|
14
13
|
private readonly dependencies;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EditableArtifactActor, EditableArtifactCausalFrontier, EditableArtifactClientTransactionId, EditableArtifactContentHash, EditableArtifactId, EditableArtifactModality, EditableArtifactRequestHash, EditableArtifactScope, EditableArtifactStateHash, EditableArtifactTransactionId } from "../domain/editable-artifacts/types.js";
|
|
2
|
-
export declare const EDITABLE_ARTIFACT_LIVE_PROTOCOL_VERSION
|
|
2
|
+
export declare const EDITABLE_ARTIFACT_LIVE_PROTOCOL_VERSION: 2;
|
|
3
3
|
export type EditableArtifactLiveTicket = Readonly<{
|
|
4
4
|
artifactId: EditableArtifactId;
|
|
5
5
|
modality: EditableArtifactModality;
|
|
@@ -34,6 +34,7 @@ export type EditableArtifactLiveSnapshot = (EditableArtifactLiveSnapshotCommon &
|
|
|
34
34
|
modality: "spreadsheet";
|
|
35
35
|
causalFrontier: EditableArtifactCausalFrontier;
|
|
36
36
|
operationProtocolVersion: number;
|
|
37
|
+
snapshotVersion: number;
|
|
37
38
|
}>) | (EditableArtifactLiveSnapshotCommon & Readonly<{
|
|
38
39
|
modality: "document" | "presentation";
|
|
39
40
|
nativeRevision: number;
|
|
@@ -82,7 +83,7 @@ type EditableArtifactLiveResumeCommon = Readonly<{
|
|
|
82
83
|
requireSnapshot: boolean;
|
|
83
84
|
}>;
|
|
84
85
|
export type EditableArtifactLiveResume = (EditableArtifactLiveResumeCommon & Readonly<{
|
|
85
|
-
modality
|
|
86
|
+
modality: "spreadsheet";
|
|
86
87
|
localCausalFrontier: EditableArtifactCausalFrontier;
|
|
87
88
|
}>) | (EditableArtifactLiveResumeCommon & Readonly<{
|
|
88
89
|
modality: "document" | "presentation";
|
|
@@ -121,6 +122,8 @@ export type EditableArtifactLiveServerFrame = Readonly<{
|
|
|
121
122
|
}> & (Readonly<{
|
|
122
123
|
modality: "spreadsheet";
|
|
123
124
|
causalFrontier: EditableArtifactCausalFrontier;
|
|
125
|
+
operationProtocolVersion: number;
|
|
126
|
+
snapshotVersion: number;
|
|
124
127
|
}> | Readonly<{
|
|
125
128
|
modality: "document" | "presentation";
|
|
126
129
|
nativeRevision: number;
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
encodeEditableArtifactLiveOpenWireFrame,
|
|
26
26
|
encodeEditableArtifactLiveServerWireFrame,
|
|
27
27
|
inspectEditableArtifactLiveWireEnvelope
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-ZYCNLYGH.js";
|
|
29
|
+
import "./chunk-VCZFFEPB.js";
|
|
30
30
|
export {
|
|
31
31
|
EDITABLE_ARTIFACT_HINT_MAX_BYTES,
|
|
32
32
|
EDITABLE_ARTIFACT_HINT_SUBJECT_PREFIX,
|
|
@@ -21,11 +21,10 @@ import {
|
|
|
21
21
|
editableArtifactStorePortFromPostgres,
|
|
22
22
|
validateEditableArtifactMaterializationJob,
|
|
23
23
|
validateEditableArtifactPinnedVersion
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-H7X52RI2.js";
|
|
25
25
|
import {
|
|
26
26
|
EDITABLE_ARTIFACT_COMPACTION_BYTE_THRESHOLD,
|
|
27
27
|
EDITABLE_ARTIFACT_COMPACTION_TRANSACTION_THRESHOLD,
|
|
28
|
-
EDITABLE_ARTIFACT_INTENT_PROTOCOL_VERSION,
|
|
29
28
|
EDITABLE_ARTIFACT_MAX_COMMAND_BYTES_PER_TRANSACTION,
|
|
30
29
|
EDITABLE_ARTIFACT_MAX_COMMITTED_TRANSACTION_BYTES,
|
|
31
30
|
EDITABLE_ARTIFACT_MAX_COMMIT_ATTEMPTS,
|
|
@@ -87,13 +86,12 @@ import {
|
|
|
87
86
|
mergeCausalFrontiers,
|
|
88
87
|
ogatxEditableArtifactMutationIntentCodec,
|
|
89
88
|
validateEditableArtifactActor
|
|
90
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-VCZFFEPB.js";
|
|
91
90
|
export {
|
|
92
91
|
EDITABLE_ARTIFACT_COMPACTION_BYTE_THRESHOLD,
|
|
93
92
|
EDITABLE_ARTIFACT_COMPACTION_TRANSACTION_THRESHOLD,
|
|
94
93
|
EDITABLE_ARTIFACT_EXPORT_MAX_DOWNLOAD_BYTES,
|
|
95
94
|
EDITABLE_ARTIFACT_EXPORT_MAX_OPTIONS_BYTES,
|
|
96
|
-
EDITABLE_ARTIFACT_INTENT_PROTOCOL_VERSION,
|
|
97
95
|
EDITABLE_ARTIFACT_MAX_COMMAND_BYTES_PER_TRANSACTION,
|
|
98
96
|
EDITABLE_ARTIFACT_MAX_COMMITTED_TRANSACTION_BYTES,
|
|
99
97
|
EDITABLE_ARTIFACT_MAX_COMMIT_ATTEMPTS,
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from "./managed-session.js";
|
|
|
6
6
|
export * from "./transcription.js";
|
|
7
7
|
export * from "./sandbox/fleet.js";
|
|
8
8
|
export * from "./sandbox/routing.js";
|
|
9
|
+
export * from "./sandbox/runtime-settings.js";
|
|
9
10
|
export * from "./access/index.js";
|
|
10
11
|
export * from "./session-authorization.js";
|
|
11
12
|
export * from "./billing/limits.js";
|
|
@@ -14,24 +15,35 @@ export * from "./domain/skill-imports.js";
|
|
|
14
15
|
export * from "./domain/environments.js";
|
|
15
16
|
export * from "./rigs/index.js";
|
|
16
17
|
export * from "./domain/packs.js";
|
|
18
|
+
export * from "./domain/automations.js";
|
|
19
|
+
export * from "./domain/pr-review.js";
|
|
17
20
|
export * from "./domain/personal-connection-delegations.js";
|
|
18
21
|
export * from "./domain/resources.js";
|
|
22
|
+
export * from "./domain/github-repository-bindings.js";
|
|
19
23
|
export * from "./domain/session-tool-policy.js";
|
|
20
24
|
export * from "./domain/scheduled-tasks.js";
|
|
21
25
|
export * from "./domain/sessions.js";
|
|
22
26
|
export * from "./domain/insights.js";
|
|
23
27
|
export * from "./domain/memory-slack-publication.js";
|
|
24
28
|
export * from "./domain/memory-slack-delivery.js";
|
|
25
|
-
export * from "./domain/
|
|
29
|
+
export * from "./domain/governed-learning-slack-publication.js";
|
|
26
30
|
export * from "./domain/slack-publication-secret-safety.js";
|
|
27
31
|
export * from "./domain/company-profile-durable-learning-adapter.js";
|
|
32
|
+
export * from "./domain/company-profile-agent-admin.js";
|
|
33
|
+
export * from "./domain/company-brain-governed-writes.js";
|
|
34
|
+
export * from "./domain/governed-learning-evaluator.js";
|
|
35
|
+
export * from "./domain/governed-learning-activation.js";
|
|
36
|
+
export * from "./domain/remember.js";
|
|
28
37
|
export * from "./domain/slack-bot.js";
|
|
29
38
|
export * from "./domain/conversation-integrations.js";
|
|
30
39
|
export * from "./domain/fiken.js";
|
|
31
40
|
export * from "./domain/workspace-members.js";
|
|
32
41
|
export * from "./domain/video-generation.js";
|
|
33
42
|
export * from "./domain/video-generation-capabilities.js";
|
|
43
|
+
export * from "./domain/organization-membership-lifecycle.js";
|
|
34
44
|
export * from "./application/new-session-drafts.js";
|
|
35
45
|
export * from "./application/session-commands.js";
|
|
46
|
+
export * from "./application/session-tenancy.js";
|
|
47
|
+
export * from "./application/user-resource-grants.js";
|
|
36
48
|
export * from "./editable-artifact-live.js";
|
|
37
49
|
export * from "./editable-artifacts.js";
|