mdedit-cli 0.4.10 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -11
- package/dist/index.js +30 -9
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/skills/catalog.json +2 -2
- package/skills/find-mdedit-document/mcp/SKILL.md +7 -0
- package/skills/publish-mdedit-document/mcp/SKILL.md +7 -0
- package/skills/review-mdedit-document/mcp/SKILL.md +7 -0
- package/skills/revise-mdedit-document/mcp/SKILL.md +7 -0
- package/skills/save-mdedit-document/mcp/SKILL.md +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdedit-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Command-line interface for mdedit.ai.",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"prepack": "yarn --cwd ../.. check:agent-skills && yarn build"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@mdedit/agent-client": "1.0.
|
|
48
|
-
"@mdedit/sdk": "0.4.
|
|
47
|
+
"@mdedit/agent-client": "1.0.15",
|
|
48
|
+
"@mdedit/sdk": "0.4.8",
|
|
49
49
|
"@napi-rs/keyring": "^1.3.0",
|
|
50
50
|
"chalk": "^5.6.2",
|
|
51
51
|
"commander": "^14.0.3",
|
package/skills/catalog.json
CHANGED
|
@@ -7,6 +7,13 @@ compatibility: Requires the mdedit MCP server with workspace and article read to
|
|
|
7
7
|
|
|
8
8
|
# Find and read a document in mdedit
|
|
9
9
|
|
|
10
|
+
## Authentication
|
|
11
|
+
|
|
12
|
+
Use the host's browser OAuth connection flow when authentication is needed. The hosted server discovers Clerk and supports dynamic client registration (DCR) and Client ID Metadata Documents (CIMD); a pre-registered host client or API key is not required for an OAuth-capable host. Ask the user to sign in and approve the workspace access shown by mdedit.ai. Available workspaces are selected by default, with read/write access when the request includes write scopes; the user can narrow access before approving.
|
|
13
|
+
|
|
14
|
+
Do not ask the user to paste an access token, client secret, authorization code, or API key into chat. Use an existing scoped API-key connection only when the host cannot perform OAuth or the user explicitly chooses it. If a tool reports missing permissions, reconnect through the host to request the needed scopes/workspaces instead of repeatedly retrying the same denied call.
|
|
15
|
+
|
|
16
|
+
|
|
10
17
|
Resolve a real saved document before describing its content.
|
|
11
18
|
|
|
12
19
|
1. Resolve the workspace with `list_workspaces`.
|
|
@@ -7,6 +7,13 @@ compatibility: Requires the mdedit MCP server with publishing tools and explicit
|
|
|
7
7
|
|
|
8
8
|
# Manage Public Document Publishing
|
|
9
9
|
|
|
10
|
+
## Authentication
|
|
11
|
+
|
|
12
|
+
Use the host's browser OAuth connection flow when authentication is needed. The hosted server discovers Clerk and supports dynamic client registration (DCR) and Client ID Metadata Documents (CIMD); a pre-registered host client or API key is not required for an OAuth-capable host. Ask the user to sign in and approve the workspace access shown by mdedit.ai. Available workspaces are selected by default, with read/write access when the request includes write scopes; the user can narrow access before approving.
|
|
13
|
+
|
|
14
|
+
Do not ask the user to paste an access token, client secret, authorization code, or API key into chat. Use an existing scoped API-key connection only when the host cannot perform OAuth or the user explicitly chooses it. If a tool reports missing permissions, reconnect through the host to request the needed scopes/workspaces instead of repeatedly retrying the same denied call.
|
|
15
|
+
|
|
16
|
+
|
|
10
17
|
Public visibility is a separate, explicit action. Never treat saving or editing as permission to publish.
|
|
11
18
|
|
|
12
19
|
1. Resolve the workspace and document using `list_workspaces`, `list_articles`, and `read_article`. Omit the workspace selector when there is one workspace; otherwise pass the chosen `workspaceName`. Pass the chosen `articleTitle` to later tools instead of asking for internal identifiers. Use `list_articles.query` when the user provides a title or keywords, and work from one bounded page at a time instead of retrieving every page. Ask the user to choose when a returned match is ambiguous.
|
|
@@ -7,6 +7,13 @@ compatibility: Requires the mdedit MCP server with article read and review tools
|
|
|
7
7
|
|
|
8
8
|
# Review a document in mdedit
|
|
9
9
|
|
|
10
|
+
## Authentication
|
|
11
|
+
|
|
12
|
+
Use the host's browser OAuth connection flow when authentication is needed. The hosted server discovers Clerk and supports dynamic client registration (DCR) and Client ID Metadata Documents (CIMD); a pre-registered host client or API key is not required for an OAuth-capable host. Ask the user to sign in and approve the workspace access shown by mdedit.ai. Available workspaces are selected by default, with read/write access when the request includes write scopes; the user can narrow access before approving.
|
|
13
|
+
|
|
14
|
+
Do not ask the user to paste an access token, client secret, authorization code, or API key into chat. Use an existing scoped API-key connection only when the host cannot perform OAuth or the user explicitly chooses it. If a tool reports missing permissions, reconnect through the host to request the needed scopes/workspaces instead of repeatedly retrying the same denied call.
|
|
15
|
+
|
|
16
|
+
|
|
10
17
|
Read the saved document, then leave focused feedback without changing the writer's Markdown.
|
|
11
18
|
|
|
12
19
|
1. Resolve the workspace and document with `list_workspaces` and `list_articles`. Omit the workspace selector when there is one workspace; otherwise pass the chosen `workspaceName`. Pass the chosen `articleTitle` to later tools instead of asking for internal identifiers. Use `query` when the user provides a title or keywords, and work from one bounded page at a time instead of retrieving every page. If several returned names plausibly match, ask the user to choose by name. Never ask the user for an internal ID unless troubleshooting requires it.
|
|
@@ -7,6 +7,13 @@ compatibility: Requires the mdedit MCP server with read_article and edit_article
|
|
|
7
7
|
|
|
8
8
|
# Revise a document in mdedit
|
|
9
9
|
|
|
10
|
+
## Authentication
|
|
11
|
+
|
|
12
|
+
Use the host's browser OAuth connection flow when authentication is needed. The hosted server discovers Clerk and supports dynamic client registration (DCR) and Client ID Metadata Documents (CIMD); a pre-registered host client or API key is not required for an OAuth-capable host. Ask the user to sign in and approve the workspace access shown by mdedit.ai. Available workspaces are selected by default, with read/write access when the request includes write scopes; the user can narrow access before approving.
|
|
13
|
+
|
|
14
|
+
Do not ask the user to paste an access token, client secret, authorization code, or API key into chat. Use an existing scoped API-key connection only when the host cannot perform OAuth or the user explicitly chooses it. If a tool reports missing permissions, reconnect through the host to request the needed scopes/workspaces instead of repeatedly retrying the same denied call.
|
|
15
|
+
|
|
16
|
+
|
|
10
17
|
Read the current durable content, then apply the smallest unambiguous anchored change.
|
|
11
18
|
|
|
12
19
|
1. Resolve the workspace and document using `list_workspaces`, `list_articles`, and `read_article`. Omit the workspace selector when there is one workspace; otherwise pass the chosen `workspaceName`. Pass the chosen `articleTitle` to later tools instead of asking for internal identifiers. Use `list_articles.query` when the user provides a title or keywords, and work from one bounded page at a time instead of retrieving every page. Ask the user to choose when a returned workspace or document match is ambiguous.
|
|
@@ -7,6 +7,13 @@ compatibility: Requires the mdedit MCP server with list_workspaces and create_ar
|
|
|
7
7
|
|
|
8
8
|
# Save a document to mdedit
|
|
9
9
|
|
|
10
|
+
## Authentication
|
|
11
|
+
|
|
12
|
+
Use the host's browser OAuth connection flow when authentication is needed. The hosted server discovers Clerk and supports dynamic client registration (DCR) and Client ID Metadata Documents (CIMD); a pre-registered host client or API key is not required for an OAuth-capable host. Ask the user to sign in and approve the workspace access shown by mdedit.ai. Available workspaces are selected by default, with read/write access when the request includes write scopes; the user can narrow access before approving.
|
|
13
|
+
|
|
14
|
+
Do not ask the user to paste an access token, client secret, authorization code, or API key into chat. Use an existing scoped API-key connection only when the host cannot perform OAuth or the user explicitly chooses it. If a tool reports missing permissions, reconnect through the host to request the needed scopes/workspaces instead of repeatedly retrying the same denied call.
|
|
15
|
+
|
|
16
|
+
|
|
10
17
|
Create one durable private document from content the user supplied or asked you to draft.
|
|
11
18
|
|
|
12
19
|
1. Determine the intended title and Markdown content. Ask a focused question if the source material or document boundary is unclear.
|