fenix-claude-plugin 0.1.2 → 0.2.0

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.
Files changed (48) hide show
  1. package/.claude-plugin/plugin.json +13 -13
  2. package/.mcp.json +11 -11
  3. package/README.md +33 -40
  4. package/artifacts/collections.html +149 -0
  5. package/artifacts/fenix-workspace.html +1285 -0
  6. package/artifacts/oa-editor.html +210 -0
  7. package/artifacts/patent-editor.html +325 -0
  8. package/artifacts/review-workspace.html +1135 -0
  9. package/commands/fenix-install.md +19 -11
  10. package/commands/fenix-setup.md +18 -13
  11. package/package.json +16 -16
  12. package/skills/fenix-application/SKILL.md +38 -11
  13. package/skills/fenix-application/VERSION +1 -1
  14. package/skills/fenix-application/references/claim1-method-drafting.md +1 -1
  15. package/skills/fenix-application/references/claims.md +4 -5
  16. package/skills/fenix-application/references/disclosure.md +116 -10
  17. package/skills/fenix-application/references/editors.md +228 -39
  18. package/skills/fenix-application/references/figure-description.md +1 -1
  19. package/skills/fenix-application/references/figure-strategy.md +166 -0
  20. package/skills/fenix-application/references/figures-guidance.md +1 -1
  21. package/skills/fenix-application/references/figures.md +60 -9
  22. package/skills/fenix-application/references/patent-review-checklist.md +3 -1
  23. package/skills/fenix-application/references/patent-review.md +6 -2
  24. package/skills/fenix-application/references/patent-safe.md +1 -1
  25. package/skills/fenix-application/references/patent.md +11 -10
  26. package/skills/fenix-application/references/spec-guidance.md +1 -1
  27. package/skills/fenix-application/references/spec.md +17 -7
  28. package/skills/fenix-application/scripts/figure_strategy_server.py +136 -0
  29. package/skills/fenix-diagram/SKILL.md +54 -0
  30. package/skills/fenix-diagram/VERSION +1 -0
  31. package/skills/fenix-diagram/references/diagram-svg-guide.md +271 -0
  32. package/skills/fenix-office-action/SKILL.md +9 -7
  33. package/skills/fenix-office-action/VERSION +1 -1
  34. package/skills/fenix-office-action/references/oa-analysis.md +14 -4
  35. package/skills/fenix-office-action/references/oa-drafting.md +144 -50
  36. package/skills/fenix-office-action/references/oa-response.md +31 -18
  37. package/skills/fenix-project/SKILL.md +4 -3
  38. package/skills/fenix-project/VERSION +1 -1
  39. package/skills/fenix-project/references/create-project.md +11 -1
  40. package/artifacts/practice-dashboard.html +0 -469
  41. package/artifacts/project-overview.html +0 -481
  42. package/artifacts/user-dashboard.html +0 -368
  43. package/skills/fenix-application/CUSTOMIZE.md +0 -1
  44. package/skills/fenix-application/assets/claims_editor.html +0 -86
  45. package/skills/fenix-application/assets/figures_editor.html +0 -86
  46. package/skills/fenix-application/assets/spec_editor.html +0 -86
  47. package/skills/fenix-office-action/CUSTOMIZE.md +0 -1
  48. package/skills/fenix-project/CUSTOMIZE.md +0 -1
@@ -1,13 +1,13 @@
1
- {
2
- "name": "fenix",
3
- "version": "0.1.2",
4
- "description": "Fenix patent automation for Claude — MCP connector plus patent drafting, office-action, and project skills. Provide one API key; the server infers your firm (client + database).",
5
- "author": {
6
- "name": "Fenix AI",
7
- "url": "https://fenix.ai"
8
- },
9
- "homepage": "https://claude.fenix.ai",
10
- "keywords": ["patent", "legal", "fenix", "mcp", "drafting"],
11
- "skills": "./skills/",
12
- "mcpServers": "./.mcp.json"
13
- }
1
+ {
2
+ "name": "fenix",
3
+ "version": "0.2.0",
4
+ "description": "Fenix patent automation for Claude — tenant-aware MCP connector, Fenix Workspace, and current patent skills. Use a personal Fenix access code.",
5
+ "author": {
6
+ "name": "Fenix AI",
7
+ "url": "https://fenix.ai"
8
+ },
9
+ "homepage": "https://claude.fenix.ai",
10
+ "keywords": ["patent", "legal", "fenix", "mcp", "drafting"],
11
+ "skills": "./skills/",
12
+ "mcpServers": "./.mcp.json"
13
+ }
package/.mcp.json CHANGED
@@ -1,11 +1,11 @@
1
- {
2
- "mcpServers": {
3
- "fenix": {
4
- "type": "http",
5
- "url": "https://claude.fenix.ai/api/plugin",
6
- "headers": {
7
- "Authorization": "Bearer ${FENIX_API_KEY:-NOT_SET}"
8
- }
9
- }
10
- }
11
- }
1
+ {
2
+ "mcpServers": {
3
+ "fenix": {
4
+ "type": "http",
5
+ "url": "https://claude.fenix.ai/chau/mcp",
6
+ "headers": {
7
+ "Authorization": "Bearer ${FENIX_MCP_TOKEN:-NOT_SET}"
8
+ }
9
+ }
10
+ }
11
+ }
package/README.md CHANGED
@@ -1,55 +1,48 @@
1
- # Fenix plugin for Claude
1
+ # Fenix plugin for Claude Code
2
2
 
