feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296)
* fix(cli): double the height of the setup banner t crossbar
* fix(cli): unify setup multi-select hints and make Tab the select key
The six interactive multi-select surfaces in `ktx setup` documented three
different hint voices, one had no hint at all, and they named two different
select keys (Space vs Tab). Tab is the only key that can toggle selection
without colliding with type-to-search input, so make it the single documented
select key everywhere and compose every hint from one shared fragment
vocabulary in prompt-navigation.ts.
- Register `updateSettings({ aliases: { tab: 'space' } })` so Tab toggles flat
multiselects; the alias applies only to non-text prompts, leaving typed
search input (schema/Notion) untouched.
- Add the missing hint to the agent-targets prompt and drop the stray
"Space to select … Esc …" info line plus the now-dead writeSetupInfo helper.
- Replace the schema-scope ad-hoc hint with the searchable-multiselect voice
and standardize "filter" -> "search" vocabulary.
- Delete DEFAULT_TREE_PICKER_HELP_TEXT and the unused TreePickerChrome.helpText
seam; render the shared tree hint instead.
* refactor(cli): show LLM check progress for every setup backend
Rename runLlmHealthCheckWithProgress to validateModelWithProgress and
wrap the Claude subscription and Codex auth probes in the same spinner
progress as the Anthropic API and Vertex backends, so each backend shows
consistent "Checking <provider> LLM" output during setup.
* feat(cli): add ktx-orange progress spinners to setup steps
Add a shared runWithCliSpinner helper and a TTY-aware createCliSpinner:
an animated clack spinner in a terminal, and a static stderr-only spinner
before raw-mode pickers (the table tree picker and demo tour), where the
animated spinner's stdin grab would otherwise corrupt the next prompt.
Wrap the slow setup waits in progress spinners: managed runtime install,
embedding daemon start + first-run model download, embeddings health
check, the connection-test gate, and source validation / dbt clone /
Metabase discovery. Recolor every spinner frame from clack's magenta to
the ktx mascot orange (#FF8A4C) via the static helper and clack's
styleFrame option.
2026-06-12 16:43:10 +02:00
|
|
|
import { updateSettings } from '@clack/core';
|
2026-05-13 17:01:48 +02:00
|
|
|
import {
|
2026-05-22 14:22:11 +02:00
|
|
|
autocomplete,
|
|
|
|
|
autocompleteMultiselect,
|
2026-05-13 17:01:48 +02:00
|
|
|
cancel,
|
|
|
|
|
confirm,
|
|
|
|
|
intro,
|
|
|
|
|
isCancel,
|
|
|
|
|
log,
|
|
|
|
|
multiselect,
|
|
|
|
|
note,
|
|
|
|
|
select,
|
|
|
|
|
text,
|
|
|
|
|
} from '@clack/prompts';
|
|
|
|
|
import type { KtxCliIo } from './cli-runtime.js';
|
2026-06-10 16:47:34 +02:00
|
|
|
import { unicodeSupported } from './io/symbols.js';
|
|
|
|
|
import { colorDepthForOutput, isWritableTtyOutput } from './io/tty.js';
|
2026-05-13 17:01:48 +02:00
|
|
|
import { withMenuOptionsSpacing, withTextInputNavigation } from './prompt-navigation.js';
|
2026-06-10 16:47:34 +02:00
|
|
|
import { renderKtxSetupBanner } from './setup-banner.js';
|
2026-06-04 14:11:08 +02:00
|
|
|
import { revealPassword } from './reveal-password-prompt.js';
|
2026-05-13 17:01:48 +02:00
|
|
|
import { withSetupInterruptConfirmation } from './setup-interrupt.js';
|
|
|
|
|
|
feat(cli): setup progress spinners, Tab-to-select, and banner polish (#296)
* fix(cli): double the height of the setup banner t crossbar
* fix(cli): unify setup multi-select hints and make Tab the select key
The six interactive multi-select surfaces in `ktx setup` documented three
different hint voices, one had no hint at all, and they named two different
select keys (Space vs Tab). Tab is the only key that can toggle selection
without colliding with type-to-search input, so make it the single documented
select key everywhere and compose every hint from one shared fragment
vocabulary in prompt-navigation.ts.
- Register `updateSettings({ aliases: { tab: 'space' } })` so Tab toggles flat
multiselects; the alias applies only to non-text prompts, leaving typed
search input (schema/Notion) untouched.
- Add the missing hint to the agent-targets prompt and drop the stray
"Space to select … Esc …" info line plus the now-dead writeSetupInfo helper.
- Replace the schema-scope ad-hoc hint with the searchable-multiselect voice
and standardize "filter" -> "search" vocabulary.
- Delete DEFAULT_TREE_PICKER_HELP_TEXT and the unused TreePickerChrome.helpText
seam; render the shared tree hint instead.
* refactor(cli): show LLM check progress for every setup backend
Rename runLlmHealthCheckWithProgress to validateModelWithProgress and
wrap the Claude subscription and Codex auth probes in the same spinner
progress as the Anthropic API and Vertex backends, so each backend shows
consistent "Checking <provider> LLM" output during setup.
* feat(cli): add ktx-orange progress spinners to setup steps
Add a shared runWithCliSpinner helper and a TTY-aware createCliSpinner:
an animated clack spinner in a terminal, and a static stderr-only spinner
before raw-mode pickers (the table tree picker and demo tour), where the
animated spinner's stdin grab would otherwise corrupt the next prompt.
Wrap the slow setup waits in progress spinners: managed runtime install,
embedding daemon start + first-run model download, embeddings health
check, the connection-test gate, and source validation / dbt clone /
Metabase discovery. Recolor every spinner frame from clack's magenta to
the ktx mascot orange (#FF8A4C) via the static helper and clack's
styleFrame option.
2026-06-12 16:43:10 +02:00
|
|
|
// clack remaps Tab to Space only on non-text prompts (flat multiselect/select/
|
|
|
|
|
// confirm); text inputs and autocomplete search set _track, so typed Tab is
|
|
|
|
|
// untouched. This makes Tab the single documented select key across setup.
|
|
|
|
|
updateSettings({ aliases: { tab: 'space' } });
|
|
|
|
|
|
2026-05-13 17:01:48 +02:00
|
|
|
export interface KtxSetupPromptOption<Value extends string = string> {
|
|
|
|
|
value: Value;
|
|
|
|
|
label: string;
|
|
|
|
|
hint?: string;
|
|
|
|
|
disabled?: boolean;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface KtxSetupSelectOptions<Value extends string = string> {
|
|
|
|
|
message: string;
|
|
|
|
|
options: Array<KtxSetupPromptOption<Value>>;
|
|
|
|
|
initialValue?: Value;
|
|
|
|
|
maxItems?: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface KtxSetupMultiselectOptions<Value extends string = string> {
|
|
|
|
|
message: string;
|
|
|
|
|
options: Array<KtxSetupPromptOption<Value>>;
|
|
|
|
|
required?: boolean;
|
|
|
|
|
initialValues?: Value[];
|
|
|
|
|
maxItems?: number;
|
|
|
|
|
cursorAt?: Value;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-22 14:22:11 +02:00
|
|
|
interface KtxSetupAutocompleteOptions<Value extends string = string> {
|
|
|
|
|
message: string;
|
|
|
|
|
options: Array<KtxSetupPromptOption<Value>>;
|
|
|
|
|
placeholder?: string;
|
|
|
|
|
maxItems?: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface KtxSetupAutocompleteMultiselectOptions<Value extends string = string> {
|
|
|
|
|
message: string;
|
|
|
|
|
options: Array<KtxSetupPromptOption<Value>>;
|
|
|
|
|
placeholder?: string;
|
|
|
|
|
required?: boolean;
|
|
|
|
|
maxItems?: number;
|
|
|
|
|
initialValues?: Value[];
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-13 17:01:48 +02:00
|
|
|
interface KtxSetupTextOptions {
|
|
|
|
|
message: string;
|
|
|
|
|
placeholder?: string;
|
|
|
|
|
initialValue?: string;
|
|
|
|
|
defaultValue?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface KtxSetupPasswordOptions {
|
|
|
|
|
message: string;
|
|
|
|
|
mask?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface KtxSetupPromptAdapter {
|
|
|
|
|
select(options: KtxSetupSelectOptions): Promise<string>;
|
|
|
|
|
multiselect(options: KtxSetupMultiselectOptions): Promise<string[]>;
|
2026-05-22 14:22:11 +02:00
|
|
|
autocomplete(options: KtxSetupAutocompleteOptions): Promise<string>;
|
|
|
|
|
autocompleteMultiselect(options: KtxSetupAutocompleteMultiselectOptions): Promise<string[]>;
|
2026-05-13 17:01:48 +02:00
|
|
|
text(options: KtxSetupTextOptions): Promise<string | undefined>;
|
|
|
|
|
password(options: KtxSetupPasswordOptions): Promise<string | undefined>;
|
|
|
|
|
cancel(message: string): void;
|
|
|
|
|
log(message: string): void;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface KtxSetupPromptAdapterOptions {
|
|
|
|
|
selectCancelValue: 'back' | 'exit';
|
|
|
|
|
multiselectCancelValue?: 'back';
|
|
|
|
|
confirmEmptyOptionalMultiselect?: boolean;
|
|
|
|
|
cancelOnSelectCancel?: boolean;
|
|
|
|
|
cancelOnMultiselectCancel?: boolean;
|
|
|
|
|
cancelMessage?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const DEFAULT_SETUP_CANCEL_MESSAGE = 'Setup cancelled.';
|
|
|
|
|
|
|
|
|
|
export function createKtxSetupPromptAdapter(options: KtxSetupPromptAdapterOptions): KtxSetupPromptAdapter {
|
|
|
|
|
const cancelMessage = options.cancelMessage ?? DEFAULT_SETUP_CANCEL_MESSAGE;
|
|
|
|
|
const cancelOnSelectCancel = options.cancelOnSelectCancel ?? true;
|
|
|
|
|
const cancelOnMultiselectCancel = options.cancelOnMultiselectCancel ?? true;
|
|
|
|
|
const multiselectCancelValue = options.multiselectCancelValue ?? 'back';
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
async select(promptOptions) {
|
|
|
|
|
const value = await withSetupInterruptConfirmation(() => select(withMenuOptionsSpacing(promptOptions)));
|
|
|
|
|
if (isCancel(value)) {
|
|
|
|
|
if (cancelOnSelectCancel) {
|
|
|
|
|
cancel(cancelMessage);
|
|
|
|
|
}
|
|
|
|
|
return options.selectCancelValue;
|
|
|
|
|
}
|
|
|
|
|
return String(value);
|
|
|
|
|
},
|
|
|
|
|
async multiselect(promptOptions) {
|
|
|
|
|
while (true) {
|
|
|
|
|
const value = await withSetupInterruptConfirmation(() => multiselect(withMenuOptionsSpacing(promptOptions)));
|
|
|
|
|
if (isCancel(value)) {
|
|
|
|
|
if (cancelOnMultiselectCancel) {
|
|
|
|
|
cancel(cancelMessage);
|
|
|
|
|
}
|
|
|
|
|
return [multiselectCancelValue];
|
|
|
|
|
}
|
|
|
|
|
const selected = [...value].map(String);
|
|
|
|
|
if (
|
|
|
|
|
selected.length === 0 &&
|
|
|
|
|
!promptOptions.required &&
|
|
|
|
|
options.confirmEmptyOptionalMultiselect === true
|
|
|
|
|
) {
|
|
|
|
|
const skipConfirmed = await confirm({
|
|
|
|
|
message: 'Nothing selected. Skip this step?',
|
|
|
|
|
initialValue: false,
|
2026-05-22 14:22:11 +02:00
|
|
|
});
|
|
|
|
|
if (isCancel(skipConfirmed)) {
|
|
|
|
|
cancel(cancelMessage);
|
|
|
|
|
return [multiselectCancelValue];
|
|
|
|
|
}
|
|
|
|
|
if (!skipConfirmed) {
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return selected;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
async autocomplete(promptOptions) {
|
|
|
|
|
const value = await withSetupInterruptConfirmation(() =>
|
|
|
|
|
autocomplete(withMenuOptionsSpacing(promptOptions)),
|
|
|
|
|
);
|
|
|
|
|
if (isCancel(value)) {
|
|
|
|
|
if (cancelOnSelectCancel) {
|
|
|
|
|
cancel(cancelMessage);
|
|
|
|
|
}
|
|
|
|
|
return options.selectCancelValue;
|
|
|
|
|
}
|
|
|
|
|
return String(value);
|
|
|
|
|
},
|
|
|
|
|
async autocompleteMultiselect(promptOptions) {
|
|
|
|
|
while (true) {
|
|
|
|
|
const value = await withSetupInterruptConfirmation(() =>
|
|
|
|
|
autocompleteMultiselect(withMenuOptionsSpacing(promptOptions)),
|
|
|
|
|
);
|
|
|
|
|
if (isCancel(value)) {
|
|
|
|
|
if (cancelOnMultiselectCancel) {
|
|
|
|
|
cancel(cancelMessage);
|
|
|
|
|
}
|
|
|
|
|
return [multiselectCancelValue];
|
|
|
|
|
}
|
|
|
|
|
const selected = [...value].map(String);
|
|
|
|
|
if (
|
|
|
|
|
selected.length === 0 &&
|
|
|
|
|
!promptOptions.required &&
|
|
|
|
|
options.confirmEmptyOptionalMultiselect === true
|
|
|
|
|
) {
|
|
|
|
|
const skipConfirmed = await confirm({
|
|
|
|
|
message: 'Nothing selected. Skip this step?',
|
|
|
|
|
initialValue: false,
|
2026-05-13 17:01:48 +02:00
|
|
|
});
|
|
|
|
|
if (isCancel(skipConfirmed)) {
|
|
|
|
|
cancel(cancelMessage);
|
|
|
|
|
return [multiselectCancelValue];
|
|
|
|
|
}
|
|
|
|
|
if (!skipConfirmed) {
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return selected;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
async text(promptOptions) {
|
|
|
|
|
const value = await withSetupInterruptConfirmation(() =>
|
|
|
|
|
text({ ...promptOptions, message: withTextInputNavigation(promptOptions.message) }),
|
|
|
|
|
);
|
|
|
|
|
return isCancel(value) ? undefined : String(value);
|
|
|
|
|
},
|
|
|
|
|
async password(promptOptions) {
|
|
|
|
|
const value = await withSetupInterruptConfirmation(() =>
|
2026-06-04 14:11:08 +02:00
|
|
|
revealPassword({ ...promptOptions, message: withTextInputNavigation(promptOptions.message) }),
|
2026-05-13 17:01:48 +02:00
|
|
|
);
|
|
|
|
|
return isCancel(value) ? undefined : String(value);
|
|
|
|
|
},
|
|
|
|
|
cancel(message) {
|
|
|
|
|
cancel(message);
|
|
|
|
|
},
|
|
|
|
|
log(message) {
|
|
|
|
|
log.info(message);
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
feat(setup): add Claude Desktop target and MCP-first agent setup (#114)
* feat(setup): add Claude Desktop target and MCP-first agent setup
Adds `ktx mcp stdio` and a `claude-desktop` setup target that generates a
local plugin ZIP wiring the analytics skill and a stdio MCP config. Replaces
the CLI-only agent install mode with MCP+analytics (default) and an optional
admin CLI skill, renames the research skill to analytics, and lets interactive
setup pick project vs global scope when every target supports it. Extracts a
shared MCP server factory used by both HTTP and stdio entrypoints.
* Add MCP agent client setup support
* Polish setup output formatting
* Add MCP tool polish design spec
Design for slimming the MCP-registered surface from 25 to 11 tools,
introducing memory_ingest, applying the per-tool polish kit (annotations,
outputSchema, .describe(), in-band error wrapping, union-drift fixes,
type-narrowed jsonToolResult), emitting progress notifications on
sql_execution + sl_query, and refining the ktx-analytics SKILL.md to
match.
* Refine MCP tool polish design spec after adversarial review iteration 1
* Refine MCP tool polish design spec after adversarial review iteration 2
* Refine MCP tool polish design spec after adversarial review iteration 3
* refactor(context): rename memory capture service to ingest
* feat(mcp): slim research tool surface
* refactor(mcp): remove admin ports from server factory
* refactor(cli): rename text ingest memory port
* docs: update analytics skill for memory ingest
* chore: verify mcp surface rename
* Add MCP tool polish v1 surface change plan
* feat(context): polish mcp tool metadata
* fix(context): enforce resolved semantic layer compute sources
* feat(context): emit mcp query progress stages
* fix(context): keep mcp progress event internal
* Add MCP tool polish v1 metadata & progress plan
* Fix CI snapshot and docs checks
2026-05-16 11:39:55 +02:00
|
|
|
interface KtxSetupNoteOptions {
|
|
|
|
|
format?: (line: string) => string;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-13 17:01:48 +02:00
|
|
|
export interface KtxSetupUiAdapter {
|
|
|
|
|
intro(title: string, io: KtxCliIo): void;
|
feat(setup): add Claude Desktop target and MCP-first agent setup (#114)
* feat(setup): add Claude Desktop target and MCP-first agent setup
Adds `ktx mcp stdio` and a `claude-desktop` setup target that generates a
local plugin ZIP wiring the analytics skill and a stdio MCP config. Replaces
the CLI-only agent install mode with MCP+analytics (default) and an optional
admin CLI skill, renames the research skill to analytics, and lets interactive
setup pick project vs global scope when every target supports it. Extracts a
shared MCP server factory used by both HTTP and stdio entrypoints.
* Add MCP agent client setup support
* Polish setup output formatting
* Add MCP tool polish design spec
Design for slimming the MCP-registered surface from 25 to 11 tools,
introducing memory_ingest, applying the per-tool polish kit (annotations,
outputSchema, .describe(), in-band error wrapping, union-drift fixes,
type-narrowed jsonToolResult), emitting progress notifications on
sql_execution + sl_query, and refining the ktx-analytics SKILL.md to
match.
* Refine MCP tool polish design spec after adversarial review iteration 1
* Refine MCP tool polish design spec after adversarial review iteration 2
* Refine MCP tool polish design spec after adversarial review iteration 3
* refactor(context): rename memory capture service to ingest
* feat(mcp): slim research tool surface
* refactor(mcp): remove admin ports from server factory
* refactor(cli): rename text ingest memory port
* docs: update analytics skill for memory ingest
* chore: verify mcp surface rename
* Add MCP tool polish v1 surface change plan
* feat(context): polish mcp tool metadata
* fix(context): enforce resolved semantic layer compute sources
* feat(context): emit mcp query progress stages
* fix(context): keep mcp progress event internal
* Add MCP tool polish v1 metadata & progress plan
* Fix CI snapshot and docs checks
2026-05-16 11:39:55 +02:00
|
|
|
note(message: string, title: string, io: KtxCliIo, options?: KtxSetupNoteOptions): void;
|
2026-05-13 17:01:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function createKtxSetupUiAdapter(): KtxSetupUiAdapter {
|
|
|
|
|
return {
|
|
|
|
|
intro(title, io) {
|
|
|
|
|
if (isWritableTtyOutput(io.stdout)) {
|
2026-06-10 16:47:34 +02:00
|
|
|
const banner = renderKtxSetupBanner({
|
|
|
|
|
columns: io.stdout.columns ?? 80,
|
|
|
|
|
colorDepth: colorDepthForOutput(io.stdout),
|
|
|
|
|
unicode: unicodeSupported,
|
|
|
|
|
});
|
|
|
|
|
if (banner !== '') {
|
|
|
|
|
io.stdout.write(banner);
|
|
|
|
|
}
|
2026-05-13 17:01:48 +02:00
|
|
|
intro(title, { output: io.stdout });
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
io.stdout.write(`${title}\n`);
|
|
|
|
|
},
|
feat(setup): add Claude Desktop target and MCP-first agent setup (#114)
* feat(setup): add Claude Desktop target and MCP-first agent setup
Adds `ktx mcp stdio` and a `claude-desktop` setup target that generates a
local plugin ZIP wiring the analytics skill and a stdio MCP config. Replaces
the CLI-only agent install mode with MCP+analytics (default) and an optional
admin CLI skill, renames the research skill to analytics, and lets interactive
setup pick project vs global scope when every target supports it. Extracts a
shared MCP server factory used by both HTTP and stdio entrypoints.
* Add MCP agent client setup support
* Polish setup output formatting
* Add MCP tool polish design spec
Design for slimming the MCP-registered surface from 25 to 11 tools,
introducing memory_ingest, applying the per-tool polish kit (annotations,
outputSchema, .describe(), in-band error wrapping, union-drift fixes,
type-narrowed jsonToolResult), emitting progress notifications on
sql_execution + sl_query, and refining the ktx-analytics SKILL.md to
match.
* Refine MCP tool polish design spec after adversarial review iteration 1
* Refine MCP tool polish design spec after adversarial review iteration 2
* Refine MCP tool polish design spec after adversarial review iteration 3
* refactor(context): rename memory capture service to ingest
* feat(mcp): slim research tool surface
* refactor(mcp): remove admin ports from server factory
* refactor(cli): rename text ingest memory port
* docs: update analytics skill for memory ingest
* chore: verify mcp surface rename
* Add MCP tool polish v1 surface change plan
* feat(context): polish mcp tool metadata
* fix(context): enforce resolved semantic layer compute sources
* feat(context): emit mcp query progress stages
* fix(context): keep mcp progress event internal
* Add MCP tool polish v1 metadata & progress plan
* Fix CI snapshot and docs checks
2026-05-16 11:39:55 +02:00
|
|
|
note(message, title, io, options) {
|
2026-05-13 17:01:48 +02:00
|
|
|
if (isWritableTtyOutput(io.stdout)) {
|
feat(setup): add Claude Desktop target and MCP-first agent setup (#114)
* feat(setup): add Claude Desktop target and MCP-first agent setup
Adds `ktx mcp stdio` and a `claude-desktop` setup target that generates a
local plugin ZIP wiring the analytics skill and a stdio MCP config. Replaces
the CLI-only agent install mode with MCP+analytics (default) and an optional
admin CLI skill, renames the research skill to analytics, and lets interactive
setup pick project vs global scope when every target supports it. Extracts a
shared MCP server factory used by both HTTP and stdio entrypoints.
* Add MCP agent client setup support
* Polish setup output formatting
* Add MCP tool polish design spec
Design for slimming the MCP-registered surface from 25 to 11 tools,
introducing memory_ingest, applying the per-tool polish kit (annotations,
outputSchema, .describe(), in-band error wrapping, union-drift fixes,
type-narrowed jsonToolResult), emitting progress notifications on
sql_execution + sl_query, and refining the ktx-analytics SKILL.md to
match.
* Refine MCP tool polish design spec after adversarial review iteration 1
* Refine MCP tool polish design spec after adversarial review iteration 2
* Refine MCP tool polish design spec after adversarial review iteration 3
* refactor(context): rename memory capture service to ingest
* feat(mcp): slim research tool surface
* refactor(mcp): remove admin ports from server factory
* refactor(cli): rename text ingest memory port
* docs: update analytics skill for memory ingest
* chore: verify mcp surface rename
* Add MCP tool polish v1 surface change plan
* feat(context): polish mcp tool metadata
* fix(context): enforce resolved semantic layer compute sources
* feat(context): emit mcp query progress stages
* fix(context): keep mcp progress event internal
* Add MCP tool polish v1 metadata & progress plan
* Fix CI snapshot and docs checks
2026-05-16 11:39:55 +02:00
|
|
|
note(message, title, {
|
|
|
|
|
output: io.stdout,
|
|
|
|
|
...(options?.format ? { format: options.format } : {}),
|
|
|
|
|
});
|
2026-05-13 17:01:48 +02:00
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
io.stdout.write(`\n${title}:\n`);
|
|
|
|
|
io.stdout.write(`${message}\n`);
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|