deepbom 1.97.4 → 1.98.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepbom",
3
- "version": "1.97.4",
3
+ "version": "1.98.0",
4
4
  "mcpName": "io.github.JunHwan-Kwon/deepbom",
5
5
  "description": "Local multi-format deployment-artifact analysis for on-device AI models",
6
6
  "type": "module",
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "schema": "deepbom.npm_release.v1",
3
- "version": "1.97.4",
3
+ "version": "1.98.0",
4
4
  "source": {
5
- "git_commit": "859274046529f75f7af1f322075191e27330b119",
5
+ "git_commit": "46636ebe3cfdd43fcd782178862073ecbdd5c760",
6
6
  "git_state": "clean",
7
7
  "distribution": "public_channel"
8
8
  },
9
9
  "runtime": {
10
10
  "node": ">=20",
11
- "tflite_wasm_sha256": "0a7d0622cda3c71b4b875c9a93d6dc4260b3c53298b19b5df6d609d97cce845b",
11
+ "tflite_wasm_sha256": "bcc9e81d9d7929d29b6e510328eb840af3c0e66387c350dc02b7282271dded87",
12
12
  "self_test": {
13
13
  "file": "bin/deepbom-self-test.onnx",
14
14
  "sha256": "82a2feef00eb6ab03d82f2b30cd17f4d826e2d8307cb059eccd6a0f3120059b2"
@@ -18,7 +18,7 @@
18
18
  "spdx": "Apache-2.0",
19
19
  "file": "LICENSE"
20
20
  },
21
- "public_bundle_input_count": 157,
21
+ "public_bundle_input_count": 169,
22
22
  "supported_inputs": [
23
23
  "tflite",
24
24
  "onnx",
Binary file
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: deepbom
3
- description: Statically audit serialized AI deployment artifacts with the local DEEPBOM CLI. Use for TFLite, ONNX, Core ML, ExecuTorch, GGUF, or SafeTensors deployment review; MAC and symbolic-shape coverage; quantization contracts; memory feasibility; accelerator eligibility; artifact diff; graph export; SARIF; or CycloneDX 1.7 ML-BOM generation. Do not use for training checkpoints, measured latency, task accuracy, or claims about actual runtime placement without imported evidence.
3
+ description: Statically audit serialized AI model artifacts with the local DEEPBOM CLI. Use for TFLite, ONNX, Core ML, ExecuTorch, GGUF, or SafeTensors deployment review; bounded GraphDef, SavedModel, Keras-config, or PT2 declarative structure; HDF5 or PyTorch-checkpoint safe-envelope inspection; quantization, memory, diff, verification, graph, Model IR, monochrome document views, SARIF, or CycloneDX 1.7 output. Do not treat checkpoint envelopes as executable graphs or claim measured latency, task accuracy, safety, regulatory approval, standards conformance, or actual runtime placement without the required external evidence.
4
4
  ---
5
5
 
6
6
  # Audit deployment artifacts with DEEPBOM
@@ -17,7 +17,7 @@ If no exact local installation is available, ask before running:
17
17
  node "<skill-root>/scripts/verify-deepbom.mjs" --allow-download
18
18
  ```
19
19
 
20
- That explicit fallback may download `deepbom@1.97.4` through npm. Use the returned `invocation.command` and `invocation.prefix_args` for subsequent commands. Do not silently replace a version mismatch or network failure with an unverified executable.
20
+ That explicit fallback may download `deepbom@1.98.0` through npm. Use the returned `invocation.command` and `invocation.prefix_args` for subsequent commands. Do not silently replace a version mismatch or network failure with an unverified executable.
21
21
 
22
22
  ## Start with discovery
23
23
 
@@ -86,9 +86,11 @@ deepbom verify "./model.onnx" --bom "./supplied.cdx.json" --render markdown
86
86
  deepbom contract capture "./model.onnx" -o "./baseline.interface-contract.json"
87
87
  deepbom explain-rule <rule-id> --json
88
88
  deepbom graph "./model.onnx" --view structure --format svg -o graph.svg
89
+ deepbom audit "./model.onnx" --section model_ir --compact
90
+ deepbom visualize "./model.onnx" --view all --orientation portrait -o model-views.zip
89
91
  ```
90
92
 
91
- Use matching serialized deployment formats for diff. Treat `verify --bom` as a reconciliation of the selected component with artifact-observable facts, not a complete BOM or compliance verdict. An automatically captured contract is an artifact-derived baseline until it is separately reviewed and approved. Do not deserialize `.pth`, `.pt`, or `.h5`; bind a conversion receipt to the deployed artifact instead.
93
+ Use matching serialized deployment formats for diff. Treat `verify --bom` as a reconciliation of the selected component with artifact-observable facts, not a complete BOM or compliance verdict. An automatically captured contract is an artifact-derived baseline until it is separately reviewed and approved. `model_ir` and `visualize` are preview engineering projections whose loss ledger and evidence classes must be preserved. Do not deserialize `.pth`, `.pt`, or `.h5`; use only the safe envelope and bind a conversion receipt to the deployed artifact when lineage is needed.
92
94
 
93
95
  ## Handle failure
94
96
 
@@ -6,11 +6,14 @@ Use DEEPBOM when the subject is a serialized deployment artifact and the questio
6
6
  | --- | --- | --- |
7
7
  | TFLite, ONNX, Core ML, or ExecuTorch graph and tensor audit | Yes | Static artifact evidence only |
8
8
  | GGUF or SafeTensors storage, quantization, architecture, or memory lower bound | Yes | No executable graph is invented |
9
+ | GraphDef, first-MetaGraph SavedModel, Keras config, or PT2 declarative dependency review | Yes, preview | Only serialized bounded relationships; no framework construction or runtime-order claim |
10
+ | HDF5 or PyTorch checkpoint identity/archive/risk envelope | Yes, preview | No HDF5 object graph, checkpoint objects, tensor semantics, or executable graph claimed |
11
+ | Common Model IR or monochrome A4 engineering views | Yes, preview | Preserve source refs, evidence class, applicability, and loss ledger; no conformance or regulatory verdict |
9
12
  | MAC and symbolic shape coverage | Yes | Preserve partial or symbolic status |
10
13
  | Quantization contract review | Yes | Do not infer task accuracy |
11
14
  | Accelerator eligibility or selected-build evidence | Yes | Eligibility is not observed assignment |
12
15
  | Artifact version diff | Yes | Inputs must use the same supported format |
13
- | PyTorch or HDF5 training checkpoint execution | No | Convert safely and bind a conversion receipt |
16
+ | PyTorch or HDF5 training checkpoint execution or full model interpretation | No | Convert safely and bind a conversion receipt |
14
17
  | Measured latency, energy, temperature, or accuracy | No | Import runtime evidence or use the appropriate benchmark system |
15
18
 
16
19
  Prefer `summary` first. Request an envelope for cross-format automation, format-specific JSON for a narrow field, SARIF for CI findings, or CycloneDX 1.7 for supply-chain exchange.
@@ -7,4 +7,4 @@
7
7
  5. For remote input, require an immutable identity: a full Hugging Face commit, GCS object generation, or HTTPS SHA-256 fragment.
8
8
  6. Do not raise download, response, or memory limits without explaining the cost and obtaining user approval.
9
9
  7. If no shell, local MCP, or local file access exists, explain that actual analysis cannot run in that client and provide the pinned `npx` command.
10
- 8. Registry download is opt-in. Prefer a verified exact-version installation; use `npx -y deepbom@1.97.4` only after network and installation permission is clear.
10
+ 8. Registry download is opt-in. Prefer a verified exact-version installation; use `npx -y deepbom@1.98.0` only after network and installation permission is clear.
@@ -6,7 +6,7 @@ import path from "node:path";
6
6
  import process from "node:process";
7
7
  import { fileURLToPath } from "node:url";
8
8
 
9
- const VERSION = "1.97.4";
9
+ const VERSION = "1.98.0";
10
10
  const allowDownload = process.argv.slice(2).includes("--allow-download");
11
11
  const attempts = [];
12
12
  const candidates = localCandidates();