3
- Patent automation for Claude Code / Cowork. Bundles:
3
+ The Fenix plugin connects Claude Code to the current tenant-aware Fenix MCP
4
+ server and bundles the current patent skills plus the Fenix Workspace.
4
5
 
5
- - **The Fenix MCP connector** — `https://claude.fenix.ai/api/plugin` (read + draft tools: `get_project`, `save_project`, `print_patent`, `install_fenix_skills`, and more).
6
- - **The patent skills** — `fenix-application`, `fenix-office-action`, `fenix-project` — shipped as a static snapshot so they work immediately, with a `/fenix-install` command to refresh the firm-customized, latest versions from the server.
6
+ ## Connection
7
7
 
8
- ## One key, nothing else
8
+ The connector uses `https://claude.fenix.ai/chau/mcp` and authenticates with a
9
+ personal Fenix MCP access code stored in `FENIX_MCP_TOKEN`. Create the code in
10
+ Fenix under **Settings > MCP Access**. The connector exposes two tools:
11
+ `read` and `write`. Call `read({ resource: "schema" })` to discover the
12
+ available resources.
9
13
 
10
- You provide a **single API key**. The server infers your firm — client *and* database — from that key, so you never configure a database or client name.
14
+ ## Install
11
15
 
12
- ## Install (no git required)
16
+ ```text
17
+ claude plugin marketplace add https://claude.fenix.ai/marketplace.json
18
+ claude plugin install fenix@fenix
19
+ ```
13
20
 
14
- The marketplace is served over plain HTTPS and the plugin is distributed via npm,
15
- so end users never touch git:
21
+ Set the token outside of chat, then reload plugins:
16
22
 
17
- 1. Add the marketplace and install the plugin:
18
- ```
19
- claude plugin marketplace add https://claude.fenix.ai/marketplace.json
20
- claude plugin install fenix@fenix
21
- ```
22
- 2. Set your key (see `/fenix-setup` for guided steps):
23
- - macOS/Linux: `export FENIX_API_KEY="<your key>"` in `~/.zshrc` / `~/.bashrc`
24
- - Windows: `setx FENIX_API_KEY "<your key>"`
25
- Restart Claude Code so the connector picks up the key.
26
- 3. (Optional) `/fenix-install` — refresh the skills to your firm's latest customized versions.
23
+ ```powershell
24
+ setx FENIX_MCP_TOKEN "your-personal-access-code"
25
+ ```
27
26
 
28
- > Local/dev install (from a clone of this repo, no npm needed):
29
- > `claude plugin marketplace add <path-to-Project-Management>` then `claude plugin install fenix@fenix`
30
- > — this uses the repo-root `.claude-plugin/marketplace.json` (relative source).
27
+ Run `/reload-plugins`, then verify the Fenix server is connected in `/mcp`.
31
28
 
32
- ## Publishing a new version (maintainers)
29
+ ## Fenix Workspace
33
30
 
34
- The plugin ships to users as the npm package **`fenix-claude-plugin`**, referenced by the
35
- HTTPS marketplace at `https://claude.fenix.ai/marketplace.json` (served by
36
- `back-end/pages/api/marketplace.ts`).
31
+ To install the reusable Fenix Workspace, call:
37
32
 
38
- 1. Regenerate the bundled snapshot: `cd back-end && npm run gen:snapshot`.
39
- 2. Bump the version in **three** places (keep them identical):
40
- - `fenix-plugin/package.json` → `version`
41
- - `fenix-plugin/.claude-plugin/plugin.json` → `version`
42
- - `back-end/pages/api/marketplace.ts` → `PLUGIN_VERSION`
43
- 3. Publish: `cd fenix-plugin && npm publish` (unscoped public package — no scope/org needed).
44
- 4. Deploy the back-end so `/marketplace.json` and the `/api/plugin` connector are live.
33
+ ```text
34
+ read({ resource: "artifacts", name: "fenix-workspace" })
35
+ ```
45
36
 
46
- Verify the npm contents before publishing with `npm pack --dry-run`.
37
+ Save and open the returned `fenix-workspace.html` exactly as received from a
38
+ desktop-side session. Do not modify its HTML: it contains the live artifact
39
+ permissions for the Fenix `read` and `write` tools.
47
40
 
48
- ## Commands
41
+ ## Publishing
49
42
 
50
- - `/fenix-setup` guided API-key configuration.
51
- - `/fenix-install` pull the latest, firm-customized skills from the server.
43
+ Run `npm run gen:snapshot` from `back-end` to rebuild the bundled current skills
44
+ and workspace artifacts. Keep the versions in `fenix-plugin/package.json`,
45
+ `fenix-plugin/.claude-plugin/plugin.json`, and
46
+ `back-end/pages/api/marketplace.ts` identical. Check the package with
47
+ `npm pack --dry-run`, then publish it from `fenix-plugin` with `npm publish`.
52
48
 
53
- ## How the skills stay in sync
54
-
55
- The bundled `skills/` snapshot is **generated from the same base files the server serves** (`back-end/skills/…`) — it is never hand-edited. Editing a base file and regenerating updates both the server's dynamic install and this static snapshot, so the two never drift. See `back-end/skills/README.md` for the source of truth and the regeneration script.