mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 02:15:06 +00:00
One vocabulary: Knowledge, tools, and connectors in plain words
- Sources (the collection) are called Knowledge: the settings page (now
/settings/knowledge; /settings/sources redirects), the composer and
agent pickers, Add knowledge, and "syncs into Knowledge" on connectors.
Citations keep "sources". All seven locales.
- Connector cards describe what they do ("Syncs into Knowledge", "Looks
things up", "Takes actions") and drop publisher labels ("Built in",
"Preset"). Filters read "Files & storage" and "Docs & wikis" so
"knowledge" means one thing.
- Custom tools are tools: "Add custom tool". The agent picker no longer
splits built-in tools into "Built-in" and "Default".
- Confluence is one card: syncing pages into Knowledge and the Jira &
Confluence MCP actions (part_of on the preset) share a page. The part
shows on its own when Confluence sync is not set up.
This commit is contained in:
1 parent
897b244d8d
commit
3b1288097d
21 files changed
+462
-244
No files matched your search
@@ -76,6 +76,8 @@ class ConnectorDefinition:
|
||||
publisher: ``built_in``, ``preset`` or ``custom``.
|
||||
docs_url: Setup guide for admins.
|
||||
oauth_scopes: Scopes an MCP preset requests.
|
||||
part_of: Another connector this one is shown under, for one service
|
||||
offered two ways (the Atlassian MCP preset under Confluence).
|
||||
"""
|
||||
|
||||
key: str
|
||||
@@ -96,6 +98,7 @@ class ConnectorDefinition:
|
||||
publisher: str = "built_in"
|
||||
docs_url: Optional[str] = None
|
||||
oauth_scopes: tuple[str, ...] = ()
|
||||
part_of: Optional[str] = None
|
||||
|
||||
@property
|
||||
def missing_settings(self) -> list[str]:
|
||||
@@ -132,6 +135,7 @@ class ConnectorDefinition:
|
||||
"publisher": self.publisher,
|
||||
"docs_url": self.docs_url,
|
||||
"oauth_scopes": list(self.oauth_scopes),
|
||||
"part_of": self.part_of,
|
||||
}
|
||||
|
||||
|
||||
@@ -328,6 +332,7 @@ def _load_presets(path: Optional[Path] = None) -> tuple[ConnectorDefinition, ...
|
||||
publisher="preset",
|
||||
docs_url=entry.get("docs_url"),
|
||||
oauth_scopes=tuple(entry.get("oauth_scopes") or ()),
|
||||
part_of=entry.get("part_of"),
|
||||
)
|
||||
)
|
||||
return tuple(presets)
|
||||
|
||||
@@ -31,10 +31,12 @@
|
||||
docs_url: https://linear.app/docs/mcp
|
||||
|
||||
- key: mcp:atlassian
|
||||
name: Atlassian (Jira and Confluence)
|
||||
name: Jira & Confluence
|
||||
description: Search and update Jira issues and Confluence pages.
|
||||
icon: atlassian
|
||||
category: dev
|
||||
# Shown on the Confluence card, next to syncing pages into Knowledge.
|
||||
part_of: confluence
|
||||
mcp_url: https://mcp.atlassian.com/v1/mcp
|
||||
auth_kind: mcp_oauth
|
||||
capabilities: [read, write]
|
||||
|
||||
Reference in new issue
Block a user