@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 +12 -8
- package/dist/core/process-transport.d.ts +2 -0
- package/dist/core/runtime-launch-options.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +28 -28
- package/dist/protocol/control.d.ts +53 -79
- package/dist/protocol/index.d.ts +1 -1
- package/dist/protocol/index.js +1 -1
- package/dist/protocol/messages.d.ts +19 -0
- package/dist/runtime-manifest.json +6 -6
- package/dist/types/messages.d.ts +3 -1
- package/dist/types/model-policy-provider.d.ts +10 -0
- package/dist/types/options.d.ts +19 -0
- package/dist/types/session.d.ts +5 -0
- package/package.json +2 -2
- package/scripts/postinstall.cjs +144 -24
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
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
The
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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:
|
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';
|