@workclaw/openclaw-workclaw 1.0.343 → 1.0.346
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/{anthropic-C1jzp_Rc.js → anthropic-Sa15w5z4.js} +1 -1
- package/dist/api.js +1 -1
- package/dist/{azure-openai-responses-zym2wxMB.js → azure-openai-responses-CPtWbf1C.js} +2 -2
- package/dist/{channel-CWeiUgV5.js → channel-DAmPopBf.js} +886 -848
- package/dist/{channel-bootstrap.runtime-B0t3vnup-S_ZINco5.js → channel-bootstrap.runtime-B0t3vnup-BAOsCuTr.js} +1 -1
- package/dist/channel-entry-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{cleanup-i9QIMqva-DceifGSO.js → cleanup-i9QIMqva-6zIggooW.js} +1 -1
- package/dist/{config-QB0JLJHX.js → config-BYmtGm8e.js} +1 -1
- package/dist/{google-DqQHu2NY.js → google-BnRHrBN8.js} +2 -2
- package/dist/{google-shared-BeRWP6yE.js → google-shared-CAR6IShv.js} +1 -1
- package/dist/{google-vertex-Cs1hEe_j.js → google-vertex-Hiq4fZCi.js} +2 -2
- package/dist/{host-hook-cleanup-BNlJQu7G-NNZIzDgg.js → host-hook-cleanup-BNlJQu7G-BwHWtmzK.js} +1 -1
- package/dist/{index-mQv9vOMk.js → index-BPHxMrth.js} +1 -1
- package/dist/{index-DvlDhBhd.js → index-DUxxZDuE.js} +1 -1
- package/dist/{legacy-config-issues-Czu0_ffE-C-SKoHc6.js → legacy-config-issues-Czu0_ffE-YYGt7Dsf.js} +1 -1
- package/dist/{message-oTt1u1XX-NFsrpDss.js → message-oTt1u1XX-xhdlS1dt.js} +3 -3
- package/dist/message.config.runtime-BG74oiu7.js +4 -0
- package/dist/{message.gateway.runtime-BIIf6teh.js → message.gateway.runtime-DB5W21Jl.js} +1 -1
- package/dist/{mistral-B0v4IfAz.js → mistral-hhgCrfG_.js} +1 -1
- package/dist/{models-config.runtime-cY4XGOI0.js → models-config.runtime-BnpSlXPo.js} +1 -1
- package/dist/{openai-codex-responses-tC0hde6o.js → openai-codex-responses-CBorkFRy.js} +2 -2
- package/dist/{openai-completions-w3FtI3rd.js → openai-completions-Bd-A-Zxa.js} +1 -1
- package/dist/{openai-responses-rRjf4OAK.js → openai-responses-8Q6No8u_.js} +2 -2
- package/dist/{openai-responses-shared-ZlolmuqL.js → openai-responses-shared-C4up_jLa.js} +1 -1
- package/dist/{openrouter-CXWxTM8p.js → openrouter-CjDOFscf.js} +1 -1
- package/dist/{photon_rs-CGHeuAJ1.js → photon_rs-BsXu_h4Z.js} +1 -1
- package/dist/{plugins-C54ejDC8-qGQvFNWW.js → plugins-C54ejDC8-Cmv2tfRd.js} +2 -2
- package/dist/{provider-discovery.runtime-ZgcVwu5_.js → provider-discovery.runtime-D_JTH7-C.js} +1 -1
- package/dist/{session-archive.runtime-SvY1eJq4.js → session-archive.runtime-CDu25YlV.js} +1 -1
- package/dist/src/config-schema.d.ts +4 -0
- package/dist/src/config-schema.d.ts.map +1 -1
- package/dist/src/types/system.d.ts +1 -1
- package/dist/src/types/system.d.ts.map +1 -1
- package/dist/subsystem-W8wAQXn1-DEpdQ2rB.js +4 -0
- package/dist/{transcript.runtime-Dchg_w3u.js → transcript.runtime-BJj5V1X4.js} +1 -1
- package/openclaw.plugin.json +244 -236
- package/package.json +71 -71
- package/dist/message.config.runtime-DmvQNASl.js +0 -4
- package/dist/subsystem-W8wAQXn1-BIMucqMi.js +0 -4
|
@@ -8,7 +8,7 @@ import os__default from "node:os";
|
|
|
8
8
|
import { l as logger, a as getWorkclawRuntime, i as isLogLevel, b as setWorkclawRuntime, d as deleteToolContext, c as setToolCallIdToRunIdMapping, e as getToolContext, f as getToolResultHint } from "./runtime-api-DU-e2Pen.js";
|
|
9
9
|
import { exec } from "node:child_process";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
|
-
import { s as sendMessageWorkclaw } from "./index-
|
|
11
|
+
import { s as sendMessageWorkclaw } from "./index-DUxxZDuE.js";
|
|
12
12
|
import { r as registerAllOpenclawWorkclawCronTools } from "./index-DLeHpawu.js";
|
|
13
13
|
function sendJson$3(res, statusCode, payload) {
|
|
14
14
|
res.statusCode = statusCode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { x as isPathInside } from "./plugin-load-profile-DOnG9jJ5-B0ymqOTX.js";
|
|
2
|
-
import { aI as resolveTrajectoryPointerFilePath, aJ as resolveTrajectoryFilePath, aF as resolveSessionFilePath, aK as safeTrajectorySessionFileName } from "./channel-
|
|
2
|
+
import { aI as resolveTrajectoryPointerFilePath, aJ as resolveTrajectoryFilePath, aF as resolveSessionFilePath, aK as safeTrajectorySessionFileName } from "./channel-DAmPopBf.js";
|
|
3
3
|
import fs__default from "node:fs";
|
|
4
4
|
import path__default from "node:path";
|
|
5
5
|
function isRecord(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C, a, b, D, N, S, T, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, x, y, z, A, B, E, F, G, H, I, J, K, L, M, O, P, Q, R, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai } from "./channel-
|
|
1
|
+
import { C, a, b, D, N, S, T, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, x, y, z, A, B, E, F, G, H, I, J, K, L, M, O, P, Q, R, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { D as D2, E as E2, L as L2, a as a10, M as M2, b as b2, c as c2, d as d2, h as h2, i as i2, e as e2, f as f2, n as n2, g as g2, p as p2, j as j2, r as r2, k as k2 } from "./plugin-load-profile-DOnG9jJ5-B0ymqOTX.js";
|
|
3
3
|
export {
|
|
4
4
|
C as CONFIG_PATH,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isThinkingPart, r as retainThoughtSignature, m as mapStopReason, G as GoogleGenAI, c as convertMessages, a as convertTools, b as mapToolChoice } from "./google-shared-
|
|
2
|
-
import { aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aP as calculateCost } from "./channel-
|
|
1
|
+
import { i as isThinkingPart, r as retainThoughtSignature, m as mapStopReason, G as GoogleGenAI, c as convertMessages, a as convertTools, b as mapToolChoice } from "./google-shared-CAR6IShv.js";
|
|
2
|
+
import { aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aP as calculateCost } from "./channel-DAmPopBf.js";
|
|
3
3
|
import { s as sanitizeSurrogates } from "./sanitize-unicode-BvtkLirb.js";
|
|
4
4
|
import { b as buildBaseOptions } from "./transform-messages-CKtg-kNk.js";
|
|
5
5
|
let toolCallCounter = 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aZ as getDefaultExportFromCjs } from "./channel-
|
|
1
|
+
import { aZ as getDefaultExportFromCjs } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { s as sanitizeSurrogates } from "./sanitize-unicode-BvtkLirb.js";
|
|
3
3
|
import { t as transformMessages } from "./transform-messages-CKtg-kNk.js";
|
|
4
4
|
var pRetry$2 = { exports: {} };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isThinkingPart, r as retainThoughtSignature, m as mapStopReason, G as GoogleGenAI, c as convertMessages, a as convertTools, b as mapToolChoice, T as ThinkingLevel, R as ResourceScope } from "./google-shared-
|
|
2
|
-
import { aN as clampThinkingLevel, aO as AssistantMessageEventStream, aP as calculateCost } from "./channel-
|
|
1
|
+
import { i as isThinkingPart, r as retainThoughtSignature, m as mapStopReason, G as GoogleGenAI, c as convertMessages, a as convertTools, b as mapToolChoice, T as ThinkingLevel, R as ResourceScope } from "./google-shared-CAR6IShv.js";
|
|
2
|
+
import { aN as clampThinkingLevel, aO as AssistantMessageEventStream, aP as calculateCost } from "./channel-DAmPopBf.js";
|
|
3
3
|
import { s as sanitizeSurrogates } from "./sanitize-unicode-BvtkLirb.js";
|
|
4
4
|
import { b as buildBaseOptions } from "./transform-messages-CKtg-kNk.js";
|
|
5
5
|
const API_VERSION = "v1";
|
package/dist/{host-hook-cleanup-BNlJQu7G-NNZIzDgg.js → host-hook-cleanup-BNlJQu7G-BwHWtmzK.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as normalizeLowercaseStringOrEmpty } from "./string-coerce-DyL154ka-BEV0SzzS.js";
|
|
2
|
-
import { au as getActivePluginRegistry, i as getRuntimeConfig, av as withPluginHostCleanupTimeout, aw as cleanupPluginSessionSchedulerJobs, ax as makePluginSessionSchedulerJobKey, ay as clearPluginRunContext, az as normalizeSessionEntrySlotKey, aA as resolveAllAgentSessionStoreTargetsSync, aB as updateSessionStore } from "./channel-
|
|
2
|
+
import { au as getActivePluginRegistry, i as getRuntimeConfig, av as withPluginHostCleanupTimeout, aw as cleanupPluginSessionSchedulerJobs, ax as makePluginSessionSchedulerJobKey, ay as clearPluginRunContext, az as normalizeSessionEntrySlotKey, aA as resolveAllAgentSessionStoreTargetsSync, aB as updateSessionStore } from "./channel-DAmPopBf.js";
|
|
3
3
|
import "./plugin-load-profile-DOnG9jJ5-B0ymqOTX.js";
|
|
4
4
|
import fs__default from "node:fs";
|
|
5
5
|
function shouldCleanPlugin(pluginId, filterPluginId) {
|
|
@@ -8,7 +8,7 @@ import { l as logger, a as getWorkclawRuntime, s as setLastOutboundAt } from "./
|
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
9
9
|
import { Agent, fetch } from "undici";
|
|
10
10
|
const PLUGIN_ID = "openclaw-workclaw";
|
|
11
|
-
const DEFAULT_PROVIDER = "
|
|
11
|
+
const DEFAULT_PROVIDER = "workclaw";
|
|
12
12
|
const STATE_DIR = "workclaw/data";
|
|
13
13
|
function fixOwner(dir) {
|
|
14
14
|
if (process.platform === "win32")
|
package/dist/{legacy-config-issues-Czu0_ffE-C-SKoHc6.js → legacy-config-issues-Czu0_ffE-YYGt7Dsf.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a$ as asNullableRecord, b0 as loadPluginManifestRegistryForPluginRegistry, D as DEFAULT_GATEWAY_PORT, b1 as loadBundledPluginPublicArtifactModuleSync, b2 as listLegacyRuntimeModelProviderAliases, b3 as getBootstrapChannelPlugin } from "./channel-
|
|
1
|
+
import { a$ as asNullableRecord, b0 as loadPluginManifestRegistryForPluginRegistry, D as DEFAULT_GATEWAY_PORT, b1 as loadBundledPluginPublicArtifactModuleSync, b2 as listLegacyRuntimeModelProviderAliases, b3 as getBootstrapChannelPlugin } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { y as getCachedPluginModuleLoader, z as createPluginModuleLoaderCache, A as isRecord, i as isModelThinkingFormat, B as isSafeExecutableValue, C as normalizeProviderId } from "./plugin-load-profile-DOnG9jJ5-B0ymqOTX.js";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
import fs__default from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b4 as resolveAgentWorkspaceDir, b5 as resolveDefaultAgentId, b6 as listExplicitlyDisabledChannelIdsForConfig, b7 as listPotentialConfiguredChannelPresenceSignals, b8 as createPluginActivationSource, b0 as loadPluginManifestRegistryForPluginRegistry, b9 as normalizePluginsConfig, ba as isBundledManifestOwner, bb as hasExplicitManifestOwnerTrust, bc as isActivatedManifestOwner, bd as resolveEffectivePluginActivationState, be as isPluginEnabledByDefaultForPlatform, bf as hasMeaningfulChannelConfig, bg as passesManifestOwnerBasePolicy, bh as resolveManifestOwnerBasePolicyBlock, bi as resolveSessionAgentId, bj as getOfficialExternalPluginCatalogEntry, bk as resolveOfficialExternalPluginInstall, bl as getOfficialExternalPluginCatalogManifest, bm as resolveOfficialExternalPluginId, bn as resolveOfficialExternalPluginLabel, bo as normalizeMessageChannel, bp as resolveOutboundChannelPlugin, al as listChannelPlugins, bq as isDeliverableMessageChannel, br as listDeliverableMessageChannels, bs as formatErrorMessage, bt as defaultRuntime, bu as formatCliCommand, bv as normalizeMessageChannel$1, bw as getActivePluginChannelRegistryFromState, bx as createOutboundPayloadPlan, by as projectOutboundPayloadPlanForDelivery, bz as projectOutboundPayloadPlanForMirror, bA as sendDurableMessageBatch, bB as resolveOutboundDurableFinalDeliverySupport, bC as GATEWAY_CLIENT_MODES, bD as GATEWAY_CLIENT_NAMES } from "./channel-
|
|
1
|
+
import { b4 as resolveAgentWorkspaceDir, b5 as resolveDefaultAgentId, b6 as listExplicitlyDisabledChannelIdsForConfig, b7 as listPotentialConfiguredChannelPresenceSignals, b8 as createPluginActivationSource, b0 as loadPluginManifestRegistryForPluginRegistry, b9 as normalizePluginsConfig, ba as isBundledManifestOwner, bb as hasExplicitManifestOwnerTrust, bc as isActivatedManifestOwner, bd as resolveEffectivePluginActivationState, be as isPluginEnabledByDefaultForPlatform, bf as hasMeaningfulChannelConfig, bg as passesManifestOwnerBasePolicy, bh as resolveManifestOwnerBasePolicyBlock, bi as resolveSessionAgentId, bj as getOfficialExternalPluginCatalogEntry, bk as resolveOfficialExternalPluginInstall, bl as getOfficialExternalPluginCatalogManifest, bm as resolveOfficialExternalPluginId, bn as resolveOfficialExternalPluginLabel, bo as normalizeMessageChannel, bp as resolveOutboundChannelPlugin, al as listChannelPlugins, bq as isDeliverableMessageChannel, br as listDeliverableMessageChannels, bs as formatErrorMessage, bt as defaultRuntime, bu as formatCliCommand, bv as normalizeMessageChannel$1, bw as getActivePluginChannelRegistryFromState, bx as createOutboundPayloadPlan, by as projectOutboundPayloadPlanForDelivery, bz as projectOutboundPayloadPlanForMirror, bA as sendDurableMessageBatch, bB as resolveOutboundDurableFinalDeliverySupport, bC as GATEWAY_CLIENT_MODES, bD as GATEWAY_CLIENT_NAMES } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { a as normalizeOptionalLowercaseString, b as normalizeOptionalString } from "./string-coerce-DyL154ka-BEV0SzzS.js";
|
|
3
3
|
import "node:fs";
|
|
4
4
|
import "node:path";
|
|
@@ -625,11 +625,11 @@ function resolveOutboundTarget(params) {
|
|
|
625
625
|
let messageConfigRuntimePromise = null;
|
|
626
626
|
let messageGatewayRuntimePromise = null;
|
|
627
627
|
function loadMessageConfigRuntime() {
|
|
628
|
-
messageConfigRuntimePromise ??= import("./message.config.runtime-
|
|
628
|
+
messageConfigRuntimePromise ??= import("./message.config.runtime-BG74oiu7.js");
|
|
629
629
|
return messageConfigRuntimePromise;
|
|
630
630
|
}
|
|
631
631
|
function loadMessageGatewayRuntime() {
|
|
632
|
-
messageGatewayRuntimePromise ??= import("./message.gateway.runtime-
|
|
632
|
+
messageGatewayRuntimePromise ??= import("./message.gateway.runtime-DB5W21Jl.js");
|
|
633
633
|
return messageGatewayRuntimePromise;
|
|
634
634
|
}
|
|
635
635
|
async function resolveRequiredChannel(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as normalizeOptionalString } from "./string-coerce-DyL154ka-BEV0SzzS.js";
|
|
2
|
-
import { bE as containsEnvVarReference, bF as resolveSafeTimeoutDelayMs, bG as resolveConnectChallengeTimeoutMs, P as resolveConfigPath, Y as resolveGatewayPort, bH as redactSensitiveUrlLikeString, bI as isSecureWebSocketUrl, bs as formatErrorMessage, bJ as isDynamicOperatorGatewayMethod, bK as WRITE_SCOPE, bL as ADMIN_SCOPE, bM as READ_SCOPE, bN as APPROVALS_SCOPE, bO as PAIRING_SCOPE, bP as TALK_SECRETS_SCOPE, bQ as resolveCoreOperatorGatewayMethodScope, bR as resolveReservedGatewayMethodScope, bS as getPluginRegistryState, bT as resolvePreauthHandshakeTimeoutMs, bU as loadGatewayTlsRuntime, a5 as resolveStateDir, bV as loadOrCreateDeviceIdentity, i as getRuntimeConfig, bW as GatewayClient, bC as GATEWAY_CLIENT_MODES, bX as VERSION, bD as GATEWAY_CLIENT_NAMES, bY as isGatewayConnectAssemblyError, bZ as isLoopbackIpAddress } from "./channel-
|
|
2
|
+
import { bE as containsEnvVarReference, bF as resolveSafeTimeoutDelayMs, bG as resolveConnectChallengeTimeoutMs, P as resolveConfigPath, Y as resolveGatewayPort, bH as redactSensitiveUrlLikeString, bI as isSecureWebSocketUrl, bs as formatErrorMessage, bJ as isDynamicOperatorGatewayMethod, bK as WRITE_SCOPE, bL as ADMIN_SCOPE, bM as READ_SCOPE, bN as APPROVALS_SCOPE, bO as PAIRING_SCOPE, bP as TALK_SECRETS_SCOPE, bQ as resolveCoreOperatorGatewayMethodScope, bR as resolveReservedGatewayMethodScope, bS as getPluginRegistryState, bT as resolvePreauthHandshakeTimeoutMs, bU as loadGatewayTlsRuntime, a5 as resolveStateDir, bV as loadOrCreateDeviceIdentity, i as getRuntimeConfig, bW as GatewayClient, bC as GATEWAY_CLIENT_MODES, bX as VERSION, bD as GATEWAY_CLIENT_NAMES, bY as isGatewayConnectAssemblyError, bZ as isLoopbackIpAddress } from "./channel-DAmPopBf.js";
|
|
3
3
|
import { r as resolveSecretInputRef, h as hasConfiguredSecretInput, F as secretRefKey, G as isValidExecSecretRefId, H as formatExecSecretRefIdValidationMessage, I as resolveDefaultSecretProviderAlias, S as SINGLE_VALUE_FILE_REF_ID, J as resolveUserPath, K as readSecureFile, A as isRecord, N as FsSafeError, x as isPathInside, O as inspectPathPermissions, P as safeStat, g as normalizeSecretInputString } from "./plugin-load-profile-DOnG9jJ5-B0ymqOTX.js";
|
|
4
4
|
import "node:fs";
|
|
5
5
|
import path__default from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b$ as custom, c0 as string, c1 as object, c2 as boolean, c3 as $ZodError, c4 as prettifyError, c5 as any, c6 as literal, c7 as nullable, c8 as int, c9 as unknown, ca as array, cb as NEVER, cc as union, cd as boolean$1, ce as record, cf as number, cg as datetime, ch as date, ci as _enum, cj as lazy, ck as _void, cl as toJSONSchema, aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aP as calculateCost, aU as parseStreamingJson } from "./channel-
|
|
1
|
+
import { b$ as custom, c0 as string, c1 as object, c2 as boolean, c3 as $ZodError, c4 as prettifyError, c5 as any, c6 as literal, c7 as nullable, c8 as int, c9 as unknown, ca as array, cb as NEVER, cc as union, cd as boolean$1, ce as record, cf as number, cg as datetime, ch as date, ci as _enum, cj as lazy, ck as _void, cl as toJSONSchema, aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aP as calculateCost, aU as parseStreamingJson } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { s as shortHash } from "./hash-RwksDas4.js";
|
|
3
3
|
import { s as sanitizeSurrogates } from "./sanitize-unicode-BvtkLirb.js";
|
|
4
4
|
import { b as buildBaseOptions, t as transformMessages } from "./transform-messages-CKtg-kNk.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aQ as appendAssistantMessageDiagnostic, aR as createAssistantMessageDiagnostic, aS as formatThrownValue, aT as registerSessionResourceCleanup } from "./channel-
|
|
1
|
+
import { aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aQ as appendAssistantMessageDiagnostic, aR as createAssistantMessageDiagnostic, aS as formatThrownValue, aT as registerSessionResourceCleanup } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { h as headersToRecord } from "./headers-BIdF_N1r.js";
|
|
3
3
|
import { c as clampOpenAIPromptCacheKey } from "./openai-prompt-cache-COP8flKD.js";
|
|
4
|
-
import { c as convertResponsesMessages, a as convertResponsesTools, p as processResponsesStream } from "./openai-responses-shared-
|
|
4
|
+
import { c as convertResponsesMessages, a as convertResponsesTools, p as processResponsesStream } from "./openai-responses-shared-C4up_jLa.js";
|
|
5
5
|
import { b as buildBaseOptions } from "./transform-messages-CKtg-kNk.js";
|
|
6
6
|
var __rewriteRelativeImportExtension = function(path, preserveJsx) {
|
|
7
7
|
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aU as parseStreamingJson, aM as OpenAI, aP as calculateCost } from "./channel-
|
|
1
|
+
import { aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aU as parseStreamingJson, aM as OpenAI, aP as calculateCost } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { h as headersToRecord } from "./headers-BIdF_N1r.js";
|
|
3
3
|
import { s as sanitizeSurrogates } from "./sanitize-unicode-BvtkLirb.js";
|
|
4
4
|
import { h as hasCopilotVisionInput, b as buildCopilotDynamicHeaders, i as isCloudflareProvider, r as resolveCloudflareBaseUrl } from "./github-copilot-headers-BfVSUvrX.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aM as OpenAI } from "./channel-
|
|
1
|
+
import { aL as getEnvApiKey, aN as clampThinkingLevel, aO as AssistantMessageEventStream, aM as OpenAI } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { h as headersToRecord } from "./headers-BIdF_N1r.js";
|
|
3
3
|
import { h as hasCopilotVisionInput, b as buildCopilotDynamicHeaders, i as isCloudflareProvider, r as resolveCloudflareBaseUrl } from "./github-copilot-headers-BfVSUvrX.js";
|
|
4
4
|
import { c as clampOpenAIPromptCacheKey } from "./openai-prompt-cache-COP8flKD.js";
|
|
5
|
-
import { p as processResponsesStream, c as convertResponsesMessages, a as convertResponsesTools } from "./openai-responses-shared-
|
|
5
|
+
import { p as processResponsesStream, c as convertResponsesMessages, a as convertResponsesTools } from "./openai-responses-shared-C4up_jLa.js";
|
|
6
6
|
import { b as buildBaseOptions } from "./transform-messages-CKtg-kNk.js";
|
|
7
7
|
const OPENAI_TOOL_CALL_PROVIDERS = /* @__PURE__ */ new Set(["openai", "openai-codex", "opencode"]);
|
|
8
8
|
function resolveCacheRetention(cacheRetention) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aU as parseStreamingJson, aP as calculateCost } from "./channel-
|
|
1
|
+
import { aU as parseStreamingJson, aP as calculateCost } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { s as shortHash } from "./hash-RwksDas4.js";
|
|
3
3
|
import { s as sanitizeSurrogates } from "./sanitize-unicode-BvtkLirb.js";
|
|
4
4
|
import { t as transformMessages } from "./transform-messages-CKtg-kNk.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL as getEnvApiKey, aM as OpenAI } from "./channel-
|
|
1
|
+
import { aL as getEnvApiKey, aM as OpenAI } from "./channel-DAmPopBf.js";
|
|
2
2
|
import { h as headersToRecord } from "./headers-BIdF_N1r.js";
|
|
3
3
|
import { s as sanitizeSurrogates } from "./sanitize-unicode-BvtkLirb.js";
|
|
4
4
|
const generateImagesOpenRouter = async (model, context, options) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aZ as getDefaultExportFromCjs, a_ as commonjsGlobal } from "./channel-
|
|
1
|
+
import { aZ as getDefaultExportFromCjs, a_ as commonjsGlobal } from "./channel-DAmPopBf.js";
|
|
2
2
|
import require$$5 from "util";
|
|
3
3
|
import path__default from "path";
|
|
4
4
|
import I from "fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aj as getChannelPlugin } from "./channel-
|
|
2
|
-
import { ak, al, am } from "./channel-
|
|
1
|
+
import { aj as getChannelPlugin } from "./channel-DAmPopBf.js";
|
|
2
|
+
import { ak, al, am } from "./channel-DAmPopBf.js";
|
|
3
3
|
export {
|
|
4
4
|
getChannelPlugin,
|
|
5
5
|
ak as getLoadedChannelPlugin,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { w as resolveRequiredHomeDir } from "./plugin-load-profile-DOnG9jJ5-B0ymqOTX.js";
|
|
2
|
-
import { aC as parseSessionArchiveTimestamp, aD as formatSessionArchiveTimestamp, aE as emitSessionTranscriptUpdate, aF as resolveSessionFilePath, aG as resolveSessionTranscriptPathInDir, aH as resolveSessionTranscriptPath } from "./channel-
|
|
2
|
+
import { aC as parseSessionArchiveTimestamp, aD as formatSessionArchiveTimestamp, aE as emitSessionTranscriptUpdate, aF as resolveSessionFilePath, aG as resolveSessionTranscriptPathInDir, aH as resolveSessionTranscriptPath } from "./channel-DAmPopBf.js";
|
|
3
3
|
import fs__default from "node:fs";
|
|
4
4
|
import path__default from "node:path";
|
|
5
5
|
import os__default from "node:os";
|
|
@@ -17,6 +17,8 @@ export declare const WorkclawConfigSchema: z.ZodObject<{
|
|
|
17
17
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
18
18
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
19
19
|
websocketUrl: z.ZodOptional<z.ZodString>;
|
|
20
|
+
connectionMode: z.ZodOptional<z.ZodString>;
|
|
21
|
+
wsConnectionStrategy: z.ZodOptional<z.ZodString>;
|
|
20
22
|
appKey: z.ZodOptional<z.ZodString>;
|
|
21
23
|
appSecret: z.ZodOptional<z.ZodString>;
|
|
22
24
|
agentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -53,6 +55,8 @@ export declare const workclawConfigSchema: z.ZodObject<{
|
|
|
53
55
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
54
56
|
baseUrl: z.ZodOptional<z.ZodString>;
|
|
55
57
|
websocketUrl: z.ZodOptional<z.ZodString>;
|
|
58
|
+
connectionMode: z.ZodOptional<z.ZodString>;
|
|
59
|
+
wsConnectionStrategy: z.ZodOptional<z.ZodString>;
|
|
56
60
|
appKey: z.ZodOptional<z.ZodString>;
|
|
57
61
|
appSecret: z.ZodOptional<z.ZodString>;
|
|
58
62
|
agentId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-schema.d.ts","sourceRoot":"","sources":["../../src/config-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,CAAC,EAAE,CAAA;AAIZ,eAAO,MAAM,2BAA2B;;;;;;;;;;;;kBAY7B,CAAA;AAEX,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"config-schema.d.ts","sourceRoot":"","sources":["../../src/config-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,CAAC,EAAE,CAAA;AAIZ,eAAO,MAAM,2BAA2B;;;;;;;;;;;;kBAY7B,CAAA;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuC7B,CAAA;AAEJ,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAuB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../src/types/system.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS,sBAAsB,CAAA;AAE5C;;GAEG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../src/types/system.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS,sBAAsB,CAAA;AAE5C;;GAEG;AACH,eAAO,MAAM,gBAAgB,aAAa,CAAA;AAE1C;;GAEG;AACH,eAAO,MAAM,SAAS,kBAAkB,CAAA;AAExC;;GAEG;AACH,eAAO,MAAM,kBAAkB,uBAAuB,CAAA"}
|