version: v2
# Codegen is scoped to the api_server.proto transitive closure (the RPCs the
# devin provider actually uses). The rest of the reverse-engineered Codeium
# corpus is kept in this directory for reference/maintenance but is NOT
# generated. Vendored google/* WKTs are intentionally absent — buf bundles them.
inputs:
   - directory: .
     paths:
        - buf/validate/validate.proto
        - exa/analytics_pb/analytics.proto
        - exa/api_server_pb/api_server.proto
        - exa/auth_pb/auth.proto
        - exa/auto_cascade_common_pb/auto_cascade_common.proto
        - exa/bug_checker_pb/bug_checker.proto
        - exa/cascade_plugins_pb/cascade_plugins.proto
        - exa/chat_pb/chat.proto
        - exa/code_edit/code_edit_pb/code_edit.proto
        - exa/codeium_common_pb/codeium_common.proto
        - exa/context_module_pb/context_module.proto
        - exa/cortex_pb/cortex.proto
        - exa/diff_action_pb/diff_action.proto
        - exa/index_pb/index.proto
        - exa/knowledge_base_pb/knowledge_base.proto
        - exa/language_server_pb/language_server.proto
        - exa/opensearch_clients_pb/opensearch_clients.proto
        - exa/prompt_pb/prompt.proto
        - exa/reactive_component_pb/reactive_component.proto
        - exa/trust_pb/trust.proto
plugins:
   - local: ../../../../../../node_modules/.bin/protoc-gen-es
     out: ../../../../../catalog/src/discovery/devin-gen
     opt:
        - target=ts
