MCPcopy
hub / github.com/bombshell-dev/clack / InternalClackSettings

Interface InternalClackSettings

packages/core/src/utils/settings.ts:20–38  ·  view source on GitHub ↗

Global settings for Clack programs, stored in memory

Source from the content-addressed store, hash-verified

18
19/** Global settings for Clack programs, stored in memory */
20interface InternalClackSettings {
21 actions: Set<Action>;
22 aliases: Map<string, Action>;
23 messages: {
24 cancel: string;
25 error: string;
26 };
27 withGuide: boolean;
28 date: {
29 monthNames: string[];
30 messages: {
31 invalidMonth: string;
32 required: string;
33 invalidDay: (days: number, month: string) => string;
34 afterMin: (min: Date) => string;
35 beforeMax: (max: Date) => string;
36 };
37 };
38}
39
40export const settings: InternalClackSettings = {
41 actions: new Set(actions),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected