Lines 1-22javascript
1import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2import { useCallback, useEffect, useMemo, useRef, useState } from "react";
3import { spawn } from "node:child_process";
4import { Box, Static, Text, useApp, useInput } from "ink";
HighChild Process
Package source references child process execution.
dist/screens/Investigation.jsView on unpkg · L2 5import { useWindowSize } from "../lib/ink-compat.js";
6import { isPasteLikeInput, normalizeIntentionalNewline, PASTE_BURST_WINDOW_MS, summarizePastedInput } from "../lib/paste-input.js";
7import { colors } from "../theme.js";
8import { StepSection, PromptedInput, SlashMenu, StatusLine, useSlashMenu, KeyHints, } from "../components/index.js";
9import { loadLiteConfig } from "../lib/config.js";
10import { loadLiteCredentials } from "../lib/credentials.js";
11import { saveHistory, clearHistory, loadHistory } from "../lib/history.js";
12import { getRepoMetadata } from "../lib/repo.js";
13import { detectLiteTools } from "../lib/tool-detect.js";
14import { getActiveGcpProject } from "../lib/gcp-discover.js";
15import { scanRepo, buildToolSuggestions } from "../lib/repo-scan.js";
16import { offsetToLineCol, prevWordOffset, nextWordOffset, moveCursorLine } from "../components/PromptedInput.js";
17import { TOOL_GCP_OBSERVABILITY } from "../lib/tool-ids.js";
18import { useCommandHistory } from "../components/hooks/useCommandHistory.js";
19import { useLiteSession } from "../components/hooks/useLiteSession.js";
20import { useMockSession } from "../components/hooks/useMockSession.js";
21import { SystemArchBanner, SystemArchOverlay, SymbolsMenu, MentionCards, useSymbolsMenu } from "../components/index.js";
22import { buildArchRows, buildMentionsSuffix, extractMentionedComponents } from "../lib/system-arch.js";