@yanlinglabs/winter-runtime-sdk 0.0.1 → 0.0.3
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/README.md +77 -15
- package/dist/door.d.ts +62 -1
- package/dist/errors.d.ts +8 -0
- package/dist/index-mfd2rg7x.js +1426 -0
- package/dist/index.d.ts +17 -4
- package/dist/index.js +421 -1611
- package/dist/messaging/index.d.ts +1 -3
- package/dist/messaging/router.d.ts +1 -12
- package/dist/official/aliases.d.ts +6 -2
- package/dist/official/index.d.ts +2 -2
- package/dist/official/mcp-descriptors.d.ts +59 -47
- package/dist/sdk.d.ts +90 -5
- package/dist/testing/capture-env.d.ts +41 -0
- package/dist/testing/hermetic.d.ts +33 -0
- package/dist/testing/host.d.ts +5 -0
- package/dist/testing/host.js +139 -0
- package/dist/testing/peers.d.ts +45 -0
- package/dist/version-matrix.d.ts +44 -4
- package/package.json +17 -5
- package/dist/messaging/handlers.d.ts +0 -56
- package/dist/native-args.d.ts +0 -76
package/dist/index.d.ts
CHANGED
|
@@ -14,12 +14,25 @@ export { RESUME_STAGING_PREFIX, isResumeStagingRoot, resumeStagingRoot } from ".
|
|
|
14
14
|
export { MATERIALIZED_RESUME_PROBE_REPORTS, materializedResumeReportForPin } from "./store/pinned-probes.js";
|
|
15
15
|
export { EXECUTION_INDIRECTION_ENV_NAMES, EXECUTION_INDIRECTION_ENV_PREFIXES, isExecutionIndirectionVariable } from "./official/env-allowlist.js";
|
|
16
16
|
export { TRAFFIC_OPT_OUT_VARIABLES, TRAFFIC_OPT_OUT_VARIABLE_NAMES } from "./official/env-allowlist.js";
|
|
17
|
-
export { LIST_AGENTS_FIELD_MAX, NATIVE_LIST_AGENTS_OUTPUT_SCHEMA, NATIVE_LIST_AGENTS_SCHEMA, NATIVE_SEND_MESSAGE_SCHEMA, SEND_MESSAGE_SUMMARY_MAX, SEND_MESSAGE_TO_MAX, acceptNativeListAgentsArgs, acceptNativeSendMessageArgs, } from "./native-args.js";
|
|
18
|
-
export type { NativeArgsResult, NativeListAgentsArgs, NativeSendMessageArgs } from "./native-args.js";
|
|
19
17
|
export * from "./seams/index.js";
|
|
20
18
|
export { NotImplementedYet, RuntimeHandoffRequiredError, RuntimeLaunchInputError, RuntimeSdkDisposedError, RuntimeSdkError, RuntimeSdkVersionError, UnaddressableEntryError } from "./errors.js";
|
|
21
19
|
export { createOfficialInputStream, isOfficialQuery, officialCredentialPlan, officialConnectionEnv, officialUserTurn } from "./door.js";
|
|
22
20
|
export type { OfficialInputStream, RouterOfficialInput, RouterOfficialPolicy, RouterQuery } from "./door.js";
|
|
23
21
|
export type { LaneId } from "./errors.js";
|
|
24
|
-
export {
|
|
25
|
-
export type {
|
|
22
|
+
export { createApprovalBridge, isOurApprovalBridge } from "./official/callbacks.js";
|
|
23
|
+
export type { ApprovalBroker, ApprovalRequest, ApprovalBridgeOptions, DecisionSource, OfficialPermissionMode, OfficialApprovalBridge } from "./official/callbacks.js";
|
|
24
|
+
export { materializeOfficialMcpServer, officialMcpServers, winterMcpServerDescriptor, canonicalToolNames, OFFICIAL_MATERIALIZATION_DROPS } from "./official/mcp-descriptors.js";
|
|
25
|
+
export type { OfficialMcpModule, InputShapeFactory, JsonSchemaObject, WinterMcpServerDescriptor, WinterMcpToolDescriptor, WinterMcpHandler, WinterMcpToolResult } from "./official/mcp-descriptors.js";
|
|
26
|
+
export { minimalOsEnvironmentFrom, buildOfficialChildEnv } from "./official/env-allowlist.js";
|
|
27
|
+
export type { OfficialEnvPolicy, OfficialEnvInput, EnvAllowlistSnapshot } from "./official/env-allowlist.js";
|
|
28
|
+
export type { OptionsTemplatePolicy } from "./official/options-template.js";
|
|
29
|
+
export type { ContainmentPolicy, ContainmentDisposition } from "./official/containment.js";
|
|
30
|
+
export type { AuthCredentialPlan, AuthFamily, ClaudeOauthGate } from "./official/auth.js";
|
|
31
|
+
export { containmentDispositions, officialDisallowedTools } from "./official/containment.js";
|
|
32
|
+
export { officialBranchLabel, OFFICIAL_DISCLOSURES } from "./official/branding.js";
|
|
33
|
+
export { renderAttributedTurn } from "./messaging/index.js";
|
|
34
|
+
export { createRuntimeMessaging, createAttachedSessionRegistry } from "./messaging/index.js";
|
|
35
|
+
export type { AttachedOfficialSession, AttachedSession, AttachedSessionRegistry, AttachedWinterSession, DirectorySnapshot, GlobalMessagingHandle, GlobalMessagingOptions, ReplyRequest, RouterMessagingAdapter, RuntimeDirectoryHandle, RuntimeDirectoryOptions, RuntimeDirectoryRecoveryHooks, } from "./messaging/index.js";
|
|
36
|
+
export type { DetailedHandoffOutcome, HandoffBarrierDeps, HandoffDestinationRuntime, HandoffEligibilityLike, HandoffOwnerHealth, HandoffParticipants, HandoffResumeTarget, HandoffSourceOwner, HandoffStepReport, } from "./store/handoff-barrier.js";
|
|
37
|
+
export type { HandoffSelection } from "./seams/handoff.js";
|
|
38
|
+
export type { MaterializedResumeDecoratorHandle } from "./store/materialized-resume.js";
|