agentworkshop 0.7.21 → 0.7.23
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/BJbhwS5o.js +1 -0
- package/.output/public/_nuxt/Bo8t5fkJ.js +1 -0
- package/.output/public/_nuxt/{DBXhDLgl.js → BuiGDfMB.js} +1 -1
- package/.output/public/_nuxt/{QT54MQV9.js → C53drffV.js} +1 -1
- package/.output/public/_nuxt/{BA3XzwiD.js → CEHmSufQ.js} +2 -2
- package/.output/public/_nuxt/Dc32T41C.js +1 -0
- package/.output/public/_nuxt/DtzZqC0z.js +1 -0
- package/.output/public/_nuxt/{BOJaHO5V.js → Ko9mMsJj.js} +3 -3
- package/.output/public/_nuxt/{TownView.BHLKAjEu.css → TownView.zu2rU5nS.css} +1 -1
- package/.output/public/_nuxt/_id_.C-YXjn8Q.css +1 -0
- package/.output/public/_nuxt/_id_.MbzdFygI.css +1 -0
- package/.output/public/_nuxt/_wsId_.BqWBlY7X.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/1adc96e0-8bbd-4a79-ac7e-b6952556fef8.json +1 -0
- package/.output/public/_nuxt/daq.3OKj58HH.css +1 -0
- package/.output/public/_nuxt/dbi5bHkY.js +2 -0
- package/.output/public/_nuxt/dcw.rXH2fc2Z.css +1 -0
- package/.output/public/_nuxt/entry.OR_psZHp.css +1 -0
- package/.output/public/_nuxt/{DsOkkMX3.js → jyQyulh-.js} +1 -1
- package/.output/public/_nuxt/logs.DMOM-iHe.css +1 -0
- package/.output/public/_nuxt/{B-E8fXAO.js → n3vMFfrv.js} +1 -1
- package/.output/server/chunks/_/nitro.mjs +842 -717
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/build/{TownView-ql2eHZOg.mjs → TownView-DxeQe1Bl.mjs} +144 -143
- package/.output/server/chunks/build/{TownView-ql2eHZOg.mjs.map → TownView-DxeQe1Bl.mjs.map} +1 -1
- package/.output/server/chunks/build/{_id_-CwR5oLu9.mjs → _id_-DQDqj-cZ.mjs} +33 -35
- package/.output/server/chunks/build/_id_-DQDqj-cZ.mjs.map +1 -0
- package/.output/server/chunks/build/{_id_-Bs-euJPu.mjs → _id_-DY6v6sqB.mjs} +138 -137
- package/.output/server/chunks/build/_id_-DY6v6sqB.mjs.map +1 -0
- package/.output/server/chunks/build/{_wsId_-B3aB9bIp.mjs → _wsId_-C2O5zZsI.mjs} +6 -6
- package/.output/server/chunks/build/{_wsId_-B3aB9bIp.mjs.map → _wsId_-C2O5zZsI.mjs.map} +1 -1
- package/.output/server/chunks/build/{daq-epWL_sC7.mjs → daq-B-3xCp_2.mjs} +146 -118
- package/.output/server/chunks/build/daq-B-3xCp_2.mjs.map +1 -0
- package/.output/server/chunks/build/{dcw-CBPaFj2f.mjs → dcw-BL2dhuz7.mjs} +43 -43
- package/.output/server/chunks/build/{dcw-CBPaFj2f.mjs.map → dcw-BL2dhuz7.mjs.map} +1 -1
- package/.output/server/chunks/build/{logs-Bz1p6x_5.mjs → logs-Dto_umFY.mjs} +44 -38
- package/.output/server/chunks/build/logs-Dto_umFY.mjs.map +1 -0
- package/.output/server/chunks/build/{pages-Dq7_H4FK.mjs → pages-D9tOoJsf.mjs} +2 -2
- package/.output/server/chunks/build/{pages-Dq7_H4FK.mjs.map → pages-D9tOoJsf.mjs.map} +1 -1
- package/.output/server/chunks/build/{town-CstiKxf_.mjs → town-Dsh0jlwZ.mjs} +3 -3
- package/.output/server/chunks/build/{town-CstiKxf_.mjs.map → town-Dsh0jlwZ.mjs.map} +1 -1
- package/.output/server/chunks/build/{useDaqStream-BOOZ-p-l.mjs → useDaqStream-DkRL3tEW.mjs} +9 -1
- package/.output/server/chunks/build/{useDaqStream-BOOZ-p-l.mjs.map → useDaqStream-DkRL3tEW.mjs.map} +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +33 -0
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/chunks/virtual/entry.mjs +16 -8
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/app/assets/css/main.css +306 -161
- package/app/components/workshop/blocks/ClusterArtifact.vue +0 -16
- package/app/components/workshop/town/TownView.vue +7082 -7076
- package/app/composables/workshop/useDaqStream.ts +10 -0
- package/app/pages/daq/[id].vue +919 -937
- package/app/pages/daq/index.vue +67 -43
- package/app/pages/dcw/[id].vue +6 -5
- package/app/pages/dcw/index.vue +1 -30
- package/app/pages/logs/index.vue +99 -87
- package/i18n/locales/en.ts +3 -0
- package/i18n/locales/zh-CN.ts +5 -0
- package/package.json +148 -148
- package/scripts/_dbg-device-bind-e2e.mjs +129 -0
- package/scripts/_dbg-logs-ui-e2e.py +125 -0
- package/server/api/workshop/daq/[id]/bind.post.ts +5 -2
- package/server/api/workshop/daq/[id]/bindings.put.ts +22 -0
- package/server/api/workshop/dcw/[id]/bind.post.ts +4 -2
- package/server/api/workshop/dcw/[id]/bindings.put.ts +21 -0
- package/server/data/daqs.json +405 -100
- package/server/data/dcw-lines.json +7 -0
- package/server/data/dcw-rollback.json +21 -10
- package/server/data/dcw-runs.json +50 -54
- package/server/data/dcw-writes.json +24 -0
- package/server/data/dcws.json +505 -216
- package/server/data/line-runs.json +18 -18
- package/server/services/workshop/agents/industrial-context.ts +231 -222
- package/server/services/workshop/daq/daq-controller.ts +76 -23
- package/server/services/workshop/daq/daq-node.ts +11 -1
- package/server/services/workshop/dcw/dcw-controller.ts +50 -2
- package/server/services/workshop/dcw/dcw-node.ts +10 -1
- package/shared/daq-protocol.ts +2 -0
- package/shared/dcw-protocol.ts +2 -0
- package/.output/public/_nuxt/B_C3GLsD.js +0 -1
- package/.output/public/_nuxt/Ba7YofCb.js +0 -2
- package/.output/public/_nuxt/C_2bTK0C.js +0 -1
- package/.output/public/_nuxt/CgT5wMfz.js +0 -1
- package/.output/public/_nuxt/D4CLp1hc.js +0 -1
- package/.output/public/_nuxt/_id_.DIxEKj88.css +0 -1
- package/.output/public/_nuxt/_id_.IbmpkhH4.css +0 -1
- package/.output/public/_nuxt/_wsId_.BFyCuUwS.css +0 -1
- package/.output/public/_nuxt/builds/meta/5d344836-03a5-4f47-a0a7-fd30192f5a8f.json +0 -1
- package/.output/public/_nuxt/daq.6IrhVVfy.css +0 -1
- package/.output/public/_nuxt/dcw.rpqpOYQ8.css +0 -1
- package/.output/public/_nuxt/entry.DRUzDwmX.css +0 -1
- package/.output/public/_nuxt/logs.BarkrvUp.css +0 -1
- package/.output/server/chunks/build/_id_-Bs-euJPu.mjs.map +0 -1
- package/.output/server/chunks/build/_id_-CwR5oLu9.mjs.map +0 -1
- package/.output/server/chunks/build/daq-epWL_sC7.mjs.map +0 -1
- package/.output/server/chunks/build/logs-Bz1p6x_5.mjs.map +0 -1
|
@@ -1461,5 +1461,12 @@
|
|
|
1461
1461
|
"color": "#b58cff",
|
|
1462
1462
|
"description": "",
|
|
1463
1463
|
"createdAt": "2026-09-07T01:17:49.478+08:00"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"id": "ln-9d2e732c",
|
|
1467
|
+
"name": "可视产线",
|
|
1468
|
+
"color": "#ff8a5c",
|
|
1469
|
+
"description": "",
|
|
1470
|
+
"createdAt": "2026-09-07T10:18:16.098+08:00"
|
|
1464
1471
|
}
|
|
1465
1472
|
]
|
|
@@ -5557,6 +5557,17 @@
|
|
|
5557
5557
|
"id": "anc-7a2aabf7",
|
|
5558
5558
|
"at": "2026-09-07T02:15:41.198+08:00",
|
|
5559
5559
|
"recordId": "opt-c57eb859"
|
|
5560
|
+
},
|
|
5561
|
+
{
|
|
5562
|
+
"lineId": "ln-c096b074",
|
|
5563
|
+
"nodeId": "dw-4ed8c3ce",
|
|
5564
|
+
"prevValue": null,
|
|
5565
|
+
"newValue": 50,
|
|
5566
|
+
"source": "recipe",
|
|
5567
|
+
"actor": "recipe",
|
|
5568
|
+
"recipeRunId": "rr-77310ee4",
|
|
5569
|
+
"id": "anc-4f735fd7",
|
|
5570
|
+
"at": "2026-09-07T10:34:38.491+08:00"
|
|
5560
5571
|
}
|
|
5561
5572
|
],
|
|
5562
5573
|
"records": [
|
|
@@ -5948,7 +5959,7 @@
|
|
|
5948
5959
|
"channels": [],
|
|
5949
5960
|
"degraded": true
|
|
5950
5961
|
},
|
|
5951
|
-
"evaluatedAt": "2026-09-
|
|
5962
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
5952
5963
|
"windowAgg": {
|
|
5953
5964
|
"at": "2026-08-31T16:25:17.398Z",
|
|
5954
5965
|
"fromMs": 1788193396897,
|
|
@@ -12397,7 +12408,7 @@
|
|
|
12397
12408
|
}
|
|
12398
12409
|
]
|
|
12399
12410
|
},
|
|
12400
|
-
"evaluatedAt": "2026-09-
|
|
12411
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
12401
12412
|
"windowAgg": {
|
|
12402
12413
|
"at": "2026-09-05T02:07:03.383Z",
|
|
12403
12414
|
"fromMs": 1788573903195,
|
|
@@ -12458,7 +12469,7 @@
|
|
|
12458
12469
|
}
|
|
12459
12470
|
]
|
|
12460
12471
|
},
|
|
12461
|
-
"evaluatedAt": "2026-09-
|
|
12472
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
12462
12473
|
"windowAgg": {
|
|
12463
12474
|
"at": "2026-09-05T02:44:52.815Z",
|
|
12464
12475
|
"fromMs": 1788576172595,
|
|
@@ -12518,7 +12529,7 @@
|
|
|
12518
12529
|
}
|
|
12519
12530
|
]
|
|
12520
12531
|
},
|
|
12521
|
-
"evaluatedAt": "2026-09-
|
|
12532
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
12522
12533
|
"windowAgg": {
|
|
12523
12534
|
"at": "2026-09-05T03:09:49.742Z",
|
|
12524
12535
|
"fromMs": 1788577669697,
|
|
@@ -12578,7 +12589,7 @@
|
|
|
12578
12589
|
}
|
|
12579
12590
|
]
|
|
12580
12591
|
},
|
|
12581
|
-
"evaluatedAt": "2026-09-
|
|
12592
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
12582
12593
|
"windowAgg": {
|
|
12583
12594
|
"at": "2026-09-05T03:34:32.268Z",
|
|
12584
12595
|
"fromMs": 1788579151974,
|
|
@@ -12627,7 +12638,7 @@
|
|
|
12627
12638
|
"channels": [],
|
|
12628
12639
|
"degraded": true
|
|
12629
12640
|
},
|
|
12630
|
-
"evaluatedAt": "2026-09-
|
|
12641
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
12631
12642
|
"windowAgg": {
|
|
12632
12643
|
"at": "2026-09-05T09:01:07.414Z",
|
|
12633
12644
|
"fromMs": 1788598747074,
|
|
@@ -12666,7 +12677,7 @@
|
|
|
12666
12677
|
"channels": [],
|
|
12667
12678
|
"degraded": true
|
|
12668
12679
|
},
|
|
12669
|
-
"evaluatedAt": "2026-09-
|
|
12680
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
12670
12681
|
"windowAgg": {
|
|
12671
12682
|
"at": "2026-09-06T21:04:02.391+08:00",
|
|
12672
12683
|
"fromMs": 1788699722063,
|
|
@@ -12705,7 +12716,7 @@
|
|
|
12705
12716
|
"channels": [],
|
|
12706
12717
|
"degraded": true
|
|
12707
12718
|
},
|
|
12708
|
-
"evaluatedAt": "2026-09-
|
|
12719
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
12709
12720
|
"windowAgg": {
|
|
12710
12721
|
"at": "2026-09-06T21:18:40.623+08:00",
|
|
12711
12722
|
"fromMs": 1788700600508,
|
|
@@ -12744,7 +12755,7 @@
|
|
|
12744
12755
|
"channels": [],
|
|
12745
12756
|
"degraded": true
|
|
12746
12757
|
},
|
|
12747
|
-
"evaluatedAt": "2026-09-
|
|
12758
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
12748
12759
|
"windowAgg": {
|
|
12749
12760
|
"at": "2026-09-06T21:27:40.730+08:00",
|
|
12750
12761
|
"fromMs": 1788701140666,
|
|
@@ -13793,7 +13804,7 @@
|
|
|
13793
13804
|
}
|
|
13794
13805
|
]
|
|
13795
13806
|
},
|
|
13796
|
-
"evaluatedAt": "2026-09-
|
|
13807
|
+
"evaluatedAt": "2026-09-07T11:22:31.954+08:00",
|
|
13797
13808
|
"windowAgg": {
|
|
13798
13809
|
"at": "2026-09-07T01:35:04.592+08:00",
|
|
13799
13810
|
"fromMs": 1788715984468,
|
|
@@ -1,58 +1,4 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"id": "rr-63a9d6d6",
|
|
4
|
-
"recipeId": "rc-8a659d97",
|
|
5
|
-
"recipeName": "RB审计配方-33hss",
|
|
6
|
-
"productId": "pd-fe39aac8",
|
|
7
|
-
"lineId": "ln-f178ca43",
|
|
8
|
-
"startedAt": "2026-08-31T16:30:40.424Z",
|
|
9
|
-
"endedAt": null,
|
|
10
|
-
"results": [
|
|
11
|
-
{
|
|
12
|
-
"templateRef": "dcw-temp-sp",
|
|
13
|
-
"nodeId": "dw-88c0516b",
|
|
14
|
-
"ok": true,
|
|
15
|
-
"message": "Mock PLC 写入成功:175 → raw 175,回读一致(标定后物理值 175)",
|
|
16
|
-
"value": 175
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"paramsSnapshot": [
|
|
20
|
-
{
|
|
21
|
-
"nodeId": "dw-88c0516b",
|
|
22
|
-
"templateRef": "dcw-temp-sp",
|
|
23
|
-
"value": 175,
|
|
24
|
-
"min": 160,
|
|
25
|
-
"max": 180
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"id": "rr-76ef5c67",
|
|
31
|
-
"recipeId": "rc-8a659d97",
|
|
32
|
-
"recipeName": "RB审计配方-33hss",
|
|
33
|
-
"productId": "pd-fe39aac8",
|
|
34
|
-
"lineId": "ln-f178ca43",
|
|
35
|
-
"startedAt": "2026-08-31T16:30:44.897Z",
|
|
36
|
-
"endedAt": "2026-08-31T16:30:45.793Z",
|
|
37
|
-
"results": [
|
|
38
|
-
{
|
|
39
|
-
"templateRef": "dcw-temp-sp",
|
|
40
|
-
"nodeId": "dw-88c0516b",
|
|
41
|
-
"ok": true,
|
|
42
|
-
"message": "Mock PLC 写入成功:175 → raw 175,回读一致(标定后物理值 175)",
|
|
43
|
-
"value": 175
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"paramsSnapshot": [
|
|
47
|
-
{
|
|
48
|
-
"nodeId": "dw-88c0516b",
|
|
49
|
-
"templateRef": "dcw-temp-sp",
|
|
50
|
-
"value": 175,
|
|
51
|
-
"min": 160,
|
|
52
|
-
"max": 180
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
2
|
{
|
|
57
3
|
"id": "rr-1b10764f",
|
|
58
4
|
"recipeId": "rc-8a659d97",
|
|
@@ -6168,5 +6114,55 @@
|
|
|
6168
6114
|
"value": 500
|
|
6169
6115
|
}
|
|
6170
6116
|
]
|
|
6117
|
+
},
|
|
6118
|
+
{
|
|
6119
|
+
"id": "rr-20c111fd",
|
|
6120
|
+
"recipeId": "rc-2f707a19",
|
|
6121
|
+
"recipeName": "bindrec-dbznl2",
|
|
6122
|
+
"productId": "pd-943ef677",
|
|
6123
|
+
"lineId": "ln-68dcde46",
|
|
6124
|
+
"startedAt": "2026-09-07T10:16:33.503+08:00",
|
|
6125
|
+
"endedAt": "2026-09-07T10:16:51.687+08:00",
|
|
6126
|
+
"results": [
|
|
6127
|
+
{
|
|
6128
|
+
"templateRef": "temp-sp",
|
|
6129
|
+
"nodeId": "dw-59454017",
|
|
6130
|
+
"ok": true,
|
|
6131
|
+
"message": "Mock PLC 写入成功:50 → raw 50,回读一致(标定后物理值 50)",
|
|
6132
|
+
"value": 50
|
|
6133
|
+
}
|
|
6134
|
+
],
|
|
6135
|
+
"paramsSnapshot": [
|
|
6136
|
+
{
|
|
6137
|
+
"nodeId": "dw-59454017",
|
|
6138
|
+
"templateRef": "temp-sp",
|
|
6139
|
+
"value": 50
|
|
6140
|
+
}
|
|
6141
|
+
]
|
|
6142
|
+
},
|
|
6143
|
+
{
|
|
6144
|
+
"id": "rr-77310ee4",
|
|
6145
|
+
"recipeId": "rc-0110968b",
|
|
6146
|
+
"recipeName": "bindrec-dbb5j8",
|
|
6147
|
+
"productId": "pd-43677841",
|
|
6148
|
+
"lineId": "ln-c096b074",
|
|
6149
|
+
"startedAt": "2026-09-07T10:34:38.357+08:00",
|
|
6150
|
+
"endedAt": "2026-09-07T10:34:54.745+08:00",
|
|
6151
|
+
"results": [
|
|
6152
|
+
{
|
|
6153
|
+
"templateRef": "temp-sp",
|
|
6154
|
+
"nodeId": "dw-4ed8c3ce",
|
|
6155
|
+
"ok": true,
|
|
6156
|
+
"message": "Mock PLC 写入成功:50 → raw 50,回读一致(标定后物理值 50)",
|
|
6157
|
+
"value": 50
|
|
6158
|
+
}
|
|
6159
|
+
],
|
|
6160
|
+
"paramsSnapshot": [
|
|
6161
|
+
{
|
|
6162
|
+
"nodeId": "dw-4ed8c3ce",
|
|
6163
|
+
"templateRef": "temp-sp",
|
|
6164
|
+
"value": 50
|
|
6165
|
+
}
|
|
6166
|
+
]
|
|
6171
6167
|
}
|
|
6172
6168
|
]
|
|
@@ -13726,5 +13726,29 @@
|
|
|
13726
13726
|
"message": "写入并回读一致:0.9 → raw 0.9,回读 0.9(标定后物理值 0.9)",
|
|
13727
13727
|
"recipeRunId": null,
|
|
13728
13728
|
"at": "2026-09-07T02:15:42.793+08:00"
|
|
13729
|
+
},
|
|
13730
|
+
{
|
|
13731
|
+
"id": "wh-419d33a0",
|
|
13732
|
+
"nodeId": "dw-59454017",
|
|
13733
|
+
"nodeName": "dcw-dbznl2",
|
|
13734
|
+
"param": "烘箱温度设定",
|
|
13735
|
+
"eng": 50,
|
|
13736
|
+
"raw": 50,
|
|
13737
|
+
"ok": true,
|
|
13738
|
+
"message": "Mock PLC 写入成功:50 → raw 50,回读一致(标定后物理值 50)",
|
|
13739
|
+
"recipeRunId": "rr-20c111fd",
|
|
13740
|
+
"at": "2026-09-07T10:16:33.507+08:00"
|
|
13741
|
+
},
|
|
13742
|
+
{
|
|
13743
|
+
"id": "wh-c66ff254",
|
|
13744
|
+
"nodeId": "dw-4ed8c3ce",
|
|
13745
|
+
"nodeName": "dcw-dbb5j8",
|
|
13746
|
+
"param": "烘箱温度设定",
|
|
13747
|
+
"eng": 50,
|
|
13748
|
+
"raw": 50,
|
|
13749
|
+
"ok": true,
|
|
13750
|
+
"message": "Mock PLC 写入成功:50 → raw 50,回读一致(标定后物理值 50)",
|
|
13751
|
+
"recipeRunId": "rr-77310ee4",
|
|
13752
|
+
"at": "2026-09-07T10:34:38.362+08:00"
|
|
13729
13753
|
}
|
|
13730
13754
|
]
|