@javierfrancoleal/docfactory 1.0.0 → 1.0.2
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 +1 -1
- package/assets/docfactory.md +8 -4
- package/assets/docfx.py +2 -2
- package/package.json +45 -9
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ When the model creates professional documents (business plans, one-pagers,
|
|
|
13
13
|
agreements), this skill applies consulting-grade techniques — boxes that
|
|
14
14
|
never split across pages (cantSplit + keep-next chains), repeating table
|
|
15
15
|
headers, no orphan/widow lines, page numbers, document metadata,
|
|
16
|
-
consistent hyperlinks — plus the
|
|
16
|
+
consistent hyperlinks — plus the Trasunto editorial DNA (no
|
|
17
17
|
meta-pointers, narrative flow, modest numbers, no over-promising, one
|
|
18
18
|
concept defined once).
|
|
19
19
|
|
package/assets/docfactory.md
CHANGED
|
@@ -7,10 +7,14 @@ real documents and are implemented in a reusable library.
|
|
|
7
7
|
|
|
8
8
|
## Pillar 1 — The consulting techniques (layout)
|
|
9
9
|
|
|
10
|
-
1. **Boxes never straddle pages
|
|
11
|
-
`cantSplit` on every table row (a row never breaks)
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
1. **Boxes never straddle pages — the sustainable balance** —
|
|
11
|
+
`cantSplit` on every table row (a row never breaks). SMALL boxes
|
|
12
|
+
(≤4 rows) also get the keep-next chain, so the whole box moves
|
|
13
|
+
together. TALL tables do NOT get the chain: they flow across pages
|
|
14
|
+
with a repeating header (`tblHeader`). Forcing a tall box whole is
|
|
15
|
+
the mistake that creates giant white gaps — and an orphaned section
|
|
16
|
+
title means the header chain ends before the table: chain the title
|
|
17
|
+
AND let tall content flow.
|
|
14
18
|
2. **Table headers repeat** — `tblHeader` on the first row: if a table
|
|
15
19
|
continues on another page, its header reappears.
|
|
16
20
|
3. **No orphan/widow lines** — `widowControl` on the Normal style and
|
package/assets/docfx.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# docfx — the
|
|
1
|
+
# docfx — the Trasunto document factory.
|
|
2
2
|
# Professional consulting techniques, one reusable library:
|
|
3
3
|
# · cantSplit + keepNext chains (boxes never straddle pages)
|
|
4
4
|
# · tblHeader (table headers repeat when a table continues)
|
|
@@ -43,7 +43,7 @@ def new_doc(title, subject, margins=(1.4, 1.2, 1.6, 1.6)):
|
|
|
43
43
|
cp.title = title
|
|
44
44
|
cp.author = "Javier Alejandro FRANCO LEAL"
|
|
45
45
|
cp.subject = subject
|
|
46
|
-
cp.company = "
|
|
46
|
+
cp.company = "Trasunto"
|
|
47
47
|
return doc
|
|
48
48
|
|
|
49
49
|
def add_hyperlink(paragraph, text, url, size=9):
|
package/package.json
CHANGED
|
@@ -1,19 +1,55 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@javierfrancoleal/docfactory",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "The professional document factory of the J.Franco agentic workflow: consulting-grade techniques (boxes that never split pages, repeating table headers, no orphan lines, page numbers, metadata) + the editorial DNA (no meta-pointers, narrative flow, modest numbers, no over-promising) + a reusable docfx.py library. Created by J.Franco.",
|
|
5
5
|
"author": "J.Franco",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
|
-
"exports": {
|
|
9
|
+
"exports": {
|
|
10
|
+
".": "./lib/index.js",
|
|
11
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
12
|
+
"./package.json": "./package.json",
|
|
13
|
+
"./locale/*.json": "./locale/*.json"
|
|
14
|
+
},
|
|
10
15
|
"icon": "./icon.svg",
|
|
11
|
-
"files": [
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
"files": [
|
|
17
|
+
"icon.svg",
|
|
18
|
+
"locale/*.json",
|
|
19
|
+
"lib/index.js",
|
|
20
|
+
"assets",
|
|
21
|
+
"cordis.patch.yml",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=24",
|
|
26
|
+
"dsh": ">=0.2.1-rc.0"
|
|
27
|
+
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/JavierFrancoLeal/jfranco-agentic-suite.git",
|
|
31
|
+
"directory": "jfranco-docfactory"
|
|
32
|
+
},
|
|
14
33
|
"homepage": "https://github.com/JavierFrancoLeal/jfranco-agentic-suite",
|
|
15
|
-
"keywords": [
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
34
|
+
"keywords": [
|
|
35
|
+
"deepseek-harness",
|
|
36
|
+
"agentic-workflow",
|
|
37
|
+
"super-agent",
|
|
38
|
+
"documents",
|
|
39
|
+
"docx",
|
|
40
|
+
"consulting"
|
|
41
|
+
],
|
|
42
|
+
"dsh": {
|
|
43
|
+
"manifestVersion": 1,
|
|
44
|
+
"bundle": {
|
|
45
|
+
"patch": "./cordis.patch.yml"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@deepseek-ai/cordis": "~4.0.5",
|
|
53
|
+
"@deepseek-ai/dsh-skill": ">=0.2.1-rc.5"
|
|
54
|
+
}
|
|
19
55
|
}
|