Procs
proc getQuestion(client: OpencodeClient; directory: string = default(string); workspace: string = default(string)): Future[ seq[types.QuestionRequest]] {....stackTrace: false, raises: [Exception, ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError, OpenParserJsonError, OpencodeClientError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- Get all pending question requests across all sessions.
proc postQuestionRequestIDReject(client: OpencodeClient; requestID: string; 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: [].}
- Reject a question request from the AI assistant.
proc postQuestionRequestIDReply(client: OpencodeClient; requestID: string; directory: string = default(string); workspace: string = default(string); body: PostQuestionRequestIDReplyRequest): Future[ bool] {....stackTrace: false, raises: [Exception, ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError, OpenParserJsonError, OpencodeClientError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- Provide answers to a question request from the AI assistant.