@fuhuome/openclawbot-online 2026.2.18 → 2026.2.19
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/{audio-preflight-CyHdY8Z5.js → audio-preflight-BalmZRcH.js} +4 -4
- package/dist/{audio-preflight-dMwmJCin.js → audio-preflight-DC-pEqVV.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-BV9AEHrZ.js → chrome-B93eZyyX.js} +7 -7
- package/dist/{chrome-COq9U_w_.js → chrome-DpL_cP3o.js} +7 -7
- package/dist/{deliver-BDGogq3a.js → deliver-BKYbU0oX.js} +1 -1
- package/dist/{deliver-nGHybBtV.js → deliver-C6HvbVCJ.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{image-fCRnaf0J.js → image-DEpdqAE9.js} +1 -1
- package/dist/{image-B78Jx9qG.js → image-gnkNU6DU.js} +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{pi-embedded-DKqSz39c.js → pi-embedded-CcSZTBlA.js} +15 -15
- package/dist/{pi-embedded-CTa5VHvP.js → pi-embedded-DNQT4VLy.js} +15 -15
- package/dist/{pi-embedded-helpers-Cf6BCIzY.js → pi-embedded-helpers-B3hccOks.js} +4 -4
- package/dist/{pi-embedded-helpers-SQOypRTZ.js → pi-embedded-helpers-BAFrKOY7.js} +4 -4
- package/dist/{pw-ai-DWq4kNly.js → pw-ai-BhVoQ5f4.js} +1 -1
- package/dist/{pw-ai-CDd0DWxd.js → pw-ai-gh3P2dp6.js} +1 -1
- package/dist/{runner-ODT_HBEK.js → runner-Bmh3RTVY.js} +1 -1
- package/dist/{runner-HPc0dqrQ.js → runner-mVyYB7ii.js} +1 -1
- package/dist/{web-DmI5EQ27.js → web-DWoyOyFX.js} +6 -6
- package/dist/{web-7m9YKkZ5.js → web-e_0uO5TX.js} +6 -6
- package/extensions/bluebubbles/node_modules/.bin/{openclaw → openclawbot-online} +2 -2
- package/extensions/copilot-proxy/node_modules/.bin/{openclaw → openclawbot-online} +2 -2
- package/extensions/diagnostics-otel/node_modules/.bin/{openclaw → openclawbot-online} +2 -2
- package/extensions/discord/node_modules/.bin/{openclaw → openclawbot-online} +2 -2
- package/extensions/feishu/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/google-antigravity-auth/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/google-gemini-cli-auth/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/googlechat/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/imessage/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/irc/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/line/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/llm-task/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/lobster/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/matrix/node_modules/.bin/markdown-it +2 -2
- package/extensions/matrix/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/mattermost/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/memory-core/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/minimax-portal-auth/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/msteams/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/nextcloud-talk/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/nostr/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/open-prose/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/signal/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/slack/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/telegram/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/tlon/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/twitch/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/voice-call/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/whatsapp/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/zalo/node_modules/.bin/openclawbot-online +21 -0
- package/extensions/zalouser/node_modules/.bin/openclawbot-online +21 -0
- package/package.json +2 -2
- package/skills/GITHUB-RECORD-MANAGE.md +448 -0
- package/skills/MCKINSEY_REPORT_REPO_SKILL.md +586 -0
- package/skills/cloudflare-browser/SKILL.md +99 -0
- package/skills/cloudflare-browser/scripts/cdp-client.js +152 -0
- package/skills/cloudflare-browser/scripts/screenshot.js +108 -0
- package/skills/cloudflare-browser/scripts/video.js +156 -0
- package/skills/github-trending-skill.md +78 -0
- package/skills/github-triple-backup/SKILL.md +203 -0
- package/skills/mckinsey-product-analyzer-enhanced-SKILL.md +83 -0
- package/skills/npm-publish/SKILL.md +569 -0
- package/skills/web-search/SKILL.md +292 -0
- package/extensions/feishu/node_modules/.bin/openclaw +0 -21
- package/extensions/google-antigravity-auth/node_modules/.bin/openclaw +0 -21
- package/extensions/google-gemini-cli-auth/node_modules/.bin/openclaw +0 -21
- package/extensions/googlechat/node_modules/.bin/openclaw +0 -21
- package/extensions/imessage/node_modules/.bin/openclaw +0 -21
- package/extensions/irc/node_modules/.bin/openclaw +0 -21
- package/extensions/line/node_modules/.bin/openclaw +0 -21
- package/extensions/llm-task/node_modules/.bin/openclaw +0 -21
- package/extensions/lobster/node_modules/.bin/openclaw +0 -21
- package/extensions/matrix/node_modules/.bin/openclaw +0 -21
- package/extensions/mattermost/node_modules/.bin/openclaw +0 -21
- package/extensions/memory-core/node_modules/.bin/openclaw +0 -21
- package/extensions/memory-lancedb/node_modules/.bin/openclaw +0 -21
- package/extensions/minimax-portal-auth/node_modules/.bin/openclaw +0 -21
- package/extensions/msteams/node_modules/.bin/openclaw +0 -21
- package/extensions/nextcloud-talk/node_modules/.bin/openclaw +0 -21
- package/extensions/nostr/node_modules/.bin/openclaw +0 -21
- package/extensions/open-prose/node_modules/.bin/openclaw +0 -21
- package/extensions/signal/node_modules/.bin/openclaw +0 -21
- package/extensions/slack/node_modules/.bin/openclaw +0 -21
- package/extensions/telegram/node_modules/.bin/openclaw +0 -21
- package/extensions/tlon/node_modules/.bin/openclaw +0 -21
- package/extensions/twitch/node_modules/.bin/openclaw +0 -21
- package/extensions/voice-call/node_modules/.bin/openclaw +0 -21
- package/extensions/whatsapp/node_modules/.bin/openclaw +0 -21
- package/extensions/zalo/node_modules/.bin/openclaw +0 -21
- package/extensions/zalouser/node_modules/.bin/openclaw +0 -21
|
@@ -2,7 +2,7 @@ import { a as resolveOAuthDir, i as resolveGatewayPort, n as resolveConfigPath,
|
|
|
2
2
|
import { A as isSubagentSessionKey, C as normalizeAccountId$3, D as resolveThreadSessionKeys, E as resolveAgentIdFromSessionKey, M as resolveThreadParentSessionKey, O as sanitizeAgentId, S as classifySessionKeyShape, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, b as buildAgentPeerSessionKey, f as loadWorkspaceBootstrapFiles, g as DEFAULT_ACCOUNT_ID$1, j as parseAgentSessionKey, k as isAcpSessionKey, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, r as DEFAULT_BOOTSTRAP_FILENAME, u as filterBootstrapFilesForSession, v as DEFAULT_MAIN_KEY, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-DY6tZu_v.js";
|
|
3
3
|
import { A as escapeRegExp, B as resolveUserPath, C as requireActivePluginRegistry, D as clampInt, G as sliceUtf16Safe, H as shortenHomeInString, I as normalizeE164, J as danger, M as isPlainObject, N as isRecord, Q as shouldLogVerbose, S as getActivePluginRegistry, T as CONFIG_DIR, U as shortenHomePath, V as safeParseJson, W as sleep, X as logVerbose, Z as setVerbose, a as logDebug, b as normalizeChannelId, c as logWarn, d as defaultRuntime, et as warn, f as clearActiveProgressLine, g as CHAT_CHANNEL_ORDER, i as spawnWithFallback, it as getChildLogger, j as formatTerminalLink, k as ensureDir$3, l as createSubsystemLogger, m as unregisterActiveProgressLine, n as runExec, nt as isRich, o as logError, ot as normalizeLogLevel, p as registerActiveProgressLine, q as truncateUtf16Safe, r as formatSpawnError, rt as theme, s as logInfo, t as runCommandWithTimeout, tt as colorize, u as createNonExitingRuntime, w as setActivePluginRegistry, y as normalizeAnyChannelId } from "./exec-BYmAah2Z.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds } from "./agent-scope-BHgvkv-M.js";
|
|
5
|
-
import { C as HEARTBEAT_TOKEN, S as initializeGlobalHookRunner, T as isSilentReplyText, _ as throwIfAborted, b as parseInlineDirectives$1, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as normalizeTargetForProvider, h as normalizeChannelTargetInput, l as filterMessagingToolDuplicates, m as buildTargetResolverSignature, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as parseReplyDirectives, w as SILENT_REPLY_TOKEN, x as getGlobalHookRunner, y as splitMediaFromOutput } from "./deliver-
|
|
5
|
+
import { C as HEARTBEAT_TOKEN, S as initializeGlobalHookRunner, T as isSilentReplyText, _ as throwIfAborted, b as parseInlineDirectives$1, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as normalizeTargetForProvider, h as normalizeChannelTargetInput, l as filterMessagingToolDuplicates, m as buildTargetResolverSignature, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as parseReplyDirectives, w as SILENT_REPLY_TOKEN, x as getGlobalHookRunner, y as splitMediaFromOutput } from "./deliver-BKYbU0oX.js";
|
|
6
6
|
import { B as listEnabledTelegramAccounts, C as GATEWAY_CLIENT_NAMES, D as imageMimeFromFormat, F as getChannelPlugin, G as resolveSlackAccount, H as resolveTelegramAccount, I as listChannelPlugins, J as resolveSlackBotToken, L as normalizeChannelId$1, M as MAX_IMAGE_BYTES, O as isAudioFileName, P as mediaKindFromMime, Q as normalizeDiscordToken, R as isWhatsAppGroupJid, S as GATEWAY_CLIENT_MODES, T as extensionForMime, U as resolveTelegramToken, V as listTelegramAccountIds, W as listBindings, X as listEnabledDiscordAccounts, Y as normalizeChatType, Z as resolveDiscordAccount, _ as listDeliverableMessageChannels, a as resizeToJpeg, b as resolveMessageChannel, f as INTERNAL_MESSAGE_CHANNEL, g as isMarkdownCapableMessageChannel, h as isInternalMessageChannel, k as isGifMedia, l as isBlockedHostname, n as getImageMetadata, o as SsrFBlockedError, p as isDeliverableMessageChannel, q as resolveSlackAppToken, u as isPrivateIpAddress, v as normalizeMessageChannel, w as detectMime, x as GATEWAY_CLIENT_IDS, y as resolveGatewayMessageChannel, z as normalizeWhatsAppTarget } from "./image-ops-BClRhMv_.js";
|
|
7
7
|
import { t as parseBooleanValue$1 } from "./boolean-Bb19hm9Y.js";
|
|
8
8
|
import { B as resolveAuthProfileDisplayLabel, C as modelKey, D as resolveDefaultModelForAgent, E as resolveConfiguredModelRef, F as OLLAMA_NATIVE_BASE_URL, H as getShellPathFromLoginShell, I as createOllamaStreamFn, L as DEFAULT_CONTEXT_TOKENS, O as resolveModelRefFromString, R as DEFAULT_MODEL, S as isCliProvider, V as normalizeSecretInput, W as resolveShellEnvFallbackTimeoutMs, _ as resolveOpenClawAgentDir, a as resolveEnvApiKey, b as buildConfiguredAllowlistKeys, c as resolveAuthProfileOrder, d as markAuthProfileUsed, f as resolveApiKeyForProfile, g as resolveAuthStorePathForDisplay, h as ensureAuthProfileStore, i as resolveApiKeyForProvider, k as resolveThinkingDefault, l as isProfileInCooldown, m as markAuthProfileGood, n as getCustomProviderApiKey, o as resolveModelAuthMode, p as listProfilesForProvider, q as isTruthyEnvValue, r as requireApiKey, t as getApiKeyForModel, u as markAuthProfileFailure, v as withFileLock$1, w as normalizeProviderId, x as buildModelAliasIndex, y as buildAllowedModelSet, z as DEFAULT_PROVIDER } from "./model-auth-BydmNGsf.js";
|
|
@@ -15,21 +15,21 @@ import { A as hasBotMention, C as buildTelegramGroupPeerId, D as describeReplyTa
|
|
|
15
15
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-BNgUAEQd.js";
|
|
16
16
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Cexg1XRf.js";
|
|
17
17
|
import { i as triggerInternalHook, r as registerInternalHook, t as createInternalHookEvent } from "./internal-hooks-DweiUjdl.js";
|
|
18
|
-
import { $ as updateSessionStoreEntry, $t as normalizeToolName, A as isCompactionFailureError, At as resolveBrowserConfig, B as parseImageSizeError, Bt as assertMediaNotDataUrl, C as formatAssistantErrorText, Ct as resolveChannelGroupPolicy, D as isAuthAssistantError, Dt as resolveGroupSessionKey, E as getApiErrorPayloadFingerprint, Et as resolveConversationLabel, F as isRateLimitAssistantError, Ft as buildWorkspaceSkillCommandSpecs, G as extractDeliveryInfo, Gt as ensureBrowserControlAuth, H as ensureSandboxWorkspaceForSession, Ht as resolveSandboxedMediaSource, I as isRawApiErrorPayload, It as buildWorkspaceSkillSnapshot, J as loadSessionStore, Jt as applyOwnerOnlyToolPolicy, K as appendAssistantMessageToSessionTranscript, Kt as resolveBrowserControlAuth, L as isTimeoutErrorMessage, Lt as loadWorkspaceSkillEntries, M as isFailoverAssistantError, Mt as DEFAULT_UPLOAD_DIR, N as isFailoverErrorMessage, Nt as resolvePathsWithinRoot, O as isBillingAssistantError, Ot as createBrowserRouteContext, P as isLikelyContextOverflowError, Pt as getBridgeAuthForPort, Q as updateSessionStore, Qt as expandToolGroups, R as isTransientHttpError, Rt as resolveSkillsPromptForRun, S as classifyFailoverReason, St as listChannelDocks, T as formatRawAssistantErrorForUi, Tt as resolveChannelGroupToolsPolicy, U as resolveSandboxContext, Ut as applySkillEnvOverrides, V as sanitizeUserFacingText, Vt as assertSandboxPath, W as resolveSandboxRuntimeStatus, Wt as applySkillEnvOverridesFromSnapshot, X as recordSessionMetaFromInbound, Xt as collectExplicitAllowlist, Y as readSessionUpdatedAt, Yt as buildPluginToolGroups, Z as updateLastRoute, Zt as expandPolicyWithPluginGroups, _ as sanitizeSessionMessagesImages, _t as canonicalizeMainSessionAlias, a as formatXHighModelHint, an as sanitizeGoogleTurnOrdering, at as normalizeDeliveryContext, b as isGoogleModelApi, bt as deriveSessionMetaPatch, c as normalizeReasoningLevel, ct as acquireSessionWriteLock, d as normalizeVerboseLevel, dt as resolveChannelResetConfig, en as resolveToolProfilePolicy, et as isCacheEnabled, f as resolveResponseUsageMode, ft as resolveSessionResetPolicy, g as normalizeTextForComparison, gt as resolveFreshSessionTotalTokens, h as isMessagingToolDuplicateNormalized, ht as DEFAULT_RESET_TRIGGERS, i as formatThinkingLevels, in as resolveBootstrapMaxChars, it as mergeDeliveryContext, j as isContextOverflowError, jt as resolveProfile, k as isCloudCodeAssistFormatError, kt as registerBrowserRoutes, l as normalizeThinkLevel, lt as resolveSessionKey$1, mt as resolveThreadFlag, n as validateGeminiTurns, nn as buildBootstrapContextFiles, nt as deliveryContextFromSession, o as listThinkingLevels, ot as normalizeSessionDeliveryFields, p as supportsXHighThinking, pt as resolveSessionResetType, qt as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rn as ensureSessionHeader, rt as deliveryContextKey, s as normalizeElevatedLevel, t as validateAnthropicTurns, tn as stripPluginOnlyAllowlist, tt as resolveCacheTtlMs$1, u as normalizeUsageDisplay, ut as evaluateSessionFreshness, v as downgradeOpenAIReasoningBlocks, w as formatBillingErrorMessage, wt as resolveChannelGroupRequireMention, x as BILLING_ERROR_USER_MESSAGE, xt as getChannelDock, y as isAntigravityClaude, yt as resolveMainSessionKey, z as parseImageDimensionError, zt as resolvePluginSkillDirs } from "./pi-embedded-helpers-
|
|
19
|
-
import { S as pickPrimaryTailnetIPv4, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, x as pickPrimaryLanIPv4, y as rawDataToString } from "./chrome-
|
|
18
|
+
import { $ as updateSessionStoreEntry, $t as normalizeToolName, A as isCompactionFailureError, At as resolveBrowserConfig, B as parseImageSizeError, Bt as assertMediaNotDataUrl, C as formatAssistantErrorText, Ct as resolveChannelGroupPolicy, D as isAuthAssistantError, Dt as resolveGroupSessionKey, E as getApiErrorPayloadFingerprint, Et as resolveConversationLabel, F as isRateLimitAssistantError, Ft as buildWorkspaceSkillCommandSpecs, G as extractDeliveryInfo, Gt as ensureBrowserControlAuth, H as ensureSandboxWorkspaceForSession, Ht as resolveSandboxedMediaSource, I as isRawApiErrorPayload, It as buildWorkspaceSkillSnapshot, J as loadSessionStore, Jt as applyOwnerOnlyToolPolicy, K as appendAssistantMessageToSessionTranscript, Kt as resolveBrowserControlAuth, L as isTimeoutErrorMessage, Lt as loadWorkspaceSkillEntries, M as isFailoverAssistantError, Mt as DEFAULT_UPLOAD_DIR, N as isFailoverErrorMessage, Nt as resolvePathsWithinRoot, O as isBillingAssistantError, Ot as createBrowserRouteContext, P as isLikelyContextOverflowError, Pt as getBridgeAuthForPort, Q as updateSessionStore, Qt as expandToolGroups, R as isTransientHttpError, Rt as resolveSkillsPromptForRun, S as classifyFailoverReason, St as listChannelDocks, T as formatRawAssistantErrorForUi, Tt as resolveChannelGroupToolsPolicy, U as resolveSandboxContext, Ut as applySkillEnvOverrides, V as sanitizeUserFacingText, Vt as assertSandboxPath, W as resolveSandboxRuntimeStatus, Wt as applySkillEnvOverridesFromSnapshot, X as recordSessionMetaFromInbound, Xt as collectExplicitAllowlist, Y as readSessionUpdatedAt, Yt as buildPluginToolGroups, Z as updateLastRoute, Zt as expandPolicyWithPluginGroups, _ as sanitizeSessionMessagesImages, _t as canonicalizeMainSessionAlias, a as formatXHighModelHint, an as sanitizeGoogleTurnOrdering, at as normalizeDeliveryContext, b as isGoogleModelApi, bt as deriveSessionMetaPatch, c as normalizeReasoningLevel, ct as acquireSessionWriteLock, d as normalizeVerboseLevel, dt as resolveChannelResetConfig, en as resolveToolProfilePolicy, et as isCacheEnabled, f as resolveResponseUsageMode, ft as resolveSessionResetPolicy, g as normalizeTextForComparison, gt as resolveFreshSessionTotalTokens, h as isMessagingToolDuplicateNormalized, ht as DEFAULT_RESET_TRIGGERS, i as formatThinkingLevels, in as resolveBootstrapMaxChars, it as mergeDeliveryContext, j as isContextOverflowError, jt as resolveProfile, k as isCloudCodeAssistFormatError, kt as registerBrowserRoutes, l as normalizeThinkLevel, lt as resolveSessionKey$1, mt as resolveThreadFlag, n as validateGeminiTurns, nn as buildBootstrapContextFiles, nt as deliveryContextFromSession, o as listThinkingLevels, ot as normalizeSessionDeliveryFields, p as supportsXHighThinking, pt as resolveSessionResetType, qt as resolveSandboxConfigForAgent, r as pickFallbackThinkingLevel, rn as ensureSessionHeader, rt as deliveryContextKey, s as normalizeElevatedLevel, t as validateAnthropicTurns, tn as stripPluginOnlyAllowlist, tt as resolveCacheTtlMs$1, u as normalizeUsageDisplay, ut as evaluateSessionFreshness, v as downgradeOpenAIReasoningBlocks, w as formatBillingErrorMessage, wt as resolveChannelGroupRequireMention, x as BILLING_ERROR_USER_MESSAGE, xt as getChannelDock, y as isAntigravityClaude, yt as resolveMainSessionKey, z as parseImageDimensionError, zt as resolvePluginSkillDirs } from "./pi-embedded-helpers-B3hccOks.js";
|
|
19
|
+
import { S as pickPrimaryTailnetIPv4, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, x as pickPrimaryLanIPv4, y as rawDataToString } from "./chrome-DpL_cP3o.js";
|
|
20
20
|
import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-Daa2hz8x.js";
|
|
21
21
|
import { n as getMediaDir, r as saveMediaBuffer } from "./store-vCSHC3DB.js";
|
|
22
22
|
import { t as resolveIMessageAccount } from "./accounts-B8YNZ2On.js";
|
|
23
23
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath } from "./paths-IeeQXC3x.js";
|
|
24
24
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-JGGQViao.js";
|
|
25
25
|
import { n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-8IRWR1Yu.js";
|
|
26
|
-
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractAssistantThinking, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as stripReasoningTagsFromText } from "./image-
|
|
26
|
+
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractAssistantThinking, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as stripReasoningTagsFromText } from "./image-DEpdqAE9.js";
|
|
27
27
|
import { n as resolveMemorySearchConfig } from "./manager-DWPBf2i7.js";
|
|
28
28
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-CyA_NN7Z.js";
|
|
29
29
|
import { a as readNumberParam, c as readStringOrNumberParam, i as jsonResult, l as readStringParam, n as imageResult, o as readReactionParams, r as imageResultFromFile, s as readStringArrayParam, t as createActionGate } from "./common-D4cLHlE7.js";
|
|
30
30
|
import { _ as parseFenceSpans, d as chunkText, f as chunkTextWithMode, g as isSafeFenceBreak, h as findFenceSpanAt, i as loadWebMedia, l as chunkMarkdownText, m as resolveTextChunkLimit, o as resolveMarkdownTableMode, p as resolveChunkMode, s as chunkByNewline, u as chunkMarkdownTextWithMode } from "./ir-CA-QjcUA.js";
|
|
31
31
|
import { a as fetchWithTimeout, i as bindAbortRelay, n as fetchRemoteMedia, r as fetchWithSsrFGuard } from "./fetch-CsbYB0fw.js";
|
|
32
|
-
import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-
|
|
32
|
+
import { _ as applyTemplate, a as runCapability, c as modelSupportsVision, d as registerUnhandledRejectionHandler, f as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as resolveAutoImageModel, m as normalizeMediaUnderstandingChatType, n as createMediaAttachmentCache, o as findModelInCatalog, p as resolveTimeoutMs$1, r as normalizeMediaAttachments, s as loadModelCatalog, t as buildProviderRegistry, u as resolveAttachmentKind } from "./runner-Bmh3RTVY.js";
|
|
33
33
|
import { t as resolveFetch } from "./fetch-Cr4qmC9C.js";
|
|
34
34
|
import { n as normalizePollInput } from "./polls-C_EZXz9S.js";
|
|
35
35
|
import { a as signalCheck, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-DFB3bhBl.js";
|
|
@@ -55,7 +55,7 @@ import crypto, { X509Certificate, randomUUID } from "node:crypto";
|
|
|
55
55
|
import AjvPkg from "ajv";
|
|
56
56
|
import net from "node:net";
|
|
57
57
|
import { createServer } from "node:http";
|
|
58
|
-
import WebSocket, { WebSocket
|
|
58
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
59
59
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
60
60
|
import { createJiti } from "jiti";
|
|
61
61
|
import { Type } from "@sinclair/typebox";
|
|
@@ -7172,7 +7172,7 @@ var GatewayClient = class {
|
|
|
7172
7172
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
7173
7173
|
});
|
|
7174
7174
|
}
|
|
7175
|
-
this.ws = new WebSocket
|
|
7175
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
7176
7176
|
this.ws.on("open", () => {
|
|
7177
7177
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
7178
7178
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -7380,7 +7380,7 @@ var GatewayClient = class {
|
|
|
7380
7380
|
return null;
|
|
7381
7381
|
}
|
|
7382
7382
|
async request(method, params, opts) {
|
|
7383
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
7383
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
7384
7384
|
const id = randomUUID();
|
|
7385
7385
|
const frame = {
|
|
7386
7386
|
type: "req",
|
|
@@ -8305,7 +8305,7 @@ async function routeReply(params) {
|
|
|
8305
8305
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
8306
8306
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
8307
8307
|
try {
|
|
8308
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
8308
|
+
const { deliverOutboundPayloads } = await import("./deliver-BKYbU0oX.js").then((n) => n.n);
|
|
8309
8309
|
return {
|
|
8310
8310
|
ok: true,
|
|
8311
8311
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -37381,7 +37381,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
37381
37381
|
return;
|
|
37382
37382
|
}
|
|
37383
37383
|
try {
|
|
37384
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
37384
|
+
const { deliverOutboundPayloads } = await import("./deliver-BKYbU0oX.js").then((n) => n.n);
|
|
37385
37385
|
await deliverOutboundPayloads({
|
|
37386
37386
|
cfg: params.cfg,
|
|
37387
37387
|
channel,
|
|
@@ -40660,7 +40660,7 @@ async function describeStickerImage(params) {
|
|
|
40660
40660
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
40661
40661
|
try {
|
|
40662
40662
|
const buffer = await fs.readFile(imagePath);
|
|
40663
|
-
const { describeImageWithModel } = await import("./image-
|
|
40663
|
+
const { describeImageWithModel } = await import("./image-DEpdqAE9.js").then((n) => n.n);
|
|
40664
40664
|
return (await describeImageWithModel({
|
|
40665
40665
|
buffer,
|
|
40666
40666
|
fileName: "sticker.webp",
|
|
@@ -42799,7 +42799,7 @@ async function preflightDiscordMessage(params) {
|
|
|
42799
42799
|
let preflightTranscript;
|
|
42800
42800
|
const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
|
|
42801
42801
|
if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
|
|
42802
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
42802
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DC-pEqVV.js");
|
|
42803
42803
|
const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
|
|
42804
42804
|
if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
|
|
42805
42805
|
ctx: {
|
|
@@ -45370,7 +45370,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
45370
45370
|
super(options);
|
|
45371
45371
|
}
|
|
45372
45372
|
createWebSocket(url) {
|
|
45373
|
-
return new WebSocket(url, { agent });
|
|
45373
|
+
return new WebSocket$1(url, { agent });
|
|
45374
45374
|
}
|
|
45375
45375
|
}
|
|
45376
45376
|
return new ProxyGatewayPlugin();
|
|
@@ -53557,7 +53557,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
|
|
|
53557
53557
|
let preflightTranscript;
|
|
53558
53558
|
const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
|
|
53559
53559
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
|
|
53560
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
53560
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DC-pEqVV.js");
|
|
53561
53561
|
preflightTranscript = await transcribeFirstAudio({
|
|
53562
53562
|
ctx: {
|
|
53563
53563
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -55586,7 +55586,7 @@ function loadWebLoginQr() {
|
|
|
55586
55586
|
return webLoginQrPromise;
|
|
55587
55587
|
}
|
|
55588
55588
|
function loadWebChannel() {
|
|
55589
|
-
webChannelPromise ??= import("./web-
|
|
55589
|
+
webChannelPromise ??= import("./web-DWoyOyFX.js");
|
|
55590
55590
|
return webChannelPromise;
|
|
55591
55591
|
}
|
|
55592
55592
|
function loadWhatsAppActions() {
|
|
@@ -8,7 +8,7 @@ import { t as formatCliCommand } from "./command-format-BmTFj7S4.js";
|
|
|
8
8
|
import { A as resolveWhatsAppAccount, _ as resolveEnableState, a as writeConfigFile, d as parseDurationMs, g as normalizePluginsConfig, n as loadConfig, p as loadPluginManifestRegistry, s as parseByteSize, t as createConfigIO, v as resolveMemorySlotDecision } from "./config-B1Lak1hu.js";
|
|
9
9
|
import { n as resolveSignalAccount } from "./accounts-D-3SLsJO.js";
|
|
10
10
|
import { n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-BWhO1_ll.js";
|
|
11
|
-
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveOpenClawUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-
|
|
11
|
+
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveOpenClawUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-DpL_cP3o.js";
|
|
12
12
|
import { t as parseFrontmatterBlock } from "./frontmatter-Uu27Y56g.js";
|
|
13
13
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-Daa2hz8x.js";
|
|
14
14
|
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-vCSHC3DB.js";
|
|
@@ -1486,7 +1486,7 @@ function isModuleNotFoundError(err) {
|
|
|
1486
1486
|
}
|
|
1487
1487
|
async function loadPwAiModule(mode) {
|
|
1488
1488
|
try {
|
|
1489
|
-
return await import("./pw-ai-
|
|
1489
|
+
return await import("./pw-ai-gh3P2dp6.js");
|
|
1490
1490
|
} catch (err) {
|
|
1491
1491
|
if (mode === "soft") return null;
|
|
1492
1492
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3851,11 +3851,11 @@ function createProfileContext(opts, profile) {
|
|
|
3851
3851
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
3852
3852
|
const profileState = getProfileState();
|
|
3853
3853
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3854
|
-
await (await import("./pw-ai-
|
|
3854
|
+
await (await import("./pw-ai-gh3P2dp6.js")).closePlaywrightBrowserConnection();
|
|
3855
3855
|
} catch {}
|
|
3856
3856
|
if (profileState.running) await stopRunningBrowser();
|
|
3857
3857
|
try {
|
|
3858
|
-
await (await import("./pw-ai-
|
|
3858
|
+
await (await import("./pw-ai-gh3P2dp6.js")).closePlaywrightBrowserConnection();
|
|
3859
3859
|
} catch {}
|
|
3860
3860
|
if (!fs$1.existsSync(userDataDir)) return {
|
|
3861
3861
|
moved: false,
|
|
@@ -5,7 +5,7 @@ import { j as parseBooleanValue } from "./model-selection-CiuArG_p.js";
|
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-qUVxzqYm.js";
|
|
6
6
|
import { C as detectMime, G as resolveSlackReplyToMode, I as normalizeChannelId, J as normalizeChatType, R as normalizeWhatsAppTarget, V as resolveTelegramAccount, W as resolveSlackAccount, X as resolveDiscordAccount, _ as normalizeMessageChannel, a as resizeToJpeg, g as listDeliverableMessageChannels, n as getImageMetadata, w as extensionForMime } from "./image-ops-Dh97_2kv.js";
|
|
7
7
|
import { M as resolveWhatsAppAccount, a as writeConfigFile, b as resolveMemorySlotDecision, d as parseDurationMs, g as MANIFEST_KEY, h as LEGACY_MANIFEST_KEYS, n as loadConfig, p as loadPluginManifestRegistry, s as parseByteSize, t as createConfigIO, v as normalizePluginsConfig, y as resolveEnableState } from "./config-C-ntI_H2.js";
|
|
8
|
-
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveOpenClawUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-
|
|
8
|
+
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveOpenClawUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-B93eZyyX.js";
|
|
9
9
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-B8y79jwX.js";
|
|
10
10
|
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CplGo16s.js";
|
|
11
11
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
|
|
@@ -1634,7 +1634,7 @@ function isModuleNotFoundError(err) {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
async function loadPwAiModule(mode) {
|
|
1636
1636
|
try {
|
|
1637
|
-
return await import("./pw-ai-
|
|
1637
|
+
return await import("./pw-ai-BhVoQ5f4.js");
|
|
1638
1638
|
} catch (err) {
|
|
1639
1639
|
if (mode === "soft") return null;
|
|
1640
1640
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -4056,11 +4056,11 @@ function createProfileContext(opts, profile) {
|
|
|
4056
4056
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
4057
4057
|
const profileState = getProfileState();
|
|
4058
4058
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
4059
|
-
await (await import("./pw-ai-
|
|
4059
|
+
await (await import("./pw-ai-BhVoQ5f4.js")).closePlaywrightBrowserConnection();
|
|
4060
4060
|
} catch {}
|
|
4061
4061
|
if (profileState.running) await stopRunningBrowser();
|
|
4062
4062
|
try {
|
|
4063
|
-
await (await import("./pw-ai-
|
|
4063
|
+
await (await import("./pw-ai-BhVoQ5f4.js")).closePlaywrightBrowserConnection();
|
|
4064
4064
|
} catch {}
|
|
4065
4065
|
if (!fs.existsSync(userDataDir)) return {
|
|
4066
4066
|
moved: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-BJLxvjdu.js";
|
|
2
2
|
import { ot as resolvePreferredOpenClawTmpDir } from "./exec-B57SA7gZ.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-qUVxzqYm.js";
|
|
4
|
-
import { d as normalizeCdpWsUrl, g as withCdpSocket, h as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-
|
|
4
|
+
import { d as normalizeCdpWsUrl, g as withCdpSocket, h as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-B93eZyyX.js";
|
|
5
5
|
import { n as formatErrorMessage } from "./errors-B8y79jwX.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-WqPh06On.js";
|
|
2
2
|
import { st as resolvePreferredOpenClawTmpDir } from "./exec-BYmAah2Z.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BmTFj7S4.js";
|
|
4
|
-
import { d as normalizeCdpWsUrl, g as withCdpSocket, h as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-
|
|
4
|
+
import { d as normalizeCdpWsUrl, g as withCdpSocket, h as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-DpL_cP3o.js";
|
|
5
5
|
import { n as formatErrorMessage } from "./errors-Daa2hz8x.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { Q as shouldLogVerbose, X as logVerbose, n as runExec } from "./exec-BYm
|
|
|
2
2
|
import { A as kindFromMime, E as getFileExtension, O as isAudioFileName, Y as normalizeChatType, w as detectMime } from "./image-ops-BClRhMv_.js";
|
|
3
3
|
import { A as normalizeGoogleModelId, _ as resolveOpenClawAgentDir, i as resolveApiKeyForProvider, r as requireApiKey, w as normalizeProviderId } from "./model-auth-BydmNGsf.js";
|
|
4
4
|
import { n as loadConfig } from "./config-B1Lak1hu.js";
|
|
5
|
-
import { b as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
5
|
+
import { b as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-DEpdqAE9.js";
|
|
6
6
|
import { a as fetchWithTimeout, n as fetchRemoteMedia, r as fetchWithSsrFGuard, t as MediaFetchError } from "./fetch-CsbYB0fw.js";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import os from "node:os";
|
|
@@ -2,7 +2,7 @@ import { Y as logVerbose, Z as shouldLogVerbose, n as runExec } from "./exec-B57
|
|
|
2
2
|
import { H as resolveOpenClawAgentDir, S as resolveApiKeyForProvider, f as normalizeGoogleModelId, o as normalizeProviderId, x as requireApiKey } from "./model-selection-CiuArG_p.js";
|
|
3
3
|
import { C as detectMime, D as isAudioFileName, J as normalizeChatType, T as getFileExtension, k as kindFromMime } from "./image-ops-Dh97_2kv.js";
|
|
4
4
|
import { n as loadConfig } from "./config-C-ntI_H2.js";
|
|
5
|
-
import { b as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-
|
|
5
|
+
import { b as ensureOpenClawModelsJson, t as describeImageWithModel } from "./image-gnkNU6DU.js";
|
|
6
6
|
import { a as fetchWithTimeout, n as fetchRemoteMedia, r as fetchWithSsrFGuard, t as MediaFetchError } from "./fetch-BNXMik6k.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { constants } from "node:fs";
|
|
@@ -2,8 +2,8 @@ import "./paths-WqPh06On.js";
|
|
|
2
2
|
import { v as DEFAULT_MAIN_KEY, w as normalizeAgentId, x as buildGroupHistoryKey, y as buildAgentMainSessionKey } from "./workspace-DY6tZu_v.js";
|
|
3
3
|
import { E as clamp, F as jidToE164, I as normalizeE164, K as toWhatsappJid, P as isSelfChatMode, Q as shouldLogVerbose, W as sleep, X as logVerbose, d as defaultRuntime, it as getChildLogger, l as createSubsystemLogger, z as resolveJidToE164 } from "./exec-BYmAah2Z.js";
|
|
4
4
|
import "./agent-scope-BHgvkv-M.js";
|
|
5
|
-
import "./deliver-
|
|
6
|
-
import { $ as resolveMessagePrefix, B as resolveEnvelopeFormatOptions, C as parseActivationCommand, D as upsertChannelPairingRequest, E as readChannelAllowFromStore, F as enqueueSystemEvent, H as shouldComputeCommandAuthorized, I as finalizeInboundContext, L as createInboundDebouncer, Q as resolveIdentityNamePrefix, R as resolveInboundDebounceMs, S as normalizeGroupActivation, U as buildMentionRegexes, V as hasControlCommand, W as normalizeMentionText, _ as buildAgentSessionKey, a as buildPairingReply, c as buildHistoryContextFromEntries, d as dispatchReplyWithBufferedBlockDispatcher, f as createDedupeCache, i as createReplyPrefixOptions, l as recordPendingHistoryEntryIfEnabled, n as computeBackoff, o as resolveMentionGating, p as getReplyFromConfig, q as formatDurationPrecise, r as sleepWithAbort, s as DEFAULT_GROUP_HISTORY_LIMIT, u as shouldAckReactionForWhatsApp, v as resolveAgentRoute, z as formatInboundEnvelope } from "./pi-embedded-
|
|
5
|
+
import "./deliver-BKYbU0oX.js";
|
|
6
|
+
import { $ as resolveMessagePrefix, B as resolveEnvelopeFormatOptions, C as parseActivationCommand, D as upsertChannelPairingRequest, E as readChannelAllowFromStore, F as enqueueSystemEvent, H as shouldComputeCommandAuthorized, I as finalizeInboundContext, L as createInboundDebouncer, Q as resolveIdentityNamePrefix, R as resolveInboundDebounceMs, S as normalizeGroupActivation, U as buildMentionRegexes, V as hasControlCommand, W as normalizeMentionText, _ as buildAgentSessionKey, a as buildPairingReply, c as buildHistoryContextFromEntries, d as dispatchReplyWithBufferedBlockDispatcher, f as createDedupeCache, i as createReplyPrefixOptions, l as recordPendingHistoryEntryIfEnabled, n as computeBackoff, o as resolveMentionGating, p as getReplyFromConfig, q as formatDurationPrecise, r as sleepWithAbort, s as DEFAULT_GROUP_HISTORY_LIMIT, u as shouldAckReactionForWhatsApp, v as resolveAgentRoute, z as formatInboundEnvelope } from "./pi-embedded-DNQT4VLy.js";
|
|
7
7
|
import "./image-ops-BClRhMv_.js";
|
|
8
8
|
import "./boolean-Bb19hm9Y.js";
|
|
9
9
|
import "./model-auth-BydmNGsf.js";
|
|
@@ -14,13 +14,13 @@ import "./send-CZOitdH_.js";
|
|
|
14
14
|
import { I as formatLocationText, L as toLocationContext } from "./send-BpHgBCht.js";
|
|
15
15
|
import "./github-copilot-token-BNgUAEQd.js";
|
|
16
16
|
import "./pi-model-discovery-Cexg1XRf.js";
|
|
17
|
-
import { Ct as resolveChannelGroupPolicy, Dt as resolveGroupSessionKey, J as loadSessionStore, X as recordSessionMetaFromInbound, Y as readSessionUpdatedAt, Z as updateLastRoute, wt as resolveChannelGroupRequireMention } from "./pi-embedded-helpers-
|
|
18
|
-
import "./chrome-
|
|
17
|
+
import { Ct as resolveChannelGroupPolicy, Dt as resolveGroupSessionKey, J as loadSessionStore, X as recordSessionMetaFromInbound, Y as readSessionUpdatedAt, Z as updateLastRoute, wt as resolveChannelGroupRequireMention } from "./pi-embedded-helpers-B3hccOks.js";
|
|
18
|
+
import "./chrome-DpL_cP3o.js";
|
|
19
19
|
import "./frontmatter-Uu27Y56g.js";
|
|
20
20
|
import { r as saveMediaBuffer } from "./store-vCSHC3DB.js";
|
|
21
21
|
import { s as resolveStorePath } from "./paths-IeeQXC3x.js";
|
|
22
22
|
import "./tool-images-8IRWR1Yu.js";
|
|
23
|
-
import "./image-
|
|
23
|
+
import "./image-DEpdqAE9.js";
|
|
24
24
|
import "./manager-DWPBf2i7.js";
|
|
25
25
|
import "./sqlite-CyA_NN7Z.js";
|
|
26
26
|
import "./retry-BVBBRVE1.js";
|
|
@@ -29,7 +29,7 @@ import "./common-D4cLHlE7.js";
|
|
|
29
29
|
import { i as loadWebMedia, m as resolveTextChunkLimit, o as resolveMarkdownTableMode, p as resolveChunkMode, u as chunkMarkdownTextWithMode } from "./ir-CA-QjcUA.js";
|
|
30
30
|
import "./fetch-CsbYB0fw.js";
|
|
31
31
|
import "./render-CiikiGbn.js";
|
|
32
|
-
import { d as registerUnhandledRejectionHandler } from "./runner-
|
|
32
|
+
import { d as registerUnhandledRejectionHandler } from "./runner-Bmh3RTVY.js";
|
|
33
33
|
import "./send-DFB3bhBl.js";
|
|
34
34
|
import "./send-NMDQYHPk.js";
|
|
35
35
|
import { n as recordChannelActivity } from "./channel-activity-BfMc-blq.js";
|
|
@@ -2,18 +2,18 @@ import "./paths-BJLxvjdu.js";
|
|
|
2
2
|
import { D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, M as normalizeAgentId, k as buildGroupHistoryKey } from "./agent-scope-D-8aOoNv.js";
|
|
3
3
|
import { F as normalizeE164, G as toWhatsappJid, N as isSelfChatMode, P as jidToE164, R as resolveJidToE164, T as clamp, U as sleep, Y as logVerbose, Z as shouldLogVerbose, d as defaultRuntime, l as createSubsystemLogger, rt as getChildLogger } from "./exec-B57SA7gZ.js";
|
|
4
4
|
import "./model-selection-CiuArG_p.js";
|
|
5
|
-
import { A as shouldComputeCommandAuthorized, C as enqueueSystemEvent, D as formatInboundEnvelope, E as resolveInboundDebounceMs, I as resolveIdentityNamePrefix, L as resolveMessagePrefix, M as normalizeMentionText, O as resolveEnvelopeFormatOptions, P as formatDurationPrecise, S as upsertChannelPairingRequest, T as createInboundDebouncer, _ as buildAgentSessionKey, a as buildPairingReply, b as parseActivationCommand, c as buildHistoryContextFromEntries, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as toLocationContext, h as formatLocationText, i as createReplyPrefixOptions, j as buildMentionRegexes, k as hasControlCommand, l as recordPendingHistoryEntryIfEnabled, m as getReplyFromConfig, n as computeBackoff, o as resolveMentionGating, p as createDedupeCache, r as sleepWithAbort, s as DEFAULT_GROUP_HISTORY_LIMIT, u as recordChannelActivity, v as resolveAgentRoute, w as finalizeInboundContext, x as readChannelAllowFromStore, y as normalizeGroupActivation } from "./pi-embedded-
|
|
5
|
+
import { A as shouldComputeCommandAuthorized, C as enqueueSystemEvent, D as formatInboundEnvelope, E as resolveInboundDebounceMs, I as resolveIdentityNamePrefix, L as resolveMessagePrefix, M as normalizeMentionText, O as resolveEnvelopeFormatOptions, P as formatDurationPrecise, S as upsertChannelPairingRequest, T as createInboundDebouncer, _ as buildAgentSessionKey, a as buildPairingReply, b as parseActivationCommand, c as buildHistoryContextFromEntries, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as toLocationContext, h as formatLocationText, i as createReplyPrefixOptions, j as buildMentionRegexes, k as hasControlCommand, l as recordPendingHistoryEntryIfEnabled, m as getReplyFromConfig, n as computeBackoff, o as resolveMentionGating, p as createDedupeCache, r as sleepWithAbort, s as DEFAULT_GROUP_HISTORY_LIMIT, u as recordChannelActivity, v as resolveAgentRoute, w as finalizeInboundContext, x as readChannelAllowFromStore, y as normalizeGroupActivation } from "./pi-embedded-CcSZTBlA.js";
|
|
6
6
|
import "./github-copilot-token-CogCZKvg.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-qUVxzqYm.js";
|
|
8
|
-
import "./deliver-
|
|
8
|
+
import "./deliver-C6HvbVCJ.js";
|
|
9
9
|
import "./image-ops-Dh97_2kv.js";
|
|
10
10
|
import { F as logWebSelfId, M as resolveWhatsAppAccount, N as WA_WEB_AUTH_DIR, P as getWebAuthAgeMs, R as pickWebChannel, U as webAuthExists, n as loadConfig, z as readWebSelfId } from "./config-C-ntI_H2.js";
|
|
11
|
-
import { Ct as resolveChannelGroupPolicy, Dt as resolveGroupSessionKey, J as loadSessionStore, Nt as saveMediaBuffer, Q as updateLastRoute, X as recordSessionMetaFromInbound, Y as readSessionUpdatedAt, wt as resolveChannelGroupRequireMention } from "./pi-embedded-helpers-
|
|
11
|
+
import { Ct as resolveChannelGroupPolicy, Dt as resolveGroupSessionKey, J as loadSessionStore, Nt as saveMediaBuffer, Q as updateLastRoute, X as recordSessionMetaFromInbound, Y as readSessionUpdatedAt, wt as resolveChannelGroupRequireMention } from "./pi-embedded-helpers-BAFrKOY7.js";
|
|
12
12
|
import "./pi-model-discovery-DWTTaAgY.js";
|
|
13
|
-
import "./chrome-
|
|
13
|
+
import "./chrome-B93eZyyX.js";
|
|
14
14
|
import { s as resolveStorePath } from "./paths-CplGo16s.js";
|
|
15
15
|
import "./tool-images-BZyf6LVv.js";
|
|
16
|
-
import "./image-
|
|
16
|
+
import "./image-gnkNU6DU.js";
|
|
17
17
|
import "./manager-YzBdtUP2.js";
|
|
18
18
|
import "./sqlite-DHxUSv0Q.js";
|
|
19
19
|
import "./redact-DO22U0Pj.js";
|
|
@@ -21,7 +21,7 @@ import "./common-CgOwion4.js";
|
|
|
21
21
|
import { i as loadWebMedia, m as resolveTextChunkLimit, o as resolveMarkdownTableMode, p as resolveChunkMode, u as chunkMarkdownTextWithMode } from "./ir-DLFA4Gbl.js";
|
|
22
22
|
import "./fetch-BNXMik6k.js";
|
|
23
23
|
import { i as convertMarkdownTables, r as setActiveWebListener } from "./active-listener-Sr2eLjbE.js";
|
|
24
|
-
import { d as registerUnhandledRejectionHandler } from "./runner-
|
|
24
|
+
import { d as registerUnhandledRejectionHandler } from "./runner-mVyYB7ii.js";
|
|
25
25
|
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-D9hY1-V0.js";
|
|
26
26
|
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-v0Ym2qMd.js";
|
|
27
27
|
import { t as loginWeb } from "./login-CVckmwjW.js";
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/root/
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/root/
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/root/
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/root/
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/root/
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/root/
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/root/
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/root/
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/root/clawd/node_modules:/root/node_modules:/node_modules:/root/clawd/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../openclaw/openclaw.mjs" "$@"
|
|
21
|
+
fi
|