structurecc 3.0.0 → 3.0.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/.claude-plugin/plugin.json +3 -22
- package/commands/structure-batch.md +2 -7
- package/commands/structure.md +2 -7
- package/install.js +11 -15
- package/package.json +1 -1
|
@@ -1,27 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "structurecc",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Extract structured data from documents using Claude vision and parallel Task agents",
|
|
5
|
-
"author":
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
"name": "structure",
|
|
9
|
-
"description": "Extract structured data from a document (PDF, DOCX, image)",
|
|
10
|
-
"command": "structure",
|
|
11
|
-
"file": "commands/structure.md",
|
|
12
|
-
"argumentHint": "<path> [--output dir]",
|
|
13
|
-
"userInvocable": true
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"name": "structure-batch",
|
|
17
|
-
"description": "Extract structured data from multiple documents in a directory",
|
|
18
|
-
"command": "structure:batch",
|
|
19
|
-
"file": "commands/structure-batch.md",
|
|
20
|
-
"argumentHint": "<directory> [--output dir]",
|
|
21
|
-
"userInvocable": true
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"prompts": {
|
|
25
|
-
"chunk-extractor": "prompts/chunk-extractor.md"
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "UTMB Diagnostic Center"
|
|
26
7
|
}
|
|
27
8
|
}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
argument-hint: <directory> [--output dir] [--pattern *.pdf]
|
|
5
|
-
allowed-tools: Read, Write, Task, Glob, Bash
|
|
6
|
-
model: opus
|
|
2
|
+
description: Batch extract structured data from multiple documents in a directory
|
|
3
|
+
argument-hint: <directory>
|
|
7
4
|
---
|
|
8
5
|
|
|
9
|
-
<command-name>structure:batch</command-name>
|
|
10
|
-
|
|
11
6
|
# Batch Document Structure Extraction
|
|
12
7
|
|
|
13
8
|
You are extracting structured data from multiple documents in a directory.
|
package/commands/structure.md
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
argument-hint: <path> [--output dir]
|
|
5
|
-
allowed-tools: Read, Write, Task, Glob, Bash
|
|
6
|
-
model: opus
|
|
2
|
+
description: Extract structured data from documents (PDF, DOCX, images) using Claude vision
|
|
3
|
+
argument-hint: <path>
|
|
7
4
|
---
|
|
8
5
|
|
|
9
|
-
<command-name>structure</command-name>
|
|
10
|
-
|
|
11
6
|
# Document Structure Extraction
|
|
12
7
|
|
|
13
8
|
You are extracting structured data from a document using Claude's native vision capabilities and parallel Task agents.
|
package/install.js
CHANGED
|
@@ -26,18 +26,14 @@ function copyFile(src, dest) {
|
|
|
26
26
|
|
|
27
27
|
function install() {
|
|
28
28
|
console.log(`
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
│ │
|
|
38
|
-
│ Document Structure Extraction | Claude Code Plugin | v3.0 │
|
|
39
|
-
│ │
|
|
40
|
-
└──────────────────────────────────────────────────────────────────────┘
|
|
29
|
+
╔═══════════════════════════════════════════════════╗
|
|
30
|
+
║ ║
|
|
31
|
+
║ STRUCTURECC ║
|
|
32
|
+
║ Document Structure Extraction ║
|
|
33
|
+
║ ║
|
|
34
|
+
║ Claude Code Plugin | v3.0 ║
|
|
35
|
+
║ ║
|
|
36
|
+
╚═══════════════════════════════════════════════════╝
|
|
41
37
|
`);
|
|
42
38
|
|
|
43
39
|
const sourceDir = __dirname;
|
|
@@ -70,8 +66,8 @@ function install() {
|
|
|
70
66
|
Installation complete! ${copied}/${FILES.length} files installed.
|
|
71
67
|
|
|
72
68
|
USAGE:
|
|
73
|
-
/structure <path>
|
|
74
|
-
/structure
|
|
69
|
+
/structure <path> Extract from a single document
|
|
70
|
+
/structure-batch <dir> Extract from multiple documents
|
|
75
71
|
|
|
76
72
|
SUPPORTED FORMATS:
|
|
77
73
|
- PDF documents
|
|
@@ -81,7 +77,7 @@ SUPPORTED FORMATS:
|
|
|
81
77
|
EXAMPLE:
|
|
82
78
|
/structure ~/Documents/lab_report.pdf
|
|
83
79
|
/structure ~/Pictures/gel_image.png
|
|
84
|
-
/structure
|
|
80
|
+
/structure-batch ~/Documents/patient_files/
|
|
85
81
|
|
|
86
82
|
Output: JSON + Markdown in same directory as source document
|
|
87
83
|
|
package/package.json
CHANGED