opencode/tui

Search:
Group by:

Types

GetTuiControlNextResponse = object
Next TUI request

Procs

proc getTuiControlNext(client: OpencodeClient;
                       directory: string = default(string);
                       workspace: string = default(string)): Future[
    GetTuiControlNextResponse] {....stackTrace: false, raises: [Exception,
    ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError,
    IOError, ProtocolError, OpenParserJsonError, OpencodeClientError],
                                 tags: [RootEffect, ReadIOEffect, TimeEffect],
                                 forbids: [].}
Retrieve the next TUI request from the queue for processing.
proc postTuiAppendPrompt(client: OpencodeClient;
                         directory: string = default(string);
                         workspace: string = default(string);
                         body: PostTuiAppendPromptRequest): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Append prompt to the TUI.
proc postTuiClearPrompt(client: OpencodeClient;
                        directory: string = default(string);
                        workspace: string = default(string)): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Clear the prompt.
proc postTuiControlResponse(client: OpencodeClient;
                            directory: string = default(string);
                            workspace: string = default(string)): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Submit a response to the TUI request queue to complete a pending request.
proc postTuiExecuteCommand(client: OpencodeClient;
                           directory: string = default(string);
                           workspace: string = default(string);
                           body: PostTuiExecuteCommandRequest): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Execute a TUI command.
proc postTuiOpenHelp(client: OpencodeClient;
                     directory: string = default(string);
                     workspace: string = default(string)): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Open the help dialog in the TUI to display user assistance information.
proc postTuiOpenModels(client: OpencodeClient;
                       directory: string = default(string);
                       workspace: string = default(string)): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Open the model dialog.
proc postTuiOpenSessions(client: OpencodeClient;
                         directory: string = default(string);
                         workspace: string = default(string)): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Open the session dialog.
proc postTuiOpenThemes(client: OpencodeClient;
                       directory: string = default(string);
                       workspace: string = default(string)): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Open the theme dialog.
proc postTuiPublish(client: OpencodeClient; directory: string = default(string);
                    workspace: string = default(string)): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Publish a TUI event.
proc postTuiSelectSession(client: OpencodeClient;
                          directory: string = default(string);
                          workspace: string = default(string);
                          body: PostTuiSelectSessionRequest): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Navigate the TUI to display the specified session.
proc postTuiShowToast(client: OpencodeClient;
                      directory: string = default(string);
                      workspace: string = default(string);
                      body: PostTuiShowToastRequest): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Show a toast notification in the TUI.
proc postTuiSubmitPrompt(client: OpencodeClient;
                         directory: string = default(string);
                         workspace: string = default(string)): Future[bool] {.
    ...stackTrace: false, raises: [Exception, ValueError, KeyError,
                                HttpRequestError, LibraryError, SslError,
                                OSError, IOError, ProtocolError,
                                OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Submit the prompt.