mdedit-cli 0.4.3 → 0.4.4
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/dist/index.js +312 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/skills/catalog.json +10 -10
- package/skills/find-mdedit-document/mcp/SKILL.md +3 -3
- package/skills/publish-mdedit-document/mcp/SKILL.md +1 -1
- package/skills/review-mdedit-document/mcp/SKILL.md +1 -1
- package/skills/revise-mdedit-document/mcp/SKILL.md +1 -1
- package/skills/save-mdedit-document/mcp/SKILL.md +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdedit-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
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.
|
|
47
|
+
"@mdedit/agent-client": "1.0.8",
|
|
48
|
+
"@mdedit/sdk": "0.4.0",
|
|
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"evidenceDate": "2026-08-
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"evidenceDate": "2026-08-27",
|
|
5
5
|
"product": "mdedit",
|
|
6
6
|
"docsUrl": "https://mdedit.ai/docs/skills",
|
|
7
7
|
"installUrl": "https://mdedit.ai/docs/skills/install",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"channels": [
|
|
11
11
|
{
|
|
12
12
|
"id": "portable",
|
|
13
|
-
"name": "Portable Agent
|
|
14
|
-
"status": "
|
|
15
|
-
"detail": "
|
|
13
|
+
"name": "Portable Agent Plugin",
|
|
14
|
+
"status": "available",
|
|
15
|
+
"detail": "The public Agent Plugins 1.0 repository combines the shared skills and hosted MCP connection, with thin Gemini CLI, Cursor, and Claude Code compatibility manifests generated from the same source."
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"id": "openai",
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
"id": "claude-code",
|
|
25
25
|
"name": "Claude Code plugin",
|
|
26
26
|
"status": "release-candidate",
|
|
27
|
-
"detail": "The package
|
|
27
|
+
"detail": "The shared package contains the validated Claude Code OAuth adapter; marketplace publication remains a separate release gate."
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"id": "cursor",
|
|
31
31
|
"name": "Cursor plugin",
|
|
32
|
-
"status": "
|
|
33
|
-
"detail": "
|
|
32
|
+
"status": "release-candidate",
|
|
33
|
+
"detail": "Cursor can load the portable Agent Plugin, while a thin adapter retains its dedicated public OAuth client for marketplace compatibility."
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"id": "gemini-cli",
|
|
37
37
|
"name": "Gemini CLI extension",
|
|
38
|
-
"status": "
|
|
39
|
-
"detail": "
|
|
38
|
+
"status": "release-candidate",
|
|
39
|
+
"detail": "The public shared repository retains Gemini CLI's required root manifest and dedicated public OAuth client for gallery submission."
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
42
|
"skills": [
|
|
@@ -9,15 +9,15 @@ compatibility: Requires the mdedit MCP server with workspace and article read to
|
|
|
9
9
|
|
|
10
10
|
Resolve a real saved document before describing its content.
|
|
11
11
|
|
|
12
|
-
1. Resolve the workspace with `list_workspaces
|
|
12
|
+
1. Resolve the workspace with `list_workspaces`.
|
|
13
13
|
- If several workspaces could match, ask the user to choose by returned name.
|
|
14
14
|
- If no workspace matches, stop without guessing.
|
|
15
|
-
2. Call `list_articles
|
|
15
|
+
2. Call `list_articles`. If exactly one workspace was returned, omit the workspace selector. If the user chose among several, pass `workspaceName`. When the user gives a title or keywords, pass them as `query`. Work from one bounded page at a time; do not retrieve every page merely to reproduce a long document list in chat.
|
|
16
16
|
3. Match the user's title or description against returned document metadata.
|
|
17
17
|
- If there is one clear match, continue.
|
|
18
18
|
- If several documents plausibly match, present only their returned titles and ask the user to choose.
|
|
19
19
|
- If there is no match, say so and stop.
|
|
20
|
-
4. Call `read_article` with
|
|
20
|
+
4. Call `read_article` with `articleTitle` and, when needed, `workspaceName`. Do not search local code or ask the user for routing identifiers.
|
|
21
21
|
5. For open, show, or preview requests, call `render_article` with `focus: preview`. Answer from the returned saved `content` when a textual answer is also needed. Distinguish exact saved content from any summary or interpretation. Keep `contentRevision`, `contentHash`, `workspaceId`, and `articleId` internal unless the user explicitly asks for diagnostic details.
|
|
22
22
|
|
|
23
23
|
This workflow is read-only. Do not call create, edit, publish, or unpublish tools. Never infer document content, identifiers, revisions, publication status, or URLs from titles or conversation memory.
|
|
@@ -9,7 +9,7 @@ compatibility: Requires the mdedit MCP server with publishing tools and explicit
|
|
|
9
9
|
|
|
10
10
|
Public visibility is a separate, explicit action. Never treat saving or editing as permission to publish.
|
|
11
11
|
|
|
12
|
-
1. Resolve the workspace and document using `list_workspaces`, `list_articles`, and `read_article`. 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.
|
|
12
|
+
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.
|
|
13
13
|
2. For a status-only request, call `get_publish_status`, then call `render_article` with `focus: publish`. Report only the returned state and exact URL fields, then stop without mutating.
|
|
14
14
|
3. Before publishing or updating a public link, warn that anyone with the link can view the document and ask for explicit confirmation. Do not infer confirmation from an earlier save or edit request.
|
|
15
15
|
4. After confirmation, call `publish_article` with `confirmPublic: true`. The tool atomically defaults a new link to Live while preserving an existing link's mode, so do not add a status preflight. Include a custom slug or SEO metadata only when the user supplied or approved it.
|
|
@@ -9,7 +9,7 @@ compatibility: Requires the mdedit MCP server with article read and review tools
|
|
|
9
9
|
|
|
10
10
|
Read the saved document, then leave focused feedback without changing the writer's Markdown.
|
|
11
11
|
|
|
12
|
-
1. Resolve the workspace and document with `list_workspaces` and `list_articles`. 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.
|
|
12
|
+
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.
|
|
13
13
|
2. Call `read_article` for the selected document. Use its current saved content as the only source for the review.
|
|
14
14
|
3. Call `list_review_threads` so you do not duplicate existing feedback.
|
|
15
15
|
4. Add only useful, non-duplicative review items:
|
|
@@ -9,7 +9,7 @@ compatibility: Requires the mdedit MCP server with read_article and edit_article
|
|
|
9
9
|
|
|
10
10
|
Read the current durable content, then apply the smallest unambiguous anchored change.
|
|
11
11
|
|
|
12
|
-
1. Resolve the workspace and document using `list_workspaces`, `list_articles`, and `read_article`. 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.
|
|
12
|
+
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.
|
|
13
13
|
2. Confirm the requested change is specific enough to apply. Ask a focused question when the target text, section, or replacement is unclear.
|
|
14
14
|
3. Build one or more `edit_article` operations:
|
|
15
15
|
- Prefer a unique `quote` anchor with nearby `context`.
|
|
@@ -11,10 +11,9 @@ Create one durable private document from content the user supplied or asked you
|
|
|
11
11
|
|
|
12
12
|
1. Determine the intended title and Markdown content. Ask a focused question if the source material or document boundary is unclear.
|
|
13
13
|
2. Resolve the destination workspace:
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
3. Call `create_article` once with the returned `workspaceId`, title, complete Markdown content, and `collaborative: false` unless the user explicitly asks for live collaboration.
|
|
14
|
+
- Call `list_workspaces` unless the conversation has already established one by name.
|
|
15
|
+
- If exactly one workspace is returned, omit the workspace selector in later calls. If several are returned, ask the user which returned workspace name to use and pass it as `workspaceName`. If none are returned, stop.
|
|
16
|
+
3. Call `create_article` once with the natural workspace selector above, title, complete Markdown content, and `collaborative: false` unless the user explicitly asks for live collaboration.
|
|
18
17
|
4. Treat the save as successful only when the tool returns the saved title, `editorUrl`, `contentHash`, and internal `contentRevision` metadata; keep routing, hash, and revision values out of the conversational response.
|
|
19
18
|
5. Call `render_article` with `focus: preview` so UI-capable hosts show the saved document. Report the saved title in one short sentence and use the exact returned resource link. State that the document remains private.
|
|
20
19
|
|