@flowmark/core-cli 0.1.0 → 0.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # FlowMark-core
2
2
 
3
- Core CLI for FlowMark v0.1.
3
+ Core CLI for FlowMark v0.1.2.
4
4
 
5
5
  ## Install (npm)
6
6
 
@@ -27,23 +27,19 @@ flowmark lint path/to/file.md
27
27
 
28
28
  ## Docker
29
29
 
30
- Image: `ghcr.io/centimani/flowmark-core-cli`
30
+ Image: `ghcr.io/centimanidevteam/flowmark-core-cli`
31
31
 
32
32
  ```bash
33
- docker run --rm -v "$(pwd)":/work -w /work ghcr.io/centimani/flowmark-core-cli validate path/to/file.md
34
- cat path/to/file.md | docker run --rm -i -v "$(pwd)":/work -w /work ghcr.io/centimani/flowmark-core-cli validate --stdin
33
+ docker run --rm -v "$(pwd)":/work -w /work ghcr.io/centimanidevteam/flowmark-core-cli validate path/to/file.md
34
+ cat path/to/file.md | docker run --rm -i -v "$(pwd)":/work -w /work ghcr.io/centimanidevteam/flowmark-core-cli validate --stdin
35
35
  ```
36
36
 
37
37
  ## Test Samples (MVP)
38
38
 
39
39
  ```bash
40
- node bin/flowmark.js validate docs/dev/v0.1/samples/minimal.md
41
- node bin/flowmark.js validate docs/dev/v0.1/samples/invalid-duplicate-header.md
42
- node bin/flowmark.js validate docs/dev/v0.1/samples/invalid-no-item.md
43
- node bin/flowmark.js validate docs/dev/v0.1/samples/invalid-status.md
44
- node bin/flowmark.js validate docs/dev/v0.1/samples/invalid-coverage.md
45
- node bin/flowmark.js validate docs/dev/v0.1/samples/invalid-yaml.md
46
- node bin/flowmark.js validate docs/dev/v0.1/samples/lenient-unexpected.md
40
+ node bin/flowmark.js validate docs/dev/v0.1.2/samples/minimal.md
41
+ node bin/flowmark.js validate docs/dev/v0.1.2/samples/spec-conformant.md
42
+ node bin/flowmark.js validate docs/dev/v0.1.2/samples/ai-template.md
47
43
  ```
48
44
 
49
45
  Note: If `E_YAML_PARSE` occurs, derived errors/warnings (e.g. `E_ITEM_NONE`, `W_REGISTRY_MISSING`) are suppressed.
@@ -66,7 +62,7 @@ Unknown keys are allowed but produce `W_UNKNOWN_KEYS` warnings.
66
62
 
67
63
  ```bash
68
64
  npm pack
69
- tar -tf flowmark-core-cli-0.1.0.tgz
65
+ tar -tf flowmark-core-cli-0.1.2.tgz
70
66
  ```
71
67
 
72
68
  Check that `bin/`, `src/`, `README.md`, and `LICENSE` are included.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowmark/core-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "FlowMark core CLI",
5
5
  "private": false,
6
6
  "keywords": [
@@ -1,7 +1,7 @@
1
1
  const ALLOWED_STATUS = new Set(['todo', 'done', 'skipped', 'blocked']);
2
2
 
3
3
  const ALLOWED_KEYS = {
4
- header: new Set(['id', 'title', 'version', 'status', 'created_at', 'inputs']),
4
+ header: new Set(['id', 'title', 'version', 'status', 'created_at', 'inputs', 'contract']),
5
5
  section: new Set(['id', 'scope', 'notes']),
6
6
  item: new Set(['id', 'status', 'refs', 'batch']),
7
7
  registry: new Set(['expected_items'])