🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
1215 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .agents/skills/local-testing/scripts/electron-dev.sh | 34 | # ── Helpers ────────────────────────────────────────────────────────── |
| MEDIUM | .agents/skills/local-testing/scripts/electron-dev.sh | 136 | # ── Commands ───────────────────────────────────────────────────────── |
| MEDIUM | .agents/skills/local-testing/scripts/electron-dev.sh | 309 | # ── Main ───────────────────────────────────────────────────────────── |
| MEDIUM | …s/skills/local-testing/scripts/record-electron-demo.sh | 34 | # ── Helpers ────────────────────────────────────────────────────────── |
| MEDIUM | …s/skills/local-testing/scripts/record-electron-demo.sh | 181 | # ── Built-in demo: Queue Edit ──────────────────────────────────────── |
| MEDIUM | …s/skills/local-testing/scripts/record-electron-demo.sh | 313 | # ── Main ───────────────────────────────────────────────────────────── |
| MEDIUM | …/local-testing/scripts/agent-gateway/analyze-events.ts | 43 | // ── META ─────────────────────────────────────────────────────────── |
| MEDIUM | …/local-testing/scripts/agent-gateway/analyze-events.ts | 49 | // ── 1. STREAM EVENTS (non-chunk) ─────────────────────────────────── |
| MEDIUM | …/local-testing/scripts/agent-gateway/analyze-events.ts | 72 | // ── 2. CHUNK SUMMARY ─────────────────────────────────────────────── |
| MEDIUM | …/local-testing/scripts/agent-gateway/analyze-events.ts | 91 | // ── 3. ACTION CALLS ─────────────────────────────────────────────── |
| MEDIUM | …/local-testing/scripts/agent-gateway/analyze-events.ts | 122 | // ── 4. CORRELATION ──────────────────────────────────────────────── |
| MEDIUM | …/local-testing/scripts/agent-gateway/analyze-events.ts | 154 | // ── 5. PER-KEY ASSISTANT GROWTH ─────────────────────────────────── |
| MEDIUM | …/local-testing/scripts/agent-gateway/analyze-events.ts | 182 | // ── 6. ROLLBACKS (active-topic msgN / childN / role drops) ───────── |
| MEDIUM | …ls/local-testing/scripts/agent-gateway/probe-events.ts | 35 | // ── Buffers ───────────────────────────────────────────────────────── |
| MEDIUM | …ls/local-testing/scripts/agent-gateway/probe-events.ts | 64 | // ── Helpers ───────────────────────────────────────────────────────── |
| MEDIUM | …ls/local-testing/scripts/agent-gateway/probe-events.ts | 149 | // ── 1. Patch window.WebSocket for gateway WS events ──────────────── |
| MEDIUM | …ls/local-testing/scripts/agent-gateway/probe-events.ts | 563 | // ── 4. Periodic per-key timeline snapshots ───────────────────────── |
| MEDIUM | …ls/local-testing/scripts/agent-gateway/probe-events.ts | 605 | // ── 5. Tab-switch helpers ────────────────────────────────────────── |
| MEDIUM | …ents/skills/local-testing/scripts/agent-gateway/run.ts | 131 | // ── Commands ──────────────────────────────────────────────────────── |
| MEDIUM | …ents/skills/local-testing/scripts/agent-gateway/run.ts | 184 | // ── Entry point ───────────────────────────────────────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 40 | # ── Output helpers ─────────────────────────────────────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 45 | # ── BlueBubbles REST helpers ───────────────────────────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 85 | # ── Preflight ──────────────────────────────────────────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 112 | # ── testConfig: happy path ─────────────────────────────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 119 | # ── testConfig: wrong password rejects ─────────────────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 126 | # ── testConfig: unreachable URL rejects ────────────────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 143 | # ── getStatus: bridge running + config persisted ───────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 151 | # ── BlueBubbles webhook actually registered ────────────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 158 | # ── Local bridge HTTP server: secret enforcement ───────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 179 | # ── Cleanup ────────────────────────────────────────────────────────── |
| MEDIUM | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 184 | # ── Summary ────────────────────────────────────────────────────────── |
| MEDIUM | .claude/prompts/e2e-coverage.md | 142 | # ============================================ |
| MEDIUM | .claude/prompts/e2e-coverage.md | 144 | # ============================================ |
| MEDIUM | scripts/create-test-tasks.js | 17 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 19 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 106 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 108 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 117 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 119 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 129 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 131 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 140 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 142 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 166 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 168 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 177 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 179 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 201 | // ════════════════════════════════════════ |
| MEDIUM | scripts/create-test-tasks.js | 203 | // ════════════════════════════════════════ |
| MEDIUM | packages/database/src/models/notification.ts | 109 | // ─── Write-side (used by NotificationService in cloud) ───────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 15 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 17 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 89 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 91 | // ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 113 | // ── Connector identity ──────────────────────────────────────────────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 120 | // ── MCP connection ──────────────────────────────────────────────────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 131 | // ── Connection state ────────────────────────────────────────────────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 136 | // ── OIDC/OAuth config (plaintext — non-sensitive) ───────────────────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 139 | // ── Encrypted credentials ───────────────────────────────────────────── |
| MEDIUM | packages/database/src/schemas/connector.ts | 159 | // ───────────────────────────────────────────────────────────────────────────── |
| 558 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/mobileSpaWorkflow/index.ts | 35 | // Step 1: Build mobile SPA with CDN base |
| LOW | scripts/mobileSpaWorkflow/index.ts | 52 | // Step 2: Upload assets to S3 |
| LOW | scripts/mobileSpaWorkflow/index.ts | 64 | // Step 3: Generate mobile HTML template source file |
| LOW | scripts/docsWorkflow/utils.ts | 86 | // Step 1: Fetch the image |
| LOW | scripts/docsWorkflow/utils.ts | 101 | // Step 2: Create a blob from the response data |
| LOW | scripts/docsWorkflow/utils.ts | 116 | // Step 3: Create a file from the blob |
| LOW | scripts/cdnWorkflow/utils.ts | 64 | // Step 1: Fetch the image |
| LOW | scripts/cdnWorkflow/utils.ts | 70 | // Step 2: Create a blob from the response data |
| LOW | scripts/cdnWorkflow/utils.ts | 84 | // Step 3: Create a file from the blob |
| LOW | scripts/i18nWorkflow/analyzeUnusedKeys.ts | 486 | // Step 1: Load all defined keys |
| LOW | scripts/i18nWorkflow/analyzeUnusedKeys.ts | 492 | // Step 2: Find all translation calls |
| LOW | scripts/i18nWorkflow/analyzeUnusedKeys.ts | 497 | // Step 3: Find unused keys |
| LOW | scripts/i18nWorkflow/analyzeUnusedKeys.ts | 502 | // Step 4: Generate report |
| LOW | …w/src/transformation/__tests__/FlatListBuilder.test.ts | 727 | // Step 0: assistant with Monitor tool |
| LOW | …es/model-runtime/src/utils/getFallbackModelProperty.ts | 23 | // Step 1: If providerId is provided, prioritize an exact match (same provider + same id) |
| LOW | …es/model-runtime/src/utils/getFallbackModelProperty.ts | 32 | // Step 2: Fallback to a match ignoring the provider (match id only) |
| LOW | …es/model-runtime/src/utils/getFallbackModelProperty.ts | 39 | // Step 3: Return a default value |
| LOW | packages/eval-rubric/src/evaluate.ts | 75 | // Step 1: Extract answer if extractor is configured |
| LOW | packages/eval-rubric/src/evaluate.ts | 79 | // Step 2: Resolve expected value |
| LOW | packages/eval-rubric/src/evaluate.ts | 82 | // Step 3: Handle multi-candidate (JSON array string in expected) |
| LOW | packages/chat-adapter-wechat/src/api.ts | 215 | // Step 1: request upload_param |
| LOW | packages/chat-adapter-wechat/src/api.test.ts | 282 | // Step 1: getuploadurl response |
| LOW | packages/chat-adapter-wechat/src/api.test.ts | 284 | // Step 2: CDN upload — returns x-encrypted-param header |
| LOW | …s/heterogeneous-agents/src/adapters/claudeCode.test.ts | 2296 | // Step 0: Monitor tool_use |
| LOW | …s/heterogeneous-agents/src/adapters/claudeCode.test.ts | 2313 | // Step 1: natural confirmation turn — opens AFTER the user event, |
| LOW | …s/heterogeneous-agents/src/adapters/claudeCode.test.ts | 2319 | // Step 2: Monitor pushed an event → CC re-invokes the LLM without |
| LOW | packages/builtin-skills/src/find-skills/content.ts | 31 | ### Step 1: Understand What They Need |
| LOW | packages/builtin-skills/src/find-skills/content.ts | 39 | ### Step 2: Search for Skills |
| LOW | packages/builtin-skills/src/find-skills/content.ts | 62 | ### Step 3: Present Options to the User |
| LOW | packages/builtin-skills/src/find-skills/content.ts | 82 | ### Step 4: Offer to Install |
| LOW | …/builtin-skills/src/lobehub/references/bot-telegram.ts | 16 | ### Step 1: Create a Bot via BotFather |
| LOW | …/builtin-skills/src/lobehub/references/bot-telegram.ts | 26 | ### Step 2: (Optional) Configure Bot Behavior |
| LOW | …/builtin-skills/src/lobehub/references/bot-telegram.ts | 36 | ### Step 3: Get the Bot's Numeric ID (for --app-id) |
| LOW | …/builtin-skills/src/lobehub/references/bot-telegram.ts | 42 | ### Step 4: Connect via CLI |
| LOW | …s/builtin-skills/src/lobehub/references/bot-discord.ts | 17 | ### Step 1: Create a Discord Application |
| LOW | …s/builtin-skills/src/lobehub/references/bot-discord.ts | 26 | ### Step 2: Create the Bot and Get Token |
| LOW | …s/builtin-skills/src/lobehub/references/bot-discord.ts | 36 | ### Step 3: Set Bot Permissions and Invite to Server |
| LOW | …s/builtin-skills/src/lobehub/references/bot-discord.ts | 50 | ### Step 4: Connect via CLI |
| LOW | …ckages/builtin-skills/src/lobehub/references/bot-qq.ts | 26 | ### Step 1: Register as a Developer |
| LOW | …ckages/builtin-skills/src/lobehub/references/bot-qq.ts | 35 | ### Step 2: Create a Bot Application |
| LOW | …ckages/builtin-skills/src/lobehub/references/bot-qq.ts | 45 | ### Step 3: Get App ID and App Secret |
| LOW | …ckages/builtin-skills/src/lobehub/references/bot-qq.ts | 53 | ### Step 4: Configure Permissions (Intents) |
| LOW | …ckages/builtin-skills/src/lobehub/references/bot-qq.ts | 67 | ### Step 5: Configure Webhook or WebSocket |
| LOW | …ckages/builtin-skills/src/lobehub/references/bot-qq.ts | 80 | ### Step 6: Configure IP Whitelist |
| LOW | …ckages/builtin-skills/src/lobehub/references/bot-qq.ts | 86 | ### Step 7: Test in Sandbox, Then Submit for Review |
| LOW | …ckages/builtin-skills/src/lobehub/references/bot-qq.ts | 94 | ### Step 8: Connect via CLI |
| LOW | …ages/builtin-skills/src/lobehub/references/bot-lark.ts | 23 | ### Step 1: Create a Custom App |
| LOW | …ages/builtin-skills/src/lobehub/references/bot-lark.ts | 30 | ### Step 2: Get App ID and App Secret |
| LOW | …ages/builtin-skills/src/lobehub/references/bot-lark.ts | 37 | ### Step 3: Enable Bot Capability |
| LOW | …ages/builtin-skills/src/lobehub/references/bot-lark.ts | 43 | ### Step 4: Configure Event Subscriptions |
| LOW | …ages/builtin-skills/src/lobehub/references/bot-lark.ts | 61 | ### Step 5: Get Verification Token and Encrypt Key (Webhook Only) |
| LOW | …ages/builtin-skills/src/lobehub/references/bot-lark.ts | 68 | ### Step 6: Add Required Permissions |
| LOW | …ages/builtin-skills/src/lobehub/references/bot-lark.ts | 75 | ### Step 7: Publish the App |
| LOW | …ages/builtin-skills/src/lobehub/references/bot-lark.ts | 83 | ### Step 8: Connect via CLI |
| LOW | …es/builtin-skills/src/lobehub/references/bot-feishu.ts | 23 | ### Step 1: Create a Custom App |
| LOW | …es/builtin-skills/src/lobehub/references/bot-feishu.ts | 30 | ### Step 2: Get App ID and App Secret |
| LOW | …es/builtin-skills/src/lobehub/references/bot-feishu.ts | 37 | ### Step 3: Enable Bot Capability |
| LOW | …es/builtin-skills/src/lobehub/references/bot-feishu.ts | 43 | ### Step 4: Configure Event Subscriptions |
| LOW | …es/builtin-skills/src/lobehub/references/bot-feishu.ts | 62 | ### Step 5: Get Verification Token and Encrypt Key (Webhook Only) |
| LOW | …es/builtin-skills/src/lobehub/references/bot-feishu.ts | 69 | ### Step 6: Add Required Permissions |
| 118 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .agents/skills/local-testing/scripts/electron-dev.sh | 1 | #!/usr/bin/env bash |
| LOW | …s/skills/local-testing/scripts/record-electron-demo.sh | 1 | #!/usr/bin/env bash |
| LOW | …ents/skills/local-testing/scripts/record-app-screen.sh | 1 | #!/usr/bin/env bash |
| LOW | …ents/skills/local-testing/scripts/record-app-screen.sh | 21 | # |
| LOW | …/local-testing/scripts/agent-gateway/analyze-events.ts | 1 | // Analyzer for probe-events dumps. Reads a JSON file produced by `run.ts dump` |
| LOW | …ills/local-testing/scripts/agent-gateway/tab-switch.js | 1 | // Run N round-trip tab switches with event markers timed against the probe. |
| LOW | …ls/local-testing/scripts/agent-gateway/probe-events.ts | 1 | // LobeHub gateway raw-event-stream probe. |
| LOW | …ents/skills/local-testing/scripts/agent-gateway/run.ts | 1 | // CLI for the agent-gateway probe. |
| LOW | …ts/skills/local-testing/scripts/agent-gateway/probe.js | 1 | // LobeHub chat streaming time-series probe. |
| LOW | .agents/skills/local-testing/bot/capture-app-window.sh | 1 | #!/usr/bin/env bash |
| LOW | …s/skills/local-testing/bot/discord/test-discord-bot.sh | 1 | #!/usr/bin/env bash |
| LOW | .agents/skills/local-testing/bot/lark/test-lark-bot.sh | 1 | #!/usr/bin/env bash |
| LOW | …nts/skills/local-testing/bot/wechat/test-wechat-bot.sh | 1 | #!/usr/bin/env bash |
| LOW | …skills/local-testing/bot/telegram/test-telegram-bot.sh | 1 | #!/usr/bin/env bash |
| LOW | …gents/skills/local-testing/bot/slack/test-slack-bot.sh | 1 | #!/usr/bin/env bash |
| LOW | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 1 | #!/usr/bin/env bash |
| LOW | …kills/local-testing/bot/imessage/send-imessage-test.sh | 1 | #!/usr/bin/env bash |
| LOW | .agents/skills/local-testing/bot/qq/test-qq-bot.sh | 1 | #!/usr/bin/env bash |
| LOW | …s/database/src/repositories/dataExporter/index.test.ts | 221 | expect(result.agentsToSessions).toHaveLength(1); |
| LOW | …ckages/database/src/repositories/dataExporter/index.ts | 21 | } |
| LOW | …ckages/database/src/repositories/dataExporter/index.ts | 41 | // { table: 'filesToSessions' }, |
| LOW | …ckages/database/src/repositories/dataImporter/index.ts | 241 | // conflictStrategy: 'skip', |
| LOW | packages/database/src/models/topic.ts | 141 | withDetails, |
| LOW | packages/database/src/models/userMemory/model.ts | 961 | // PGlite-based tests do not provide ParadeDB `pg_search`, so BM25 `@@@` |
| LOW | …odels/__tests__/messages/queryWithMessageGroup.test.ts | 321 | // { |
| LOW | packages/conversation-flow/src/parse.ts | 121 | // Transform supervisor messages in flatList |
| LOW | packages/tool-runtime/src/ComputerRuntime.ts | 461 | // ==================== Helpers ==================== |
| LOW | packages/model-runtime/src/errors/patterns.ts | 1001 | // ───────────────────────────────────────────────────────────────────────── |
| LOW | packages/business/config/src/server/route.ts | 1 | // set timeout to about 5 minutes, and give 2s padding time |
| LOW | packages/openapi/scripts/compliance-test.sh | 1 | #!/usr/bin/env bash |
| LOW | …s/heterogeneous-agents/src/adapters/claudeCode.test.ts | 1461 | |
| LOW | …ckages/heterogeneous-agents/src/adapters/claudeCode.ts | 721 | // Any main-agent tool_use means the LLM has acted again — the |
| LOW | …ckages/heterogeneous-agents/src/adapters/claudeCode.ts | 1001 | // Synthesize pluginState for tools whose input IS (or, for Task*, |
| LOW | …builtin-tool-claude-code/src/client/Inspector/Task.tsx | 201 | ); |
| LOW | packages/file-loaders/src/loaders/index.ts | 1 | import type { FileLoaderInterface, SupportedFileType } from '../types'; |
| LOW | packages/builtin-tool-group-management/src/manifest.ts | 61 | required: ['agentIds'], |
| LOW | packages/builtin-tool-group-management/src/manifest.ts | 181 | // name: GroupManagementApiName.interrupt, |
| LOW | packages/builtin-tool-group-management/src/manifest.ts | 201 | // focus: { |
| LOW | packages/builtin-tool-group-management/src/manifest.ts | 221 | // 'Define a multi-agent collaboration workflow. Creates a structured sequence of agent interactions for complex |
| LOW | packages/builtin-tool-group-management/src/manifest.ts | 241 | // waitForCompletion: { |
| LOW | packages/model-bank/src/aiModels/nebius.ts | 61 | // contextWindowTokens: 40_960, |
| LOW | …s/context-engine/src/engine/messages/MessagesEngine.ts | 221 | // ============================================= |
| LOW | .github/workflows/release-desktop-stable.yml | 1 | name: Release Desktop Stable |
| LOW | .github/workflows/release-desktop-canary.yml | 1 | name: Release Desktop Canary |
| LOW | .conductor/setup.sh | 41 | |
| LOW | .conductor/setup.sh | 61 | # parent_dir=$(dirname "$rel_path") |
| LOW | docker-compose/setup.sh | 1 | #!/bin/bash |
| LOW | docker-compose/deploy/searxng-settings.yml | 21 | new_issue_url: https://github.com/searxng/searxng/issues/new |
| LOW | docker-compose/deploy/searxng-settings.yml | 41 | autocomplete_min: 4 |
| LOW | docker-compose/deploy/searxng-settings.yml | 121 | static_use_hash: false |
| LOW | docker-compose/deploy/searxng-settings.yml | 141 | # style of simple theme: auto, light, dark |
| LOW | docker-compose/deploy/searxng-settings.yml | 161 | # - doi_resolver |
| LOW | docker-compose/deploy/searxng-settings.yml | 181 | # proxify_results: true |
| LOW | docker-compose/deploy/searxng-settings.yml | 201 | # see https://www.python-httpx.org/advanced/#changing-the-verification-defaults |
| LOW | docker-compose/deploy/searxng-settings.yml | 221 | # uncomment below section only if you have more than one network interface |
| LOW | docker-compose/deploy/searxng-settings.yml | 241 | # # these plugins are enabled if nothing is configured .. |
| LOW | docker-compose/deploy/searxng-settings.yml | 261 | # '(www\.)?twitter\.com$': 'nitter.example.com' |
| LOW | docker-compose/deploy/searxng-settings.yml | 281 | off_when_debug: true |
| LOW | docker-compose/deploy/searxng-settings.yml | 1241 | # - name: meilisearch |
| LOW | docker-compose/deploy/searxng-settings.yml | 1481 | # Proxies from public instances. Ask the public instances owners if they |
| 112 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | plugins/vite/routeChunkPreload.ts | 298 | function normalizeComparableModuleId(id: string, root = '') { |
| LOW | plugins/vite/routeChunkPreload.ts | 347 | function createRoutePreloadManifest( |
| LOW | plugins/vite/routeChunkPreload.ts | 400 | function createAllJsWarmupManifest(bundle: OutputBundleLike) { |
| LOW | plugins/vite/routeChunkPreload.ts | 408 | function collectExistingHtmlAssets(html: string, base: string) { |
| LOW | plugins/vite/routeChunkPreload.ts | 428 | function removeSmallModulepreloadsFromHtml( |
| LOW | plugins/vite/routeChunkPreload.ts | 443 | function injectRouteModulepreloadsIntoHtml( |
| LOW | plugins/vite/routeChunkPreload.ts | 511 | function injectIdleWarmupScriptIntoHtml( |
| LOW | plugins/vite/markdownImport.ts | 15 | function matchesMarkdownImportQuery(id: string) { |
| LOW | …ents/skills/local-testing/scripts/agent-gateway/run.ts | 95 | function unquoteAgentBrowserResult(raw: string): string { |
| LOW | scripts/releaseWorkflow/index.ts | 58 | async function selectVersionTypeInteractive(): Promise<VersionType> { |
| LOW | scripts/clerk-to-betterauth/verify.ts | 105 | async function loadActualTwoFactorUserIds() { |
| LOW | scripts/i18nWorkflow/cleanUnusedKeys.ts | 241 | function generateTypeScriptContent(obj: any): string { |
| LOW | …ges/database/src/models/__tests__/userMemories.test.ts | 80 | function generateRandomCreateUserMemoryParams( |
| LOW | …ges/database/src/models/__tests__/userMemories.test.ts | 94 | function generateRandomCreateUserMemoryExperienceParams() { |
| LOW | …ges/database/src/models/__tests__/userMemories.test.ts | 115 | function generateRandomCreateUserMemoryIdentityParams() { |
| LOW | …ges/database/src/models/__tests__/userMemories.test.ts | 134 | function generateRandomCreateUserMemoryContextParams() { |
| LOW | …ges/database/src/models/__tests__/userMemories.test.ts | 156 | function generateRandomCreateUserMemoryPreferenceParams() { |
| LOW | packages/chat-adapter-imessage/src/adapter.ts | 65 | export function extractAttachmentMetadata(message: BlueBubblesMessage): Attachment[] { |
| LOW | …/model-runtime/src/core/contextBuilders/huggingface.ts | 9 | export function convertOpenAIMessagesToHFFormat(messages: OpenAIChatMessage[]): Array<{ |
| LOW | packages/model-runtime/src/core/streams/spark.ts | 18 | export function transformSparkResponseToStream(data: OpenAI.ChatCompletion) { |
| LOW | packages/model-runtime/src/core/streams/protocol.ts | 364 | export function createCallbacksTransformer(cb: ChatStreamCallbacks | undefined) { |
| LOW | …ime/src/core/usageConverters/utils/estimateChatCost.ts | 97 | export function estimateOpenAIChatInputTokens( |
| LOW | …ime/src/core/usageConverters/utils/estimateChatCost.ts | 160 | export function estimateChatCostFromTokens( |
| LOW | …ime/src/core/usageConverters/utils/estimateChatCost.ts | 215 | export function estimateChatCostFromMessages( |
| LOW | …untime/src/core/openaiCompatibleFactory/createVideo.ts | 40 | export async function queryOpenAICompatibleVideoStatus( |
| LOW | …untime/src/core/openaiCompatibleFactory/createVideo.ts | 71 | export async function pollOpenAICompatibleVideoStatus( |
| LOW | …untime/src/core/openaiCompatibleFactory/createVideo.ts | 125 | export async function createOpenAICompatibleVideo( |
| LOW | …untime/src/core/openaiCompatibleFactory/createImage.ts | 231 | export async function createOpenAICompatibleImage( |
| LOW | …ckages/model-runtime/src/providers/cloudflare/index.ts | 34 | function extractProviderErrorMessage(err: unknown): string | undefined { |
| LOW | …providers/volcengine/video/handleCreateVideoWebhook.ts | 28 | export async function handleVolcengineVideoWebhook( |
| LOW | …ckages/model-runtime/src/providers/qwen/createImage.ts | 54 | function extractImageUrlFromTaskResult(taskStatus: QwenImageTaskResponse): string | undefined { |
| LOW | …ckages/model-runtime/src/providers/qwen/createImage.ts | 69 | async function createLegacySynthesisTask( |
| LOW | …ckages/model-runtime/src/providers/qwen/createImage.ts | 145 | async function createHTTPAsyncGenerationTask( |
| LOW | …odel-runtime/src/providers/siliconcloud/createVideo.ts | 30 | export async function querySiliconCloudVideoStatus( |
| LOW | …odel-runtime/src/providers/siliconcloud/createVideo.ts | 61 | export async function pollSiliconCloudVideoStatus( |
| LOW | packages/model-runtime/src/utils/googleErrorParser.ts | 39 | export function extractStatusCodeFromError(message: string): { |
| LOW | packages/chat-adapter-wechat/src/adapter.ts | 174 | export async function downloadMediaFromRawMessage( |
| LOW | packages/utils/src/pricing.ts | 98 | export function getCachedTextInputUnitRate(pricing?: Pricing): number | undefined { |
| LOW | packages/utils/src/pricing.ts | 105 | export function getWriteCacheInputUnitRate(pricing?: Pricing): number | undefined { |
| LOW | packages/utils/src/pricing.ts | 112 | export function getCachedAudioInputUnitRate(pricing?: Pricing): number | undefined { |
| LOW | packages/utils/src/url.ts | 109 | export function inferContentTypeFromImageUrl(url: string) { |
| LOW | packages/utils/src/url.ts | 142 | export function isDesktopLocalStaticServerUrl(url: string) { |
| LOW | packages/utils/src/number.ts | 31 | export function calculateThumbnailDimensions( |
| LOW | packages/agent-signal/src/source/sourceTypes.ts | 378 | export function isClientRuntimeStartSource( |
| LOW | packages/agent-signal/src/source/sourceTypes.ts | 381 | export function isClientRuntimeStartSource( |
| LOW | packages/agent-signal/src/source/sourceTypes.ts | 384 | export function isClientRuntimeStartSource( |
| LOW | packages/openapi/src/helpers/pagination.ts | 10 | export function processPaginationConditions(request: Record<string, any> & IPaginationQuery): { |
| LOW | packages/observability-otel/src/trpc/index.ts | 21 | export function tRPCConventionFromPathAndType(path: string, type: string): Attributes { |
| LOW | packages/agent-tracing/src/utils/reconstruct.ts | 47 | export function reconstructToolsetBaseline(steps: StepSnapshot[]): any | undefined { |
| LOW | packages/agent-tracing/src/utils/reconstruct.ts | 55 | export function reconstructActivatedStepTools( |
| LOW | packages/model-bank/src/standard-parameters/video.ts | 196 | export function validateVideoModelParamsSchema( |
| LOW | packages/model-bank/src/standard-parameters/video.ts | 205 | export function extractVideoDefaultValues(paramsSchema: VideoModelParamsSchema) { |
| LOW | packages/model-bank/src/standard-parameters/index.ts | 272 | export function validateModelParamsSchema(paramsSchema: unknown): ModelParamsOutputSchema { |
| LOW | packages/agent-templates/src/templates/index.ts | 60 | export function getDocumentTemplatesByTags(tags: string[]): DocumentTemplateSet[] { |
| LOW | packages/chat-adapter-feishu/src/adapter.ts | 168 | export async function downloadMediaFromRawMessage( |
| LOW | packages/context-engine/src/engine/tools/utils.ts | 38 | export function generateToolsFromManifest(manifest: LobeToolManifest): UniformTool[] { |
| LOW | .github/scripts/auto-close-duplicates.ts | 54 | function extractDuplicateIssueNumber(commentBody: string): number | null { |
| LOW | e2e/src/steps/page/editor-meta.steps.ts | 12 | async function waitForPageWorkspaceReady(world: CustomWorld): Promise<void> { |
| LOW | e2e/src/steps/page/page-crud.steps.ts | 96 | async function waitForPageWorkspaceReady(world: CustomWorld): Promise<void> { |
| LOW | e2e/src/steps/agent/scroll.steps.ts | 78 | async function waitForAssistantMessageToSettle( |
| 62 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | packages/agent-runtime/src/core/runtime.ts | 749 | result.newState.usage.tools.byTool.forEach((toolStats) => { |
| CRITICAL | packages/agent-runtime/src/core/runtime.ts | 767 | result.newState.cost.tools.byTool.forEach((toolCost) => { |
| CRITICAL | …kages/agent-runtime/src/core/__tests__/runtime.test.ts | 2194 | const analyticsTool = result.newState.usage.tools.byTool.find( |
| CRITICAL | …kages/agent-runtime/src/core/__tests__/runtime.test.ts | 2197 | const loggingTool = result.newState.usage.tools.byTool.find((t) => t.name === 'logging_tool'); |
| CRITICAL | …esktop/src/main/core/browser/__tests__/Browser.test.ts | 708 | willPreventUnloadHandler = mockBrowserWindow.webContents.on.mock.calls.find( |
| CRITICAL | …desktop/src/main/controllers/__tests__/AuthCtr.test.ts | 687 | const successCall = mockWindow.webContents.send.mock.calls.find( |
| CRITICAL | apps/cli/src/commands/migrate/openclaw.test.ts | 267 | const filenames = mockTrpcClient.agentDocument.upsertDocument.mutate.mock.calls.map( |
| CRITICAL | …odules/AgentRuntime/__tests__/RuntimeExecutors.test.ts | 2951 | const searchTool = result.newState.usage.tools.byTool.find( |
| CRITICAL | …odules/AgentRuntime/__tests__/RuntimeExecutors.test.ts | 2954 | const crawlTool = result.newState.usage.tools.byTool.find( |
| CRITICAL | …/HeterogeneousPersistenceHandler.eventBranches.test.ts | 235 | const newAssistantCall = h.messageModel.create.mock.calls.find( |
| CRITICAL | …gents/__tests__/createAgentExecutors/call-tool.test.ts | 1069 | const toolUsage = result.newState.usage.tools.byTool.find( |
| CRITICAL | …gents/__tests__/createAgentExecutors/call-tool.test.ts | 1099 | const toolUsage = result.newState.usage.tools.byTool.find( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .agents/skills/local-testing/SKILL.md | 43 | agent-browser fill @e1 "user@example.com" |
| LOW | …ages/database/src/server/models/__tests__/user.test.ts | 19 | const userEmail = 'user@example.com'; |
| LOW | …database/src/models/userMemory/__tests__/model.test.ts | 300 | { address: '123 Main St', name: 'Home', type: 'residential' }, |
| LOW | …database/src/models/userMemory/__tests__/model.test.ts | 304 | address: '123 Main St', |
| LOW | packages/model-runtime/src/core/ModelRuntime.test.ts | 223 | const mockResponse = { name: 'John Doe' }; |
| LOW | packages/utils/src/storeDebug.test.ts | 101 | name: 'John Doe', |
| LOW | packages/builtin-skills/src/agent-browser/content.ts | 23 | agent-browser fill @e1 "user@example.com" |
| LOW | packages/builtin-skills/src/agent-browser/content.ts | 39 | agent-browser fill @e1 "user@example.com" && agent-browser fill @e2 "your-password" && agent-browser click @e3 |
| LOW | packages/prompts/src/prompts/speaker/index.ts | 17 | * nickname: 'John Doe', |
| LOW | packages/prompts/src/prompts/speaker/index.ts | 20 | * // Returns: '<speaker id="123456" username="john" nickname="John Doe" avatar="abc123" />' |
| LOW | packages/prompts/src/prompts/speaker/index.ts | 39 | * { id: '123456', username: 'john', nickname: 'John Doe' }, |
| LOW | packages/prompts/src/prompts/speaker/index.ts | 43 | * // '<speaker id="123456" username="john" nickname="John Doe" />\nHello, how are you?' |
| LOW | …rc/prompts/knowledgeBaseQA/formatSearchResults.test.ts | 88 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore e |
| LOW | …rc/prompts/knowledgeBaseQA/formatSearchResults.test.ts | 88 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore e |
| LOW | …src/prompts/knowledgeBaseQA/formatFileContents.test.ts | 103 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq |
| LOW | …src/prompts/knowledgeBaseQA/formatFileContents.test.ts | 103 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq |
| LOW | docker-compose/production/grafana/init_data.json | 1538 | "email": "admin@example.com", |
| LOW | apps/cli/src/commands/botMessengers.test.ts | 90 | tenantName: 'Acme Corp', |
| LOW | apps/cli/src/commands/botMessengers.test.ts | 97 | expect(out).toContain('Acme Corp'); |
| LOW | apps/cli/src/commands/botMessengers.test.ts | 128 | tenantName: 'Acme Corp', |
| LOW | apps/cli/src/commands/botMessengers.test.ts | 135 | expect(out).toContain('Acme Corp'); |
| LOW | apps/cli/src/commands/user.test.ts | 167 | await program.parseAsync(['node', 'test', 'user', 'update-name', '--full-name', 'John Doe']); |
| LOW | apps/cli/src/commands/user.test.ts | 169 | expect(mockTrpcClient.user.updateFullName.mutate).toHaveBeenCalledWith('John Doe'); |
| LOW | src/app/(backend)/api/auth/[...all]/route.test.ts | 41 | createPostRequest('{"email":"user@example.com","password":"secret",}'), |
| LOW | src/app/(backend)/api/auth/[...all]/route.test.ts | 58 | createPostRequest(JSON.stringify({ email: 'user@example.com', password: 'secret' })), |
| LOW | src/app/(backend)/api/auth/[...all]/route.test.ts | 62 | email: 'user@example.com', |
| LOW | …p/(backend)/api/webhooks/logto/__tests__/route.test.ts | 52 | primaryEmail: 'user@example.com', |
| LOW | src/app/[variants]/(auth)/signin/useSignIn.test.ts | 156 | await result.current.handleCheckUser({ email: 'user@example.com' }); |
| LOW | src/app/[variants]/(auth)/signin/useSignIn.test.ts | 160 | expect(result.current.email).toBe('user@example.com'); |
| LOW | src/app/[variants]/(auth)/signin/useSignIn.test.ts | 231 | await result.current.handleCheckUser({ email: 'user@example.com' }); |
| LOW | src/app/[variants]/(auth)/signin/useSignIn.test.ts | 240 | email: 'user@example.com', |
| LOW | src/app/[variants]/(auth)/signin/useSignIn.test.ts | 261 | await result.current.handleCheckUser({ email: 'user@example.com' }); |
| LOW | src/app/[variants]/(auth)/signin/useSignIn.test.ts | 285 | await result.current.handleCheckUser({ email: 'user@example.com' }); |
| LOW | src/app/[variants]/(auth)/signin/useSignIn.test.ts | 397 | await result.current.handleCheckUser({ email: 'user@example.com' }); |
| LOW | src/app/[variants]/(auth)/signin/useSignIn.test.ts | 425 | await result.current.handleCheckUser({ email: 'user@example.com' }); |
| LOW | src/app/[variants]/(auth)/signin/useSignIn.test.ts | 433 | expect.objectContaining({ email: 'user@example.com' }), |
| LOW | …hono/handlers/__tests__/messengerOAuthCallback.test.ts | 89 | team: { id: 'T_ACME', name: 'Acme Inc' }, |
| LOW | …hono/handlers/__tests__/messengerOAuthCallback.test.ts | 191 | tenantName: 'Acme Inc', |
| LOW | …hono/handlers/__tests__/messengerOAuthCallback.test.ts | 262 | expect(loc.searchParams.get('workspace')).toBe('Acme Inc'); |
| LOW | src/server/services/skill/parser.test.ts | 66 | name: 'John Doe', |
| LOW | src/server/services/messenger/linkTokenStore.ts | 28 | * Human-readable workspace / tenant name (e.g. `"Acme Inc"`) so the |
| LOW | src/server/services/messenger/linkTokenStore.test.ts | 57 | tenantName: 'Acme Inc', |
| LOW | src/server/services/messenger/linkTokenStore.test.ts | 67 | tenantName: 'Acme Inc', |
| LOW | …rver/services/messenger/platforms/slack/binder.test.ts | 33 | metadata: { tenantName: 'Acme Inc' }, |
| LOW | …rver/services/messenger/platforms/slack/binder.test.ts | 95 | tenantName: 'Acme Inc', |
| LOW | …c/server/services/bot/platforms/slack/protocol-spec.md | 1109 | "real_name": "John Doe", |
| LOW | …c/server/services/bot/platforms/slack/protocol-spec.md | 1117 | "real_name": "John Doe", |
| LOW | …c/server/services/bot/platforms/slack/protocol-spec.md | 1119 | "real_name_normalized": "John Doe", |
| LOW | src/server/services/market/index.test.ts | 237 | email: 'user@example.com', |
| LOW | src/server/services/market/index.test.ts | 244 | email: 'user@example.com', |
| LOW | src/server/services/email/README.md | 27 | to: 'user@example.com', |
| LOW | src/server/services/email/README.md | 50 | to: 'user@example.com', |
| LOW | src/server/services/email/README.md | 68 | to: 'user@example.com', |
| LOW | src/utils/markdownToTxt.test.ts | 129 | const longMarkdown = '# Title\n\n' + 'Lorem ipsum '.repeat(1000); |
| LOW | src/utils/markdownToTxt.test.ts | 132 | expect(result).toContain('Lorem ipsum'); |
| LOW | src/libs/better-auth/plugins/email-whitelist.test.ts | 39 | expect(isEmailAllowed('user@example.com')).toBe(true); |
| LOW | src/libs/better-auth/plugins/email-whitelist.test.ts | 96 | expect(isEmailAllowed('user@example.com')).toBe(true); |
| LOW | src/libs/better-auth/plugins/email-whitelist.test.ts | 103 | expect(isEmailAllowed('user@example.com')).toBe(true); |
| LOW | src/services/user/index.test.ts | 93 | await userService.updateFullName('John Doe'); |
| LOW | src/services/user/index.test.ts | 95 | expect(mockLambdaClient.user.updateFullName.mutate).toHaveBeenCalledWith('John Doe'); |
| 5 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | docker-compose/deploy/searxng-settings.yml | 269 | # Alternatively you can use external files for configuring the "Hostnames plugin": |
| MEDIUM | docker-compose/deploy/searxng-settings.yml | 857 | # Or you can use the html non-stable engine, activated by default |
| MEDIUM | docker-compose/deploy/searxng-settings.yml | 1942 | # Or you can use the html non-stable engine, activated by default |
| MEDIUM | docker-compose/deploy/searxng-settings.yml | 2106 | # Or you can use the html non-stable engine, activated by default |
| MEDIUM | docker-compose/production/grafana/searxng-settings.yml | 269 | # Alternatively you can use external files for configuring the "Hostnames plugin": |
| MEDIUM | docker-compose/production/grafana/searxng-settings.yml | 857 | # Or you can use the html non-stable engine, activated by default |
| MEDIUM | docker-compose/production/grafana/searxng-settings.yml | 1942 | # Or you can use the html non-stable engine, activated by default |
| MEDIUM | docker-compose/production/grafana/searxng-settings.yml | 2106 | # Or you can use the html non-stable engine, activated by default |
| MEDIUM | docker-compose/dev/searxng-settings.yml | 269 | # Alternatively you can use external files for configuring the "Hostnames plugin": |
| MEDIUM | docker-compose/dev/searxng-settings.yml | 857 | # Or you can use the html non-stable engine, activated by default |
| MEDIUM | docker-compose/dev/searxng-settings.yml | 1943 | # Or you can use the html non-stable engine, activated by default |
| MEDIUM | docker-compose/dev/searxng-settings.yml | 2107 | # Or you can use the html non-stable engine, activated by default |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .agents/skills/local-testing/scripts/electron-dev.sh | 5 | # Usage: |
| LOW | …s/skills/local-testing/scripts/record-electron-demo.sh | 5 | # Usage: |
| LOW | …ents/skills/local-testing/scripts/record-app-screen.sh | 8 | # Usage: |
| LOW | .agents/skills/local-testing/bot/capture-app-window.sh | 9 | # Usage: |
| LOW | …s/skills/local-testing/bot/discord/test-discord-bot.sh | 5 | # Usage: |
| LOW | .agents/skills/local-testing/bot/lark/test-lark-bot.sh | 5 | # Usage: |
| LOW | …nts/skills/local-testing/bot/wechat/test-wechat-bot.sh | 5 | # Usage: |
| LOW | …skills/local-testing/bot/telegram/test-telegram-bot.sh | 5 | # Usage: |
| LOW | …gents/skills/local-testing/bot/slack/test-slack-bot.sh | 5 | # Usage: |
| LOW | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 15 | # Usage: |
| LOW | …kills/local-testing/bot/imessage/send-imessage-test.sh | 16 | # Usage: |
| LOW | .agents/skills/local-testing/bot/qq/test-qq-bot.sh | 5 | # Usage: |
| LOW | packages/openapi/scripts/compliance-test.sh | 5 | # Usage: |
| LOW | packages/builtin-skills/src/artifacts/content.ts | 154 | # Example usage |
| LOW | docker-compose/setup.sh | 452 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ntime/src/providers/anthropic/claudeThinkingHistory.ts | 14 | * Determine whether a historical assistant message was generated by Claude and |
| HIGH | src/server/services/agent/index.ts | 133 | // Merge AI-generated welcome data if available |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .agents/skills/local-testing/scripts/electron-dev.sh | 8 | # ./electron-dev.sh status # Check if Electron is running and CDP is reachable |
| LOW | packages/builtin-skills/src/agent-browser/content.ts | 216 | agent-browser dialog status # Check if a dialog is currently open |
| LOW | packages/builtin-skills/src/agent-browser/content.ts | 598 | # Check if a dialog is blocking |
| LOW | .github/workflows/sync-main-to-canary.yaml | 43 | # Check if there are actual changes to sync |
| LOW | .conductor/setup.sh | 20 | # Check if CONDUCTOR_ROOT_PATH is set |
| LOW | docker-compose/setup.sh | 566 | # Check if sed is installed |
| LOW | docker-compose/setup.sh | 615 | # Check if env modified success |
| LOW | docker-compose/setup.sh | 633 | # Check if openssl is installed |
| LOW | docker-compose/setup.sh | 717 | # Check if user has permissions to run Docker by trying to get the status of Docker (docker status). |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/openapi/src/helpers/file.ts | 52 | // Prefer formidable (streaming, robust); fall back to native formData() on failure |
| MEDIUM | packages/ssrf-safe-fetch/index.test.ts | 402 | // that triggered the break). Definitely not the full 200 MB. |
| MEDIUM | …ules/AgentRuntime/__tests__/StreamEventManager.test.ts | 133 | // Find the serialized `data` argument inline so this test stays robust |
| MEDIUM | src/routes/(main)/home/_layout/style.ts | 4 | // Absolutely positioned container, fills parent |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/builtin-skills/src/lobehub/content.ts | 78 | # Create a document in a knowledge base |
| MEDIUM | .github/workflows/bundle-analyzer.yml | 72 | # Create a summary with build metadata |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | packages/builtin-skills/src/artifacts/content.ts | 155 | print(factorial(5)) # Output: 120 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …/PluginDevModal/MCPManifestForm/QuickImportSection.tsx | 129 | "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-api-key>" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …lls/local-testing/bot/imessage/test-imessage-bridge.sh | 56 | except Exception: sys.exit(0) |
| LOW | …kills/local-testing/bot/imessage/send-imessage-test.sh | 48 | except Exception as e: |