@liuhange/dsh-construction-data-inventory 0.0.0-stage → 3.1.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.
Files changed (54) hide show
  1. package/README.md +72 -3
  2. package/config/classification-config.json +111 -0
  3. package/config/encoding-rule-config.json +9 -0
  4. package/config/source-adapter-config.json +26 -0
  5. package/cordis.patch.yml +9 -0
  6. package/lib/acceptance-doc-adapter.js +56 -0
  7. package/lib/asset-code-generator.js +82 -0
  8. package/lib/asset-ledger-exporter.js +35 -0
  9. package/lib/change-traceability-checker.js +79 -0
  10. package/lib/checksum-calculator.js +53 -0
  11. package/lib/classification-mapper.js +50 -0
  12. package/lib/code-uniqueness-validator.js +20 -0
  13. package/lib/construction-config-loader.js +105 -0
  14. package/lib/contract-adapter.js +57 -0
  15. package/lib/default-classification-config.js +112 -0
  16. package/lib/default-encoding-rule-config.js +10 -0
  17. package/lib/ifc-model-adapter.js +156 -0
  18. package/lib/index.js +304 -0
  19. package/lib/input-validator.js +113 -0
  20. package/lib/invariant.js +32 -0
  21. package/lib/inventory-report-generator.js +140 -0
  22. package/lib/policy-basis-builder.js +25 -0
  23. package/lib/progress-record-adapter.js +58 -0
  24. package/lib/report-desensitizer.js +72 -0
  25. package/lib/review-override-recorder.js +54 -0
  26. package/lib/sequential-code-allocator.js +22 -0
  27. package/lib/source-adapter.js +2 -0
  28. package/lib/types/acceptance-doc-adapter.d.ts +11 -0
  29. package/lib/types/asset-code-generator.d.ts +17 -0
  30. package/lib/types/asset-ledger-exporter.d.ts +7 -0
  31. package/lib/types/change-traceability-checker.d.ts +11 -0
  32. package/lib/types/checksum-calculator.d.ts +7 -0
  33. package/lib/types/classification-mapper.d.ts +12 -0
  34. package/lib/types/code-uniqueness-validator.d.ts +8 -0
  35. package/lib/types/construction-config-loader.d.ts +11 -0
  36. package/lib/types/contract-adapter.d.ts +11 -0
  37. package/lib/types/default-classification-config.d.ts +3 -0
  38. package/lib/types/default-encoding-rule-config.d.ts +3 -0
  39. package/lib/types/ifc-model-adapter.d.ts +14 -0
  40. package/lib/types/index.d.ts +8 -0
  41. package/lib/types/input-validator.d.ts +12 -0
  42. package/lib/types/invariant.d.ts +12 -0
  43. package/lib/types/inventory-report-generator.d.ts +22 -0
  44. package/lib/types/policy-basis-builder.d.ts +8 -0
  45. package/lib/types/progress-record-adapter.d.ts +11 -0
  46. package/lib/types/report-desensitizer.d.ts +12 -0
  47. package/lib/types/review-override-recorder.d.ts +21 -0
  48. package/lib/types/sequential-code-allocator.d.ts +10 -0
  49. package/lib/types/source-adapter.d.ts +9 -0
  50. package/lib/types/types.d.ts +157 -0
  51. package/lib/types/unified-asset-merger.d.ts +13 -0
  52. package/lib/types.js +2 -0
  53. package/lib/unified-asset-merger.js +18 -0
  54. package/package.json +74 -5
package/package.json CHANGED
@@ -1,6 +1,75 @@
1
- {
2
- "name": "@liuhange/dsh-construction-data-inventory",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
1
+ {
2
+ "name": "@liuhange/dsh-construction-data-inventory",
3
+ "description": "Construction project data asset inventory plugin: multi-source heterogeneous data adaptation, GB/T 51269 classification mapping, asset code generation, change traceability detection",
4
+ "version": "3.1.1",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/liuhange789/data-asset-inspector.git",
11
+ "directory": "packages/data-asset/construction-data-inventory"
12
+ },
13
+ "type": "module",
14
+ "main": "lib/index.js",
15
+ "types": "lib/types/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./lib/types/index.d.ts",
19
+ "default": "./lib/index.js"
20
+ },
21
+ "./src/*": "./src/*",
22
+ "./package.json": "./package.json"
23
+ },
24
+ "files": [
25
+ "lib/**/*.js",
26
+ "lib/types/**/*.d.ts",
27
+ "config/*.json",
28
+ "cordis.patch.yml"
29
+ ],
30
+ "license": "MIT",
31
+ "scripts": {
32
+ "typecheck": "tsc --noEmit",
33
+ "test": "vitest run",
34
+ "build": "tsc"
35
+ },
36
+ "dependencies": {
37
+ "@liuhange/dsh-data-asset-shared": "^3.1.0"
38
+ },
39
+ "peerDependencies": {
40
+ "@deepseek-ai/cordis": "^4.0.0",
41
+ "@deepseek-ai/dsh-tools": "0.0.1-rc.1"
42
+ },
43
+ "dsh": {
44
+ "bundle": {
45
+ "patch": "./cordis.patch.yml"
46
+ }
47
+ },
48
+ "keywords": [
49
+ "deepseek-harness",
50
+ "dsh-plugin",
51
+ "data-asset",
52
+ "data-asset-inspector",
53
+ "shujintong",
54
+ "数据资产",
55
+ "construction-data-inventory",
56
+ "gbt-51269",
57
+ "ifc-model",
58
+ "classification-mapping",
59
+ "asset-code",
60
+ "change-traceability",
61
+ "建筑工程",
62
+ "数据资产盘点",
63
+ "分类编码",
64
+ "dsh",
65
+ "typescript",
66
+ "nodejs",
67
+ "automation",
68
+ "audit",
69
+ "compliance",
70
+ "data-governance",
71
+ "plugin",
72
+ "open-source"
73
+ ],
74
+ "homepage": "https://github.com/liuhange789/data-asset-inspector#readme"
6
75
  }