mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 10:25:23 -04:00
c6f83a63e1
* chore: fix ruff issue * feat(oauth): implement OAuth * feat(invoke-message): refactor message handling and introduce InvokeMessage class * feat(plugin-oauth): add credential_id and credential_type to tool parameters * feat(plugin-oauth): add credential_id and credential_type to tool parameters * chore: update dify_plugin version to 0.5.0b4 and clean up github.yaml * chore: update plugin version to 0.1.2 in manifest.yaml * feat(session): session context and tool backwards invocation credential support * feat(oauth): session context and tool backwards invocation credential support * feat: update README and requirements for OAuth support in version 0.4.2 * feat: add .gitignore to exclude IDE files and secret keys * chore: apply ruff * feat: bump version to 0.4.2b1 * feat: update GitHub plugin configuration for OAuth support and improve credential handling * feat: update .gitignore to exclude dify plugin files and public keys * feat: fix credential validation for GitHub API and bump version to 0.2.1 * feat: update GitHub plugin to support multiple access tokens and bump version to 0.2.5 * chore: apply ruff * feat: add ToolProviderOAuthError for improved OAuth error handling in GitHub plugin * chore: apply ruff * chore: bump version to 0.4.2 * chore: update examples sdk version to 0.4.2 * fix: thread deadlock in PluginRunner when running tests without gevent monkey patching * feat: add support for refreshing OAuth credentials in Plugin and GitHub provider * feat: refactor OAuth credential handling to return structured OAuthCredentials object * apply ruff * feat: refactor OAuth credential handling to use ToolOAuthCredentials for improved structure * feat: reorganize imports in __init__.py for improved clarity and structure * feat: add Microsoft To Do plugin for refresh token example * chore: apply ruff * fix: update author in GitHub configuration and clean up Microsoft To Do schema * chore: bump version to 0.4.2b2 in pyproject.toml * feat: update Microsoft To Do plugin to handle OAuth token encoding and version bump * feat:remove inelegant example * chore: update dify_plugin version to 0.4.2 * chore: bump version to 0.4.2 in pyproject.toml --------- Co-authored-by: Yeuoly <admin@srmxy.cn>
73 lines
3.7 KiB
YAML
73 lines
3.7 KiB
YAML
description:
|
|
human:
|
|
en_US: Search for code across GitHub repositories using GitHub's code search API
|
|
pt_BR: Pesquisar código em repositórios do GitHub usando a API de pesquisa de código do GitHub
|
|
zh_Hans: 使用GitHub的代码搜索API在GitHub仓库中搜索代码
|
|
llm: A tool to search for code across GitHub repositories using GitHub's code search API
|
|
extra:
|
|
python:
|
|
source: tools/github_search_code.py
|
|
identity:
|
|
author: CharlieWei
|
|
icon: icon.svg
|
|
label:
|
|
en_US: Search Code
|
|
pt_BR: Pesquisar Código
|
|
zh_Hans: 搜索代码
|
|
name: github_search_code
|
|
parameters:
|
|
- form: llm
|
|
human_description:
|
|
en_US: The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. Example "addClass in:file language:js repo:jquery/jquery"
|
|
pt_BR: A consulta contém uma ou mais palavras-chave de pesquisa e qualificadores. Os qualificadores permitem limitar sua pesquisa a áreas específicas do GitHub. A API REST suporta os mesmos qualificadores que a interface web do GitHub. Exemplo "addClass in:file language:js repo:jquery/jquery"
|
|
zh_Hans: 查询包含一个或多个搜索关键字和限定符。限定符允许您将搜索限制在GitHub的特定区域。REST API支持与GitHub Web界面相同的限定符。示例"addClass in:file language:js repo:jquery/jquery"
|
|
label:
|
|
en_US: Query
|
|
pt_BR: Consulta
|
|
zh_Hans: 查询
|
|
llm_description: The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. Example "addClass in:file language:js repo:jquery/jquery"
|
|
name: query
|
|
required: true
|
|
type: string
|
|
- default: 10
|
|
form: llm
|
|
human_description:
|
|
en_US: The number of results per page (max 100).
|
|
pt_BR: O número de resultados por página (máximo 100).
|
|
zh_Hans: 每页结果数量(最大100)。
|
|
label:
|
|
en_US: Per Page
|
|
pt_BR: Por Página
|
|
zh_Hans: 每页数量
|
|
llm_description: The number of results per page (max 100).
|
|
name: per_page
|
|
required: false
|
|
type: number
|
|
- form: llm
|
|
human_description:
|
|
en_US: Sorts the results of your query. Can only be indexed, which indicates how recently a file has been indexed by the GitHub search infrastructure.
|
|
pt_BR: Ordena os resultados da sua consulta. Pode ser apenas indexed, que indica quão recentemente um arquivo foi indexado pela infraestrutura de pesquisa do GitHub.
|
|
zh_Hans: 对查询结果进行排序。只能是 indexed,表示文件最近被GitHub搜索基础设施索引的时间。
|
|
label:
|
|
en_US: Sort
|
|
pt_BR: Ordenar
|
|
zh_Hans: 排序
|
|
llm_description: Sorts the results of your query. Can only be indexed, which indicates how recently a file has been indexed by the GitHub search infrastructure.
|
|
name: sort
|
|
required: false
|
|
type: string
|
|
- default: desc
|
|
form: llm
|
|
human_description:
|
|
en_US: Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc).
|
|
pt_BR: Determina se o primeiro resultado de pesquisa retornado é o maior número de correspondências (desc) ou o menor número de correspondências (asc).
|
|
zh_Hans: 确定返回的第一个搜索结果是匹配数最高(desc)还是匹配数最低(asc)。
|
|
label:
|
|
en_US: Order
|
|
pt_BR: Ordem
|
|
zh_Hans: 顺序
|
|
llm_description: Determines whether the first search result returned is the highest number of matches (desc) or lowest number of matches (asc).
|
|
name: order
|
|
required: false
|
|
type: string
|