@qoder-ai/qoder-agent-sdk 1.0.21 → 1.0.22

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 CHANGED
@@ -53,14 +53,18 @@ pass its path explicitly with
53
53
  not override the Worker runtime entry.
54
54
 
55
55
  The package includes a `dist/runtime-manifest.json` that records the default
56
- runtime and pins the qodercli Worker runtime archive URL. The SDK package itself
57
- does not need to host a copy of the archive. The presence of `dist/_worker` is
58
- used as an integrity check after installation, not as the mode selector.
59
-
60
- The packaged Worker runtime is built as a self-contained universal profile by
61
- default. Runtime assets such as native keychain bindings, PTY bindings, image
62
- processing bindings, devtools support, and ripgrep binaries are carried by the
63
- SDK package instead of by the host product.
56
+ runtime and the URL template for qodercli Worker runtime artifacts. At
57
+ installation time, the SDK resolves exactly one artifact for its own brand,
58
+ the current operating system, and the current architecture. It does not fall
59
+ back to the universal artifact. The SDK package itself does not need to host a
60
+ copy of the archive. The presence of `dist/_worker` is used as an integrity
61
+ check after installation, not as the mode selector.
62
+
63
+ The installed Worker runtime is self-contained. Platform packages include the
64
+ matching native keychain, PTY, image-processing, and ripgrep assets. Linux
65
+ packages retain both glibc and musl image-processing bindings. OpenHarmony does
66
+ not have an install-delivered platform artifact and must use an explicitly
67
+ supplied runtime source.
64
68
 
65
69
  If your environment blocks install scripts or network downloads, skip postinstall
66
70
  runtime downloads:
@@ -69,6 +69,8 @@ export interface ProcessTransportOptions {
69
69
  sessionId?: string;
70
70
  continue?: boolean;
71
71
  resume?: string;
72
+ resumeSessionAt?: string;
73
+ resumeDropsTurn?: string;
72
74
  forkSession?: boolean;
73
75
  persistSession?: boolean;
74
76
  maxTurns?: number;
@@ -28,6 +28,8 @@ export interface RuntimeLaunchOptions {
28
28
  sessionId?: string;
29
29
  continue?: boolean;
30
30
  resume?: string;
31
+ resumeSessionAt?: string;
32
+ resumeDropsTurn?: string;
31
33
  forkSession?: boolean;
32
34
  persistSession?: boolean;
33
35
  maxTurns?: number;
package/dist/index.d.ts CHANGED
@@ -86,7 +86,7 @@ export type { AccessTokenInput, AuthOptions, FetchServiceAccountToken, ServiceAc
86
86
  */
87
87
  export type { FetchJobToken, JobTokenAuthOptions, JobTokenRequest, JobTokenResult, } from './types/auth.js';
88
88
  export type { AccountInfo, UsageAddOnQuotaBucket, UsageInfo, UsageOrgResourcePackage, UsageQuotaBucket, SessionCreditsUsage, ApiKeySource, ExitReason, FastModeState, ConfigScope, SettingSource, SDKAssistantMessageError, SDKStatus, EffortLevel, ThinkingAdaptive, ThinkingEnabled, ThinkingDisabled, ThinkingConfig, ModelInfo, ModelSource, ServerModelJson, ServerModelJsonValue, ModelStrategy, ModelPromotion, LocalizedModelText, ModelContextConfig, ModelContextWindowEntry, ModelEffortEntry, ModelThinkingConfig, ModelThinkingDisabled, ModelThinkingEnabled, ModelUsage, NonNullableUsage, SlashCommand, ToolConfig, SdkPluginConfig, } from './types/common.js';
89
- export type { SDKMessage, SDKAssistantMessage, SDKUserMessage, SDKUserMessageReplay, SDKResultMessage, SDKResultSuccess, SDKResultError, SDKSystemMessage, SDKSystemInitMessage, SDKSystemMessageSubtype, SDKSystemMessageBySubtype, SDKPartialAssistantMessage, SDKCompactBoundaryMessage, SDKStatusMessage, SDKAPIRetryMessage, SDKHookStartedMessage, SDKHookProgressMessage, SDKHookResponseMessage, SDKPermissionDeniedMessage, SDKMirrorErrorMessage, SDKTaskNotificationMessage, SDKTaskStartedMessage, SDKTaskProgressMessage, SDKTaskUpdatedMessage, SDKBackgroundTasksChangedMessage, SDKSessionStateChangedMessage, SDKSessionTitleChangedMessage, SDKFilesPersistedEvent, SDKElicitationCompleteMessage, SDKPromptSuggestionMessage, SDKCloudAgentEventMessage, SDKPermissionDenial, } from './types/messages.js';
89
+ export type { SDKMessage, SDKAssistantMessage, SDKToolNonExecutionKind, SDKToolResultMeta, SDKUserMessage, SDKUserMessageReplay, SDKResultMessage, SDKResultSuccess, SDKResultError, SDKSystemMessage, SDKSystemInitMessage, SDKSystemMessageSubtype, SDKSystemMessageBySubtype, SDKPartialAssistantMessage, SDKCompactBoundaryMessage, SDKStatusMessage, SDKAPIRetryMessage, SDKHookStartedMessage, SDKHookProgressMessage, SDKHookResponseMessage, SDKPermissionDeniedMessage, SDKMirrorErrorMessage, SDKTaskNotificationMessage, SDKTaskStartedMessage, SDKTaskProgressMessage, SDKTaskUpdatedMessage, SDKBackgroundTasksChangedMessage, SDKSessionStateChangedMessage, SDKSessionTitleChangedMessage, SDKFilesPersistedEvent, SDKElicitationCompleteMessage, SDKPromptSuggestionMessage, SDKCloudAgentEventMessage, SDKPermissionDenial, } from './types/messages.js';
90
90
  export type { DefaultRuntimeTransport, } from './core/default-runtime.js';
91
91
  export type { QueryTransportCreateOptions, QueryTransportProviderOption, } from './core/query-transport.js';
92
92
  export type { ProcessTransportOptions } from './core/process-transport.js';