oh-my-patent 0.2.0 → 0.3.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 (85) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +392 -390
  3. package/README.zh-CN.md +498 -491
  4. package/dist/adapters/claude/index.js +7 -8
  5. package/dist/adapters/claude/index.js.map +1 -1
  6. package/dist/adapters/codex/index.js +21 -9
  7. package/dist/adapters/codex/index.js.map +1 -1
  8. package/dist/adapters/generate.js +2 -0
  9. package/dist/adapters/generate.js.map +1 -1
  10. package/dist/adapters/loader.js +13 -3
  11. package/dist/adapters/loader.js.map +1 -1
  12. package/dist/adapters/opencode/index.d.ts +22 -0
  13. package/dist/adapters/opencode/index.js +147 -0
  14. package/dist/adapters/opencode/index.js.map +1 -0
  15. package/dist/cli.js +62 -57
  16. package/dist/cli.js.map +1 -1
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.js +1 -0
  19. package/dist/index.js.map +1 -1
  20. package/package.json +55 -55
  21. package/plugin.jsonc +191 -191
  22. package/src/adapters/claude/index.ts +494 -494
  23. package/src/adapters/codex/index.ts +689 -676
  24. package/src/adapters/generate.ts +133 -131
  25. package/src/adapters/loader.ts +438 -427
  26. package/src/adapters/opencode/index.ts +166 -0
  27. package/src/adapters/types.ts +146 -146
  28. package/src/agents/archimedes.md +569 -569
  29. package/src/agents/archimedes.ts +82 -82
  30. package/src/agents/patent-adversarial-examiner.md +22 -22
  31. package/src/agents/patent-brainstorm-moderator.md +137 -137
  32. package/src/agents/patent-diagram-generator.md +147 -147
  33. package/src/agents/patent-disclosure-reviewer.md +19 -19
  34. package/src/agents/patent-disclosure-writer.md +30 -30
  35. package/src/agents/patent-init-sentinel.md +106 -106
  36. package/src/agents/patent-innovation-architect.md +126 -126
  37. package/src/agents/patent-landscape-analyst.md +290 -290
  38. package/src/agents/patent-path-recorder.md +281 -281
  39. package/src/agents/patent-product-compliance-analyst.md +20 -20
  40. package/src/agents/patent-security-engineer.md +26 -26
  41. package/src/agents/patent-technical-responder.md +19 -19
  42. package/src/agents/patentability-evaluator.md +96 -96
  43. package/src/cli.ts +927 -922
  44. package/src/commands/archimedes.md +27 -27
  45. package/src/commands/brainstorm-resume.md +200 -200
  46. package/src/commands/patent-check.md +48 -48
  47. package/src/commands/patent-diagram.md +34 -34
  48. package/src/commands/patent-draft.md +24 -24
  49. package/src/commands/patent-new.md +30 -30
  50. package/src/commands/patent-review.md +27 -27
  51. package/src/commands/patent-search.md +30 -30
  52. package/src/commands/patent-status.md +28 -28
  53. package/src/commands/path-branch.ts +452 -452
  54. package/src/commands/path-query.ts +428 -428
  55. package/src/commands/path-restore.ts +238 -238
  56. package/src/commands/path-visualization.ts +395 -395
  57. package/src/commands/render.ts +410 -410
  58. package/src/commands/shared.ts +54 -54
  59. package/src/core/brainstorm-path.ts +359 -359
  60. package/src/core/diagram-inserter.ts +149 -149
  61. package/src/core/diagram-renderer.ts +322 -322
  62. package/src/core/diagram-types.ts +150 -150
  63. package/src/core/feature-matrix-schema.ts +141 -141
  64. package/src/core/init-checker.ts +565 -565
  65. package/src/core/landscape-schema.ts +162 -162
  66. package/src/core/path-graph.ts +582 -582
  67. package/src/core/path-persistence.ts +332 -332
  68. package/src/core/problem-map-schema.ts +97 -97
  69. package/src/core/router.ts +152 -152
  70. package/src/core/state-manager.ts +64 -64
  71. package/src/core/state.ts +94 -94
  72. package/src/core/threshold-config.ts +327 -327
  73. package/src/core/validator.ts +37 -37
  74. package/src/core/workflow.ts +100 -100
  75. package/src/index.ts +38 -37
  76. package/src/skills/brainstorm-path/SKILL.md +242 -237
  77. package/src/skills/disclosure-template/SKILL.md +44 -39
  78. package/src/skills/evidence-card/SKILL.md +75 -70
  79. package/src/skills/jurisdiction/SKILL.md +107 -102
  80. package/src/skills/jurisdiction.ts +167 -167
  81. package/src/skills/prior-art-search/SKILL.md +248 -243
  82. package/src/skills/quality-gate/SKILL.md +44 -39
  83. package/src/skills/quality-gate.ts +63 -63
  84. package/src/tui/app.tsx +669 -669
  85. package/src/tui/cli.ts +20 -20
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 oh-my-patent contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 oh-my-patent contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.