// This file is generated from schema/plugin-contract.schema.json. // Run `npm run generate:plugin-contract` after changing the contract. // Do not edit this file directly. export type ActivationEvent = "onStartupFinished" | `onCommand:${ContributionId}` | `onView:${ContributionId}` | `onProvider:${ContributionId}`; export type AuthenticationBeginPayload = { operationId: string; connectionProviderId: ContributionId; configuration: JsonValue; credential?: (SecretRef) | (CredentialRef) | (SecretLeaseRef); }; export type AuthenticationChallenge = ({ id: string; kind: "text" | "password" | "otp"; title: string; message?: string; placeholder?: string; }) | ({ id: string; kind: "choice"; title: string; message?: string; choices: Array<{ id: string; label: string; description?: string; }>; multiple?: boolean; }) | ({ id: string; kind: "confirmation"; title: string; message?: string; confirmLabel?: string; cancelLabel?: string; }) | ({ id: string; kind: "browser"; title: string; url: string; callbackUri?: string; }) | ({ id: string; kind: "deviceCode"; title: string; verificationUri: string; userCode: string; expiresAt: number; intervalMs?: number; }); export type AuthenticationResponsePayload = { operationId: string; challengeId: string; response: (string) | (boolean) | (Array) | (SecretLeaseRef); }; export type AuthenticationResult = ({ status: "challenge"; challenge: AuthenticationChallenge; }) | ({ status: "authenticated"; credential?: (SecretRef) | (CredentialRef); }) | ({ status: "cancelled"; message?: string; }) | ({ status: "failed"; message?: string; }); export type BoundedPermissionResource = string; export type CommandContribution = { id: ContributionId; title: LocalizedText; category?: LocalizedText; description?: LocalizedText; icon?: IconReference; enablement?: ContextKeyExpression; interactive?: boolean; }; export type CompanionExecutable = { id: ContributionId; variants: Array; permissions?: Array; }; export type CompanionExecutableVariant = { path: RelativePackagePath; platforms: Array; sha256: string; }; export type CompanionPlatform = "darwin-arm64" | "darwin-x64" | "linux-arm64" | "linux-x64" | "win32-arm64" | "win32-x64"; export type ConnectionConfigurationPayload = { configuration: JsonValue; }; export type ConnectionControlPayload = { connectionId: string; operationId: string; }; export type ConnectionControlResult = null; export type ConnectionOpenPayload = { configuration: JsonValue; operationId: string; columns: number; rows: number; inputStreamId: string; outputStreamId: string; windowBytes: number; credential?: (SecretRef) | (CredentialRef) | (SecretLeaseRef); authenticationProviderId?: ContributionId; }; export type ConnectionOpenResult = { connectionId: string; status: "connecting" | "connected"; diagnostics?: Array; }; export type ConnectionProbeResult = { available: boolean; message?: string; capabilities?: { [key: string]: JsonValue }; }; export type ConnectionResizePayload = { connectionId: string; operationId: string; columns: number; rows: number; }; export type ConnectionSignalPayload = { connectionId: string; operationId: string; signal: "interrupt" | "terminate" | "kill" | "eof" | "break"; }; export type ConnectionStatusResult = { status: "connecting" | "connected" | "reconnecting" | "closed" | "error"; message?: string; retryable?: boolean; diagnostics?: Array; }; export type ConnectionValidateResult = { valid: boolean; issues: Array; }; export type ContextKeyExpression = string; export type ContributionId = string; export type CredentialRef = { kind: "credential"; id: string; }; export type FeatureId = string; export type HostClipboardReadRequest = { kind: "clipboard.read"; title: string; }; export type HostClipboardWriteRequest = { kind: "clipboard.write"; title: string; text: string; }; export type HostInputRequest = { kind: "input"; title: string; initialValue?: HostSingleLineInputText; }; export type HostInteractionClosed = { requestId: string; closed: true; }; export type HostInteractionEvent = (HostInteractionPrompt) | (HostInteractionClosed); export type HostInteractionFeature = "host.interactions"; export type HostInteractionLimits = {"textBytes":4096,"requestBytes":65536,"items":100,"pendingPerRuntime":1,"pendingTotal":8,"requestsPerMinute":10,"timeoutMs":60000}; export type HostInteractionPrompt = { requestId: string; actionToken: string; pluginId: PluginId; pluginVersion: SemanticVersion; expiresAt: SafePositiveInteger; phase: "request" | "preview"; request: HostInteractionRequest; previewText?: string; }; export type HostInteractionRequest = (HostQuickPickRequest) | (HostInputRequest) | (HostClipboardReadRequest) | (HostClipboardWriteRequest); export type HostInteractionResponse = { requestId: string; actionToken: string; action: "cancel" | "preview" | "submit"; value?: string; }; export type HostInteractionResult = ({ cancelled: true; }) | ({ cancelled: false; value: (string) | (true); }); export type HostQuickPickItem = { id: string; label: string; description?: string; }; export type HostQuickPickRequest = { kind: "quickPick"; title: string; items: Array; }; export type HostSingleLineInputText = string; export type IconReference = (ThemeIcon) | (PackageIcon); export type ImporterDetectPayload = { fileName?: string; mediaType?: string; sample: { encoding: "base64"; data: string; }; }; export type ImporterDetectResult = { confidence: number; format?: string; reason?: string; }; export type ImporterGroupDraft = string | { path: string; label?: string } | { path?: string; label: string }; export type ImporterHostDraft = ({ id?: string; label?: string; username?: string; group?: string; tags?: Array; os?: "linux" | "windows" | "macos"; deviceType?: "general" | "network"; identityId?: string; identityFileId?: string; telnetIdentityId?: string; notes?: string; theme?: string; sftpEncoding?: string; sftpFileProtocol?: "auto" | "sftp" | "scp"; moshEnabled?: boolean; etEnabled?: boolean; telnetEnabled?: boolean; sftpSudo?: boolean; requiresMfa?: boolean; useSshAgent?: boolean; identitiesOnly?: boolean; agentForwarding?: boolean; x11Forwarding?: boolean; showLineTimestamps?: boolean; disableDynamicTabTitle?: boolean; pinned?: boolean; autoOpenSftpPanel?: boolean; sftpFollowTerminalCwd?: boolean; port?: number; telnetPort?: number; etPort?: number; keepaliveInterval?: number; keepaliveCountMax?: number; } & ({ hostname: string; protocol?: "ssh" | "telnet" | "mosh" | "et" | "local" | "serial"; pluginConnection?: never; } | { hostname?: string; protocol: PluginHostProtocol; pluginConnection: ImporterPluginConnectionDraft; })); export type ImporterIdentityDraft = { id?: string; label: string; username: string; authMethod: "password" | "key" | "certificate"; password?: string; keyId?: string; }; export type ImporterKeyDraft = ({ id?: string; label: string; type: "RSA" | "ECDSA" | "ED25519"; publicKey?: string; certificate?: string; passphrase?: string; category?: "key" | "certificate" | "identity"; } & ({ privateKey: string; filePath?: never; } | { privateKey?: never; filePath: string; })); export type ImporterLimits = {"maxInputBytes":67108864,"maxOutputBytes":67108864,"maxRecordBytes":67108864,"maxRecords":10000}; export type ImporterParsePayload = { operationId: string; fileName?: string; mediaType?: string; inputStreamId: string; outputStreamId: string; windowBytes: number; options?: JsonValue; }; export type ImporterParseResult = { parsed: number; warnings: number; errors: number; }; export type ImporterPluginConnectionDraft = { providerId: ContributionId; configuration: JsonValue; authenticationProviderId?: ContributionId; credentialId?: string; }; export type ImporterRecord = ({ type: "draft"; draft: ({ kind: "host"; value: ImporterHostDraft; }) | ({ kind: "identity"; value: ImporterIdentityDraft; }) | ({ kind: "key"; value: ImporterKeyDraft; }) | ({ kind: "snippet"; value: ImporterSnippetDraft; }) | ({ kind: "group"; value: ImporterGroupDraft; }); }) | ({ type: "warning" | "error"; code?: string; message: string; path?: string; }) | ({ type: "progress"; completed: number; total?: number; message?: string; }); export type ImporterSnippetDraft = { id?: string; label: string; command: string; tags?: Array; kind?: "snippet" | "script"; description?: string; }; export type InteractiveCommandFeature = "commands.interactive"; export type InteractiveCommandLimits = {"timeoutMs":180000}; export type JsonPrimitive = (string) | (number) | (boolean) | (null); export type JsonRpcStandardErrorCode = -32700 | -32600 | -32601 | -32602 | -32603; export type JsonValue = (JsonPrimitive) | (Array) | ({ [key: string]: JsonValue }); export type JsonValueLimits = {"maxDepth":128,"maxNodes":100000}; export type KeybindingContribution = { command: ContributionId; key: string; mac?: string; linux?: string; windows?: string; when?: ContextKeyExpression; args?: JsonValue; }; export type LocalizedText = (string) | ({ [key: string]: string }); export type MenuContribution = { command: ContributionId; alt?: ContributionId; location: MenuLocation; title?: LocalizedText; icon?: IconReference; group?: string; order?: number; when?: ContextKeyExpression; enablement?: ContextKeyExpression; checked?: ContextKeyExpression; showKeybinding?: boolean; }; export type MenuLocation = "commandPalette" | "application" | "host/context" | "terminal/context" | "terminal/toolbar" | "statusBar"; export type NetworkCredentialLeaseFeature = "network.credential-lease"; export type NonResourceScopedPermission = "storage" | "runtime.advanced" | "settings.read" | "settings.write" | "commands" | "menus" | "views" | "ui.interact" | "clipboard.read" | "clipboard.write" | "terminal.metadata" | "terminal.output" | "terminal.input" | "terminal.decorate" | "terminal.complete" | "terminal.intercept.input" | "terminal.intercept.output" | "vault.metadata" | "vault.write" | "vault.credentials" | "sftp.read" | "sftp.write" | "secrets" | "provider.terminal" | "provider.connection" | "provider.authentication" | "provider.sync" | "provider.importer"; export type NullableRpcId = (RpcId) | (null); export type PackageIcon = { kind: "package"; light: RelativePackagePath; dark?: RelativePackagePath; }; export type PermissionDecision = ({ requestId: string; decision: "allow"; scope: PermissionGrantScope; resources?: Array; }) | ({ requestId: string; decision: "deny" | "cancel"; }); export type PermissionDeclaration = (PluginPermission) | (PermissionResourceDeclaration); export type PermissionGrantScope = "once" | "session" | "application" | "always"; export type PermissionRequest = { requestId: string; pluginId: PluginId; pluginVersion?: SemanticVersion; pluginName?: string; publisher?: string; runtimeId?: string | null; runtimeKind?: "browser" | "utility" | null; permission: PluginPermission; resources?: Array; resourceKinds?: Array; reason: string; operationId?: string; sessionId?: string; allowedScopes?: Array; }; export type PermissionResource = string; export type PermissionResourceDeclaration = { permission: PluginPermission; resources: Array; reason?: string; }; export type PermissionResourceKind = "exact" | "directory"; export type PermissionSet = { required?: Array; optional?: Array; }; export type PluginContributions = { settings?: Array; commands?: Array; keybindings?: Array; menus?: Array; views?: Array; providers?: Array; }; export type PluginEngineHeader = ({ netcatty: SemverRange; api: SemverRange; } & Record); export type PluginEngines = { netcatty: SemverRange; api: SemverRange; }; export type PluginEntrypoints = { browser?: RelativePackagePath; node?: RelativePackagePath; }; export type PluginErrorData = { pluginCode: PluginErrorName; details?: JsonValue; }; export type PluginErrorName = "cancelled" | "unknown" | "deadline_exceeded" | "invalid_argument" | "not_found" | "already_exists" | "permission_denied" | "resource_exhausted" | "failed_precondition" | "aborted" | "out_of_range" | "unavailable" | "unsupported" | "internal" | "data_loss" | "unauthenticated"; export type PluginFeatures = { required?: Array; optional?: Array; }; export type PluginHostProtocol = `plugin:${ContributionId}`; export type PluginId = string; export type PluginManifest = { $schema?: string; manifestVersion: 1; id: PluginId; name: string; displayName?: LocalizedText; description?: LocalizedText; version: SemanticVersion; publisher: string; license?: string; icon?: IconReference; homepage?: string; repository?: string; engines: PluginEngines; features?: PluginFeatures; main: PluginEntrypoints; activationEvents?: Array; permissions?: PermissionSet; contributes?: PluginContributions; companionExecutables?: Array; }; export type PluginManifestHeader = ({ $schema?: string; manifestVersion: number; id: PluginId; version: SemanticVersion; engines: PluginEngineHeader; } & Record); export type PluginNetworkAuthorization = { scheme?: "Basic" | "Bearer"; username?: string; }; export type PluginNetworkRequest = { url: string; method?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD"; headers?: { [key: string]: string }; body?: { encoding: "utf8" | "base64"; data: string; }; timeoutMs?: number; credentialLease?: SecretLeaseRef; authorization?: PluginNetworkAuthorization; }; export type PluginNetworkResponse = { url: string; status: number; headers: { [key: string]: string }; body: { encoding: "base64"; data: string; }; }; export type PluginPermission = "storage" | "runtime.advanced" | "settings.read" | "settings.write" | "commands" | "menus" | "views" | "ui.interact" | "clipboard.read" | "clipboard.write" | "terminal.metadata" | "terminal.output" | "terminal.input" | "terminal.decorate" | "terminal.complete" | "terminal.intercept.input" | "terminal.intercept.output" | "vault.metadata" | "vault.write" | "vault.credentials" | "sftp.read" | "sftp.write" | "network" | "filesystem.read" | "filesystem.write" | "secrets" | "companion.execute" | "provider.terminal" | "provider.connection" | "provider.authentication" | "provider.sync" | "provider.importer"; export type PluginWireErrorCode = -32001 | -32002 | -32003 | -32004 | -32005 | -32006 | -32007 | -32008 | -32009 | -32010 | -32011 | -32012 | -32013 | -32014 | -32015 | -32016; export type ProgressBegin = { kind: "begin"; title: string; message?: string; percentage?: number; cancellable?: boolean; }; export type ProgressEnd = { kind: "end"; message?: string; }; export type ProgressReport = { kind: "report"; message?: string; percentage?: number; increment?: number; }; export type ProgressToken = RpcId; export type ProgressValue = (ProgressBegin) | (ProgressReport) | (ProgressEnd); export type ProviderContribution = { id: ContributionId; label: LocalizedText; description?: LocalizedText; kind: ProviderKind; capabilities?: Array; configurationSchema?: JsonValue; }; export type ProviderKind = "terminal.completion" | "terminal.decoration" | "terminal.link" | "terminal.hover" | "terminal.matcher" | "terminal.semantic" | "terminal.prompt" | "terminal.background" | "terminal.theme" | "terminal.interceptor.input" | "terminal.interceptor.output" | "connection" | "authentication" | "sync" | "importer"; export type ProviderRequest = { providerId: ContributionId; operation: string; requestId: string; payload?: JsonValue; deadlineMs?: number; cancellationId?: string; }; export type ProviderResult = ({ requestId: string; status: "ok"; result: JsonValue; }) | ({ requestId: string; status: "cancelled"; }) | ({ requestId: string; status: "failed"; error: RpcErrorObject; }); export type ProviderValidationIssue = { path?: string; severity: "warning" | "error"; message: string; }; export type RelativePackagePath = string; export type RequiredPermissionDeclaration = (NonResourceScopedPermission) | (RequiredPermissionResourceDeclaration); export type RequiredPermissionResourceDeclaration = { permission: ResourceScopedPermission; resources: Array; reason?: string; }; export type ResourceScopedPermission = "network" | "filesystem.read" | "filesystem.write" | "companion.execute"; export type RpcCancel = { jsonrpc: "2.0"; method: "$/cancelRequest"; params: { cancellationId: string; }; }; export type RpcErrorCode = (JsonRpcStandardErrorCode) | (PluginWireErrorCode); export type RpcErrorObject = { code: RpcErrorCode; message: string; data?: JsonValue; }; export type RpcFailure = { jsonrpc: "2.0"; id: NullableRpcId; error: RpcErrorObject; }; export type RpcId = (string) | (SafeUnsignedInteger); export type RpcLimits = {"maxJsonBytes":1048576}; export type RpcMessage = (RpcRequest) | (RpcNotification) | (RpcSuccess) | (RpcFailure) | (RpcCancel) | (RpcProgressNotification) | (RuntimeInitializeRequest) | (TerminalInterceptorAttachmentRequest); export type RpcNotification = { jsonrpc: "2.0"; method: string; params?: JsonValue; }; export type RpcProgressNotification = { jsonrpc: "2.0"; method: "$/progress"; params: { token: ProgressToken; value: ProgressValue; }; }; export type RpcRequest = { jsonrpc: "2.0"; id: RpcId; method: string; params?: JsonValue; deadlineMs?: number; cancellationId?: string; }; export type RpcSuccess = { jsonrpc: "2.0"; id: RpcId; result: JsonValue; }; export type RuntimeInitializeParams = { netcattyVersion: SemanticVersion; apiVersion: SemanticVersion; supportedFeatures: Array; }; export type RuntimeInitializeRequest = { jsonrpc: "2.0"; id: RpcId; method: "plugin.initialize"; params: RuntimeInitializeParams; deadlineMs?: number; cancellationId?: string; }; export type RuntimeInitializeResult = { pluginId: PluginId; pluginVersion: SemanticVersion; apiVersion: SemanticVersion; enabledFeatures: Array; }; export type RuntimeInitializeSuccess = { jsonrpc: "2.0"; id: RpcId; result: RuntimeInitializeResult; }; export type SafePositiveInteger = number; export type SafeUnsignedInteger = number; export type SecretLeaseRef = { kind: "secret-lease"; id: string; operationId: string; expiresAt: SafePositiveInteger; }; export type SecretRef = { kind: "secret"; id: string; key: string; }; export type SemanticVersion = string; export type SemverRange = string; export type SettingContribution = { id: ContributionId; label: LocalizedText; description?: LocalizedText; control: SettingControl; scope: SettingScope; default?: JsonValue; secret?: boolean; required?: boolean; options?: Array; minimum?: number; maximum?: number; step?: number; pattern?: string; placeholder?: LocalizedText; when?: ContextKeyExpression; restartRequired?: boolean; sync?: boolean; sortable?: boolean; valueSchema?: JsonValue; }; export type SettingControl = "switch" | "radio" | "select" | "multiselect" | "text" | "textarea" | "number" | "slider" | "password" | "color" | "font" | "file" | "directory" | "keybinding" | "list" | "table"; export type SettingOption = { value: string; label: LocalizedText; description?: LocalizedText; }; export type SettingScope = "application" | "workspace" | "host" | "session" | "device"; export type StreamChunkByteLength = number; export type StreamChunkData = ({ encoding: "json"; value: JsonValue; byteLength: StreamChunkByteLength; }) | ({ encoding: "base64"; value: string; byteLength: StreamChunkByteLength; }) | ({ encoding: "transfer"; byteLength: StreamChunkByteLength; }); export type StreamCreditBytes = number; export type StreamFrame = ({ streamId: StreamId; sequence: 0; kind: "open"; windowBytes: StreamWindowBytes; }) | ({ streamId: StreamId; sequence: SafePositiveInteger; kind: "chunk"; data: StreamChunkData; }) | ({ streamId: StreamId; sequence: SafePositiveInteger; kind: "end" | "cancel"; }) | ({ streamId: StreamId; sequence: SafePositiveInteger; kind: "error"; error: RpcErrorObject; }) | ({ streamId: StreamId; sequence: SafeUnsignedInteger; kind: "windowUpdate"; creditBytes: StreamCreditBytes; }); export type StreamId = string; export type StreamLimits = {"maxStreamIdLength":128,"maxChunkBytes":16777216,"maxFrameJsonBytes":25165824,"minWindowBytes":1024,"maxWindowBytes":16777216,"maxCreditBytes":16777216}; export type StreamWindowBytes = number; export type SyncAccount = { id: string; email?: string; name?: string; avatarUrl?: string; }; export type SyncCapabilitiesResult = { revisions: boolean; conditionalWrites: boolean; atomicReplacement: boolean; maxObjectBytes?: number; maxObjects?: number; }; export type SyncConnectPayload = { configuration: JsonValue; operationId: string; credential?: (SecretRef) | (CredentialRef) | (SecretLeaseRef); }; export type SyncConnectResult = { account: SyncAccount; }; export type SyncDeleteObjectPayload = { key: SyncObjectKey; operationId: string; expectedRevision?: SyncObjectRevision; }; export type SyncDeleteObjectResult = { deleted: boolean; }; export type SyncDisconnectPayload = { operationId?: string; }; export type SyncDisconnectResult = null; export type SyncGetAccountPayload = { operationId?: string; }; export type SyncGetAccountResult = { account: (SyncAccount) | (null); }; export type SyncGetCapabilitiesPayload = { operationId?: string; }; export type SyncLimits = {"maxObjectBytes":67108864,"maxObjectKeyLength":1024,"maxRevisionLength":256,"inlineObjectBytes":92160}; export type SyncObjectKey = string; export type SyncObjectRevision = string; export type SyncReadObjectPayload = { key: SyncObjectKey; operationId: string; outputStreamId?: string; windowBytes?: number; }; export type SyncReadObjectResult = ({ found: false; }) | ({ found: true; byteLength: number; encoding: "base64"; data: string; revision?: SyncObjectRevision; contentType?: string; }) | ({ found: true; byteLength: number; streamed: true; revision?: SyncObjectRevision; contentType?: string; }); export type SyncWriteObjectPayload = { key: SyncObjectKey; operationId: string; byteLength: number; expectedRevision?: (SyncObjectRevision) | (null); encoding?: "base64"; data?: string; inputStreamId?: string; windowBytes?: number; }; export type SyncWriteObjectResult = { created: boolean; revision?: SyncObjectRevision; }; export type TerminalInterceptorAttachmentDescriptor = { providerId: ContributionId; direction: "input" | "output"; session: TerminalSessionSnapshot; }; export type TerminalInterceptorAttachmentParams = { descriptor: TerminalInterceptorAttachmentDescriptor; }; export type TerminalInterceptorAttachmentRequest = { jsonrpc: "2.0"; id: RpcId; method: "plugin.terminal.interceptor.attach"; params: TerminalInterceptorAttachmentParams; deadlineMs?: number; cancellationId?: string; }; export type TerminalInterceptorAttachmentResult = { accepted: true; }; export type TerminalInterceptorAttachmentSuccess = { jsonrpc: "2.0"; id: RpcId; result: TerminalInterceptorAttachmentResult; }; export type TerminalInterceptorChunkByteLength = number; export type TerminalInterceptorChunkFrame = { type: "netcatty:terminal-interceptor:chunk"; sequence: SafePositiveInteger; direction: TerminalInterceptorDirection; creditBytes: TerminalInterceptorCreditBytes; byteLength: TerminalInterceptorChunkByteLength; }; export type TerminalInterceptorCreditBytes = number; export type TerminalInterceptorDirection = "input" | "output"; export type TerminalInterceptorFailedResultFrame = { type: "netcatty:terminal-interceptor:result"; sequence: SafePositiveInteger; status: "failed"; }; export type TerminalInterceptorFrame = (TerminalInterceptorReadyFrame) | (TerminalInterceptorChunkFrame) | (TerminalInterceptorOkResultFrame) | (TerminalInterceptorFailedResultFrame); export type TerminalInterceptorLimits = {"maxChunkBytes":65536,"maxWindowBytes":262144}; export type TerminalInterceptorOkResultFrame = { type: "netcatty:terminal-interceptor:result"; sequence: SafePositiveInteger; status: "ok"; creditBytes: TerminalInterceptorChunkByteLength; byteLength: TerminalInterceptorChunkByteLength; }; export type TerminalInterceptorReadyFrame = { type: "netcatty:terminal-interceptor:ready"; sessionId: string; direction: TerminalInterceptorDirection; windowBytes: TerminalInterceptorWindowBytes; }; export type TerminalInterceptorWindowBytes = number; export type TerminalSessionSnapshot = { sessionId: string; hostId?: string; workspaceId?: string; protocol: string; status: "connecting" | "connected" | "disconnected"; cwd?: string; title?: string; shellType?: "posix" | "fish" | "powershell" | "cmd" | "unknown"; cols?: number; rows?: number; alternateScreen?: boolean; }; export type ThemeIcon = { kind: "theme"; name: string; }; export type VaultPagesFeature = "views.vault-pages"; export type ViewContribution = { id: ContributionId; title: LocalizedText; location: ViewLocation; entry: RelativePackagePath; icon?: IconReference; order?: number; when?: ContextKeyExpression; retainContextWhenHidden?: boolean; }; export type ViewLocation = "aside" | "panel" | "tab" | "modal" | "settings" | "vault-page"; export type WireIntegerLimits = {"maxSafeInteger":9007199254740991};