Lines 1-26javascript
1import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2import { useState, useEffect, useRef } from "react";
3import { Box, Text, useApp, useInput } from "ink";
4import { homedir } from "node:os";
5import { join } from "node:path";
6import { mkdirSync } from "node:fs";
7import { exec } from "node:child_process";
8import { InputBox, Menu, Spinner, StatusBar, Header, Picker } from "./components.js";
HighChild Process
Package source references child process execution.
dist/ink/App.jsView on unpkg · L6 9import { theme } from "./theme.js";
10import { loadProfile, saveProfile, getAccount, saveDraft } from "../store.js";
11import { QUESTIONS, synthesizeProfile, summarizeAttachment, tuneSitemap, tunePersonas, tuneServices, tuneVoice } from "../onboarding/setup.js";
12import { isProfileComplete } from "../onboarding/schema.js";
13import { generateArticle, generateGuide, reviseArticle, AI_THRESHOLD, MAX_REVISES } from "../pipeline.js";
14import { ideate, targetedBrief } from "../plan/targeting.js";
15import { keywordContext, keywordSignals, strikingDistanceFor, gscPropertyFor, gscRegister, gscVerify, GSC_SERVICE_ACCOUNT } from "../intel.js";
16import { createUploadSession, openBrowser, pollUploadStatus } from "../attach.js";
17import { checkForUpdate, versionLine } from "../update.js";
18import { BUILD } from "../build-info.js";
19import { loadTopics, addTopics, markUsed } from "../topics.js";
20import { loadBrand } from "../brand.js";
21import { openAccount } from "../login.js";
22const HINT_MENU = "↑↓ move · Enter select · Ctrl+C quit";
23const HINT_INPUT = "type your answer · Enter to submit · / for commands · Esc to go back";
24const HINT_SETUP = "type your answer + Enter · / for commands · Esc to go back";
25const HINT_WORK = "working… · Esc to interrupt";