This is currently under development.

Schema

context:
  name: developer
  description: Provides information about the developer.
  parameters:
    type: object
    properties:
      transcription:
        type: string
        description: The transcription of the user's voice input.
      openFiles:
        type: array
        items:
        $ref: "#/definitions/File"
        description: The list of open files.
      viewingFile:
        $ref: "#/definitions/File"
        description: The file that the user is currently viewing.
      viewingCode:
        $ref: "#/definitions/Code"
        description: The code that the user is currently viewing.
      selectedCode:
        $ref: "#/definitions/Code"
        description: The code that the user has selected.
      isBreakpointRelated:
        type: boolean
        description: Whether the user's voice input is related to breakpoints.
      activeBreakpoints:
        type: array
        items:
          type: integer
          description: The list of active breakpoints.
      textOnly:
        type: boolean
        description: Whether the user's input is text only.
      partialTranscription:
        type: boolean
        description: Whether the user's voice input is a partial transcription.
      chatMessage:
        type: boolean
        description: Whether the user's input is a chat message.
      relevantFiles:
        type: array
        items:
        $ref: "#/definitions/File"
        description: The list of relevant files.

definitions:
  File:
    type: object
    properties:
    code:
      type: string
      description: Raw text of the code.
    language:
      type: string
      description: The language of the code.
    filename:
      type: string
      description: The name of the file.

  Code:
    type: object
    properties:
    code:
      type: string
      description: Raw text of the code.
    codeWithLineNumbers:
      type: string
      description: Code with line numbers.
    language:
      type: string
      description: The language of the code.
    filename:
      type: string
      description: The name of the file.
    caretId:
      type: string
      description: The ID of the caret.
    caretOffset:
      type: integer
      description: The offset of the caret.
    caretLine:
      type: integer
      description: The line of the caret.
    caretColumn:
      type: integer
      description: The column of the caret.