@openagentpack/sdk 0.2.0-beta.0 → 0.3.0-beta-fb9e73b-20260721
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/index.d.ts +206 -10
- package/dist/index.js +1159 -225
- package/dist/{session-event-CObCawiI.d.ts → session-event-CxLg_XqS.d.ts} +51 -7
- package/dist/session-events.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ResourceAddress, a as ResourceType, C as CloudAgent, b as CloudEnvironment, c as CloudVault, E as EventStreamOptions, P as ProviderSessionEvent, d as EventListOptions, e as ProviderSessionEventList, f as PlannedAction, D as Diagnostic, A as AgentDefinition, g as AgentWithReadiness, h as AgentSyncRun } from './session-event-
|
|
2
|
-
export { i as ActionType, j as ActionTypeSchema, k as AgentDefinitionSchema, l as AgentDriftSeverity, m as AgentDriftSeveritySchema, n as AgentModel, o as AgentModelSchema, p as AgentReadiness, q as AgentReadinessSchema, r as AgentReadinessStatus, s as AgentReadinessStatusSchema, t as AgentRecoveryAction, u as AgentRecoveryActionSchema, v as AgentSkillRef, w as AgentSkillRefSchema, x as AgentSyncResult, y as AgentSyncResultSchema, z as AgentSyncRunSchema, B as AgentSyncStatus, F as AgentSyncStatusSchema, G as AgentWithReadinessSchema, H as CloudAgentSchema, I as CloudEnvironmentSchema, J as CloudVaultSchema, K as CreateSessionRequest, L as CreateSessionRequestSchema, M as CreateSessionResponse, N as CreateSessionResponseSchema, O as DiagnosticSchema, Q as DiagnosticSeverity, S as DiagnosticSeveritySchema, T as DriftKind, U as DriftKindSchema, V as GetSessionRequest, W as GetSessionRequestSchema, X as KNOWN_SESSION_EVENT_TYPES, Y as KnownSessionEventType, Z as ListCloudAgentsResponse, _ as ListCloudAgentsResponseSchema, $ as ListCloudEnvironmentsResponse, a0 as ListCloudEnvironmentsResponseSchema, a1 as ListSessionEventsRequest, a2 as ListSessionEventsRequestSchema, a3 as ListSessionEventsResponse, a4 as ListSessionEventsResponseSchema, a5 as ListSessionsRequest, a6 as ListSessionsRequestSchema, a7 as ListSessionsResponse, a8 as ListSessionsResponseSchema, a9 as PlanReadinessImpact, aa as PlanReadinessImpactSchema, ab as PlannedActionSchema, ac as ResourceAddressSchema, ad as ResourceTypeSchema, ae as SendEventRequest, af as SendEventRequestSchema, ag as SendEventResponse, ah as SendEventResponseSchema, ai as Session, aj as SessionAgent, ak as SessionAgentSchema, al as SessionContentBlock, am as SessionContentBlockSchema, an as SessionEvent, ao as SessionEventSchema, ap as SessionEventType, aq as SessionEventTypeName, ar as SessionEventTypeSchema, as as SessionSchema } from './session-event-
|
|
1
|
+
import { R as ResourceAddress, a as ResourceType, C as CloudAgent, b as CloudEnvironment, c as CloudVault, E as EventStreamOptions, P as ProviderSessionEvent, d as EventListOptions, e as ProviderSessionEventList, f as PlannedAction, D as Diagnostic, A as AgentDefinition, g as AgentWithReadiness, h as AgentSyncRun } from './session-event-CxLg_XqS.js';
|
|
2
|
+
export { i as ActionType, j as ActionTypeSchema, k as AgentDefinitionSchema, l as AgentDriftSeverity, m as AgentDriftSeveritySchema, n as AgentModel, o as AgentModelSchema, p as AgentReadiness, q as AgentReadinessSchema, r as AgentReadinessStatus, s as AgentReadinessStatusSchema, t as AgentRecoveryAction, u as AgentRecoveryActionSchema, v as AgentSkillRef, w as AgentSkillRefSchema, x as AgentSyncResult, y as AgentSyncResultSchema, z as AgentSyncRunSchema, B as AgentSyncStatus, F as AgentSyncStatusSchema, G as AgentWithReadinessSchema, H as CloudAgentSchema, I as CloudEnvironmentSchema, J as CloudVaultSchema, K as CreateSessionRequest, L as CreateSessionRequestSchema, M as CreateSessionResponse, N as CreateSessionResponseSchema, O as DiagnosticSchema, Q as DiagnosticSeverity, S as DiagnosticSeveritySchema, T as DriftKind, U as DriftKindSchema, V as GetSessionRequest, W as GetSessionRequestSchema, X as KNOWN_SESSION_EVENT_TYPES, Y as KnownSessionEventType, Z as ListCloudAgentsResponse, _ as ListCloudAgentsResponseSchema, $ as ListCloudEnvironmentsResponse, a0 as ListCloudEnvironmentsResponseSchema, a1 as ListSessionEventsRequest, a2 as ListSessionEventsRequestSchema, a3 as ListSessionEventsResponse, a4 as ListSessionEventsResponseSchema, a5 as ListSessionsRequest, a6 as ListSessionsRequestSchema, a7 as ListSessionsResponse, a8 as ListSessionsResponseSchema, a9 as PlanReadinessImpact, aa as PlanReadinessImpactSchema, ab as PlannedActionSchema, ac as ResourceAddressSchema, ad as ResourceTypeSchema, ae as SendEventRequest, af as SendEventRequestSchema, ag as SendEventResponse, ah as SendEventResponseSchema, ai as Session, aj as SessionAgent, ak as SessionAgentSchema, al as SessionContentBlock, am as SessionContentBlockSchema, an as SessionEvent, ao as SessionEventSchema, ap as SessionEventType, aq as SessionEventTypeName, ar as SessionEventTypeSchema, as as SessionSchema } from './session-event-CxLg_XqS.js';
|
|
3
3
|
import { P as ProviderFileInfo } from './file-URqwlxLf.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
@@ -18,17 +18,33 @@ interface ProjectConfig {
|
|
|
18
18
|
memory_stores?: Record<string, MemoryStoreDecl>;
|
|
19
19
|
skills?: Record<string, SkillDecl>;
|
|
20
20
|
files?: Record<string, FileDecl>;
|
|
21
|
+
identities?: Record<string, IdentityDecl>;
|
|
21
22
|
agents?: Record<string, AgentDecl>;
|
|
23
|
+
channels?: Record<string, ChannelDecl>;
|
|
22
24
|
deployments?: Record<string, DeploymentDecl>;
|
|
23
25
|
}
|
|
24
26
|
interface DefaultsConfig {
|
|
25
27
|
provider?: string;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
/** Logical name of the default declared Identity used by identity-aware resources and runtimes. */
|
|
29
|
+
identity?: string;
|
|
30
|
+
}
|
|
31
|
+
type IdentityDecl = ManagedIdentityDecl | ExternalIdentityDecl;
|
|
32
|
+
interface ManagedIdentityDecl {
|
|
33
|
+
provider?: ProviderName;
|
|
34
|
+
external_id: string;
|
|
35
|
+
name?: string;
|
|
36
|
+
enabled?: boolean;
|
|
37
|
+
metadata?: Record<string, string>;
|
|
38
|
+
identity_id?: never;
|
|
39
|
+
}
|
|
40
|
+
interface ExternalIdentityDecl {
|
|
41
|
+
provider?: ProviderName;
|
|
42
|
+
/** Pre-existing provider Identity id. External references are never mutated or deleted. */
|
|
43
|
+
identity_id: string;
|
|
44
|
+
external_id?: never;
|
|
45
|
+
name?: never;
|
|
46
|
+
enabled?: never;
|
|
47
|
+
metadata?: never;
|
|
32
48
|
}
|
|
33
49
|
interface EnvironmentDecl {
|
|
34
50
|
name?: string;
|
|
@@ -87,6 +103,7 @@ interface CredentialDecl {
|
|
|
87
103
|
interface MemoryStoreDecl {
|
|
88
104
|
description: string;
|
|
89
105
|
provider?: ProviderName;
|
|
106
|
+
metadata?: Record<string, string>;
|
|
90
107
|
entries?: MemoryEntryDecl[];
|
|
91
108
|
}
|
|
92
109
|
interface MemoryEntryDecl {
|
|
@@ -133,6 +150,18 @@ interface AgentDecl {
|
|
|
133
150
|
interface AgentDeliveryDecl {
|
|
134
151
|
type: "managed" | "forward";
|
|
135
152
|
}
|
|
153
|
+
interface ChannelDecl {
|
|
154
|
+
provider?: ProviderName;
|
|
155
|
+
/** Logical Agent name. The provider adapter resolves its materialized remote resource. */
|
|
156
|
+
agent: string;
|
|
157
|
+
/** Logical Identity name. Falls back to defaults.identity. */
|
|
158
|
+
identity?: string;
|
|
159
|
+
type: string;
|
|
160
|
+
name?: string;
|
|
161
|
+
enabled?: boolean;
|
|
162
|
+
credentials?: Record<string, string>;
|
|
163
|
+
options?: Record<string, unknown>;
|
|
164
|
+
}
|
|
136
165
|
type AgentSkillDecl = string | AgentSkillRefDecl;
|
|
137
166
|
interface AgentSkillRefDecl {
|
|
138
167
|
type: "official" | "custom";
|
|
@@ -229,6 +258,132 @@ interface ResolvedProjectConfig extends ProjectConfig {
|
|
|
229
258
|
_resolved: true;
|
|
230
259
|
}
|
|
231
260
|
|
|
261
|
+
type MemoryMetadata = Record<string, string>;
|
|
262
|
+
interface MemoryStoreInfo {
|
|
263
|
+
id: string;
|
|
264
|
+
type: "memory_store";
|
|
265
|
+
name: string;
|
|
266
|
+
description: string;
|
|
267
|
+
metadata: MemoryMetadata;
|
|
268
|
+
status?: "active" | "archived" | string;
|
|
269
|
+
entry_count?: number;
|
|
270
|
+
total_size?: number;
|
|
271
|
+
session_count?: number;
|
|
272
|
+
created_by?: MemoryActor;
|
|
273
|
+
created_at: string;
|
|
274
|
+
updated_at: string;
|
|
275
|
+
archived_at?: string | null;
|
|
276
|
+
}
|
|
277
|
+
interface MemoryInfo {
|
|
278
|
+
id: string;
|
|
279
|
+
type: "memory";
|
|
280
|
+
memory_store_id: string;
|
|
281
|
+
path: string;
|
|
282
|
+
content?: string | null;
|
|
283
|
+
content_size_bytes: number;
|
|
284
|
+
content_sha256: string;
|
|
285
|
+
version?: number;
|
|
286
|
+
memory_version_id?: string;
|
|
287
|
+
metadata: MemoryMetadata;
|
|
288
|
+
created_by?: MemoryActor;
|
|
289
|
+
created_at: string;
|
|
290
|
+
updated_at: string;
|
|
291
|
+
}
|
|
292
|
+
interface MemoryPrefixInfo {
|
|
293
|
+
type: "memory_prefix";
|
|
294
|
+
path: string;
|
|
295
|
+
}
|
|
296
|
+
type MemoryListItem = MemoryInfo | MemoryPrefixInfo;
|
|
297
|
+
type MemoryVersionOperation = "created" | "updated" | "modified" | "deleted";
|
|
298
|
+
interface MemoryActor {
|
|
299
|
+
type: string;
|
|
300
|
+
api_key_id?: string;
|
|
301
|
+
session_id?: string;
|
|
302
|
+
user_id?: string;
|
|
303
|
+
}
|
|
304
|
+
interface MemoryVersionInfo {
|
|
305
|
+
id: string;
|
|
306
|
+
type: "memory_version";
|
|
307
|
+
memory_store_id: string;
|
|
308
|
+
memory_id: string;
|
|
309
|
+
path?: string | null;
|
|
310
|
+
content?: string | null;
|
|
311
|
+
content_size_bytes?: number | null;
|
|
312
|
+
content_sha256?: string | null;
|
|
313
|
+
operation: MemoryVersionOperation;
|
|
314
|
+
version?: number;
|
|
315
|
+
redacted?: boolean;
|
|
316
|
+
redacted_at?: string | null;
|
|
317
|
+
created_by?: MemoryActor;
|
|
318
|
+
created_at: string;
|
|
319
|
+
}
|
|
320
|
+
interface MemoryPage<T> {
|
|
321
|
+
data: T[];
|
|
322
|
+
has_more: boolean;
|
|
323
|
+
next_cursor?: string;
|
|
324
|
+
}
|
|
325
|
+
interface MemoryProviderCapabilities {
|
|
326
|
+
archive_store: boolean;
|
|
327
|
+
batch_create: boolean;
|
|
328
|
+
versions: boolean;
|
|
329
|
+
optimistic_concurrency: boolean;
|
|
330
|
+
memory_metadata: boolean;
|
|
331
|
+
}
|
|
332
|
+
interface MemoryStoreListOptions {
|
|
333
|
+
limit?: number;
|
|
334
|
+
cursor?: string;
|
|
335
|
+
include_archived?: boolean;
|
|
336
|
+
}
|
|
337
|
+
interface MemoryListOptions {
|
|
338
|
+
limit?: number;
|
|
339
|
+
cursor?: string;
|
|
340
|
+
prefix?: string;
|
|
341
|
+
depth?: number;
|
|
342
|
+
view?: "basic" | "full";
|
|
343
|
+
}
|
|
344
|
+
interface MemoryVersionListOptions {
|
|
345
|
+
limit?: number;
|
|
346
|
+
cursor?: string;
|
|
347
|
+
memory_id?: string;
|
|
348
|
+
view?: "basic" | "full";
|
|
349
|
+
}
|
|
350
|
+
interface CreateMemoryStoreInput {
|
|
351
|
+
name: string;
|
|
352
|
+
description?: string;
|
|
353
|
+
metadata?: MemoryMetadata;
|
|
354
|
+
}
|
|
355
|
+
interface UpdateMemoryStoreInput {
|
|
356
|
+
name?: string;
|
|
357
|
+
description?: string;
|
|
358
|
+
metadata?: MemoryMetadata;
|
|
359
|
+
}
|
|
360
|
+
interface CreateMemoryInput {
|
|
361
|
+
path: string;
|
|
362
|
+
content: string;
|
|
363
|
+
metadata?: MemoryMetadata;
|
|
364
|
+
}
|
|
365
|
+
interface BatchCreateMemoryInput {
|
|
366
|
+
items: CreateMemoryInput[];
|
|
367
|
+
on_conflict?: "overwrite" | "fail";
|
|
368
|
+
}
|
|
369
|
+
interface BatchCreateMemoryResultItem {
|
|
370
|
+
path: string;
|
|
371
|
+
memory?: MemoryInfo;
|
|
372
|
+
error?: {
|
|
373
|
+
type: string;
|
|
374
|
+
message: string;
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
interface BatchCreateMemoryResult {
|
|
378
|
+
results: BatchCreateMemoryResultItem[];
|
|
379
|
+
}
|
|
380
|
+
interface UpdateMemoryInput {
|
|
381
|
+
path?: string;
|
|
382
|
+
content?: string;
|
|
383
|
+
metadata?: MemoryMetadata;
|
|
384
|
+
expected_content_sha256?: string;
|
|
385
|
+
}
|
|
386
|
+
|
|
232
387
|
interface SessionFileResource {
|
|
233
388
|
file_id: string;
|
|
234
389
|
mount_path: string;
|
|
@@ -385,6 +540,10 @@ interface ResolvedDeploymentRefs {
|
|
|
385
540
|
vault_ids: string[];
|
|
386
541
|
memory_store_ids: Record<string, string>;
|
|
387
542
|
}
|
|
543
|
+
interface ResolvedChannelRefs {
|
|
544
|
+
identity_id: string;
|
|
545
|
+
agent_id: string;
|
|
546
|
+
}
|
|
388
547
|
interface DeploymentContext {
|
|
389
548
|
id: string | null;
|
|
390
549
|
name: string;
|
|
@@ -422,6 +581,7 @@ interface ProviderAdapter {
|
|
|
422
581
|
* resume after. true → send-then-stream with `afterId`; false → connect-before-send.
|
|
423
582
|
*/
|
|
424
583
|
readonly eventResume: boolean;
|
|
584
|
+
readonly memoryCapabilities?: MemoryProviderCapabilities;
|
|
425
585
|
validate(): Promise<void>;
|
|
426
586
|
/**
|
|
427
587
|
* Locate a remote resource. When `id` is provided, the resource is verified
|
|
@@ -464,8 +624,27 @@ interface ProviderAdapter {
|
|
|
464
624
|
updateTemplate?(id: string, name: string, decl: AgentDecl, refs: ResolvedTemplateRefs): Promise<RemoteResource>;
|
|
465
625
|
/** Remove the template from desired state. Qoder implements this as a soft archive. */
|
|
466
626
|
archiveTemplate?(id: string): Promise<void>;
|
|
627
|
+
createIdentity?(name: string, decl: IdentityDecl): Promise<RemoteResource>;
|
|
628
|
+
updateIdentity?(id: string, name: string, decl: IdentityDecl): Promise<RemoteResource>;
|
|
629
|
+
deleteIdentity?(id: string): Promise<void>;
|
|
630
|
+
createChannel?(name: string, decl: ChannelDecl, refs: ResolvedChannelRefs): Promise<RemoteResource>;
|
|
631
|
+
updateChannel?(id: string, name: string, decl: ChannelDecl, refs: ResolvedChannelRefs): Promise<RemoteResource>;
|
|
632
|
+
deleteChannel?(id: string): Promise<void>;
|
|
467
633
|
createMemoryStore?(name: string, decl: MemoryStoreDecl): Promise<RemoteResource>;
|
|
468
634
|
deleteMemoryStore?(id: string): Promise<void>;
|
|
635
|
+
listMemoryStores?(options?: MemoryStoreListOptions): Promise<MemoryPage<MemoryStoreInfo>>;
|
|
636
|
+
getMemoryStore?(id: string): Promise<MemoryStoreInfo>;
|
|
637
|
+
updateMemoryStore?(id: string, input: UpdateMemoryStoreInput): Promise<MemoryStoreInfo>;
|
|
638
|
+
archiveMemoryStore?(id: string): Promise<MemoryStoreInfo>;
|
|
639
|
+
createMemory?(storeId: string, input: CreateMemoryInput): Promise<MemoryInfo>;
|
|
640
|
+
batchCreateMemories?(storeId: string, input: BatchCreateMemoryInput): Promise<BatchCreateMemoryResult>;
|
|
641
|
+
listMemories?(storeId: string, options?: MemoryListOptions): Promise<MemoryPage<MemoryListItem>>;
|
|
642
|
+
getMemory?(storeId: string, memoryId: string): Promise<MemoryInfo>;
|
|
643
|
+
updateMemory?(storeId: string, memoryId: string, input: UpdateMemoryInput): Promise<MemoryInfo>;
|
|
644
|
+
deleteMemory?(storeId: string, memoryId: string, expectedContentSha256?: string): Promise<void>;
|
|
645
|
+
listMemoryVersions?(storeId: string, options?: MemoryVersionListOptions): Promise<MemoryPage<MemoryVersionInfo>>;
|
|
646
|
+
getMemoryVersion?(storeId: string, versionId: string): Promise<MemoryVersionInfo>;
|
|
647
|
+
redactMemoryVersion?(storeId: string, versionId: string): Promise<MemoryVersionInfo>;
|
|
469
648
|
createDeployment(name: string, decl: DeploymentDecl, refs: ResolvedDeploymentRefs, basePath: string): Promise<RemoteResource>;
|
|
470
649
|
updateDeployment(id: string, name: string, decl: DeploymentDecl, refs: ResolvedDeploymentRefs, basePath: string): Promise<RemoteResource>;
|
|
471
650
|
deleteDeployment(id: string): Promise<void>;
|
|
@@ -890,6 +1069,23 @@ interface ModelListAdapter {
|
|
|
890
1069
|
declare function listProviderModelsForContext(providers: ReadonlyMap<string, ModelListAdapter>, providerFilter?: string): Promise<ProviderModelListing[]>;
|
|
891
1070
|
declare function listProviderNames(): string[];
|
|
892
1071
|
|
|
1072
|
+
declare function listMemoryStores(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, options?: MemoryStoreListOptions): Promise<MemoryPage<MemoryStoreInfo>>;
|
|
1073
|
+
declare function getMemoryProviderCapabilities(providers: ReadonlyMap<string, ProviderAdapter>, provider: string): MemoryProviderCapabilities;
|
|
1074
|
+
declare function createMemoryStore(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, input: CreateMemoryStoreInput): Promise<MemoryStoreInfo>;
|
|
1075
|
+
declare function deleteMemoryStore(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, id: string): Promise<void>;
|
|
1076
|
+
declare function getMemoryStore(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, id: string): Promise<MemoryStoreInfo>;
|
|
1077
|
+
declare function updateMemoryStore(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, id: string, input: UpdateMemoryStoreInput): Promise<MemoryStoreInfo>;
|
|
1078
|
+
declare function archiveMemoryStore(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, id: string): Promise<MemoryStoreInfo>;
|
|
1079
|
+
declare function createMemory(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, storeId: string, input: CreateMemoryInput): Promise<MemoryInfo>;
|
|
1080
|
+
declare function batchCreateMemories(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, storeId: string, input: BatchCreateMemoryInput): Promise<BatchCreateMemoryResult>;
|
|
1081
|
+
declare function listMemories(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, storeId: string, options?: MemoryListOptions): Promise<MemoryPage<MemoryListItem>>;
|
|
1082
|
+
declare function getMemory(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, storeId: string, memoryId: string): Promise<MemoryInfo>;
|
|
1083
|
+
declare function updateMemory(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, storeId: string, memoryId: string, input: UpdateMemoryInput): Promise<MemoryInfo>;
|
|
1084
|
+
declare function deleteMemory(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, storeId: string, memoryId: string, expected?: string): Promise<void>;
|
|
1085
|
+
declare function listMemoryVersions(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, storeId: string, options?: MemoryVersionListOptions): Promise<MemoryPage<MemoryVersionInfo>>;
|
|
1086
|
+
declare function getMemoryVersion(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, storeId: string, versionId: string): Promise<MemoryVersionInfo>;
|
|
1087
|
+
declare function redactMemoryVersion(providers: ReadonlyMap<string, ProviderAdapter>, provider: string, storeId: string, versionId: string): Promise<MemoryVersionInfo>;
|
|
1088
|
+
|
|
893
1089
|
interface AgentSkillBuildInput {
|
|
894
1090
|
kind: "official" | "custom";
|
|
895
1091
|
/** Skill code/id for official skills. */
|
|
@@ -1000,7 +1196,7 @@ declare function listAgentsWithReadiness(ctx: ProjectRuntimeContext, options?: {
|
|
|
1000
1196
|
declare function syncAgentResourcesWithStateBackend(input: BackendRuntimeInput, agentId: string, options?: AgentResourceSyncOptions): Promise<AgentSyncRun>;
|
|
1001
1197
|
|
|
1002
1198
|
interface SessionCreateOptions {
|
|
1003
|
-
/** Explicit
|
|
1199
|
+
/** Explicit provider Identity id. Overrides the declared defaults.identity reference. */
|
|
1004
1200
|
identityId?: string;
|
|
1005
1201
|
environment?: string;
|
|
1006
1202
|
/**
|
|
@@ -1212,4 +1408,4 @@ declare class LocalFileStateBackend implements StateBackend {
|
|
|
1212
1408
|
/** Normalize a skill zip and extract its entries to SkillFile[]. */
|
|
1213
1409
|
declare function extractSkillZipFiles(raw: Buffer): Promise<SkillFile[]>;
|
|
1214
1410
|
|
|
1215
|
-
export { AGENTS_CONFIG_PROVIDERS, AGENTS_PROVIDER_FIELDS, type AgentBuildInput, AgentDefinition, type AgentMcpBuildInput, type AgentSkillBuildInput, AgentSyncRun, AgentWithReadiness, type BackendRuntimeInput, CloudAgent, CloudEnvironment, CloudVault, type CollectedSessionEvents, type DestroyResourceResult, type DestructivePolicy, Diagnostic, type IStateManager, type LoadedProjectConfig, LocalFileStateBackend, type MigrateOptions, type MigrateResult, PlannedAction, type ProjectRuntimeContext, type ProviderConfig, type ProviderConfigProvider, ProviderFileInfo, ProviderSessionEvent, type ProviderSessionInfo, type ProviderSkillInfo, type ResolvedProjectConfig, type ResourceActionResult, ResourceAddress, type ResourceExecutionResult, type ResourcePlanResult, type ResourceRefreshResult, type ResourceRuntimeOptions, type ResourceState, type ResourceSyncRun, ResourceType, type RuntimeFeedbackEvent, type RuntimeFeedbackSink, type SecretPlaceholder, type SkillFile, StateManager, type StateScope, type SyncProjectOptions, type SyncProjectResult, UserError, type ValidateProjectConfigOptions, applyProviderConfigToEnv, archiveCloudAgent, areRuntimeCredentialsReady, bootstrapRuntimeCredentials, bootstrapRuntimeCredentialsSync, buildAgentDecl, collectConfigReferences, createCloudEnvironment, createCloudVault, createProjectRuntime, createSessionForAgent, createSkillFromFileId, decideDestructive, deleteCloudEnvironment, deleteCloudVault, deleteFile, deleteSession, deleteSkill, destroyPlannedProjectResources, executePlannedProject, extractSkillZipFiles, getAgent, getDeploymentDetailsForContext, getDeploymentRuntimeProviderForContext, getFileDownloadUrl, getFileInfo, getSession, getSkillInfo, importResource, isTerminalSessionStatus, listAgentsWithReadiness, listCloudAgents, listCloudEnvironments, listCloudVaults, listDeploymentsForContext, listFiles, listProviderModelsForContext, listProviderNames, listSessionEvents, listSessionSummaries, listSkills, loadDotEnv, loadProviderConfigIntoEnv, loadProviderConfigIntoEnvSync, migrateConfig, parseStateAddress, planDestroyProjectContext, planProjectContext, preparePromptForProvider, prependFileHint, providerConfigPath, readProjectRuntime, resolveActiveProvider, resolveProjectConfig, resolveProjectConfigFromObject, resolveProviderConfigFromEnv, resolveSessionProvider, resolveSyncProvider, rewriteFileMentions, runDeploymentForContext, sendSessionMessagePolling, sendSessionMessageStreaming, startSessionRun, startSessionRunPolling, streamSessionEvents, syncAgentResourcesWithStateBackend, syncProjectResourcesWithStateBackend, syncProviderResourcesFromContext, syncProviderResourcesFromEnv, uploadFile, validateProjectConfig, writeProjectRuntime };
|
|
1411
|
+
export { AGENTS_CONFIG_PROVIDERS, AGENTS_PROVIDER_FIELDS, type AgentBuildInput, AgentDefinition, type AgentMcpBuildInput, type AgentSkillBuildInput, AgentSyncRun, AgentWithReadiness, type BackendRuntimeInput, type BatchCreateMemoryInput, type BatchCreateMemoryResult, CloudAgent, CloudEnvironment, CloudVault, type CollectedSessionEvents, type CreateMemoryInput, type CreateMemoryStoreInput, type DestroyResourceResult, type DestructivePolicy, Diagnostic, type IStateManager, type LoadedProjectConfig, LocalFileStateBackend, type MemoryInfo, type MemoryListItem, type MemoryListOptions, type MemoryPage, type MemoryPrefixInfo, type MemoryProviderCapabilities, type MemoryStoreInfo, type MemoryStoreListOptions, type MemoryVersionInfo, type MemoryVersionListOptions, type MigrateOptions, type MigrateResult, PlannedAction, type ProjectRuntimeContext, type ProviderConfig, type ProviderConfigProvider, ProviderFileInfo, ProviderSessionEvent, type ProviderSessionInfo, type ProviderSkillInfo, type ResolvedProjectConfig, type ResourceActionResult, ResourceAddress, type ResourceExecutionResult, type ResourcePlanResult, type ResourceRefreshResult, type ResourceRuntimeOptions, type ResourceState, type ResourceSyncRun, ResourceType, type RuntimeFeedbackEvent, type RuntimeFeedbackSink, type SecretPlaceholder, type SkillFile, StateManager, type StateScope, type SyncProjectOptions, type SyncProjectResult, type UpdateMemoryInput, type UpdateMemoryStoreInput, UserError, type ValidateProjectConfigOptions, applyProviderConfigToEnv, archiveCloudAgent, archiveMemoryStore, areRuntimeCredentialsReady, batchCreateMemories, bootstrapRuntimeCredentials, bootstrapRuntimeCredentialsSync, buildAgentDecl, collectConfigReferences, createCloudEnvironment, createCloudVault, createMemory, createMemoryStore, createProjectRuntime, createSessionForAgent, createSkillFromFileId, decideDestructive, deleteCloudEnvironment, deleteCloudVault, deleteFile, deleteMemory, deleteMemoryStore, deleteSession, deleteSkill, destroyPlannedProjectResources, executePlannedProject, extractSkillZipFiles, getAgent, getDeploymentDetailsForContext, getDeploymentRuntimeProviderForContext, getFileDownloadUrl, getFileInfo, getMemory, getMemoryProviderCapabilities, getMemoryStore, getMemoryVersion, getSession, getSkillInfo, importResource, isTerminalSessionStatus, listAgentsWithReadiness, listCloudAgents, listCloudEnvironments, listCloudVaults, listDeploymentsForContext, listFiles, listMemories, listMemoryStores, listMemoryVersions, listProviderModelsForContext, listProviderNames, listSessionEvents, listSessionSummaries, listSkills, loadDotEnv, loadProviderConfigIntoEnv, loadProviderConfigIntoEnvSync, migrateConfig, parseStateAddress, planDestroyProjectContext, planProjectContext, preparePromptForProvider, prependFileHint, providerConfigPath, readProjectRuntime, redactMemoryVersion, resolveActiveProvider, resolveProjectConfig, resolveProjectConfigFromObject, resolveProviderConfigFromEnv, resolveSessionProvider, resolveSyncProvider, rewriteFileMentions, runDeploymentForContext, sendSessionMessagePolling, sendSessionMessageStreaming, startSessionRun, startSessionRunPolling, streamSessionEvents, syncAgentResourcesWithStateBackend, syncProjectResourcesWithStateBackend, syncProviderResourcesFromContext, syncProviderResourcesFromEnv, updateMemory, updateMemoryStore, uploadFile, validateProjectConfig, writeProjectRuntime };
|