@moxt-ai/mobius-sdk 0.0.16 → 0.0.17
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/client.d.ts +2 -2
- package/dist/client.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/service-client.d.ts +4 -4
- package/package.json +4 -4
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AgentActivityEvent, type AgentContentEvent, type AgentInstallCancelledEvent, type AgentInstallCompletedEvent, type AgentInstallFailedEvent, type AgentInstallProgressEvent, type AgentInstallStartedEvent, type
|
|
1
|
+
import { type AgentActivityEvent, type AgentContentEvent, type AgentInstallCancelledEvent, type AgentInstallCompletedEvent, type AgentInstallFailedEvent, type AgentInstallProgressEvent, type AgentInstallStartedEvent, type NativeSessionRequest, type NativeSessionResult, type NativeSessionTurnForkRequest, type PromptImage, type PromptResource, type SessionCommandsUpdatedEvent, type SessionConfigUpdatedEvent, type SessionConfigurationSelection, type SessionElicitationRequestedEvent, type SessionElicitationResolvedEvent, type SessionElicitationRespondCommand, type SessionInfoUpdatedEvent, type SessionPermissionRequestedEvent, type SessionPermissionResolvedEvent, type SessionReadyEvent, type SessionUsageUpdatedEvent, type WorkspaceEntriesEvent } from "@moxt-ai/mobius-protocol";
|
|
2
2
|
import ReconnectingWebSocket from "partysocket/ws";
|
|
3
3
|
export interface ConnectMobiusClientOptions {
|
|
4
4
|
readonly onNativeSessionResult?: (event: NativeSessionResult) => void;
|
|
@@ -117,7 +117,7 @@ export declare class MobiusClient {
|
|
|
117
117
|
readonly listWorkspace: (request: WorkspaceListRequest, signal: AbortSignal) => Promise<WorkspaceEntriesEvent>;
|
|
118
118
|
readonly readFile: (sessionId: string, path: string, signal: AbortSignal, maxBytes?: number) => Promise<FileReadResult>;
|
|
119
119
|
readonly prepareSession: (request: SessionPrepareRequest, signal: AbortSignal) => Promise<SessionReadyEvent>;
|
|
120
|
-
readonly manageNativeSession: (command:
|
|
120
|
+
readonly manageNativeSession: (command: NativeSessionRequest, signal: AbortSignal) => Promise<NativeSessionResult>;
|
|
121
121
|
readonly forkSessionTurn: (command: NativeSessionTurnForkRequest, signal: AbortSignal) => Promise<NativeSessionResult>;
|
|
122
122
|
readonly configureSession: (request: SessionConfigureRequest, signal: AbortSignal) => Promise<SessionConfigUpdatedEvent>;
|
|
123
123
|
readonly respondPermission: (request: PermissionResponseRequest) => Promise<SessionPermissionResolvedEvent>;
|
package/dist/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AGENT_ACTIVITY_KIND, AGENT_CONTENT_KIND, AGENT_INSTALL_CANCEL_KIND, AGENT_INSTALL_CANCELLED_KIND, AGENT_INSTALL_COMPLETED_KIND, AGENT_INSTALL_FAILED_KIND, AGENT_INSTALL_PROGRESS_KIND, AGENT_INSTALL_REQUEST_KIND, AGENT_INSTALL_STARTED_KIND, AGENT_MESSAGE_DELTA_KIND, decodeAgentActivityEvent, decodeAgentContentEvent, decodeAgentInstallCancelCommand, decodeAgentInstallCancelledEvent, decodeAgentInstallCompletedEvent, decodeAgentInstallFailedEvent, decodeAgentInstallProgressEvent, decodeAgentInstallRequestCommand, decodeAgentInstallStartedEvent, decodeAgentMessageDeltaEvent, decodeCommittedSessionEvent, decodeFileBeginEvent, decodeFileChunkEvent, decodeFileEndEvent, decodeFileFailedEvent, decodeMessageKind, decodeNativeSessionCancel, decodeNativeSessionCommand, decodeNativeSessionResult, decodeNativeSessionTurnForkRequest, decodeRecordedSessionEvent, decodeRuntimeStatusEvent, decodeSessionCancelCommand, decodeSessionCommandsUpdatedEvent, decodeSessionCompletedEvent, decodeSessionConfigUpdatedEvent, decodeSessionConfigureCommand, decodeSessionElicitationRequestedEvent, decodeSessionElicitationResolvedEvent, decodeSessionElicitationRespondCommand, decodeSessionFailedEvent, decodeSessionInfoUpdatedEvent, decodeSessionOperationFailedEvent, decodeSessionPermissionRequestedEvent, decodeSessionPermissionResolvedEvent, decodeSessionPermissionRespondCommand, decodeSessionPrepareCommand, decodeSessionPromptCommand, decodeSessionReadyEvent, decodeSessionStartedEvent, decodeSessionUsageUpdatedEvent, decodeWorkspaceEntriesEvent, decodeWorkspaceListCommand, encodeAgentInstallCancelCommand, encodeAgentInstallRequestCommand, encodeFileReadCommand, encodeNativeSessionCancel,
|
|
1
|
+
import { AGENT_ACTIVITY_KIND, AGENT_CONTENT_KIND, AGENT_INSTALL_CANCEL_KIND, AGENT_INSTALL_CANCELLED_KIND, AGENT_INSTALL_COMPLETED_KIND, AGENT_INSTALL_FAILED_KIND, AGENT_INSTALL_PROGRESS_KIND, AGENT_INSTALL_REQUEST_KIND, AGENT_INSTALL_STARTED_KIND, AGENT_MESSAGE_DELTA_KIND, decodeAgentActivityEvent, decodeAgentContentEvent, decodeAgentInstallCancelCommand, decodeAgentInstallCancelledEvent, decodeAgentInstallCompletedEvent, decodeAgentInstallFailedEvent, decodeAgentInstallProgressEvent, decodeAgentInstallRequestCommand, decodeAgentInstallStartedEvent, decodeAgentMessageDeltaEvent, decodeCommittedSessionEvent, decodeFileBeginEvent, decodeFileChunkEvent, decodeFileEndEvent, decodeFileFailedEvent, decodeMessageKind, decodeNativeSessionCancel, decodeNativeSessionCommand, decodeNativeSessionResult, decodeNativeSessionTurnForkRequest, decodeRecordedSessionEvent, decodeRuntimeStatusEvent, decodeSessionCancelCommand, decodeSessionCommandsUpdatedEvent, decodeSessionCompletedEvent, decodeSessionConfigUpdatedEvent, decodeSessionConfigureCommand, decodeSessionElicitationRequestedEvent, decodeSessionElicitationResolvedEvent, decodeSessionElicitationRespondCommand, decodeSessionFailedEvent, decodeSessionInfoUpdatedEvent, decodeSessionOperationFailedEvent, decodeSessionPermissionRequestedEvent, decodeSessionPermissionResolvedEvent, decodeSessionPermissionRespondCommand, decodeSessionPrepareCommand, decodeSessionPromptCommand, decodeSessionReadyEvent, decodeSessionStartedEvent, decodeSessionUsageUpdatedEvent, decodeWorkspaceEntriesEvent, decodeWorkspaceListCommand, encodeAgentInstallCancelCommand, encodeAgentInstallRequestCommand, encodeFileReadCommand, encodeNativeSessionCancel, encodeNativeSessionRequest, encodeNativeSessionTurnForkRequest, encodeSessionCancelCommand, encodeSessionConfigureCommand, encodeSessionElicitationRespondCommand, encodeSessionPermissionRespondCommand, encodeSessionPrepareCommand, encodeSessionPromptCommand, encodeWorkspaceListCommand, FILE_BEGIN_KIND, FILE_CHUNK_KIND, FILE_END_KIND, FILE_FAILED_KIND, FILE_READ_KIND, NATIVE_SESSION_CANCEL_KIND, NATIVE_SESSION_REQUEST_KIND, NATIVE_SESSION_RESULT_KIND, NATIVE_SESSION_TURN_FORK_REQUEST_KIND, RUNTIME_STATUS_KIND, SESSION_CANCEL_KIND, SESSION_COMMANDS_UPDATED_KIND, SESSION_COMPLETED_KIND, SESSION_CONFIG_UPDATED_KIND, SESSION_CONFIGURE_KIND, SESSION_ELICITATION_REQUESTED_KIND, SESSION_ELICITATION_RESOLVED_KIND, SESSION_ELICITATION_RESPOND_KIND, SESSION_EVENT_COMMITTED_KIND, SESSION_FAILED_KIND, SESSION_INFO_UPDATED_KIND, SESSION_OPERATION_FAILED_KIND, SESSION_PERMISSION_REQUESTED_KIND, SESSION_PERMISSION_RESOLVED_KIND, SESSION_PERMISSION_RESPOND_KIND, SESSION_PREPARE_KIND, SESSION_PROMPT_KIND, SESSION_READY_KIND, SESSION_STARTED_KIND, SESSION_USAGE_UPDATED_KIND, SessionPromptDisposition, WORKSPACE_ENTRIES_KIND, WORKSPACE_LIST_KIND, } from "@moxt-ai/mobius-protocol";
|
|
2
2
|
import ReconnectingWebSocket, {} from "partysocket/ws";
|
|
3
3
|
const CONNECTION_TIMEOUT_MILLISECONDS = 15_000;
|
|
4
4
|
const MAX_RECONNECTION_DELAY_MILLISECONDS = 10_000;
|
|
@@ -251,7 +251,7 @@ export class MobiusClient {
|
|
|
251
251
|
};
|
|
252
252
|
manageNativeSession = async (command, signal) => {
|
|
253
253
|
signal.throwIfAborted();
|
|
254
|
-
return await this.#requestReply(command.requestId, encodeOutboundMessage(() =>
|
|
254
|
+
return await this.#requestReply(command.requestId, encodeOutboundMessage(() => encodeNativeSessionRequest(command)), NATIVE_SESSION_RESULT_KIND, decodeNativeSessionResult, (event) => event.requestId, signal, () => {
|
|
255
255
|
try {
|
|
256
256
|
if (this.#socket.readyState === WebSocket.OPEN) {
|
|
257
257
|
sendImmediately(this.#socket, encodeNativeSessionCancel({
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AgentActivityEvent, AgentContentEvent, AgentDisplayContent, AgentExecutionConfiguration, AgentInstallationStage, AgentInstallCancelledEvent, AgentInstallCompletedEvent, AgentInstallFailedEvent, AgentInstallProgressEvent, AgentInstallStartedEvent, AgentModelEffort, AgentSetting, AgentSettingsDiscoveredEvent, Interaction, NativeSessionCommand, NativeSessionEntry, NativeSessionResult, NativeSessionTurnForkRequest, PromptImage, PromptResource, SessionCapabilities, SessionCommand, SessionCommandsUpdatedEvent, SessionConfigOption, SessionConfigUpdatedEvent, SessionConfigurationSelection, SessionContextUsageUpdatedEvent, SessionElicitationField, SessionElicitationRequestedEvent, SessionElicitationResolvedEvent, SessionInfoUpdatedEvent, SessionPermissionRequestedEvent, SessionPermissionResolvedEvent, SessionPromptUsageUpdatedEvent, SessionReadyEvent, SessionUsageUpdatedEvent, WorkspaceEntriesEvent, WorkspaceEntry, } from "@moxt-ai/mobius-protocol";
|
|
1
|
+
export type { AgentActivityEvent, AgentContentEvent, AgentDisplayContent, AgentExecutionConfiguration, AgentInstallationStage, AgentInstallCancelledEvent, AgentInstallCompletedEvent, AgentInstallFailedEvent, AgentInstallProgressEvent, AgentInstallStartedEvent, AgentModelEffort, AgentSetting, AgentSettingsDiscoveredEvent, Interaction, NativeSessionCommand, NativeSessionEntry, NativeSessionRequest, NativeSessionResult, NativeSessionTurnForkRequest, PromptImage, PromptResource, SessionCapabilities, SessionCommand, SessionCommandsUpdatedEvent, SessionConfigOption, SessionConfigUpdatedEvent, SessionConfigurationSelection, SessionContextUsageUpdatedEvent, SessionElicitationField, SessionElicitationRequestedEvent, SessionElicitationResolvedEvent, SessionInfoUpdatedEvent, SessionPermissionRequestedEvent, SessionPermissionResolvedEvent, SessionPromptUsageUpdatedEvent, SessionReadyEvent, SessionUsageUpdatedEvent, WorkspaceEntriesEvent, WorkspaceEntry, } from "@moxt-ai/mobius-protocol";
|
|
2
2
|
export { AGENT_ACTIVITY_DETAIL_LIMIT, AGENT_DEFAULT_EXECUTION_SETTING, AGENT_PERMISSION_MODE_CONFIG_ID, AGENT_PERMISSION_MODES, conversationTitleFromText, DEFAULT_AGENT_EXECUTION_CONFIGURATION, decodeAgentContentEvent, decodeAgentDisplayContentValue, decodeAgentExecutionConfiguration, decodeAgentSettingsDiscoveredEvent, decodeInteraction, decodeNativeSessionHistory, decodePromptImagesValue, decodePromptResourcesValue, decodeRecordedAgentContentValue, decodeSessionCommandsUpdatedEvent, decodeSessionElicitationRequestedEvent, decodeSessionElicitationResolvedEvent, decodeSessionInfoUpdatedEvent, decodeSessionPermissionRequestedEvent, decodeSessionPermissionResolvedEvent, decodeSessionReadyEvent, decodeSessionUsageUpdatedEvent, MAX_LOCAL_AGENT_DIRECTORY_ENTRIES, MOBIUS_API_PREFIX, MobiusApiConfigurationError, mobiusApiPath, mobiusApiUrl, type NativeSessionHistory, parseMobiusApiPrefix, parseNativeHistoryText, SESSION_HISTORY_PREVIEW_MESSAGE_LIMIT, SessionPromptDisposition, } from "@moxt-ai/mobius-protocol";
|
|
3
3
|
export * from "./errors.ts";
|
|
4
4
|
export * from "./project-authentication.ts";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,2BAA2B,EAC3B,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,4BAA4B,EAC5B,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,4BAA4B,EAC5B,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,2BAA2B,EAC3B,mBAAmB,EACnB,yBAAyB,EACzB,6BAA6B,EAC7B,+BAA+B,EAC/B,uBAAuB,EACvB,gCAAgC,EAChC,+BAA+B,EAC/B,uBAAuB,EACvB,+BAA+B,EAC/B,8BAA8B,EAC9B,8BAA8B,EAC9B,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,cAAc,GACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,2BAA2B,EAC3B,+BAA+B,EAC/B,+BAA+B,EAC/B,sBAAsB,EACtB,yBAAyB,EACzB,qCAAqC,EACrC,uBAAuB,EACvB,8BAA8B,EAC9B,iCAAiC,EACjC,kCAAkC,EAClC,iBAAiB,EACjB,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,+BAA+B,EAC/B,iCAAiC,EACjC,sCAAsC,EACtC,qCAAqC,EACrC,6BAA6B,EAC7B,qCAAqC,EACrC,oCAAoC,EACpC,uBAAuB,EACvB,8BAA8B,EAC9B,iCAAiC,EACjC,iBAAiB,EACjB,2BAA2B,EAC3B,aAAa,EACb,YAAY,EACZ,KAAK,oBAAoB,EACzB,oBAAoB,EACpB,sBAAsB,EACtB,qCAAqC,EACrC,wBAAwB,GAC3B,MAAM,0BAA0B,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,2BAA2B,EAC3B,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,EAC1B,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,4BAA4B,EAC5B,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,4BAA4B,EAC5B,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,2BAA2B,EAC3B,mBAAmB,EACnB,yBAAyB,EACzB,6BAA6B,EAC7B,+BAA+B,EAC/B,uBAAuB,EACvB,gCAAgC,EAChC,+BAA+B,EAC/B,uBAAuB,EACvB,+BAA+B,EAC/B,8BAA8B,EAC9B,8BAA8B,EAC9B,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,cAAc,GACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,2BAA2B,EAC3B,+BAA+B,EAC/B,+BAA+B,EAC/B,sBAAsB,EACtB,yBAAyB,EACzB,qCAAqC,EACrC,uBAAuB,EACvB,8BAA8B,EAC9B,iCAAiC,EACjC,kCAAkC,EAClC,iBAAiB,EACjB,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,+BAA+B,EAC/B,iCAAiC,EACjC,sCAAsC,EACtC,qCAAqC,EACrC,6BAA6B,EAC7B,qCAAqC,EACrC,oCAAoC,EACpC,uBAAuB,EACvB,8BAA8B,EAC9B,iCAAiC,EACjC,iBAAiB,EACjB,2BAA2B,EAC3B,aAAa,EACb,YAAY,EACZ,KAAK,oBAAoB,EACzB,oBAAoB,EACpB,sBAAsB,EACtB,qCAAqC,EACrC,wBAAwB,GAC3B,MAAM,0BAA0B,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAyCA,OAAO,EACH,2BAA2B,EAC3B,+BAA+B,EAC/B,+BAA+B,EAC/B,sBAAsB,EACtB,yBAAyB,EACzB,qCAAqC,EACrC,uBAAuB,EACvB,8BAA8B,EAC9B,iCAAiC,EACjC,kCAAkC,EAClC,iBAAiB,EACjB,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,+BAA+B,EAC/B,iCAAiC,EACjC,sCAAsC,EACtC,qCAAqC,EACrC,6BAA6B,EAC7B,qCAAqC,EACrC,oCAAoC,EACpC,uBAAuB,EACvB,8BAA8B,EAC9B,iCAAiC,EACjC,iBAAiB,EACjB,2BAA2B,EAC3B,aAAa,EACb,YAAY,EAEZ,oBAAoB,EACpB,sBAAsB,EACtB,qCAAqC,EACrC,wBAAwB,GAC3B,MAAM,0BAA0B,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC"}
|
package/dist/service-client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AgentSettingsDiscoveredEvent, type Attempt, type Interaction, type NativeMessagePage, type
|
|
1
|
+
import { type AgentSettingsDiscoveredEvent, type Attempt, type Interaction, type NativeMessagePage, type NativeSessionRequest, type SessionConfigureCommand, type WorkspaceEntriesEvent } from "@moxt-ai/mobius-protocol";
|
|
2
2
|
import { type CancelMobiusTurnRequest, type ConfigureMobiusSessionRequest, type CreateMobiusSessionRequest, type MobiusArtifact, MobiusArtifactDownload, type MobiusArtifactUpload, type MobiusArtifactUploadRequest, MobiusAvailableArtifact, type MobiusBrowserCredential, type MobiusBrowserCredentialRequest, type MobiusEventPage, type MobiusInteractionResponseRequest, type MobiusMessagePage, MobiusPageRequest, MobiusPairedRuntimePairingStatus, type MobiusRuntimeDescriptor, type MobiusRuntimePairing, type MobiusRuntimePairingRequest, type MobiusRuntimePairingStatus, type MobiusRuntimePairingWaitOptions, type MobiusServiceCapabilities, type MobiusSession, MobiusSessionAccess, type MobiusSessionEvent, type MobiusSessionExport, type MobiusSessionImportBinding, type MobiusSessionPage, type MobiusSessionState, type MobiusToolCallDetail, type MobiusTurn, type SubmitMobiusTurnRequest } from "./resources.ts";
|
|
3
3
|
import { type MobiusHttpTransport } from "./transport/http-transport.ts";
|
|
4
4
|
export interface MobiusCredentialProvider {
|
|
@@ -87,11 +87,11 @@ export declare class MobiusRuntimeResources {
|
|
|
87
87
|
readonly list: (signal: AbortSignal) => Promise<readonly MobiusRuntimeDescriptor[]>;
|
|
88
88
|
readonly listWorkspace: (runtimeId: string, directoryId: string, signal: AbortSignal) => Promise<WorkspaceEntriesEvent>;
|
|
89
89
|
readonly discoverAgentSettings: (runtimeId: string, agentId: string, request: DiscoverMobiusAgentSettingsRequest, signal: AbortSignal) => Promise<AgentSettingsDiscoveredEvent>;
|
|
90
|
-
readonly nativeSessions: (runtimeId: string, request: (Omit<Extract<
|
|
90
|
+
readonly nativeSessions: (runtimeId: string, request: (Omit<Extract<NativeSessionRequest, {
|
|
91
91
|
readonly action: "list";
|
|
92
92
|
}>, "kind" | "requestId" | "sessionId" | "bindingId"> & {
|
|
93
93
|
readonly discoveryId: string | null;
|
|
94
|
-
}) | (Omit<Extract<
|
|
94
|
+
}) | (Omit<Extract<NativeSessionRequest, {
|
|
95
95
|
readonly action: "import" | "fork";
|
|
96
96
|
}>, "kind" | "requestId" | "sessionId" | "targetSessionId" | "bindingId" | "action"> & {
|
|
97
97
|
readonly action: "import" | "fork" | "preview";
|
|
@@ -355,7 +355,7 @@ export declare class MobiusRuntimeResources {
|
|
|
355
355
|
entryId: string;
|
|
356
356
|
deletedSessionIds: readonly string[];
|
|
357
357
|
}>>;
|
|
358
|
-
readonly findNativeSessionByNativeSessionId: (runtimeId: string, request: Omit<Extract<
|
|
358
|
+
readonly findNativeSessionByNativeSessionId: (runtimeId: string, request: Omit<Extract<NativeSessionRequest, {
|
|
359
359
|
readonly action: "find";
|
|
360
360
|
}>, "kind" | "requestId" | "sessionId" | "bindingId" | "action">, signal: AbortSignal) => Promise<Readonly<{
|
|
361
361
|
requestId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moxt-ai/mobius-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"description": "Unified Mobius TypeScript SDK for browsers and Node.js.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"directory": "packages/mobius-sdk"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@moxt-ai/mobius-protocol": "0.0.
|
|
41
|
+
"@moxt-ai/mobius-protocol": "0.0.13",
|
|
42
42
|
"base64-js": "^1.5.1",
|
|
43
43
|
"partysocket": "1.3.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@types/node": "^24.13.
|
|
47
|
-
"happy-dom": "20.14.
|
|
46
|
+
"@types/node": "^24.13.5",
|
|
47
|
+
"happy-dom": "20.14.5"
|
|
48
48
|
},
|
|
49
49
|
"sideEffects": false,
|
|
50
50
|
"license": "ISC",
|