@opengeni/core 2.6.4 → 2.7.5-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 +10 -0
- package/dist/application/api-integration-servers.d.ts +20 -0
- package/dist/billing/limits.d.ts +5 -0
- package/dist/dependencies.d.ts +12 -1
- package/dist/domain/host-mcp-authority-source-admission.d.ts +10 -0
- package/dist/domain/packs.d.ts +1 -0
- package/dist/domain/pr-review.d.ts +1 -1
- package/dist/domain/product-integration-pack.d.ts +50 -0
- package/dist/domain/sessions.d.ts +25 -11
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2360 -687
- package/dist/index.js.map +1 -1
- package/dist/model-catalog.d.ts +105 -0
- package/dist/sandbox/fleet.d.ts +19 -0
- package/package.json +12 -10
- package/src/access/index.ts +25 -0
- package/src/application/api-integration-servers.ts +215 -0
- package/src/application/session-commands.ts +2 -2
- package/src/billing/limits.ts +52 -22
- package/src/dependencies.ts +17 -1
- package/src/domain/capabilities.ts +19 -3
- package/src/domain/host-mcp-authority-source-admission.ts +25 -0
- package/src/domain/insights.ts +32 -0
- package/src/domain/packs.ts +48 -18
- package/src/domain/personal-connection-delegations.ts +14 -6
- package/src/domain/product-integration-pack.ts +494 -0
- package/src/domain/scheduled-tasks.ts +43 -1
- package/src/domain/sessions.ts +964 -386
- package/src/index.ts +4 -0
- package/src/model-catalog.ts +742 -0
- package/src/sandbox/fleet.ts +85 -23
- package/src/sandbox/routing.ts +6 -9
package/dist/access/index.d.ts
CHANGED
|
@@ -68,6 +68,16 @@ export declare function accessGrantAuthorizationFromContext(context: AccessConte
|
|
|
68
68
|
* access resolver are present in `resolvedAccessGrantAuthorizations`.
|
|
69
69
|
*/
|
|
70
70
|
export declare function requireAccountAdminAuthorizationStamp(authorization: AccessGrantAuthorization): AccountAdminAuthorizationStamp;
|
|
71
|
+
/**
|
|
72
|
+
* Verify that an access authorization was minted by the canonical request
|
|
73
|
+
* resolver for this exact subject and workspace.
|
|
74
|
+
*
|
|
75
|
+
* This is the protocol-neutral boundary for request-local services that need
|
|
76
|
+
* the authenticated grant rather than a caller-supplied grant-shaped object.
|
|
77
|
+
* Object identity is intentional: matching fields alone are not proof that the
|
|
78
|
+
* request authenticated the named subject.
|
|
79
|
+
*/
|
|
80
|
+
export declare function requireResolvedAccessGrantAuthorization(authorization: AccessGrantAuthorization, workspaceId: string): AccessGrant;
|
|
71
81
|
/**
|
|
72
82
|
* Resolve the exact built-in single-user local administrator for an account.
|
|
73
83
|
*
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type IntegrationInvocationAuthority } from "@opengeni/capabilities";
|
|
2
|
+
import type { Settings } from "@opengeni/config";
|
|
3
|
+
import type { ToolAuthNeededPayload } from "@opengeni/contracts";
|
|
4
|
+
import type { ApiIntegrationRuntime, ResolveConnectionCredentialInput, ResolveConnectionCredentialResult } from "@opengeni/db";
|
|
5
|
+
import type { FetchLike } from "@opengeni/network";
|
|
6
|
+
import type { LocalMcpServerRegistration } from "@opengeni/runtime";
|
|
7
|
+
export type BuildApiIntegrationServersInput = {
|
|
8
|
+
settings: Settings;
|
|
9
|
+
integrations: readonly ApiIntegrationRuntime[];
|
|
10
|
+
authority: Omit<IntegrationInvocationAuthority, "connectionRef">;
|
|
11
|
+
resolveCredential: (input: ResolveConnectionCredentialInput) => Promise<ResolveConnectionCredentialResult>;
|
|
12
|
+
onAuthNeeded?: (payload: ToolAuthNeededPayload) => Promise<void> | void;
|
|
13
|
+
fetchImpl?: FetchLike;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Compile active persisted API facets into ordinary in-process MCP providers.
|
|
17
|
+
* The caller supplies its authority resolver, so agent attempts and current
|
|
18
|
+
* humans use the same provider assembly without sharing credentials or policy.
|
|
19
|
+
*/
|
|
20
|
+
export declare function buildApiIntegrationMcpServers(input: BuildApiIntegrationServersInput): LocalMcpServerRegistration[];
|
package/dist/billing/limits.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Settings } from "@opengeni/config";
|
|
1
2
|
import type { LimitAction, LimitDecision, SessionTurnSource, TurnInitiator, TurnInitiatorContext } from "@opengeni/contracts";
|
|
2
3
|
import type { ApiRouteDeps } from "../dependencies.js";
|
|
3
4
|
export type LimitDependencies = Pick<ApiRouteDeps, "db" | "settings">;
|
|
@@ -8,6 +9,10 @@ export type LimitCheckInput = {
|
|
|
8
9
|
quantity?: number;
|
|
9
10
|
model?: string | null;
|
|
10
11
|
};
|
|
12
|
+
export declare function modelFundingForAdmission(settings: Settings, model: string | null | undefined, codexBilled: boolean): {
|
|
13
|
+
fundedWithoutCredits: boolean;
|
|
14
|
+
countsTowardTokenCap: boolean;
|
|
15
|
+
};
|
|
11
16
|
export declare function requireLimit(deps: LimitDependencies, input: LimitCheckInput): Promise<void>;
|
|
12
17
|
export declare function checkLimit(deps: LimitDependencies, input: LimitCheckInput): Promise<LimitDecision>;
|
|
13
18
|
export declare function recordWorkspaceUsage(deps: LimitDependencies, input: {
|
package/dist/dependencies.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import type { ManagedAuthSessionAdapter } from "./managed-auth-session-sets.js";
|
|
|
10
10
|
import type { ApiSandboxClient, ResumeBoxByIdInput, ResumedSandboxSession } from "./sandbox-types.js";
|
|
11
11
|
import type { TranscriptionSegmenter, TranscriptionService } from "./transcription.js";
|
|
12
12
|
import type { EditableArtifactApplicationPort } from "./editable-artifact-live.js";
|
|
13
|
+
import type { ResolvedCatalogSettings } from "./model-catalog.js";
|
|
13
14
|
import type { EditableArtifactAgentApplication, EditableArtifactDurableExportService, EditableArtifactOfficeImportPort } from "./editable-artifacts.js";
|
|
14
15
|
export type SessionWorkflowClient = {
|
|
15
16
|
triggerAutomationRun?: (input: {
|
|
@@ -114,6 +115,13 @@ export type ManagedEmailTransport = {
|
|
|
114
115
|
};
|
|
115
116
|
export type AppDependencies = {
|
|
116
117
|
settings: Settings;
|
|
118
|
+
/**
|
|
119
|
+
* Original deployment settings when `settings` is already overlaid with a
|
|
120
|
+
* deployment/workspace catalog snapshot. Model-bearing request adapters set
|
|
121
|
+
* this marker so core admission never feeds a synthetic reviewed provider
|
|
122
|
+
* back through deployment validation.
|
|
123
|
+
*/
|
|
124
|
+
catalogSourceSettings?: Settings;
|
|
117
125
|
db: Database;
|
|
118
126
|
/**
|
|
119
127
|
* Host-composed editable artifact engine. Standalone startup binds the same
|
|
@@ -171,6 +179,8 @@ export type AppDependencies = {
|
|
|
171
179
|
codexFetch?: typeof fetch;
|
|
172
180
|
/** Injectable GitHub transport for deterministic personal-OAuth tests. */
|
|
173
181
|
githubPersonalFetch?: typeof fetch;
|
|
182
|
+
/** Injectable credential-free GitHub transport for public repository verification tests. */
|
|
183
|
+
githubAnonymousFetch?: typeof fetch;
|
|
174
184
|
/** Injectable xAI OAuth/subscription transport for deterministic API/provider tests. */
|
|
175
185
|
xaiFetch?: typeof fetch;
|
|
176
186
|
/** Injectable Slack Web API transport for deterministic bot-connection tests. */
|
|
@@ -202,6 +212,7 @@ export type AppDependencies = {
|
|
|
202
212
|
};
|
|
203
213
|
export type ObjectStorageDependency = ReturnType<typeof createObjectStorage>;
|
|
204
214
|
export type ApiRouteDeps = AppDependencies & {
|
|
215
|
+
resolveCatalogSettings: () => Promise<ResolvedCatalogSettings>;
|
|
205
216
|
managedEmailTransport: ManagedEmailTransport;
|
|
206
217
|
objectStorage: ObjectStorageDependency;
|
|
207
218
|
githubStateSecret: string;
|
|
@@ -216,7 +227,7 @@ export type ApiRouteDeps = AppDependencies & {
|
|
|
216
227
|
* the canonical admission path without constructing unrelated HTTP, document,
|
|
217
228
|
* or sandbox services. The public API still passes its `ApiRouteDeps` superset.
|
|
218
229
|
*/
|
|
219
|
-
export type AcceptSessionUserMessageDependencies = Pick<AppDependencies, "settings" | "db" | "bus" | "sessionAuthorization" | "schedulePromptPostCommit"> & {
|
|
230
|
+
export type AcceptSessionUserMessageDependencies = Pick<AppDependencies, "settings" | "catalogSourceSettings" | "db" | "bus" | "sessionAuthorization" | "schedulePromptPostCommit"> & {
|
|
220
231
|
workflowClient: Pick<SessionWorkflowClient, "wakeSessionWorkflow">;
|
|
221
232
|
objectStorage: ObjectStorageDependency;
|
|
222
233
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Settings } from "@opengeni/config";
|
|
2
|
+
import type { McpServerConnectionRef } from "@opengeni/contracts";
|
|
3
|
+
/**
|
|
4
|
+
* Explicit host-owned MCP refs change which credential authority executes an
|
|
5
|
+
* opaque connection id. Admit new external refs only after the operator has
|
|
6
|
+
* completed the two-phase fleet rollout. Readers and inheritance remain
|
|
7
|
+
* tolerant regardless of this switch, and markerless legacy refs retain their
|
|
8
|
+
* bounded non-UUID compatibility path.
|
|
9
|
+
*/
|
|
10
|
+
export declare function assertHostMcpAuthoritySourceAdmissionEnabled(settings: Pick<Settings, "hostMcpAuthoritySourceAdmissionEnabled">, connectionRef: McpServerConnectionRef | null | undefined): void;
|
package/dist/domain/packs.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export declare const prReviewAutomationAdapter: {
|
|
|
80
80
|
eager?: boolean | undefined;
|
|
81
81
|
optional?: boolean | undefined;
|
|
82
82
|
}[];
|
|
83
|
-
firstPartyMcpTools: ("artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_auth" | "browser_clipboard" | "browser_debug" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "company_profile_confirm" | "company_profile_propose" | "computer_act" | "computer_clipboard" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_remove" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "fiken_bank_accounts_list" | "fiken_companies_list" | "fiken_contact_create" | "fiken_contacts_list" | "fiken_invoice_draft_create" | "fiken_invoice_get" | "fiken_invoices_list" | "fiken_products_list" | "fiken_purchases_list" | "fiken_sales_list" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_progress" | "goal_set" | "goal_update" | "
|
|
83
|
+
firstPartyMcpTools: ("artifacts_archive" | "artifacts_create" | "artifacts_get_source" | "artifacts_list" | "artifacts_publish" | "artifacts_restore" | "artifacts_rollback" | "atlassian_get" | "atlassian_search" | "atlassian_sources_list" | "browser_act" | "browser_auth" | "browser_clipboard" | "browser_debug" | "browser_identity" | "browser_lifecycle" | "browser_observe" | "browser_open" | "browser_publish" | "browser_tabs" | "capability_authorization_request" | "capability_catalog_search" | "command_wait" | "company_profile_confirm" | "company_profile_propose" | "computer_act" | "computer_clipboard" | "computer_lifecycle" | "computer_observe" | "computer_open" | "computer_targets" | "connected_machine_remove" | "editable_artifact_apply" | "editable_artifact_create" | "editable_artifact_export" | "editable_artifact_export_status" | "editable_artifact_get" | "editable_artifact_import" | "editable_artifact_inspect" | "editable_artifact_list" | "environment_list" | "environment_set_variable" | "fiken_bank_accounts_list" | "fiken_companies_list" | "fiken_contact_create" | "fiken_contacts_list" | "fiken_invoice_draft_create" | "fiken_invoice_get" | "fiken_invoices_list" | "fiken_products_list" | "fiken_purchases_list" | "fiken_sales_list" | "github_connect_link" | "github_repositories_list" | "goal_complete" | "goal_pause" | "goal_progress" | "goal_set" | "goal_update" | "instruction_policy_propose" | "interaction_discover" | "interaction_request_human" | "knowledge_correct" | "knowledge_propose" | "memory_correct" | "memory_save" | "memory_search" | "preference_propose" | "preference_registry_get" | "preference_registry_summary" | "reddit_accounts_list" | "reddit_mentions_live" | "reddit_post_reply" | "reddit_posts_sync" | "reddit_search_live" | "reddit_thread_fetch" | "remember" | "remember_confirm" | "rig_get" | "rig_list" | "rig_promote" | "rig_propose_change" | "rig_verify" | "run_on" | "sandbox_attach" | "sandbox_file_publish" | "sandbox_provision" | "sandbox_swap" | "sandboxes_list" | "scheduled_task_runs_list" | "scheduled_tasks_create" | "scheduled_tasks_delete" | "scheduled_tasks_get" | "scheduled_tasks_list" | "scheduled_tasks_pause" | "scheduled_tasks_resume" | "scheduled_tasks_trigger" | "scheduled_tasks_update" | "session_create" | "session_events" | "session_get" | "session_human_input_respond" | "session_pause" | "session_resume" | "session_send_message" | "session_steer" | "session_wait" | "sessions_list" | "set_other_session_title" | "set_session_title" | "slack_bot_channel_history" | "slack_bot_delete_message" | "slack_bot_file_content" | "slack_bot_file_info" | "slack_bot_list_channels" | "slack_bot_list_files" | "slack_bot_list_users" | "slack_bot_post_message" | "slack_bot_search" | "slack_bot_thread_replies" | "social_connections_list" | "social_daily_analysis_context" | "social_mentions_live" | "social_post_reply" | "social_posts_recent" | "social_posts_sync" | "social_search_live" | "social_thread_fetch" | "task_note_archive" | "task_note_promote_instruction_policy" | "task_note_promote_knowledge" | "task_note_promote_preference" | "task_note_replace" | "task_note_save" | "task_notes_list" | "variable_set_get_variable" | "variable_set_list" | "variable_set_set_variable" | "wait_for_input" | "work_claim_release" | "work_claim_upsert" | "x_accounts_list" | "x_mentions_live" | "x_post_reply" | "x_posts_sync" | "x_search_live" | "x_thread_fetch")[];
|
|
84
84
|
firstPartyMcpPermissions: ("account:admin" | "account:read" | "api_keys:manage" | "artifacts:publish" | "artifacts:read" | "billing:manage" | "billing:read" | "capabilities:manage" | "codemode:call" | "connections:read" | "connections:write" | "documents:manage" | "documents:search" | "enrollments:manage" | "enrollments:read" | "environments:manage" | "environments:use" | "files:read" | "files:upload" | "files:write" | "github:manage" | "github:use" | "goals:manage" | "mcp_servers:attach" | "members:manage" | "rigs:manage" | "rigs:use" | "scheduled_tasks:manage" | "scheduled_tasks:run" | "secrets:list" | "secrets:read" | "secrets:write" | "sessions:control" | "sessions:create" | "sessions:read" | "stream:acknowledge" | "stream:control" | "stream:view" | "terminal:attach" | "variable-sets:attach" | "variable-sets:list" | "variable-sets:manage" | "variable-sets:read" | "variable-sets:use" | "variable-sets:write" | "workspace:admin" | "workspace:create" | "workspace:read")[];
|
|
85
85
|
model: string | null;
|
|
86
86
|
reasoningEffort: "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | null;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const OPENGENI_PRODUCT_INTEGRATION_PACK_ID = "opengeni-product-integration";
|
|
2
|
+
/**
|
|
3
|
+
* Version-aligned implementation guidance for customer-side coding agents.
|
|
4
|
+
*
|
|
5
|
+
* This is intentionally an instruction-only Pack. Installation adds no tools,
|
|
6
|
+
* credentials, connectors, knowledge, compute, or customer-agent persona. Its
|
|
7
|
+
* immutable Skill is installed as session-selected and enters model context
|
|
8
|
+
* only when one implementation session opts in explicitly.
|
|
9
|
+
*/
|
|
10
|
+
export declare const OPENGENI_PRODUCT_INTEGRATION_SKILL: {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
activationMode: "session_selected";
|
|
14
|
+
files: {
|
|
15
|
+
path: string;
|
|
16
|
+
content: string;
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
export declare const OPENGENI_PRODUCT_INTEGRATION_PACK: {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
role: string;
|
|
24
|
+
category: string;
|
|
25
|
+
version: string;
|
|
26
|
+
skills: {
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
activationMode: "session_selected";
|
|
30
|
+
files: {
|
|
31
|
+
path: string;
|
|
32
|
+
content: string;
|
|
33
|
+
}[];
|
|
34
|
+
}[];
|
|
35
|
+
components: never[];
|
|
36
|
+
tools: never[];
|
|
37
|
+
connectors: never[];
|
|
38
|
+
knowledge: never[];
|
|
39
|
+
scheduledTaskTemplates: never[];
|
|
40
|
+
automationTemplates: never[];
|
|
41
|
+
metadata: {
|
|
42
|
+
audience: string;
|
|
43
|
+
purpose: string;
|
|
44
|
+
implementationOnly: boolean;
|
|
45
|
+
skillActivation: string;
|
|
46
|
+
installationExposure: string;
|
|
47
|
+
grantsExecutableCapabilities: boolean;
|
|
48
|
+
customerRuntimeProfile: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -83,6 +83,16 @@ export declare function createAndStartSessionWithOutcome(input: {
|
|
|
83
83
|
/** Internal database-only composition seam. The exact session shell and this
|
|
84
84
|
* linkage commit together before its first event/turn can be initialized. */
|
|
85
85
|
beforeCreateCommit?: (tx: Database, sessionId: string) => Promise<void>;
|
|
86
|
+
/** The custom workspace model was frozen by an earlier accepted boundary or
|
|
87
|
+
* inherited from an existing session, so retirement must not invalidate it. */
|
|
88
|
+
retainWorkspaceGatewayModel?: boolean;
|
|
89
|
+
/** Provider-neutral successor to retainWorkspaceGatewayModel. */
|
|
90
|
+
retainWorkspaceCustomModel?: boolean;
|
|
91
|
+
/** The selected workspace Gateway product is backed by a mutable custom row,
|
|
92
|
+
* rather than deployment-curated Gateway membership. */
|
|
93
|
+
workspaceGatewayCustomModel?: boolean;
|
|
94
|
+
/** Provider-neutral successor to workspaceGatewayCustomModel. */
|
|
95
|
+
workspaceCustomModel?: boolean;
|
|
86
96
|
accountId: string;
|
|
87
97
|
workspaceId: string;
|
|
88
98
|
visibility?: "user_private" | "workspace_shared";
|
|
@@ -130,6 +140,7 @@ export declare function createAndStartSessionWithOutcome(input: {
|
|
|
130
140
|
xaiProviderAccountAuthoritySnapshot?: XaiProviderAccountAuthoritySnapshotV1;
|
|
131
141
|
parentSessionId?: string | null;
|
|
132
142
|
createIdempotencyKey?: string | null;
|
|
143
|
+
selectedInstalledSkillIds?: string[];
|
|
133
144
|
sandboxGroupId?: string | null;
|
|
134
145
|
sandboxOs?: Session["sandboxOs"];
|
|
135
146
|
seedTargetSandbox?: {
|
|
@@ -213,7 +224,16 @@ export declare function requireQueuedTurnForApi(db: Database, workspaceId: strin
|
|
|
213
224
|
* `session_send_message` tool so the two surfaces cannot drift. Callers own
|
|
214
225
|
* resource/tool validation and the per-message usage limit before calling.
|
|
215
226
|
*/
|
|
216
|
-
|
|
227
|
+
type PostUserMessageTurnResult = {
|
|
228
|
+
accepted: SessionEvent;
|
|
229
|
+
turn: SessionTurn;
|
|
230
|
+
draft: ComposerDraft | null;
|
|
231
|
+
receipt: SessionCommandReceipt;
|
|
232
|
+
routing: SessionPromptRouting;
|
|
233
|
+
interruptionCount: number;
|
|
234
|
+
replay: boolean;
|
|
235
|
+
};
|
|
236
|
+
type PostUserMessageTurnInput = {
|
|
217
237
|
db: Database;
|
|
218
238
|
bus: EventBus;
|
|
219
239
|
workflowClient: Pick<SessionWorkflowClient, "wakeSessionWorkflow">;
|
|
@@ -241,19 +261,13 @@ export declare function postUserMessageTurn(input: {
|
|
|
241
261
|
commandActor?: SessionCommandActor;
|
|
242
262
|
controlEtag?: string | null;
|
|
243
263
|
expectedDraftRevision?: number | null;
|
|
264
|
+
boundaryRequestHash?: string;
|
|
244
265
|
reasoningEffortFallback?: Settings["openaiReasoningEffort"];
|
|
245
266
|
turnExecutionPolicy: TurnExecutionPolicyV1;
|
|
246
267
|
recordAgentRunUsage?: boolean;
|
|
247
268
|
schedulePostCommit?: (task: () => Promise<void>) => void;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
turn: SessionTurn;
|
|
251
|
-
draft: ComposerDraft | null;
|
|
252
|
-
receipt: SessionCommandReceipt;
|
|
253
|
-
routing: SessionPromptRouting;
|
|
254
|
-
interruptionCount: number;
|
|
255
|
-
replay: boolean;
|
|
256
|
-
}>;
|
|
269
|
+
};
|
|
270
|
+
export declare function postUserMessageTurn(input: PostUserMessageTurnInput): Promise<PostUserMessageTurnResult>;
|
|
257
271
|
/**
|
|
258
272
|
* Full create-session flow shared by `POST /sessions` and the first-party MCP
|
|
259
273
|
* `session_create` tool: payload validation, resource/tool/variableSet
|
|
@@ -269,7 +283,7 @@ export declare function resolveSessionCreateVisibility(input: {
|
|
|
269
283
|
visibilityProvided: boolean;
|
|
270
284
|
parentVisibility: "user_private" | "workspace_shared" | null;
|
|
271
285
|
}): "user_private" | "workspace_shared";
|
|
272
|
-
export declare function createSessionForRequestWithOutcome(
|
|
286
|
+
export declare function createSessionForRequestWithOutcome(unresolvedDeps: ApiRouteDeps, grant: AccessGrant, workspaceId: string, rawPayload: unknown, authorization?: AccessGrantAuthorization, agentChildPresentation?: AgentChildSessionCreatePresentation): Promise<CreateSessionRequestOutcome>;
|
|
273
287
|
/** @internal Fixed public projection; the committed session outcome remains authoritative. */
|
|
274
288
|
export declare function reportSessionUsageRecordingFailure(_error: unknown): void;
|
|
275
289
|
/** Backward-compatible entity-returning request path for REST and core callers. */
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from "./sandbox-types.js";
|
|
|
4
4
|
export * from "./managed-auth-type.js";
|
|
5
5
|
export { getManagedAuthRequestActorAbortSignal, getManagedAuthRequestActorAdmissionStamp, getManagedAuthRequestActorEpoch, getManagedAuthRequestActorLeaseStamp, getManagedSession, ManagedAuthActorLeaseOutcomeUnknownError, markManagedAuthRequestActorTransitionApplied, releaseManagedAuthRequestActorLease, validateManagedAuthRequestActorLease, type ManagedAuthActorAdmissionStamp, type ManagedAuthActorMutationLeaseStamp, } from "./managed-session.js";
|
|
6
6
|
export * from "./transcription.js";
|
|
7
|
+
export * from "./model-catalog.js";
|
|
7
8
|
export * from "./sandbox/fleet.js";
|
|
8
9
|
export * from "./sandbox/routing.js";
|
|
9
10
|
export * from "./sandbox/runtime-settings.js";
|
|
@@ -11,12 +12,14 @@ export * from "./access/index.js";
|
|
|
11
12
|
export * from "./session-authorization.js";
|
|
12
13
|
export * from "./billing/limits.js";
|
|
13
14
|
export * from "./domain/capabilities.js";
|
|
15
|
+
export * from "./domain/host-mcp-authority-source-admission.js";
|
|
14
16
|
export * from "./domain/skill-imports.js";
|
|
15
17
|
export * from "./domain/environments.js";
|
|
16
18
|
export * from "./rigs/index.js";
|
|
17
19
|
export * from "./domain/packs.js";
|
|
18
20
|
export * from "./domain/automations.js";
|
|
19
21
|
export * from "./domain/pr-review.js";
|
|
22
|
+
export * from "./domain/product-integration-pack.js";
|
|
20
23
|
export * from "./domain/personal-connection-delegations.js";
|
|
21
24
|
export * from "./domain/resources.js";
|
|
22
25
|
export * from "./domain/github-repository-bindings.js";
|
|
@@ -46,5 +49,6 @@ export * from "./application/composer-submit.js";
|
|
|
46
49
|
export * from "./application/session-commands.js";
|
|
47
50
|
export * from "./application/session-tenancy.js";
|
|
48
51
|
export * from "./application/user-resource-grants.js";
|
|
52
|
+
export * from "./application/api-integration-servers.js";
|
|
49
53
|
export * from "./editable-artifact-live.js";
|
|
50
54
|
export * from "./editable-artifacts.js";
|