A11 TypeScript API - v0.7.0
    Preparing search index...

    Variable makeClaudeCodeCreateSessionConfigConst

    makeClaudeCodeCreateSessionConfig: (
        value?: unknown,
    ) => StatusOr<
        {
            add_dirs: string[];
            builtin_tools: | boolean
            | (
                | "Bash"
                | "Edit"
                | "Glob"
                | "Grep"
                | "NotebookEdit"
                | "Read"
                | "Task"
                | "TodoWrite"
                | "WebFetch"
                | "WebSearch"
                | "Write"
            )[];
            cli_path?: string
            | null;
            cwd?: string | null;
            disallowed_tools: string[];
            effort?: "max" | "high" | "low" | "medium" | "xhigh" | null;
            fallback_model?: string | null;
            fork_session: boolean;
            max_budget_usd?: number | null;
            max_turns?: number | null;
            permission_mode?:
                | "default"
                | "acceptEdits"
                | "plan"
                | "dontAsk"
                | "bypassPermissions"
                | null;
            resume?: string
            | null;
            setting_sources?: ("user" | "local" | "project")[] | null;
            skills?: string[] | "all" | null;
            thinking: boolean;
            thinking_summaries: boolean;
        },
    > = ...

    Validate and tag a Claude Code session config for the config port.

    Type Declaration

      • (
            value?: unknown,
        ): StatusOr<
            {
                add_dirs: string[];
                builtin_tools: | boolean
                | (
                    | "Bash"
                    | "Edit"
                    | "Glob"
                    | "Grep"
                    | "NotebookEdit"
                    | "Read"
                    | "Task"
                    | "TodoWrite"
                    | "WebFetch"
                    | "WebSearch"
                    | "Write"
                )[];
                cli_path?: string
                | null;
                cwd?: string | null;
                disallowed_tools: string[];
                effort?: "max" | "high" | "low" | "medium" | "xhigh" | null;
                fallback_model?: string | null;
                fork_session: boolean;
                max_budget_usd?: number | null;
                max_turns?: number | null;
                permission_mode?:
                    | "default"
                    | "acceptEdits"
                    | "plan"
                    | "dontAsk"
                    | "bypassPermissions"
                    | null;
                resume?: string
                | null;
                setting_sources?: ("user" | "local" | "project")[] | null;
                skills?: string[] | "all" | null;
                thinking: boolean;
                thinking_summaries: boolean;
            },
        >
      • Parameters

        • Optionalvalue: unknown

        Returns StatusOr<
            {
                add_dirs: string[];
                builtin_tools: | boolean
                | (
                    | "Bash"
                    | "Edit"
                    | "Glob"
                    | "Grep"
                    | "NotebookEdit"
                    | "Read"
                    | "Task"
                    | "TodoWrite"
                    | "WebFetch"
                    | "WebSearch"
                    | "Write"
                )[];
                cli_path?: string
                | null;
                cwd?: string | null;
                disallowed_tools: string[];
                effort?: "max" | "high" | "low" | "medium" | "xhigh" | null;
                fallback_model?: string | null;
                fork_session: boolean;
                max_budget_usd?: number | null;
                max_turns?: number | null;
                permission_mode?:
                    | "default"
                    | "acceptEdits"
                    | "plan"
                    | "dontAsk"
                    | "bypassPermissions"
                    | null;
                resume?: string
                | null;
                setting_sources?: ("user" | "local" | "project")[] | null;
                skills?: string[] | "all" | null;
                thinking: boolean;
                thinking_summaries: boolean;
            },
        >