@usejunior/safe-docx 0.0.1 → 0.1.1
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 +16 -33
- package/bin/safe-docx.js +8 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +64 -6
package/README.md
CHANGED
|
@@ -1,45 +1,28 @@
|
|
|
1
1
|
# @usejunior/safe-docx
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@usejunior/safe-docx)
|
|
4
|
+
[](https://github.com/UseJunior/safe-docx/actions/workflows/ci.yml)
|
|
5
|
+
[](https://github.com/UseJunior/safe-docx/blob/main/LICENSE)
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
Canonical npm install name for Safe Docx MCP workflows.
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
Use this package when you want coding agents to perform surgical edits on existing Word `.docx` documents with formatting preservation.
|
|
8
10
|
|
|
9
|
-
##
|
|
11
|
+
## Install and Run
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
3. Establish provenance for packages published under this name
|
|
13
|
+
```bash
|
|
14
|
+
npx -y @usejunior/safe-docx
|
|
15
|
+
```
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
Implementation is provided by `@usejunior/docx-mcp`; this package re-exports the public API and CLI entrypoint under the canonical name.
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
## Scope
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
`@usejunior/safe-docx` is focused on brownfield editing of existing `.docx` files.
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
If your primary use case is creating new documents from scratch, use generation-oriented packages such as [`docx`](https://www.npmjs.com/package/docx).
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
2. Configure the trusted publisher (e.g., GitHub Actions)
|
|
26
|
-
3. Specify the repository and workflow that should be allowed to publish
|
|
27
|
-
4. Use the configured workflow to publish your actual package
|
|
25
|
+
## Full Docs
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
This package is a placeholder for OIDC configuration only. It:
|
|
32
|
-
- Contains no executable code
|
|
33
|
-
- Provides no functionality
|
|
34
|
-
- Should not be installed as a dependency
|
|
35
|
-
- Exists only for administrative purposes
|
|
36
|
-
|
|
37
|
-
## More Information
|
|
38
|
-
|
|
39
|
-
For more details about npm's trusted publishing feature, see:
|
|
40
|
-
- [npm Trusted Publishing Documentation](https://docs.npmjs.com/generating-provenance-statements)
|
|
41
|
-
- [GitHub Actions OIDC Documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect)
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
**Maintained for OIDC setup purposes only**
|
|
27
|
+
- `packages/docx-mcp/README.md`
|
|
28
|
+
- `packages/docx-mcp/docs/tool-reference.generated.md`
|
package/bin/safe-docx.js
ADDED
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@usejunior/docx-mcp';
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@usejunior/docx-mcp';
|
package/package.json
CHANGED
|
@@ -1,10 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usejunior/safe-docx",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Canonical npm package for the Safe Docx MCP server and CLI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"types": "./index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./index.d.ts",
|
|
11
|
+
"import": "./index.js",
|
|
12
|
+
"default": "./index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "node -e \"console.log('safe-docx wrapper package: no build step required')\"",
|
|
17
|
+
"lint": "node -e \"process.exit(0)\"",
|
|
18
|
+
"test": "npm run test:run",
|
|
19
|
+
"test:run": "npm run build -w @usejunior/docx-mcp && node ./bin/safe-docx.js --help > /dev/null",
|
|
20
|
+
"prepack": "npm run test:run"
|
|
21
|
+
},
|
|
22
|
+
"bin": {
|
|
23
|
+
"safe-docx": "./bin/safe-docx.js",
|
|
24
|
+
"safedocx": "./bin/safe-docx.js"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@usejunior/docx-mcp": "^0.1.1"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18.0.0"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/UseJunior/safe-docx"
|
|
35
|
+
},
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"bin",
|
|
41
|
+
"index.js",
|
|
42
|
+
"index.d.ts",
|
|
43
|
+
"README.md"
|
|
44
|
+
],
|
|
45
|
+
"license": "MIT",
|
|
5
46
|
"keywords": [
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
47
|
+
"mcp",
|
|
48
|
+
"mcp-server",
|
|
49
|
+
"model-context-protocol",
|
|
50
|
+
"docx",
|
|
51
|
+
"word",
|
|
52
|
+
"document-editing",
|
|
53
|
+
"tracked-changes",
|
|
54
|
+
"document-comparison",
|
|
55
|
+
"ai",
|
|
56
|
+
"llm",
|
|
57
|
+
"formatting-preservation",
|
|
58
|
+
"ooxml",
|
|
59
|
+
"serverless",
|
|
60
|
+
"cloudflare-workers",
|
|
61
|
+
"edge",
|
|
62
|
+
"vercel"
|
|
63
|
+
],
|
|
64
|
+
"homepage": "https://github.com/UseJunior/safe-docx/tree/main/packages/safe-docx",
|
|
65
|
+
"bugs": {
|
|
66
|
+
"url": "https://github.com/UseJunior/safe-docx/issues"
|
|
67
|
+
}
|
|
10
68
|
}
|