@granular-software/sdk 0.4.33 → 0.4.35
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/agent-evals.d.mts +1 -1
- package/dist/agent-evals.d.ts +1 -1
- package/dist/agent-evals.js +272 -42
- package/dist/agent-evals.js.map +1 -1
- package/dist/agent-evals.mjs +272 -42
- package/dist/agent-evals.mjs.map +1 -1
- package/dist/agent-harness.js +15 -6
- package/dist/agent-harness.js.map +1 -1
- package/dist/agent-harness.mjs +15 -6
- package/dist/agent-harness.mjs.map +1 -1
- package/dist/cli/index.js +257 -36
- package/dist/{client-DTvI5MUG.d.mts → client-Cq8onk2D.d.mts} +75 -2
- package/dist/{client-DTvI5MUG.d.ts → client-Cq8onk2D.d.ts} +75 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +272 -42
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +272 -42
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -303,6 +303,7 @@ interface EnvironmentData {
|
|
|
303
303
|
sandboxId: string;
|
|
304
304
|
ontologyId?: string;
|
|
305
305
|
buildId: string;
|
|
306
|
+
versionNumber?: number | null;
|
|
306
307
|
versionId: string;
|
|
307
308
|
subjectId: string;
|
|
308
309
|
envName: string;
|
|
@@ -312,6 +313,7 @@ interface EnvironmentData {
|
|
|
312
313
|
tag?: VersionTag | null;
|
|
313
314
|
tracking?: BuildPolicy;
|
|
314
315
|
buildPolicy: BuildPolicy;
|
|
316
|
+
setup?: EnvironmentSetupSummary | null;
|
|
315
317
|
updateState?: "up_to_date" | "update_available" | "upgrading" | "failed";
|
|
316
318
|
createdAt: number;
|
|
317
319
|
updatedAt: number;
|
|
@@ -422,6 +424,8 @@ interface EffectHandlerContext {
|
|
|
422
424
|
effectClientId: string;
|
|
423
425
|
sandboxId: string;
|
|
424
426
|
environmentId: string;
|
|
427
|
+
buildId?: string;
|
|
428
|
+
buildVersionNumber?: number;
|
|
425
429
|
sessionId: string;
|
|
426
430
|
tenantId?: string;
|
|
427
431
|
principalId?: string;
|
|
@@ -534,6 +538,12 @@ interface ToolSchema {
|
|
|
534
538
|
* passed as the first argument to the handler).
|
|
535
539
|
*/
|
|
536
540
|
static?: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* Optional build-version selector for this live effect binding.
|
|
543
|
+
*
|
|
544
|
+
* When omitted, the binding applies to all build versions for the sandbox.
|
|
545
|
+
*/
|
|
546
|
+
versionSelector?: EffectVersionSelector;
|
|
537
547
|
/** Declarative runtime behaviors attached to the effect. */
|
|
538
548
|
metamodels?: ManifestEffectMetamodelSpec;
|
|
539
549
|
}
|
|
@@ -566,6 +576,18 @@ interface PublishToolsResult {
|
|
|
566
576
|
}>;
|
|
567
577
|
}
|
|
568
578
|
type PublishEffectsResult = PublishToolsResult;
|
|
579
|
+
type EffectVersionSelector = {
|
|
580
|
+
mode: "all";
|
|
581
|
+
} | {
|
|
582
|
+
mode: "exact";
|
|
583
|
+
versionNumber: number;
|
|
584
|
+
} | {
|
|
585
|
+
mode: "before";
|
|
586
|
+
versionNumber: number;
|
|
587
|
+
} | {
|
|
588
|
+
mode: "after";
|
|
589
|
+
versionNumber: number;
|
|
590
|
+
};
|
|
569
591
|
/**
|
|
570
592
|
* Domain state response
|
|
571
593
|
*/
|
|
@@ -603,6 +625,8 @@ interface ToolInfo {
|
|
|
603
625
|
className?: string;
|
|
604
626
|
/** Whether this is a static method */
|
|
605
627
|
static?: boolean;
|
|
628
|
+
/** Optional build-version selector associated with the live binding. */
|
|
629
|
+
versionSelector?: EffectVersionSelector;
|
|
606
630
|
/** Declarative runtime behaviors attached to the effect. */
|
|
607
631
|
metamodels?: ManifestEffectMetamodelSpec;
|
|
608
632
|
}
|
|
@@ -1082,6 +1106,7 @@ interface RecordImport {
|
|
|
1082
1106
|
environmentId: string;
|
|
1083
1107
|
sandboxId: string;
|
|
1084
1108
|
subjectId: string;
|
|
1109
|
+
setupRunId?: string | null;
|
|
1085
1110
|
status: RecordImportStatus;
|
|
1086
1111
|
batchSize: number;
|
|
1087
1112
|
errorMessage: string | null;
|
|
@@ -1098,6 +1123,37 @@ interface EnvironmentRecordImportSummary extends RecordImportStats {
|
|
|
1098
1123
|
activeImports: number;
|
|
1099
1124
|
updatedAt: number;
|
|
1100
1125
|
}
|
|
1126
|
+
type EnvironmentSetupTriggerReason = "new_environment" | "fresh_after_version_update";
|
|
1127
|
+
type EnvironmentSetupLifecycleStatus = "running" | "completed" | "failed";
|
|
1128
|
+
interface EnvironmentSetupSummary extends RecordImportStats {
|
|
1129
|
+
setupRunId: string;
|
|
1130
|
+
environmentId: string;
|
|
1131
|
+
sandboxId: string;
|
|
1132
|
+
subjectId: string;
|
|
1133
|
+
triggerReason: EnvironmentSetupTriggerReason;
|
|
1134
|
+
lifecycleStatus: EnvironmentSetupLifecycleStatus;
|
|
1135
|
+
stage: string | null;
|
|
1136
|
+
totalObjectsToImport: number;
|
|
1137
|
+
totalImports: number;
|
|
1138
|
+
activeImports: number;
|
|
1139
|
+
errorMessage: string | null;
|
|
1140
|
+
startedAt: number;
|
|
1141
|
+
hookCompletedAt: number | null;
|
|
1142
|
+
finishedAt: number | null;
|
|
1143
|
+
updatedAt: number;
|
|
1144
|
+
}
|
|
1145
|
+
interface EnvironmentImporterImportOptions {
|
|
1146
|
+
batchSize?: number;
|
|
1147
|
+
}
|
|
1148
|
+
interface EnvironmentImporter {
|
|
1149
|
+
environmentId: string;
|
|
1150
|
+
sandboxId: string;
|
|
1151
|
+
subjectId: string;
|
|
1152
|
+
reason: EnvironmentSetupTriggerReason;
|
|
1153
|
+
incrementTotalObjectsToImportCount: (n: number) => Promise<void>;
|
|
1154
|
+
setStage: (stage: string | null) => Promise<void>;
|
|
1155
|
+
importRecords: (records: RecordObjectOptions[], options?: EnvironmentImporterImportOptions) => Promise<RecordImport>;
|
|
1156
|
+
}
|
|
1101
1157
|
/**
|
|
1102
1158
|
* Property specification in a manifest operation
|
|
1103
1159
|
*/
|
|
@@ -1554,6 +1610,7 @@ declare class Session {
|
|
|
1554
1610
|
private checkForToolChanges;
|
|
1555
1611
|
}
|
|
1556
1612
|
|
|
1613
|
+
type EnvironmentImporterHandler = (importer: EnvironmentImporter) => Promise<void> | void;
|
|
1557
1614
|
/**
|
|
1558
1615
|
* Environment is the sessionless handle for one resolved ontology environment.
|
|
1559
1616
|
*
|
|
@@ -1589,6 +1646,8 @@ declare class Environment {
|
|
|
1589
1646
|
get buildPolicy(): BuildPolicy;
|
|
1590
1647
|
/** The current update state relative to the followed tag */
|
|
1591
1648
|
get updateState(): EnvironmentData["updateState"];
|
|
1649
|
+
/** The latest setup/import run summary for this environment, when available. */
|
|
1650
|
+
get setup(): EnvironmentSetupSummary | null;
|
|
1592
1651
|
/** Convenience flag for whether this environment trails the current tag target */
|
|
1593
1652
|
get isOutdated(): boolean;
|
|
1594
1653
|
/** The followed tag name when this environment is tag-tracked */
|
|
@@ -1599,6 +1658,7 @@ declare class Environment {
|
|
|
1599
1658
|
get authToken(): string;
|
|
1600
1659
|
/** Base runtime URL derived from the GraphQL endpoint */
|
|
1601
1660
|
get runtimeBaseUrl(): string;
|
|
1661
|
+
syncEnvironmentData(envData: EnvironmentData): void;
|
|
1602
1662
|
get sessions(): {
|
|
1603
1663
|
list: (options?: {
|
|
1604
1664
|
status?: "active" | "closed" | "all";
|
|
@@ -1903,6 +1963,7 @@ declare class Environment {
|
|
|
1903
1963
|
*/
|
|
1904
1964
|
enqueueRecordImport(records: RecordObjectOptions[], options?: {
|
|
1905
1965
|
batchSize?: number;
|
|
1966
|
+
setupRunId?: string;
|
|
1906
1967
|
}): Promise<RecordImport>;
|
|
1907
1968
|
/**
|
|
1908
1969
|
* List queued or completed record imports for this environment.
|
|
@@ -2058,6 +2119,10 @@ declare class OntologyHandle {
|
|
|
2058
2119
|
clear: () => Promise<void>;
|
|
2059
2120
|
disconnect: () => Promise<void>;
|
|
2060
2121
|
};
|
|
2122
|
+
get importer(): {
|
|
2123
|
+
onEnvironmentCreate: (handler: EnvironmentImporterHandler) => void;
|
|
2124
|
+
clear: () => void;
|
|
2125
|
+
};
|
|
2061
2126
|
}
|
|
2062
2127
|
declare class Granular {
|
|
2063
2128
|
private apiKey;
|
|
@@ -2068,12 +2133,16 @@ declare class Granular {
|
|
|
2068
2133
|
private onUnexpectedClose?;
|
|
2069
2134
|
private onReconnectError?;
|
|
2070
2135
|
private debugHttp;
|
|
2071
|
-
/** Sandbox-level effect registry: sandboxId → (effectKey → ToolWithHandler) */
|
|
2136
|
+
/** Sandbox-level effect registry: sandboxId → (effectKey@selector → ToolWithHandler) */
|
|
2072
2137
|
private sandboxEffects;
|
|
2073
2138
|
/** Live sandbox-scoped effect hosts keyed by sandboxId */
|
|
2074
2139
|
private sandboxEffectHosts;
|
|
2075
2140
|
/** In-flight host connection promises to avoid duplicate concurrent connects */
|
|
2076
2141
|
private sandboxEffectHostPromises;
|
|
2142
|
+
/** Ontology-bound environment importer hooks keyed by the caller's ontology identifier. */
|
|
2143
|
+
private ontologyImporters;
|
|
2144
|
+
/** Resolved importer hooks keyed by sandboxId for fast lookups during openEnvironment(). */
|
|
2145
|
+
private sandboxImporters;
|
|
2077
2146
|
/**
|
|
2078
2147
|
* Create a new Granular client
|
|
2079
2148
|
* @param options - Client configuration
|
|
@@ -2083,6 +2152,8 @@ declare class Granular {
|
|
|
2083
2152
|
* Return an ontology-scoped handle for effects and other ontology-level APIs.
|
|
2084
2153
|
*/
|
|
2085
2154
|
ontology(ontologyNameOrId: string): OntologyHandle;
|
|
2155
|
+
registerEnvironmentImporter(ontologyNameOrId: string, handler: EnvironmentImporterHandler): void;
|
|
2156
|
+
clearEnvironmentImporter(ontologyNameOrId: string): void;
|
|
2086
2157
|
/**
|
|
2087
2158
|
* Records/upserts a user and prepares them for sandbox connections
|
|
2088
2159
|
*
|
|
@@ -2181,6 +2252,8 @@ declare class Granular {
|
|
|
2181
2252
|
reopenSession(sessionId: string, options?: {
|
|
2182
2253
|
clientId?: string;
|
|
2183
2254
|
}): Promise<EnvironmentSession>;
|
|
2255
|
+
private resolveEnvironmentImporter;
|
|
2256
|
+
private maybeRunEnvironmentImporter;
|
|
2184
2257
|
private bindEnvironmentHandle;
|
|
2185
2258
|
private bindWebSocketEnvironmentSession;
|
|
2186
2259
|
private activateEnvironment;
|
|
@@ -2326,4 +2399,4 @@ declare class Granular {
|
|
|
2326
2399
|
private request;
|
|
2327
2400
|
}
|
|
2328
2401
|
|
|
2329
|
-
export { type SemanticVersionDiff as $, type AccessTokenProvider as A, type BuildPolicy as B, type ConnectOptions as C, type DomainState as D, type EndpointMode as E, type VersionTag as F, Granular as G, type EnvironmentData as H, type InstanceToolHandler as I, type CreateEnvironmentData as J, type EnvironmentListResponse as K, type Manifest as L, type ManifestEffectMetamodelSpec as M, type ManifestListResponse as N, OntologyHandle as O, type Prompt as P, type BuildStatus as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type User as U, type VersionTracking as V, WSClient as W, type Build as X, type Version as Y, type BuildListResponse as Z, type SemanticVersionDiffEntry as _, type EffectHandlerContext as a, type
|
|
2402
|
+
export { type SemanticVersionDiff as $, type AccessTokenProvider as A, type BuildPolicy as B, type ConnectOptions as C, type DomainState as D, type EndpointMode as E, type VersionTag as F, Granular as G, type EnvironmentData as H, type InstanceToolHandler as I, type CreateEnvironmentData as J, type EnvironmentListResponse as K, type Manifest as L, type ManifestEffectMetamodelSpec as M, type ManifestListResponse as N, OntologyHandle as O, type Prompt as P, type BuildStatus as Q, type ResolvedEffectBehaviors as R, type SessionHeapEntry as S, type ToolWithHandler as T, type User as U, type VersionTracking as V, WSClient as W, type Build as X, type Version as Y, type BuildListResponse as Z, type SemanticVersionDiffEntry as _, type EffectHandlerContext as a, type EnvironmentImporterImportOptions as a$, type ResolvedEffectPostCondition as a0, type ResolvedEffectDryRun as a1, type ResolvedEffectReverse as a2, type ResolvedEffectApprovalRequired as a3, type EffectInvocationMode as a4, type EffectInvocationMetadata as a5, type EffectSchema as a6, type EffectWithHandler as a7, type PublishEffectsResult as a8, type EffectVersionSelector as a9, type SessionJobListOptions as aA, type SessionCollectionListResult as aB, type WSDisconnectInfo as aC, type WSReconnectErrorInfo as aD, type WSClientOptions as aE, type RPCRequest as aF, type RPCResponse as aG, type SyncMessage as aH, type RPCRequestFromServer as aI, type ToolInvokeParams as aJ, type ToolResultParams as aK, type ModelRef as aL, type RelationshipInfo as aM, type DefineRelationshipOptions as aN, type RecordObjectOptions as aO, type RecordObjectResult as aP, type RecordObjectsChunkInfo as aQ, type RecordObjectsOptions as aR, type RecordImportStatus as aS, type RecordImportItemStatus as aT, type RecordImportStats as aU, type RecordImportItem as aV, type RecordImport as aW, type EnvironmentRecordImportSummary as aX, type EnvironmentSetupTriggerReason as aY, type EnvironmentSetupLifecycleStatus as aZ, type EnvironmentSetupSummary as a_, type ToolInfo as aa, type EffectInfo as ab, type ToolsChangedEvent as ac, type EffectsChangedEvent as ad, type EffectHandler as ae, type InstanceEffectHandler as af, type JobStatus as ag, type JobFeedbackSentiment as ah, type JobFeedbackToolCall as ai, type JobFeedbackMetadata as aj, type JobFeedbackInput as ak, type JobFeedbackRecord as al, type EnvironmentFeedbackRecord as am, type JobSubmitResult as an, type Job as ao, type ConversationMessageShowRefs as ap, type ConversationMessageInput as aq, type ConversationAppendResult as ar, type SessionConversationMessage as as, type SessionTimelineEvent as at, type SessionJobRecord as au, type SessionHeapFieldType as av, type SessionHeapFieldValue as aw, type SessionHeapVariable as ax, type SessionDocumentResult as ay, type SessionCollectionListOptions as az, type SessionHeapList as b, type EnvironmentImporter as b0, type ManifestPropertySpec as b1, type ManifestValidationOperator as b2, type ManifestEnumRuleSpec as b3, type ManifestFilterBySpec as b4, type ManifestValidationRuleSpec as b5, type ManifestStateMachineStateSpec as b6, type ManifestStateMachineTransitionSpec as b7, type ManifestStateMachineSpec as b8, type ManifestPostConditionSpec as b9, type ManifestDryRunSpec as ba, type ManifestReverseSpec as bb, type ManifestApprovalRequiredSpec as bc, type ManifestRelationshipDef as bd, type ManifestEffectSchema as be, type ManifestEffectDeclaration as bf, type ManifestEventTypeDef as bg, type ManifestEventStreamDef as bh, type ManifestOperation as bi, type ManifestImport as bj, type ManifestVolume as bk, type ManifestContent as bl, type GraphQLResult as bm, type APIError as bn, type DeleteResponse as bo, type StreamEvent as bp, type StreamSubscription as bq, type StreamStats as br, type SessionHeapSnapshot as c, type SessionTranscriptEntry as d, Environment as e, EnvironmentSession as f, Session as g, type ToolSchema as h, type PublishToolsResult as i, type ToolHandler as j, type GranularOptions as k, type GranularAuth as l, type RecordUserOptions as m, type Subject as n, type OpenEnvironmentOptions as o, type CreateSessionOptions as p, type ConversationSessionInfo as q, type Sandbox as r, type CreateSandboxData as s, type SandboxListResponse as t, type PermissionRules as u, type PermissionProfile as v, type CreatePermissionProfileData as w, type PermissionProfileListResponse as x, type Assignment as y, type AssignmentListResponse as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as EndpointMode, T as ToolWithHandler, a as EffectHandlerContext, M as ManifestEffectMetamodelSpec, R as ResolvedEffectBehaviors, S as SessionHeapEntry, b as SessionHeapList, c as SessionHeapSnapshot, P as Prompt, d as SessionTranscriptEntry } from './client-
|
|
2
|
-
export {
|
|
1
|
+
import { E as EndpointMode, T as ToolWithHandler, a as EffectHandlerContext, M as ManifestEffectMetamodelSpec, R as ResolvedEffectBehaviors, S as SessionHeapEntry, b as SessionHeapList, c as SessionHeapSnapshot, P as Prompt, d as SessionTranscriptEntry } from './client-Cq8onk2D.mjs';
|
|
2
|
+
export { bn as APIError, A as AccessTokenProvider, y as Assignment, z as AssignmentListResponse, X as Build, Z as BuildListResponse, B as BuildPolicy, Q as BuildStatus, C as ConnectOptions, ar as ConversationAppendResult, aq as ConversationMessageInput, ap as ConversationMessageShowRefs, q as ConversationSessionInfo, J as CreateEnvironmentData, w as CreatePermissionProfileData, s as CreateSandboxData, p as CreateSessionOptions, aN as DefineRelationshipOptions, bo as DeleteResponse, D as DomainState, ae as EffectHandler, ab as EffectInfo, a5 as EffectInvocationMetadata, a4 as EffectInvocationMode, a6 as EffectSchema, a9 as EffectVersionSelector, a7 as EffectWithHandler, ad as EffectsChangedEvent, e as Environment, H as EnvironmentData, am as EnvironmentFeedbackRecord, b0 as EnvironmentImporter, a$ as EnvironmentImporterImportOptions, K as EnvironmentListResponse, aX as EnvironmentRecordImportSummary, f as EnvironmentSession, aZ as EnvironmentSetupLifecycleStatus, a_ as EnvironmentSetupSummary, aY as EnvironmentSetupTriggerReason, G as Granular, l as GranularAuth, k as GranularOptions, bm as GraphQLResult, af as InstanceEffectHandler, I as InstanceToolHandler, ao as Job, ak as JobFeedbackInput, aj as JobFeedbackMetadata, al as JobFeedbackRecord, ah as JobFeedbackSentiment, ai as JobFeedbackToolCall, ag as JobStatus, an as JobSubmitResult, L as Manifest, bc as ManifestApprovalRequiredSpec, bl as ManifestContent, ba as ManifestDryRunSpec, bf as ManifestEffectDeclaration, be as ManifestEffectSchema, b3 as ManifestEnumRuleSpec, bh as ManifestEventStreamDef, bg as ManifestEventTypeDef, b4 as ManifestFilterBySpec, bj as ManifestImport, N as ManifestListResponse, bi as ManifestOperation, b9 as ManifestPostConditionSpec, b1 as ManifestPropertySpec, bd as ManifestRelationshipDef, bb as ManifestReverseSpec, b8 as ManifestStateMachineSpec, b6 as ManifestStateMachineStateSpec, b7 as ManifestStateMachineTransitionSpec, b2 as ManifestValidationOperator, b5 as ManifestValidationRuleSpec, bk as ManifestVolume, aL as ModelRef, O as OntologyHandle, o as OpenEnvironmentOptions, v as PermissionProfile, x as PermissionProfileListResponse, u as PermissionRules, a8 as PublishEffectsResult, i as PublishToolsResult, aF as RPCRequest, aI as RPCRequestFromServer, aG as RPCResponse, aW as RecordImport, aV as RecordImportItem, aT as RecordImportItemStatus, aU as RecordImportStats, aS as RecordImportStatus, aO as RecordObjectOptions, aP as RecordObjectResult, aQ as RecordObjectsChunkInfo, aR as RecordObjectsOptions, m as RecordUserOptions, aM as RelationshipInfo, a3 as ResolvedEffectApprovalRequired, a1 as ResolvedEffectDryRun, a0 as ResolvedEffectPostCondition, a2 as ResolvedEffectReverse, r as Sandbox, t as SandboxListResponse, $ as SemanticVersionDiff, _ as SemanticVersionDiffEntry, g as Session, az as SessionCollectionListOptions, aB as SessionCollectionListResult, as as SessionConversationMessage, ay as SessionDocumentResult, av as SessionHeapFieldType, aw as SessionHeapFieldValue, ax as SessionHeapVariable, aA as SessionJobListOptions, au as SessionJobRecord, at as SessionTimelineEvent, bp as StreamEvent, br as StreamStats, bq as StreamSubscription, n as Subject, aH as SyncMessage, j as ToolHandler, aa as ToolInfo, aJ as ToolInvokeParams, aK as ToolResultParams, h as ToolSchema, ac as ToolsChangedEvent, U as User, Y as Version, F as VersionTag, V as VersionTracking, W as WSClient, aE as WSClientOptions, aC as WSDisconnectInfo, aD as WSReconnectErrorInfo } from './client-Cq8onk2D.mjs';
|
|
3
3
|
export { BuildGranularAgentSystemPromptInput, GeneratedJobCodeIssue, GranularAgentExecutionCheckpoint, GranularAgentHeapSummaryOptions, GranularAgentReferentFocus, GranularAgentSessionContext, GranularAgentToolInfo, GranularAgentWorkflowFocus, HarnessContinuationDecision, HarnessControllerBudgets, HarnessProjectionOptions, HarnessPromptLike, HarnessVerifierSnapshot, HarnessVerifierSnapshotInput, buildContinuationInstruction, buildGranularAgentCheckpointBlock, buildGranularAgentDomainBlock, buildGranularAgentHeapBlock, buildGranularAgentLoopBlock, buildGranularAgentReferentBlock, buildGranularAgentSessionBlock, buildGranularAgentSystemPrompt, buildGranularAgentToolBlock, buildGranularAgentWorkflowBlock, createHarnessVerifierSnapshot, evaluateContinuation, getCurrentClosureId, getExclusivePromptTarget, hasOpenPrompt, projectConversationReferentFocus, projectConversationReferentSummary, projectHeapSummary, projectLoopSummary, projectWorkflowFocus, projectWorkflowSummary, reviewGeneratedJobCode } from './agent-harness.mjs';
|
|
4
4
|
import '@automerge/automerge';
|
|
5
5
|
import '@automerge/automerge/slim';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as EndpointMode, T as ToolWithHandler, a as EffectHandlerContext, M as ManifestEffectMetamodelSpec, R as ResolvedEffectBehaviors, S as SessionHeapEntry, b as SessionHeapList, c as SessionHeapSnapshot, P as Prompt, d as SessionTranscriptEntry } from './client-
|
|
2
|
-
export {
|
|
1
|
+
import { E as EndpointMode, T as ToolWithHandler, a as EffectHandlerContext, M as ManifestEffectMetamodelSpec, R as ResolvedEffectBehaviors, S as SessionHeapEntry, b as SessionHeapList, c as SessionHeapSnapshot, P as Prompt, d as SessionTranscriptEntry } from './client-Cq8onk2D.js';
|
|
2
|
+
export { bn as APIError, A as AccessTokenProvider, y as Assignment, z as AssignmentListResponse, X as Build, Z as BuildListResponse, B as BuildPolicy, Q as BuildStatus, C as ConnectOptions, ar as ConversationAppendResult, aq as ConversationMessageInput, ap as ConversationMessageShowRefs, q as ConversationSessionInfo, J as CreateEnvironmentData, w as CreatePermissionProfileData, s as CreateSandboxData, p as CreateSessionOptions, aN as DefineRelationshipOptions, bo as DeleteResponse, D as DomainState, ae as EffectHandler, ab as EffectInfo, a5 as EffectInvocationMetadata, a4 as EffectInvocationMode, a6 as EffectSchema, a9 as EffectVersionSelector, a7 as EffectWithHandler, ad as EffectsChangedEvent, e as Environment, H as EnvironmentData, am as EnvironmentFeedbackRecord, b0 as EnvironmentImporter, a$ as EnvironmentImporterImportOptions, K as EnvironmentListResponse, aX as EnvironmentRecordImportSummary, f as EnvironmentSession, aZ as EnvironmentSetupLifecycleStatus, a_ as EnvironmentSetupSummary, aY as EnvironmentSetupTriggerReason, G as Granular, l as GranularAuth, k as GranularOptions, bm as GraphQLResult, af as InstanceEffectHandler, I as InstanceToolHandler, ao as Job, ak as JobFeedbackInput, aj as JobFeedbackMetadata, al as JobFeedbackRecord, ah as JobFeedbackSentiment, ai as JobFeedbackToolCall, ag as JobStatus, an as JobSubmitResult, L as Manifest, bc as ManifestApprovalRequiredSpec, bl as ManifestContent, ba as ManifestDryRunSpec, bf as ManifestEffectDeclaration, be as ManifestEffectSchema, b3 as ManifestEnumRuleSpec, bh as ManifestEventStreamDef, bg as ManifestEventTypeDef, b4 as ManifestFilterBySpec, bj as ManifestImport, N as ManifestListResponse, bi as ManifestOperation, b9 as ManifestPostConditionSpec, b1 as ManifestPropertySpec, bd as ManifestRelationshipDef, bb as ManifestReverseSpec, b8 as ManifestStateMachineSpec, b6 as ManifestStateMachineStateSpec, b7 as ManifestStateMachineTransitionSpec, b2 as ManifestValidationOperator, b5 as ManifestValidationRuleSpec, bk as ManifestVolume, aL as ModelRef, O as OntologyHandle, o as OpenEnvironmentOptions, v as PermissionProfile, x as PermissionProfileListResponse, u as PermissionRules, a8 as PublishEffectsResult, i as PublishToolsResult, aF as RPCRequest, aI as RPCRequestFromServer, aG as RPCResponse, aW as RecordImport, aV as RecordImportItem, aT as RecordImportItemStatus, aU as RecordImportStats, aS as RecordImportStatus, aO as RecordObjectOptions, aP as RecordObjectResult, aQ as RecordObjectsChunkInfo, aR as RecordObjectsOptions, m as RecordUserOptions, aM as RelationshipInfo, a3 as ResolvedEffectApprovalRequired, a1 as ResolvedEffectDryRun, a0 as ResolvedEffectPostCondition, a2 as ResolvedEffectReverse, r as Sandbox, t as SandboxListResponse, $ as SemanticVersionDiff, _ as SemanticVersionDiffEntry, g as Session, az as SessionCollectionListOptions, aB as SessionCollectionListResult, as as SessionConversationMessage, ay as SessionDocumentResult, av as SessionHeapFieldType, aw as SessionHeapFieldValue, ax as SessionHeapVariable, aA as SessionJobListOptions, au as SessionJobRecord, at as SessionTimelineEvent, bp as StreamEvent, br as StreamStats, bq as StreamSubscription, n as Subject, aH as SyncMessage, j as ToolHandler, aa as ToolInfo, aJ as ToolInvokeParams, aK as ToolResultParams, h as ToolSchema, ac as ToolsChangedEvent, U as User, Y as Version, F as VersionTag, V as VersionTracking, W as WSClient, aE as WSClientOptions, aC as WSDisconnectInfo, aD as WSReconnectErrorInfo } from './client-Cq8onk2D.js';
|
|
3
3
|
export { BuildGranularAgentSystemPromptInput, GeneratedJobCodeIssue, GranularAgentExecutionCheckpoint, GranularAgentHeapSummaryOptions, GranularAgentReferentFocus, GranularAgentSessionContext, GranularAgentToolInfo, GranularAgentWorkflowFocus, HarnessContinuationDecision, HarnessControllerBudgets, HarnessProjectionOptions, HarnessPromptLike, HarnessVerifierSnapshot, HarnessVerifierSnapshotInput, buildContinuationInstruction, buildGranularAgentCheckpointBlock, buildGranularAgentDomainBlock, buildGranularAgentHeapBlock, buildGranularAgentLoopBlock, buildGranularAgentReferentBlock, buildGranularAgentSessionBlock, buildGranularAgentSystemPrompt, buildGranularAgentToolBlock, buildGranularAgentWorkflowBlock, createHarnessVerifierSnapshot, evaluateContinuation, getCurrentClosureId, getExclusivePromptTarget, hasOpenPrompt, projectConversationReferentFocus, projectConversationReferentSummary, projectHeapSummary, projectLoopSummary, projectWorkflowFocus, projectWorkflowSummary, reviewGeneratedJobCode } from './agent-harness.js';
|
|
4
4
|
import '@automerge/automerge';
|
|
5
5
|
import '@automerge/automerge/slim';
|