@happyvertical/smrt-manufacturing 0.57.46 → 0.57.47

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.
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-manufacturing",
5
- "packageVersion": "0.57.46",
5
+ "packageVersion": "0.57.47",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-manufacturing:BillOfMaterialsCollection": {
8
8
  "name": "billofmaterialscollection",
@@ -77,6 +77,11 @@
77
77
  "extendsTypeArg": "BillOfMaterials",
78
78
  "exportName": "BillOfMaterialsCollection",
79
79
  "collectionExportName": "BillOfMaterialsCollectionCollection",
80
+ "collectionOf": "@happyvertical/smrt-manufacturing:BillOfMaterials",
81
+ "inheritedExposure": [
82
+ "api",
83
+ "mcp"
84
+ ],
80
85
  "schema": {
81
86
  "tableName": "manufacturing_boms",
82
87
  "ddl": "CREATE TABLE IF NOT EXISTS \"manufacturing_boms\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"product_id\" TEXT NOT NULL DEFAULT '',\n \"version\" INTEGER NOT NULL DEFAULT 1,\n \"effective_date\" TIMESTAMP,\n \"status\" TEXT NOT NULL DEFAULT 'draft',\n \"notes\" TEXT DEFAULT '',\n \"currency\" TEXT DEFAULT 'USD'\n);",
@@ -237,6 +242,11 @@
237
242
  "extendsTypeArg": "BomLine",
238
243
  "exportName": "BomLineCollection",
239
244
  "collectionExportName": "BomLineCollectionCollection",
245
+ "collectionOf": "@happyvertical/smrt-manufacturing:BomLine",
246
+ "inheritedExposure": [
247
+ "api",
248
+ "mcp"
249
+ ],
240
250
  "schema": {
241
251
  "tableName": "manufacturing_bom_lines",
242
252
  "ddl": "CREATE TABLE IF NOT EXISTS \"manufacturing_bom_lines\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"bom_id\" TEXT NOT NULL DEFAULT '',\n \"component_sku_id\" TEXT NOT NULL DEFAULT '',\n \"qty_per_unit\" REAL,\n \"uom\" TEXT DEFAULT 'each',\n \"waste_percent\" REAL,\n \"notes\" TEXT DEFAULT ''\n);",
@@ -403,6 +413,12 @@
403
413
  "extendsTypeArg": "Operation",
404
414
  "exportName": "OperationCollection",
405
415
  "collectionExportName": "OperationCollectionCollection",
416
+ "collectionOf": "@happyvertical/smrt-manufacturing:Operation",
417
+ "inheritedExposure": [
418
+ "api",
419
+ "mcp",
420
+ "cli"
421
+ ],
406
422
  "schema": {
407
423
  "tableName": "manufacturing_operations",
408
424
  "ddl": "CREATE TABLE IF NOT EXISTS \"manufacturing_operations\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"code\" TEXT NOT NULL DEFAULT '',\n \"name\" TEXT NOT NULL DEFAULT '',\n \"category\" TEXT DEFAULT '',\n \"is_active\" BOOLEAN DEFAULT TRUE,\n \"required_qualification_id\" UUID\n);",
@@ -567,6 +583,12 @@
567
583
  "extendsTypeArg": "ProductionRun",
568
584
  "exportName": "ProductionRunCollection",
569
585
  "collectionExportName": "ProductionRunCollectionCollection",
586
+ "collectionOf": "@happyvertical/smrt-manufacturing:ProductionRun",
587
+ "inheritedExposure": [
588
+ "api",
589
+ "mcp",
590
+ "cli"
591
+ ],
570
592
  "schema": {
571
593
  "tableName": "manufacturing_production_runs",
572
594
  "ddl": "CREATE TABLE IF NOT EXISTS \"manufacturing_production_runs\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"bom_id\" UUID NOT NULL,\n \"target_qty\" REAL,\n \"completed_qty\" REAL,\n \"status\" TEXT NOT NULL DEFAULT 'planned'\n);",
@@ -709,6 +731,12 @@
709
731
  "extendsTypeArg": "ProductionRunCompletion",
710
732
  "exportName": "ProductionRunCompletionCollection",
711
733
  "collectionExportName": "ProductionRunCompletionCollectionCollection",
734
+ "collectionOf": "@happyvertical/smrt-manufacturing:ProductionRunCompletion",
735
+ "inheritedExposure": [
736
+ "api",
737
+ "mcp",
738
+ "cli"
739
+ ],
712
740
  "schema": {
713
741
  "tableName": "manufacturing_production_run_completions",
714
742
  "ddl": "CREATE TABLE IF NOT EXISTS \"manufacturing_production_run_completions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"run_id\" UUID NOT NULL,\n \"qty\" REAL,\n \"completed_at\" TIMESTAMP\n);",
@@ -853,6 +881,11 @@
853
881
  "extendsTypeArg": "RoutingStep",
854
882
  "exportName": "RoutingStepCollection",
855
883
  "collectionExportName": "RoutingStepCollectionCollection",
884
+ "collectionOf": "@happyvertical/smrt-manufacturing:RoutingStep",
885
+ "inheritedExposure": [
886
+ "api",
887
+ "mcp"
888
+ ],
856
889
  "schema": {
857
890
  "tableName": "manufacturing_routing_steps",
858
891
  "ddl": "CREATE TABLE IF NOT EXISTS \"manufacturing_routing_steps\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"bom_id\" UUID NOT NULL,\n \"operation_id\" UUID NOT NULL,\n \"sequence\" INTEGER NOT NULL DEFAULT 1,\n \"estimated_minutes\" REAL,\n \"notes\" TEXT DEFAULT ''\n);",
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-manufacturing",
6
- "packageVersion": "0.57.46",
6
+ "packageVersion": "0.57.47",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "81114dd290ae103c1547d3e9181a94403204afe382bffe710bfbeb208ef00278",
11
- "packageJson": "77181bc332a228ac42bc4e4769439b485afec033f0bf41ccc769c90fa0114694",
10
+ "manifest": "09e348560dfe7a4f56da83de4f9b44308b2de9595cd00ce7a2965fc7a732cb66",
11
+ "packageJson": "8ef918b48fce13a3424476e2e2d4a0cc6329a4ed65c970d57466bd087d6a7281",
12
12
  "agents": "53bbb8d8dfd7e1dbd438a4ad1559be8cd1ad8ed46c726d5498d2dda5b3535054",
13
13
  "moduleDoc:agents/multilevel-and-runs.md": "544d519356801f3cb3beb9e6d49a3e0eec93fdddf3f56150cf3141f766f98c9d"
14
14
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-manufacturing",
3
- "version": "0.57.46",
3
+ "version": "0.57.47",
4
4
  "smrtJsdoc": "strict",
5
5
  "description": "Bills of materials, cost rollup, and production-order operations for the SMRT framework — strictly industry-neutral",
6
6
  "type": "module",
@@ -35,14 +35,14 @@
35
35
  "./manifest.json": "./dist/manifest.json"
36
36
  },
37
37
  "dependencies": {
38
- "@happyvertical/logger": "^0.111.0",
39
- "@happyvertical/smrt-core": "0.57.46",
40
- "@happyvertical/smrt-inventory": "0.57.46",
41
- "@happyvertical/smrt-products": "0.57.46",
42
- "@happyvertical/smrt-tenancy": "0.57.46",
43
- "@happyvertical/smrt-types": "0.57.46",
44
- "@happyvertical/smrt-ui": "0.57.46",
45
- "@happyvertical/sql": "^0.111.0"
38
+ "@happyvertical/logger": "^0.111.3",
39
+ "@happyvertical/smrt-core": "0.57.47",
40
+ "@happyvertical/smrt-inventory": "0.57.47",
41
+ "@happyvertical/smrt-products": "0.57.47",
42
+ "@happyvertical/smrt-tenancy": "0.57.47",
43
+ "@happyvertical/smrt-types": "0.57.47",
44
+ "@happyvertical/smrt-ui": "0.57.47",
45
+ "@happyvertical/sql": "^0.111.3"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "svelte": "^5.57.0"
@@ -53,7 +53,7 @@
53
53
  }
54
54
  },
55
55
  "devDependencies": {
56
- "@happyvertical/smrt-vitest": "0.57.46",
56
+ "@happyvertical/smrt-vitest": "0.57.47",
57
57
  "@sveltejs/package": "^2.5.8",
58
58
  "@sveltejs/vite-plugin-svelte": "^7.3.0",
59
59
  "@types/node": "24.13.6",