@opengeni/core 1.0.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 +34 -2
- package/dist/domain/pr-review.d.ts +149 -0
- package/dist/domain/remember.d.ts +69 -0
- package/dist/domain/resources.d.ts +22 -1
- 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 +40 -6
- 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 +4827 -1164
- 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 +24 -2
- 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 +532 -51
- package/src/domain/pr-review.ts +671 -0
- package/src/domain/remember.ts +549 -0
- package/src/domain/resources.ts +131 -4
- package/src/domain/scheduled-tasks.ts +497 -76
- package/src/domain/session-tool-policy.ts +12 -9
- package/src/domain/sessions.ts +613 -166
- 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
|
@@ -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";
|