chiltepin 0.47.8 → 0.47.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chiltepin",
3
- "version": "0.47.8",
3
+ "version": "0.47.10",
4
4
  "description": "Documentation-as-code CLI: write Markdown with typed YAML blocks for API docs, architecture & system design (C4, ERDs, sequence diagrams), frontend & design systems, ADRs and decision records, planning, and slide presentations. Validate like code with `chiltepin check`, export to HTML, slides, or PDF. AI-native — one-command agent skill (npx skills add jdiejim/chiltepin -y) and a visual Studio.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,9 +25,9 @@
25
25
  "picocolors": "^1.1.1",
26
26
  "react": "^18.3.1",
27
27
  "yaml": "^2.6.1",
28
+ "chiltepin-render": "0.34.2",
28
29
  "chiltepin-core": "0.25.0",
29
- "chiltepin-render": "0.34.0",
30
- "chiltepin-studio": "0.16.4"
30
+ "chiltepin-studio": "0.16.6"
31
31
  },
32
32
  "optionalDependencies": {
33
33
  "playwright": "^1.49.0"
@@ -92,6 +92,7 @@ content. Rewrite the whole document only when the user requests a rewrite.
92
92
  | What is this made of? | `anatomy` · `composition` · `erd` · `layers` | labeled parts of a string → anatomy; proportions → composition |
93
93
  | What causes this? | `fishbone` · `matrix` | one effect, branching causes → fishbone |
94
94
  | Why did we decide this? | `options` · `proscons` · `scqa` · `takeaways` · `callout` | the ADR shape → `reference/recipes.md`; the decision alone → callout |
95
+ | Is it a table, or a table with a job? | `table` · `statustable` · `matrix` · `heatmap` · `benchmark` · `scorecard` · `glossary` · `changelog` · `inventory` · `audit` · `checklist` · `journey` | `table` only when every cell is a plain fact. A status per row → statustable; two axes with a mark or permission → matrix; a value grid read by intensity → heatmap; measured numbers compared → benchmark; scores you gave → scorecard; term — definition → glossary; releases → changelog; components with a maturity → inventory; findings with evidence → audit; a standard applied → checklist; touchpoints per stage → journey; API params → endpoint |
95
96
  | What does the API accept and return? | `endpoint` · `code` · `packet` · `table` | HTTP surface → endpoint; wire format → packet; error codes → table |
96
97
  | How does the AI workflow run end to end? | `flow` · `swimlane` · `block` · `cycle` · `sequence` | agents, models, tools, humans and memory as `flow` nodes with `kind: agent / llm / tool / human / memory` — a RAG pipeline, a router, a multi-agent hand-off, a generate-check-repair loop; several owners per step → swimlane; the deployment around it → block; an improve-and-re-evaluate loop → cycle; one turn's timing → sequence. Draw the workflow the request describes; `agentloop` is only the fixed single-agent frame |
97
98
  | How does one agent's loop behave? | `agentloop` · `trace` · `prompt` · `context` | the loop → agentloop; one real run → trace; the contract → prompt; window contents → context |
@@ -140,6 +141,9 @@ existing fence only to silence the `W_ALIAS_TYPE` warning.
140
141
  `code` block (`kind: compare` for before / after); terms are a
141
142
  `glossary`; questions a reader will ask are a `faq`; a runbook is
142
143
  `steps`; side-by-side snippets or nested diagrams are a `gallery`.
144
+ Before writing `table`, read the "table with a job" row: a grid whose
145
+ rows carry a status, score, definition, release, or finding has its own
146
+ block, and that block draws the status chips and derived values for you.
143
147
  - Diagram data (node names, messages, labels, values) is never trimmed to
144
148
  fit. Split a dense diagram into two; `chiltepin check` warns at the caps.
145
149
  - Every arrow says what crosses it, as a verb phrase, never "uses". A `c4`
@@ -9,13 +9,18 @@ Structure & emphasis for headline numbers, targets, and code as evidence
9
9
  (`stats`, `slo`, `code`).
10
10
  **Answers**: What are the exact values? How big, fast, or reliable is it,
11
11
  as measured?
12
- **Not this family**:
12
+ **Not this family** — a table with a job has its own block:
13
13
 
14
14
  - cells are permission levels → `matrix` (business.md)
15
15
  - a value grid read by intensity → `heatmap` (charts-overviews.md)
16
16
  - the numbers move over time → `chart` (charts-overviews.md)
17
17
  - scores you invented rather than measured → `scorecard` or `harvey`
18
18
  (business.md)
19
+ - a status per row → `statustable` (planning.md); components with a
20
+ maturity → `inventory` (design-system.md)
21
+ - term — definition → `glossary`; releases → `changelog`; findings with
22
+ evidence → `audit`; a standard applied → `checklist` (quality.md)
23
+ - touchpoints per stage → `journey`; API params / responses → `endpoint`
19
24
 
20
25
  ### Tables & metrics
21
26
 
@@ -52,4 +57,6 @@ table; when the change is the point, `kind: compare` or `kind: diff`.
52
57
  `highlight: "3-5, 8"` bands the lines that matter; `lines: true` numbers
53
58
  them; `cols: 2` sets snippets side by side (request / response); `kind:
54
59
  compare` is before / after under eyebrows; `kind: terminal` is a `session`.
60
+ `lang: text` for prompts and plain notes (no highlighting); `lang: markdown`
61
+ for Markdown source.
55
62
  `steps` for a runbook with prose between commands; `gallery` for a card grid.