memeloop 0.2.2 → 0.2.4
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/browser.d.cts +2 -2
- package/dist/browser.d.ts +2 -2
- package/dist/{chunk-K6P63KD4.js → chunk-HY3U3GLE.js} +16 -4
- package/dist/chunk-HY3U3GLE.js.map +1 -0
- package/dist/{chunk-GYIOMQMY.js → chunk-XNSJRDCW.js} +104 -86
- package/dist/chunk-XNSJRDCW.js.map +1 -0
- package/dist/{fetchProvider-BhqRqi5-.d.ts → fetchProvider-B_vva3b3.d.ts} +26 -2
- package/dist/{fetchProvider-HJ_FkORN.d.cts → fetchProvider-Bz4CE3_R.d.cts} +26 -2
- package/dist/index.cjs +141 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +23 -9
- package/dist/index.js.map +1 -1
- package/dist/llm-providers.cjs +17 -6
- package/dist/llm-providers.cjs.map +1 -1
- package/dist/llm-providers.d.cts +2 -0
- package/dist/llm-providers.d.ts +2 -0
- package/dist/llm-providers.js +4 -4
- package/dist/llm-providers.js.map +1 -1
- package/dist/loop-api.cjs +23 -10
- package/dist/loop-api.cjs.map +1 -1
- package/dist/loop-api.d.cts +1 -1
- package/dist/loop-api.d.ts +1 -1
- package/dist/loop-api.js +4 -2
- package/dist/mobile.cjs +14 -3
- package/dist/mobile.cjs.map +1 -1
- package/dist/mobile.d.cts +1 -1
- package/dist/mobile.d.ts +1 -1
- package/dist/mobile.js +1 -1
- package/dist/{orchestration-portable-B4udCSVd.d.ts → orchestration-portable-DUoAjtD1.d.ts} +10 -1
- package/dist/{orchestration-portable-BWaCsCGK.d.cts → orchestration-portable-xJ7z-ctw.d.cts} +10 -1
- package/dist/orchestration-portable.cjs.map +1 -1
- package/dist/orchestration-portable.d.cts +1 -1
- package/dist/orchestration-portable.d.ts +1 -1
- package/dist/orchestration-portable.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-GYIOMQMY.js.map +0 -1
- package/dist/chunk-K6P63KD4.js.map +0 -1
package/dist/mobile.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { A as AgentProfile, a as AgentProfileType, B as BUILTIN_AGENT_PROFILES, P as ProviderConfig, b as ProviderRegistry, R as RegisteredProvider, T as ToolPermissionRules, c as buildAgent, e as exploreAgent, l as librarianAgent, o as oracleAgent, p as planAgent } from './providerRegistry-BDGGs5gz.cjs';
|
|
2
2
|
export { A as AttachmentReference, d as ChatAttachmentPart, e as ChatMessage, f as ChatMessagePart, g as ChatReasoningPart, h as ChatRole, j as ChatTextPart, k as ChatToolCallPart, l as ChatToolResultPart, m as ConversationQueryMode, D as DetailRefType, n as DetailReference, G as GetMessagesOptions, I as IAgentStorage, L as ListConversationsOptions, T as ToolCall } from './interface-3C3eG8Hn.cjs';
|
|
3
3
|
export { A as AgentExecutionLocation, a as AgentExecutionState, b as AttachmentBlob, C as CloudDeviceClient, c as CloudDeviceRecord, d as ConversationExecutionPlacement, D as Device, e as DeviceAccountBindingRequest, f as DeviceAuthorizer, g as DeviceCapabilities, h as DeviceConnectionGrant, i as DeviceConnectionGrantVerificationInput, j as DeviceNetworkListenOptions, k as DeviceNetworkPath, l as DeviceNetworkService, m as DevicePlatform, n as DeviceProtocolDirection, o as DeviceReachability, p as DeviceReachabilityState, q as DeviceRelayReservationToken, r as DeviceRelayReservationTokenVerificationInput, s as DeviceRpcHandler, t as DeviceRpcHandlerInput, u as DeviceSyncTransport, v as DeviceTrustMode, w as DeviceTrustStore, E as ExchangeVersionVectorResult, L as LocalDeviceIdentity, x as LocalPairingRequestOptions, M as MemeLoopDuplexStream, y as MemeLoopProtocol, P as PairingSession, z as PairingSessionDirection, B as PairingSessionStatus, S as SyncResult, T as TrustedDeviceRecord } from './types-C8gnhG9M.cjs';
|
|
4
|
-
export { R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-
|
|
4
|
+
export { R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-Bz4CE3_R.cjs';
|
|
5
5
|
export { A as AgentFrameworkContext, a as AgentInstance, b as AgentInstanceLatestStatus, a as AgentInstanceModel, c as AgentInstanceState, d as AgentLoopDefinition, e as AgentLoopGenerator, f as AgentLoopInput, g as AgentLoopRuntime, h as AgentLoopScriptPolicy, i as AgentLoopStep, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, u as createInstanceDeltaFromDefinition, v as isUserInitiatedConversation } from './scriptDeploymentPipeline-XJzQyYys.cjs';
|
|
6
6
|
import 'ai';
|
package/dist/mobile.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { A as AgentProfile, a as AgentProfileType, B as BUILTIN_AGENT_PROFILES, P as ProviderConfig, b as ProviderRegistry, R as RegisteredProvider, T as ToolPermissionRules, c as buildAgent, e as exploreAgent, l as librarianAgent, o as oracleAgent, p as planAgent } from './providerRegistry-CaFK_aUd.js';
|
|
2
2
|
export { A as AttachmentReference, d as ChatAttachmentPart, e as ChatMessage, f as ChatMessagePart, g as ChatReasoningPart, h as ChatRole, j as ChatTextPart, k as ChatToolCallPart, l as ChatToolResultPart, m as ConversationQueryMode, D as DetailRefType, n as DetailReference, G as GetMessagesOptions, I as IAgentStorage, L as ListConversationsOptions, T as ToolCall } from './interface-3C3eG8Hn.js';
|
|
3
3
|
export { A as AgentExecutionLocation, a as AgentExecutionState, b as AttachmentBlob, C as CloudDeviceClient, c as CloudDeviceRecord, d as ConversationExecutionPlacement, D as Device, e as DeviceAccountBindingRequest, f as DeviceAuthorizer, g as DeviceCapabilities, h as DeviceConnectionGrant, i as DeviceConnectionGrantVerificationInput, j as DeviceNetworkListenOptions, k as DeviceNetworkPath, l as DeviceNetworkService, m as DevicePlatform, n as DeviceProtocolDirection, o as DeviceReachability, p as DeviceReachabilityState, q as DeviceRelayReservationToken, r as DeviceRelayReservationTokenVerificationInput, s as DeviceRpcHandler, t as DeviceRpcHandlerInput, u as DeviceSyncTransport, v as DeviceTrustMode, w as DeviceTrustStore, E as ExchangeVersionVectorResult, L as LocalDeviceIdentity, x as LocalPairingRequestOptions, M as MemeLoopDuplexStream, y as MemeLoopProtocol, P as PairingSession, z as PairingSessionDirection, B as PairingSessionStatus, S as SyncResult, T as TrustedDeviceRecord } from './types-CcFFIk8W.js';
|
|
4
|
-
export { R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-
|
|
4
|
+
export { R as RunAgentToolLoopTurnCallbacks, a as RunAgentToolLoopTurnResult, c as createFetchLLMProvider, g as getBuiltinLoopProfile, b as getBuiltinLoopProfiles, r as resolveAgentToolLoopTerminalState, d as runAgentToolLoopTurn } from './fetchProvider-B_vva3b3.js';
|
|
5
5
|
export { A as AgentFrameworkContext, a as AgentInstance, b as AgentInstanceLatestStatus, a as AgentInstanceModel, c as AgentInstanceState, d as AgentLoopDefinition, e as AgentLoopGenerator, f as AgentLoopInput, g as AgentLoopRuntime, h as AgentLoopScriptPolicy, i as AgentLoopStep, j as AgentToolLoopOptions, I as IChatSyncAdapter, k as ILLMProvider, l as INetworkService, m as IToolRegistry, L as LoopPlugin, n as LoopProfile, o as LoopProfilePluginEntry, p as LoopProfilePrompt, q as LoopProfileScriptReference, r as LoopScriptCheckpointStore, M as MemeLoopLogger, S as ScriptLoadGate, s as ScriptLoadGateDecision, t as ScriptLoadGateRequest, u as createInstanceDeltaFromDefinition, v as isUserInitiatedConversation } from './scriptDeploymentPipeline-B1q-UhrO.js';
|
|
6
6
|
import 'ai';
|
package/dist/mobile.js
CHANGED
|
@@ -90,6 +90,8 @@ interface ModelGenerateRequest {
|
|
|
90
90
|
messages: ModelGenerateMessage[];
|
|
91
91
|
maxOutputTokens?: number;
|
|
92
92
|
temperature?: number;
|
|
93
|
+
topP?: number;
|
|
94
|
+
providerOptions?: Record<string, Record<string, unknown>>;
|
|
93
95
|
inputClassification?: DataClassification;
|
|
94
96
|
signal?: AbortSignal;
|
|
95
97
|
}
|
|
@@ -133,6 +135,8 @@ interface LegacyLLMProviderDriverOptions {
|
|
|
133
135
|
/** Extract a text delta from a legacy stream chunk; return undefined to skip. */
|
|
134
136
|
toDelta?: (chunk: unknown) => string | undefined;
|
|
135
137
|
}
|
|
138
|
+
/** Canonical resource name used by local ModelClass registration and routing. */
|
|
139
|
+
declare function modelClassNameForSpec(model: Pick<ModelClassSpec, 'provider' | 'model'>): string;
|
|
136
140
|
/**
|
|
137
141
|
* Adapt an existing `ILLMProvider` to the portable `ModelProviderDriver`
|
|
138
142
|
* contract so current runtimes can be scheduled and policy-enforced without
|
|
@@ -1556,6 +1560,11 @@ interface GatewayMediatedLLMProviderOptions {
|
|
|
1556
1560
|
/** ModelClass the loops are bound to; handles are issued for this model. */
|
|
1557
1561
|
modelClassRef: ModelAccessHandleClaims['modelClassRef'];
|
|
1558
1562
|
modelDigest?: string;
|
|
1563
|
+
/** Select a declared ModelClass for a request. Unknown explicit ids must fail closed. */
|
|
1564
|
+
resolveModelForRequest?: (request: unknown) => {
|
|
1565
|
+
modelClassRef: ModelAccessHandleClaims['modelClassRef'];
|
|
1566
|
+
modelDigest?: string;
|
|
1567
|
+
};
|
|
1559
1568
|
/** Admission/policy snapshot digest bound into every issued handle. */
|
|
1560
1569
|
policyDigest?: string;
|
|
1561
1570
|
/** Worker key fingerprint bound into issued handles (PoP). */
|
|
@@ -2189,4 +2198,4 @@ declare function createToolManagementConformanceSuite(options: {
|
|
|
2189
2198
|
*/
|
|
2190
2199
|
declare function createToolCatalogConformanceSuite(options: Parameters<typeof createToolManagementConformanceSuite>[0]): DriverConformanceSuite;
|
|
2191
2200
|
|
|
2192
|
-
export { type GatewayMediatedLLMProviderOptions as $, type ArtifactAdmissionDecision as A, type BuiltinToolContext as B, type ControlStoreConformanceFactory as C, type CredentialGrantProof as D, type CredentialGrantScope as E, type CredentialGrantVerification as F, type CredentialIssuePayload as G, type CredentialManagementCapabilities as H, type CredentialManagementDriver as I, type CredentialProofVerifier as J, DEFAULT_DESTINATION_POLICIES as K, DRIVER_REQUEST_API_VERSION as L, type DriverConformanceSuite as M, type DriverConformanceTest as N, type DriverManifest as O, type DriverRequestEnvelope as P, type FakeArtifactManagementState as Q, type FakeAuditTelemetryState as R, type FakeCredentialManagementState as S, type FakeDriverOptions as T, type FakeIdentityAttestationState as U, type FakeLoopRuntimeState as V, type FakeModelManagementState as W, type FakeNetworkManagementState as X, type FakePolicyApprovalState as Y, type FakeStorageManagementState as Z, type FakeToolManagementState as _, type BuiltinToolImpl as a, type ModelGatewayExecutor as a$, type IdentityAttestationCapabilities as a0, type IdentityAttestationManagementDriver as a1, type IdentityChallenge as a2, type IdentityDomain as a3, type IdentityEnrollment as a4, type IdentityInspection as a5, type IdentitySession as a6, type InMemoryCredentialBrokerOptions as a7, type InMemoryModelAccessHandleBrokerOptions as a8, type InProcessLoopRuntimeDriverOptions as a9, type ManagedModelEstimate as aA, type ManagedModelGatewayAccess as aB, type ManagedModelGatewayAdapterOptions as aC, type ManagedModelRequest as aD, type ManagedModelUsage as aE, type ManagedNetworkAdapterOptions as aF, type ManagedNetworkPolicy as aG, type ManagedNetworkStatus as aH, type ManagedReplicaHealth as aI, type ManagedServiceResolution as aJ, type ManagedToolDescriptor as aK, type ManagedToolEvidence as aL, type ManagedToolExecution as aM, type ManagedToolExecutionPhase as aN, type ManagedToolOutputChunk as aO, type ManagedVolume as aP, type ManagedVolumeBackup as aQ, type ManagedVolumePublication as aR, type ManagedVolumeSnapshot as aS, type ManagedVolumeStage as aT, type ManagedVolumeStats as aU, type ModelAccessHandle as aV, type ModelAccessHandleBroker as aW, type ModelAccessHandleBudget as aX, type ModelAccessHandleClaims as aY, type ModelGateway as aZ, type ModelGatewayCallRecord as a_, type InProcessToolExecutionDriverOptions as aa, type IssueCredentialGrantRequest as ab, type IssueModelAccessHandleRequest as ac, type LegacyLLMProviderDriverOptions as ad, type LoopRunHandle as ae, type LoopRunOutcome as af, type LoopRunStartRequest as ag, type LoopRuntimeCapabilities as ah, type LoopRuntimeCheckpoint as ai, type LoopRuntimeDriver as aj, type LoopRuntimeManagementDriver as ak, type LoopRuntimePreparePayload as al, type LoopRuntimePrepared as am, type LoopRuntimeStartPayload as an, type ManagedArtifact as ao, type ManagedArtifactMount as ap, type ManagedCredentialAdapterStateStore as aq, type ManagedCredentialBrokerAdapterOptions as ar, type ManagedCredentialGrant as as, type ManagedCredentialMaterialization as at, type ManagedLoopRunStatus as au, type ManagedLoopRuntimeAdapterOptions as av, type ManagedLoopRuntimeExecutionRoute as aw, type ManagedLoopRuntimeExecutionRouteOptions as ax, type ManagedModelChunk as ay, type ManagedModelDescriptor as az, type ArtifactContentStore as b, createFakeAuditTelemetryManagementDriver as b$, type ModelGatewayGenerateRequest as b0, type ModelGatewayOptions as b1, type ModelGatewayRecorder as b2, type ModelGenerateMessage as b3, type ModelGenerateRequest as b4, type ModelHandleSigner as b5, type ModelManagementCapabilities as b6, type ModelManagementDriver as b7, type ModelProviderDataPolicy as b8, type ModelProviderDriver as b9, type ToolManagementCapabilities as bA, type ToolManagementDriver as bB, type ToolOperationApprovalBroker as bC, type ToolOperationApprovalDecision as bD, type ToolOperationApprovalRequest as bE, type VerifyModelAccessHandleOptions as bF, artifactTrustRank as bG, assertArtifactAdmission as bH, assertClassificationAllowed as bI, assertDriverRequestEnvelope as bJ, assertManagedNetworkPolicy as bK, assertNetworkPreparePayload as bL, assertNetworkUpdatePayload as bM, base64UrlDecode as bN, base64UrlEncode as bO, canArtifactEnter as bP, canDriverSatisfyClass as bQ, canonicalDriverValue as bR, classificationRank as bS, countManagedNetworkPolicyRules as bT, createArtifactManagementConformanceSuite as bU, createAuditTelemetryConformanceSuite as bV, createControlStoreConformanceSuite as bW, createCredentialManagementConformanceSuite as bX, createExternalOrchestrationDriverConformanceSuite as bY, createFakeArtifactManagementDriver as bZ, createFakeArtifactManagementState as b_, type ModelProviderHealth as ba, type ModelStreamChunk as bb, type NetworkAttachRequest as bc, type NetworkClassSatisfaction as bd, type NetworkDriver as be, type NetworkDriverCapabilities as bf, type NetworkDriverHealth as bg, type NetworkEnforceableFeature as bh, type NetworkEnforcementLevel as bi, type NetworkManagementCapabilities as bj, type NetworkManagementDriver as bk, type NetworkPreparePayload as bl, type PolicyApprovalCapabilities as bm, type PolicyApprovalManagementDriver as bn, type PolicyDecision as bo, type PolicyDecisionKind as bp, type PolicyDecisionOutcome as bq, type PolicyExplanation as br, type PreparedToolExecution as bs, type ResolvedManagedNetworkRequest as bt, type RuntimeClassRoutingDriverOptions as bu, type StorageManagementCapabilities as bv, type StorageManagementDriver as bw, type StorageProvisionPayload as bx, type ToolCatalogSnapshot as by, type ToolExecutionDriver as bz, type ArtifactDestinationPolicy as c, createFakeAuditTelemetryState as c0, createFakeCredentialManagementDriver as c1, createFakeCredentialManagementState as c2, createFakeIdentityAttestationManagementDriver as c3, createFakeIdentityAttestationState as c4, createFakeLoopRuntimeManagementDriver as c5, createFakeLoopRuntimeState as c6, createFakeModelManagementDriver as c7, createFakeModelManagementState as c8, createFakeModelProviderDriver as c9, createNetworkDriverConformanceSuite as cA, createNetworkManagementConformanceSuite as cB, createPolicyApprovalConformanceSuite as cC, createRuntimeClassRoutingDriver as cD, createStorageManagementConformanceSuite as cE, createToolCatalogConformanceSuite as cF, createToolExecutionDriverConformanceSuite as cG, createToolManagementConformanceSuite as cH, deriveArtifactTrust as cI, featuresRequiredByClass as cJ, inspectAndRecordArtifact as cK,
|
|
2201
|
+
export { type GatewayMediatedLLMProviderOptions as $, type ArtifactAdmissionDecision as A, type BuiltinToolContext as B, type ControlStoreConformanceFactory as C, type CredentialGrantProof as D, type CredentialGrantScope as E, type CredentialGrantVerification as F, type CredentialIssuePayload as G, type CredentialManagementCapabilities as H, type CredentialManagementDriver as I, type CredentialProofVerifier as J, DEFAULT_DESTINATION_POLICIES as K, DRIVER_REQUEST_API_VERSION as L, type DriverConformanceSuite as M, type DriverConformanceTest as N, type DriverManifest as O, type DriverRequestEnvelope as P, type FakeArtifactManagementState as Q, type FakeAuditTelemetryState as R, type FakeCredentialManagementState as S, type FakeDriverOptions as T, type FakeIdentityAttestationState as U, type FakeLoopRuntimeState as V, type FakeModelManagementState as W, type FakeNetworkManagementState as X, type FakePolicyApprovalState as Y, type FakeStorageManagementState as Z, type FakeToolManagementState as _, type BuiltinToolImpl as a, type ModelGatewayExecutor as a$, type IdentityAttestationCapabilities as a0, type IdentityAttestationManagementDriver as a1, type IdentityChallenge as a2, type IdentityDomain as a3, type IdentityEnrollment as a4, type IdentityInspection as a5, type IdentitySession as a6, type InMemoryCredentialBrokerOptions as a7, type InMemoryModelAccessHandleBrokerOptions as a8, type InProcessLoopRuntimeDriverOptions as a9, type ManagedModelEstimate as aA, type ManagedModelGatewayAccess as aB, type ManagedModelGatewayAdapterOptions as aC, type ManagedModelRequest as aD, type ManagedModelUsage as aE, type ManagedNetworkAdapterOptions as aF, type ManagedNetworkPolicy as aG, type ManagedNetworkStatus as aH, type ManagedReplicaHealth as aI, type ManagedServiceResolution as aJ, type ManagedToolDescriptor as aK, type ManagedToolEvidence as aL, type ManagedToolExecution as aM, type ManagedToolExecutionPhase as aN, type ManagedToolOutputChunk as aO, type ManagedVolume as aP, type ManagedVolumeBackup as aQ, type ManagedVolumePublication as aR, type ManagedVolumeSnapshot as aS, type ManagedVolumeStage as aT, type ManagedVolumeStats as aU, type ModelAccessHandle as aV, type ModelAccessHandleBroker as aW, type ModelAccessHandleBudget as aX, type ModelAccessHandleClaims as aY, type ModelGateway as aZ, type ModelGatewayCallRecord as a_, type InProcessToolExecutionDriverOptions as aa, type IssueCredentialGrantRequest as ab, type IssueModelAccessHandleRequest as ac, type LegacyLLMProviderDriverOptions as ad, type LoopRunHandle as ae, type LoopRunOutcome as af, type LoopRunStartRequest as ag, type LoopRuntimeCapabilities as ah, type LoopRuntimeCheckpoint as ai, type LoopRuntimeDriver as aj, type LoopRuntimeManagementDriver as ak, type LoopRuntimePreparePayload as al, type LoopRuntimePrepared as am, type LoopRuntimeStartPayload as an, type ManagedArtifact as ao, type ManagedArtifactMount as ap, type ManagedCredentialAdapterStateStore as aq, type ManagedCredentialBrokerAdapterOptions as ar, type ManagedCredentialGrant as as, type ManagedCredentialMaterialization as at, type ManagedLoopRunStatus as au, type ManagedLoopRuntimeAdapterOptions as av, type ManagedLoopRuntimeExecutionRoute as aw, type ManagedLoopRuntimeExecutionRouteOptions as ax, type ManagedModelChunk as ay, type ManagedModelDescriptor as az, type ArtifactContentStore as b, createFakeAuditTelemetryManagementDriver as b$, type ModelGatewayGenerateRequest as b0, type ModelGatewayOptions as b1, type ModelGatewayRecorder as b2, type ModelGenerateMessage as b3, type ModelGenerateRequest as b4, type ModelHandleSigner as b5, type ModelManagementCapabilities as b6, type ModelManagementDriver as b7, type ModelProviderDataPolicy as b8, type ModelProviderDriver as b9, type ToolManagementCapabilities as bA, type ToolManagementDriver as bB, type ToolOperationApprovalBroker as bC, type ToolOperationApprovalDecision as bD, type ToolOperationApprovalRequest as bE, type VerifyModelAccessHandleOptions as bF, artifactTrustRank as bG, assertArtifactAdmission as bH, assertClassificationAllowed as bI, assertDriverRequestEnvelope as bJ, assertManagedNetworkPolicy as bK, assertNetworkPreparePayload as bL, assertNetworkUpdatePayload as bM, base64UrlDecode as bN, base64UrlEncode as bO, canArtifactEnter as bP, canDriverSatisfyClass as bQ, canonicalDriverValue as bR, classificationRank as bS, countManagedNetworkPolicyRules as bT, createArtifactManagementConformanceSuite as bU, createAuditTelemetryConformanceSuite as bV, createControlStoreConformanceSuite as bW, createCredentialManagementConformanceSuite as bX, createExternalOrchestrationDriverConformanceSuite as bY, createFakeArtifactManagementDriver as bZ, createFakeArtifactManagementState as b_, type ModelProviderHealth as ba, type ModelStreamChunk as bb, type NetworkAttachRequest as bc, type NetworkClassSatisfaction as bd, type NetworkDriver as be, type NetworkDriverCapabilities as bf, type NetworkDriverHealth as bg, type NetworkEnforceableFeature as bh, type NetworkEnforcementLevel as bi, type NetworkManagementCapabilities as bj, type NetworkManagementDriver as bk, type NetworkPreparePayload as bl, type PolicyApprovalCapabilities as bm, type PolicyApprovalManagementDriver as bn, type PolicyDecision as bo, type PolicyDecisionKind as bp, type PolicyDecisionOutcome as bq, type PolicyExplanation as br, type PreparedToolExecution as bs, type ResolvedManagedNetworkRequest as bt, type RuntimeClassRoutingDriverOptions as bu, type StorageManagementCapabilities as bv, type StorageManagementDriver as bw, type StorageProvisionPayload as bx, type ToolCatalogSnapshot as by, type ToolExecutionDriver as bz, type ArtifactDestinationPolicy as c, createFakeAuditTelemetryState as c0, createFakeCredentialManagementDriver as c1, createFakeCredentialManagementState as c2, createFakeIdentityAttestationManagementDriver as c3, createFakeIdentityAttestationState as c4, createFakeLoopRuntimeManagementDriver as c5, createFakeLoopRuntimeState as c6, createFakeModelManagementDriver as c7, createFakeModelManagementState as c8, createFakeModelProviderDriver as c9, createNetworkDriverConformanceSuite as cA, createNetworkManagementConformanceSuite as cB, createPolicyApprovalConformanceSuite as cC, createRuntimeClassRoutingDriver as cD, createStorageManagementConformanceSuite as cE, createToolCatalogConformanceSuite as cF, createToolExecutionDriverConformanceSuite as cG, createToolManagementConformanceSuite as cH, deriveArtifactTrust as cI, featuresRequiredByClass as cJ, inspectAndRecordArtifact as cK, modelClassNameForSpec as cL, restoreArtifactManagementState as cM, runConformanceSuite as cN, snapshotArtifactManagementState as cO, createFakeNetworkDriver as ca, createFakeNetworkManagementDriver as cb, createFakeNetworkManagementState as cc, createFakePolicyApprovalManagementDriver as cd, createFakePolicyApprovalState as ce, createFakeStorageManagementDriver as cf, createFakeStorageManagementState as cg, createFakeToolExecutionDriver as ch, createFakeToolManagementDriver as ci, createFakeToolManagementState as cj, createGatewayMediatedLLMProvider as ck, createIdentityAttestationConformanceSuite as cl, createInMemoryCredentialBroker as cm, createInMemoryModelAccessHandleBroker as cn, createInProcessLoopRuntimeDriver as co, createInProcessToolExecutionDriver as cp, createLoopRuntimeManagementConformanceSuite as cq, createManagedCredentialBrokerAdapter as cr, createManagedLoopRuntimeAdapter as cs, createManagedLoopRuntimeExecutionRoute as ct, createManagedModelGatewayAdapter as cu, createManagedNetworkAdapter as cv, createModelGateway as cw, createModelManagementConformanceSuite as cx, createModelProviderDriverConformanceSuite as cy, createModelProviderDriverFromLLMProvider as cz, type ArtifactInspectionExecutor as d, type ArtifactInspectionInput as e, type ArtifactInspectionRequest as f, type ArtifactInspectionResult as g, type ArtifactInspector as h, type ArtifactManagementCapabilities as i, type ArtifactManagementDriver as j, type ArtifactManagementStateSnapshot as k, type ArtifactPutPayload as l, type ArtifactReviewWriter as m, type ArtifactSanitizationResult as n, type AttestedIdentity as o, type AuditEffect as p, type AuditProvenance as q, type AuditTelemetryCapabilities as r, type AuditTelemetryManagementDriver as s, type AuditTelemetryRecord as t, type AuditTelemetryRecordKind as u, type AuthorizedToolExecution as v, type CredentialBrokerDriver as w, type CredentialGrantClaims as x, type CredentialGrantHandle as y, type CredentialGrantInspection as z };
|
package/dist/{orchestration-portable-BWaCsCGK.d.cts → orchestration-portable-xJ7z-ctw.d.cts}
RENAMED
|
@@ -90,6 +90,8 @@ interface ModelGenerateRequest {
|
|
|
90
90
|
messages: ModelGenerateMessage[];
|
|
91
91
|
maxOutputTokens?: number;
|
|
92
92
|
temperature?: number;
|
|
93
|
+
topP?: number;
|
|
94
|
+
providerOptions?: Record<string, Record<string, unknown>>;
|
|
93
95
|
inputClassification?: DataClassification;
|
|
94
96
|
signal?: AbortSignal;
|
|
95
97
|
}
|
|
@@ -133,6 +135,8 @@ interface LegacyLLMProviderDriverOptions {
|
|
|
133
135
|
/** Extract a text delta from a legacy stream chunk; return undefined to skip. */
|
|
134
136
|
toDelta?: (chunk: unknown) => string | undefined;
|
|
135
137
|
}
|
|
138
|
+
/** Canonical resource name used by local ModelClass registration and routing. */
|
|
139
|
+
declare function modelClassNameForSpec(model: Pick<ModelClassSpec, 'provider' | 'model'>): string;
|
|
136
140
|
/**
|
|
137
141
|
* Adapt an existing `ILLMProvider` to the portable `ModelProviderDriver`
|
|
138
142
|
* contract so current runtimes can be scheduled and policy-enforced without
|
|
@@ -1556,6 +1560,11 @@ interface GatewayMediatedLLMProviderOptions {
|
|
|
1556
1560
|
/** ModelClass the loops are bound to; handles are issued for this model. */
|
|
1557
1561
|
modelClassRef: ModelAccessHandleClaims['modelClassRef'];
|
|
1558
1562
|
modelDigest?: string;
|
|
1563
|
+
/** Select a declared ModelClass for a request. Unknown explicit ids must fail closed. */
|
|
1564
|
+
resolveModelForRequest?: (request: unknown) => {
|
|
1565
|
+
modelClassRef: ModelAccessHandleClaims['modelClassRef'];
|
|
1566
|
+
modelDigest?: string;
|
|
1567
|
+
};
|
|
1559
1568
|
/** Admission/policy snapshot digest bound into every issued handle. */
|
|
1560
1569
|
policyDigest?: string;
|
|
1561
1570
|
/** Worker key fingerprint bound into issued handles (PoP). */
|
|
@@ -2189,4 +2198,4 @@ declare function createToolManagementConformanceSuite(options: {
|
|
|
2189
2198
|
*/
|
|
2190
2199
|
declare function createToolCatalogConformanceSuite(options: Parameters<typeof createToolManagementConformanceSuite>[0]): DriverConformanceSuite;
|
|
2191
2200
|
|
|
2192
|
-
export { type GatewayMediatedLLMProviderOptions as $, type ArtifactAdmissionDecision as A, type BuiltinToolContext as B, type ControlStoreConformanceFactory as C, type CredentialGrantProof as D, type CredentialGrantScope as E, type CredentialGrantVerification as F, type CredentialIssuePayload as G, type CredentialManagementCapabilities as H, type CredentialManagementDriver as I, type CredentialProofVerifier as J, DEFAULT_DESTINATION_POLICIES as K, DRIVER_REQUEST_API_VERSION as L, type DriverConformanceSuite as M, type DriverConformanceTest as N, type DriverManifest as O, type DriverRequestEnvelope as P, type FakeArtifactManagementState as Q, type FakeAuditTelemetryState as R, type FakeCredentialManagementState as S, type FakeDriverOptions as T, type FakeIdentityAttestationState as U, type FakeLoopRuntimeState as V, type FakeModelManagementState as W, type FakeNetworkManagementState as X, type FakePolicyApprovalState as Y, type FakeStorageManagementState as Z, type FakeToolManagementState as _, type BuiltinToolImpl as a, type ModelGatewayExecutor as a$, type IdentityAttestationCapabilities as a0, type IdentityAttestationManagementDriver as a1, type IdentityChallenge as a2, type IdentityDomain as a3, type IdentityEnrollment as a4, type IdentityInspection as a5, type IdentitySession as a6, type InMemoryCredentialBrokerOptions as a7, type InMemoryModelAccessHandleBrokerOptions as a8, type InProcessLoopRuntimeDriverOptions as a9, type ManagedModelEstimate as aA, type ManagedModelGatewayAccess as aB, type ManagedModelGatewayAdapterOptions as aC, type ManagedModelRequest as aD, type ManagedModelUsage as aE, type ManagedNetworkAdapterOptions as aF, type ManagedNetworkPolicy as aG, type ManagedNetworkStatus as aH, type ManagedReplicaHealth as aI, type ManagedServiceResolution as aJ, type ManagedToolDescriptor as aK, type ManagedToolEvidence as aL, type ManagedToolExecution as aM, type ManagedToolExecutionPhase as aN, type ManagedToolOutputChunk as aO, type ManagedVolume as aP, type ManagedVolumeBackup as aQ, type ManagedVolumePublication as aR, type ManagedVolumeSnapshot as aS, type ManagedVolumeStage as aT, type ManagedVolumeStats as aU, type ModelAccessHandle as aV, type ModelAccessHandleBroker as aW, type ModelAccessHandleBudget as aX, type ModelAccessHandleClaims as aY, type ModelGateway as aZ, type ModelGatewayCallRecord as a_, type InProcessToolExecutionDriverOptions as aa, type IssueCredentialGrantRequest as ab, type IssueModelAccessHandleRequest as ac, type LegacyLLMProviderDriverOptions as ad, type LoopRunHandle as ae, type LoopRunOutcome as af, type LoopRunStartRequest as ag, type LoopRuntimeCapabilities as ah, type LoopRuntimeCheckpoint as ai, type LoopRuntimeDriver as aj, type LoopRuntimeManagementDriver as ak, type LoopRuntimePreparePayload as al, type LoopRuntimePrepared as am, type LoopRuntimeStartPayload as an, type ManagedArtifact as ao, type ManagedArtifactMount as ap, type ManagedCredentialAdapterStateStore as aq, type ManagedCredentialBrokerAdapterOptions as ar, type ManagedCredentialGrant as as, type ManagedCredentialMaterialization as at, type ManagedLoopRunStatus as au, type ManagedLoopRuntimeAdapterOptions as av, type ManagedLoopRuntimeExecutionRoute as aw, type ManagedLoopRuntimeExecutionRouteOptions as ax, type ManagedModelChunk as ay, type ManagedModelDescriptor as az, type ArtifactContentStore as b, createFakeAuditTelemetryManagementDriver as b$, type ModelGatewayGenerateRequest as b0, type ModelGatewayOptions as b1, type ModelGatewayRecorder as b2, type ModelGenerateMessage as b3, type ModelGenerateRequest as b4, type ModelHandleSigner as b5, type ModelManagementCapabilities as b6, type ModelManagementDriver as b7, type ModelProviderDataPolicy as b8, type ModelProviderDriver as b9, type ToolManagementCapabilities as bA, type ToolManagementDriver as bB, type ToolOperationApprovalBroker as bC, type ToolOperationApprovalDecision as bD, type ToolOperationApprovalRequest as bE, type VerifyModelAccessHandleOptions as bF, artifactTrustRank as bG, assertArtifactAdmission as bH, assertClassificationAllowed as bI, assertDriverRequestEnvelope as bJ, assertManagedNetworkPolicy as bK, assertNetworkPreparePayload as bL, assertNetworkUpdatePayload as bM, base64UrlDecode as bN, base64UrlEncode as bO, canArtifactEnter as bP, canDriverSatisfyClass as bQ, canonicalDriverValue as bR, classificationRank as bS, countManagedNetworkPolicyRules as bT, createArtifactManagementConformanceSuite as bU, createAuditTelemetryConformanceSuite as bV, createControlStoreConformanceSuite as bW, createCredentialManagementConformanceSuite as bX, createExternalOrchestrationDriverConformanceSuite as bY, createFakeArtifactManagementDriver as bZ, createFakeArtifactManagementState as b_, type ModelProviderHealth as ba, type ModelStreamChunk as bb, type NetworkAttachRequest as bc, type NetworkClassSatisfaction as bd, type NetworkDriver as be, type NetworkDriverCapabilities as bf, type NetworkDriverHealth as bg, type NetworkEnforceableFeature as bh, type NetworkEnforcementLevel as bi, type NetworkManagementCapabilities as bj, type NetworkManagementDriver as bk, type NetworkPreparePayload as bl, type PolicyApprovalCapabilities as bm, type PolicyApprovalManagementDriver as bn, type PolicyDecision as bo, type PolicyDecisionKind as bp, type PolicyDecisionOutcome as bq, type PolicyExplanation as br, type PreparedToolExecution as bs, type ResolvedManagedNetworkRequest as bt, type RuntimeClassRoutingDriverOptions as bu, type StorageManagementCapabilities as bv, type StorageManagementDriver as bw, type StorageProvisionPayload as bx, type ToolCatalogSnapshot as by, type ToolExecutionDriver as bz, type ArtifactDestinationPolicy as c, createFakeAuditTelemetryState as c0, createFakeCredentialManagementDriver as c1, createFakeCredentialManagementState as c2, createFakeIdentityAttestationManagementDriver as c3, createFakeIdentityAttestationState as c4, createFakeLoopRuntimeManagementDriver as c5, createFakeLoopRuntimeState as c6, createFakeModelManagementDriver as c7, createFakeModelManagementState as c8, createFakeModelProviderDriver as c9, createNetworkDriverConformanceSuite as cA, createNetworkManagementConformanceSuite as cB, createPolicyApprovalConformanceSuite as cC, createRuntimeClassRoutingDriver as cD, createStorageManagementConformanceSuite as cE, createToolCatalogConformanceSuite as cF, createToolExecutionDriverConformanceSuite as cG, createToolManagementConformanceSuite as cH, deriveArtifactTrust as cI, featuresRequiredByClass as cJ, inspectAndRecordArtifact as cK,
|
|
2201
|
+
export { type GatewayMediatedLLMProviderOptions as $, type ArtifactAdmissionDecision as A, type BuiltinToolContext as B, type ControlStoreConformanceFactory as C, type CredentialGrantProof as D, type CredentialGrantScope as E, type CredentialGrantVerification as F, type CredentialIssuePayload as G, type CredentialManagementCapabilities as H, type CredentialManagementDriver as I, type CredentialProofVerifier as J, DEFAULT_DESTINATION_POLICIES as K, DRIVER_REQUEST_API_VERSION as L, type DriverConformanceSuite as M, type DriverConformanceTest as N, type DriverManifest as O, type DriverRequestEnvelope as P, type FakeArtifactManagementState as Q, type FakeAuditTelemetryState as R, type FakeCredentialManagementState as S, type FakeDriverOptions as T, type FakeIdentityAttestationState as U, type FakeLoopRuntimeState as V, type FakeModelManagementState as W, type FakeNetworkManagementState as X, type FakePolicyApprovalState as Y, type FakeStorageManagementState as Z, type FakeToolManagementState as _, type BuiltinToolImpl as a, type ModelGatewayExecutor as a$, type IdentityAttestationCapabilities as a0, type IdentityAttestationManagementDriver as a1, type IdentityChallenge as a2, type IdentityDomain as a3, type IdentityEnrollment as a4, type IdentityInspection as a5, type IdentitySession as a6, type InMemoryCredentialBrokerOptions as a7, type InMemoryModelAccessHandleBrokerOptions as a8, type InProcessLoopRuntimeDriverOptions as a9, type ManagedModelEstimate as aA, type ManagedModelGatewayAccess as aB, type ManagedModelGatewayAdapterOptions as aC, type ManagedModelRequest as aD, type ManagedModelUsage as aE, type ManagedNetworkAdapterOptions as aF, type ManagedNetworkPolicy as aG, type ManagedNetworkStatus as aH, type ManagedReplicaHealth as aI, type ManagedServiceResolution as aJ, type ManagedToolDescriptor as aK, type ManagedToolEvidence as aL, type ManagedToolExecution as aM, type ManagedToolExecutionPhase as aN, type ManagedToolOutputChunk as aO, type ManagedVolume as aP, type ManagedVolumeBackup as aQ, type ManagedVolumePublication as aR, type ManagedVolumeSnapshot as aS, type ManagedVolumeStage as aT, type ManagedVolumeStats as aU, type ModelAccessHandle as aV, type ModelAccessHandleBroker as aW, type ModelAccessHandleBudget as aX, type ModelAccessHandleClaims as aY, type ModelGateway as aZ, type ModelGatewayCallRecord as a_, type InProcessToolExecutionDriverOptions as aa, type IssueCredentialGrantRequest as ab, type IssueModelAccessHandleRequest as ac, type LegacyLLMProviderDriverOptions as ad, type LoopRunHandle as ae, type LoopRunOutcome as af, type LoopRunStartRequest as ag, type LoopRuntimeCapabilities as ah, type LoopRuntimeCheckpoint as ai, type LoopRuntimeDriver as aj, type LoopRuntimeManagementDriver as ak, type LoopRuntimePreparePayload as al, type LoopRuntimePrepared as am, type LoopRuntimeStartPayload as an, type ManagedArtifact as ao, type ManagedArtifactMount as ap, type ManagedCredentialAdapterStateStore as aq, type ManagedCredentialBrokerAdapterOptions as ar, type ManagedCredentialGrant as as, type ManagedCredentialMaterialization as at, type ManagedLoopRunStatus as au, type ManagedLoopRuntimeAdapterOptions as av, type ManagedLoopRuntimeExecutionRoute as aw, type ManagedLoopRuntimeExecutionRouteOptions as ax, type ManagedModelChunk as ay, type ManagedModelDescriptor as az, type ArtifactContentStore as b, createFakeAuditTelemetryManagementDriver as b$, type ModelGatewayGenerateRequest as b0, type ModelGatewayOptions as b1, type ModelGatewayRecorder as b2, type ModelGenerateMessage as b3, type ModelGenerateRequest as b4, type ModelHandleSigner as b5, type ModelManagementCapabilities as b6, type ModelManagementDriver as b7, type ModelProviderDataPolicy as b8, type ModelProviderDriver as b9, type ToolManagementCapabilities as bA, type ToolManagementDriver as bB, type ToolOperationApprovalBroker as bC, type ToolOperationApprovalDecision as bD, type ToolOperationApprovalRequest as bE, type VerifyModelAccessHandleOptions as bF, artifactTrustRank as bG, assertArtifactAdmission as bH, assertClassificationAllowed as bI, assertDriverRequestEnvelope as bJ, assertManagedNetworkPolicy as bK, assertNetworkPreparePayload as bL, assertNetworkUpdatePayload as bM, base64UrlDecode as bN, base64UrlEncode as bO, canArtifactEnter as bP, canDriverSatisfyClass as bQ, canonicalDriverValue as bR, classificationRank as bS, countManagedNetworkPolicyRules as bT, createArtifactManagementConformanceSuite as bU, createAuditTelemetryConformanceSuite as bV, createControlStoreConformanceSuite as bW, createCredentialManagementConformanceSuite as bX, createExternalOrchestrationDriverConformanceSuite as bY, createFakeArtifactManagementDriver as bZ, createFakeArtifactManagementState as b_, type ModelProviderHealth as ba, type ModelStreamChunk as bb, type NetworkAttachRequest as bc, type NetworkClassSatisfaction as bd, type NetworkDriver as be, type NetworkDriverCapabilities as bf, type NetworkDriverHealth as bg, type NetworkEnforceableFeature as bh, type NetworkEnforcementLevel as bi, type NetworkManagementCapabilities as bj, type NetworkManagementDriver as bk, type NetworkPreparePayload as bl, type PolicyApprovalCapabilities as bm, type PolicyApprovalManagementDriver as bn, type PolicyDecision as bo, type PolicyDecisionKind as bp, type PolicyDecisionOutcome as bq, type PolicyExplanation as br, type PreparedToolExecution as bs, type ResolvedManagedNetworkRequest as bt, type RuntimeClassRoutingDriverOptions as bu, type StorageManagementCapabilities as bv, type StorageManagementDriver as bw, type StorageProvisionPayload as bx, type ToolCatalogSnapshot as by, type ToolExecutionDriver as bz, type ArtifactDestinationPolicy as c, createFakeAuditTelemetryState as c0, createFakeCredentialManagementDriver as c1, createFakeCredentialManagementState as c2, createFakeIdentityAttestationManagementDriver as c3, createFakeIdentityAttestationState as c4, createFakeLoopRuntimeManagementDriver as c5, createFakeLoopRuntimeState as c6, createFakeModelManagementDriver as c7, createFakeModelManagementState as c8, createFakeModelProviderDriver as c9, createNetworkDriverConformanceSuite as cA, createNetworkManagementConformanceSuite as cB, createPolicyApprovalConformanceSuite as cC, createRuntimeClassRoutingDriver as cD, createStorageManagementConformanceSuite as cE, createToolCatalogConformanceSuite as cF, createToolExecutionDriverConformanceSuite as cG, createToolManagementConformanceSuite as cH, deriveArtifactTrust as cI, featuresRequiredByClass as cJ, inspectAndRecordArtifact as cK, modelClassNameForSpec as cL, restoreArtifactManagementState as cM, runConformanceSuite as cN, snapshotArtifactManagementState as cO, createFakeNetworkDriver as ca, createFakeNetworkManagementDriver as cb, createFakeNetworkManagementState as cc, createFakePolicyApprovalManagementDriver as cd, createFakePolicyApprovalState as ce, createFakeStorageManagementDriver as cf, createFakeStorageManagementState as cg, createFakeToolExecutionDriver as ch, createFakeToolManagementDriver as ci, createFakeToolManagementState as cj, createGatewayMediatedLLMProvider as ck, createIdentityAttestationConformanceSuite as cl, createInMemoryCredentialBroker as cm, createInMemoryModelAccessHandleBroker as cn, createInProcessLoopRuntimeDriver as co, createInProcessToolExecutionDriver as cp, createLoopRuntimeManagementConformanceSuite as cq, createManagedCredentialBrokerAdapter as cr, createManagedLoopRuntimeAdapter as cs, createManagedLoopRuntimeExecutionRoute as ct, createManagedModelGatewayAdapter as cu, createManagedNetworkAdapter as cv, createModelGateway as cw, createModelManagementConformanceSuite as cx, createModelProviderDriverConformanceSuite as cy, createModelProviderDriverFromLLMProvider as cz, type ArtifactInspectionExecutor as d, type ArtifactInspectionInput as e, type ArtifactInspectionRequest as f, type ArtifactInspectionResult as g, type ArtifactInspector as h, type ArtifactManagementCapabilities as i, type ArtifactManagementDriver as j, type ArtifactManagementStateSnapshot as k, type ArtifactPutPayload as l, type ArtifactReviewWriter as m, type ArtifactSanitizationResult as n, type AttestedIdentity as o, type AuditEffect as p, type AuditProvenance as q, type AuditTelemetryCapabilities as r, type AuditTelemetryManagementDriver as s, type AuditTelemetryRecord as t, type AuditTelemetryRecordKind as u, type AuthorizedToolExecution as v, type CredentialBrokerDriver as w, type CredentialGrantClaims as x, type CredentialGrantHandle as y, type CredentialGrantInspection as z };
|