agentworkshop 0.17.3 → 0.17.5
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/{Bi7O7Fgd.js → BIyCQj6O.js} +10 -10
- package/.output/public/_nuxt/BM-sWDDD.js +1 -0
- package/.output/public/_nuxt/Cu6Hle_d.js +2 -0
- package/.output/public/_nuxt/{B_6jgkkO.js → D4fDMDMY.js} +4 -4
- package/.output/public/_nuxt/{TownView.CASu6sUI.css → TownView.CngAEG0H.css} +1 -1
- package/.output/public/_nuxt/{_wsId_.1Ai43iyE.css → _wsId_.CzdXTLVh.css} +1 -1
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/147c0379-4e07-437d-a7d2-e700d633efad.json +1 -0
- package/.output/public/_nuxt/{entry.CxkSJUk3.css → entry.D9gnKVzx.css} +1 -1
- package/.output/public/_nuxt/town.D-vq2IRd.css +1 -0
- package/.output/server/chunks/_/nitro.mjs +1071 -1071
- package/.output/server/chunks/build/{TownView-BF_qaNTQ.mjs → TownView-BdwjWlnU.mjs} +61 -9
- package/.output/server/chunks/build/TownView-BdwjWlnU.mjs.map +1 -0
- package/.output/server/chunks/build/{_wsId_-DGynuNjs.mjs → _wsId_-CLBiQH5c.mjs} +10 -8
- package/.output/server/chunks/build/{_wsId_-DGynuNjs.mjs.map → _wsId_-CLBiQH5c.mjs.map} +1 -1
- package/.output/server/chunks/build/{town-Cx6Vny3m.mjs → town-Djy_zAJV.mjs} +10 -7
- package/.output/server/chunks/build/{town-Cx6Vny3m.mjs.map → town-Djy_zAJV.mjs.map} +1 -1
- package/.output/server/chunks/routes/renderer.mjs +1 -1
- package/.output/server/chunks/virtual/entry.mjs +6 -2
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/README-zh.md +20 -6
- package/README.md +20 -6
- package/app/components/AppBackToMain.vue +86 -0
- package/app/components/workshop/console/Topbar.vue +2 -0
- package/app/components/workshop/town/components/TownTopNav.vue +2 -0
- package/app/pages/town.vue +15 -0
- package/config.yml +1 -1
- package/desktop/chrome/contract.mjs +59 -3
- package/desktop/chrome/preload-splash.cjs +29 -0
- package/desktop/chrome/preload.cjs +2 -0
- package/desktop/chrome/settings.mjs +24 -0
- package/desktop/chrome/splash.html +629 -0
- package/desktop/chrome/titlebar.html +8 -1
- package/desktop/chrome/tray-menu.mjs +56 -0
- package/desktop/main.mjs +694 -42
- package/desktop/sidecar.mjs +12 -2
- package/docs/cli.en.md +1 -1
- package/docs/cli.md +1 -1
- package/docs/desktop.md +21 -3
- package/docs/plugins.en.md +1 -1
- package/docs/plugins.md +1 -1
- package/docs/sdk.en.md +1 -1
- package/docs/sdk.md +1 -1
- package/i18n/locales/en.ts +2 -0
- package/i18n/locales/zh-CN.ts +2 -0
- package/package.json +223 -219
- package/.output/public/_nuxt/CkTQQ28a.js +0 -1
- package/.output/public/_nuxt/DhFEApxl.js +0 -2
- package/.output/public/_nuxt/builds/meta/e534f0d1-3bc5-444b-a033-3e437b713fc0.json +0 -1
- package/.output/public/_nuxt/town.BZPLR4A_.css +0 -1
- package/.output/server/chunks/build/TownView-BF_qaNTQ.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,219 +1,223 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "agentworkshop",
|
|
3
|
-
"version": "0.17.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "AgentWorkShop — a configuration-driven industrial agent runtime: agent teams, Channel sessions, Project delivery and governed plant writes",
|
|
6
|
-
"license": "Apache-2.0",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./sdk/index.d.mts",
|
|
10
|
-
"default": "./sdk/index.mjs"
|
|
11
|
-
},
|
|
12
|
-
"./sdk": {
|
|
13
|
-
"types": "./sdk/index.d.mts",
|
|
14
|
-
"default": "./sdk/index.mjs"
|
|
15
|
-
},
|
|
16
|
-
"./sdk/client": {
|
|
17
|
-
"types": "./sdk/client.d.mts",
|
|
18
|
-
"default": "./sdk/client.mjs"
|
|
19
|
-
},
|
|
20
|
-
"./package.json": "./package.json"
|
|
21
|
-
},
|
|
22
|
-
"bin": {
|
|
23
|
-
"aw": "bin/aw.mjs",
|
|
24
|
-
"agentworkshop": "bin/aw.mjs"
|
|
25
|
-
},
|
|
26
|
-
"files": [
|
|
27
|
-
".output",
|
|
28
|
-
"bin",
|
|
29
|
-
"cli",
|
|
30
|
-
"sdk",
|
|
31
|
-
"app",
|
|
32
|
-
"server",
|
|
33
|
-
"shared",
|
|
34
|
-
"i18n",
|
|
35
|
-
"public",
|
|
36
|
-
"scripts",
|
|
37
|
-
"skills",
|
|
38
|
-
".AgentWorkShop/prompts",
|
|
39
|
-
".AgentWorkShop/plugins/rsi-interface-beta",
|
|
40
|
-
"docs/rsi-beta-management.md",
|
|
41
|
-
"docs/architecture/2026-11-13-adr-rsi-beta-boundary-contract.md",
|
|
42
|
-
"server/plugins-builtin",
|
|
43
|
-
"mcp",
|
|
44
|
-
"config.yml",
|
|
45
|
-
"nuxt.config.ts",
|
|
46
|
-
"tsconfig.json",
|
|
47
|
-
"uno.config.ts",
|
|
48
|
-
"docker-compose.yml",
|
|
49
|
-
".env.example",
|
|
50
|
-
"README-zh.md",
|
|
51
|
-
"docs/cli.md",
|
|
52
|
-
"docs/cli.en.md",
|
|
53
|
-
"docs/plugins.md",
|
|
54
|
-
"docs/plugins.en.md",
|
|
55
|
-
"docs/sdk.md",
|
|
56
|
-
"docs/sdk.en.md",
|
|
57
|
-
"docs/plugin-idd-rag-contract.md",
|
|
58
|
-
"docs/aml.md",
|
|
59
|
-
"docs/mcp.md",
|
|
60
|
-
"docs/mcp.en.md",
|
|
61
|
-
"docs/tui.md",
|
|
62
|
-
"docs/full-test-plan.md",
|
|
63
|
-
"docs/multi-harness-architecture.md",
|
|
64
|
-
"tui",
|
|
65
|
-
"desktop/package.json",
|
|
66
|
-
"desktop/main.mjs",
|
|
67
|
-
"desktop/sidecar.mjs",
|
|
68
|
-
"desktop/update.mjs",
|
|
69
|
-
"desktop/chrome/titlebar.html",
|
|
70
|
-
"desktop/chrome/preload.cjs",
|
|
71
|
-
"desktop/chrome/contract.mjs",
|
|
72
|
-
"desktop/
|
|
73
|
-
"desktop/
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"test:
|
|
109
|
-
"test:
|
|
110
|
-
"test:
|
|
111
|
-
"
|
|
112
|
-
"test:
|
|
113
|
-
"test:
|
|
114
|
-
"test:
|
|
115
|
-
"
|
|
116
|
-
"test:
|
|
117
|
-
"test:e2e-
|
|
118
|
-
"test:
|
|
119
|
-
"test:
|
|
120
|
-
"test:
|
|
121
|
-
"test:e2e-
|
|
122
|
-
"test:
|
|
123
|
-
"test:
|
|
124
|
-
"test:
|
|
125
|
-
"test:
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"ui:
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"game:
|
|
139
|
-
"game:build-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
"
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"@
|
|
150
|
-
"@
|
|
151
|
-
"@
|
|
152
|
-
"@
|
|
153
|
-
"@fontsource/
|
|
154
|
-
"@fontsource/
|
|
155
|
-
"@
|
|
156
|
-
"@
|
|
157
|
-
"@
|
|
158
|
-
"@
|
|
159
|
-
"@
|
|
160
|
-
"@
|
|
161
|
-
"@
|
|
162
|
-
"@
|
|
163
|
-
"@
|
|
164
|
-
"@
|
|
165
|
-
"@
|
|
166
|
-
"@
|
|
167
|
-
"@
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
"@
|
|
203
|
-
"@
|
|
204
|
-
"@
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
"
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "agentworkshop",
|
|
3
|
+
"version": "0.17.5",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "AgentWorkShop — a configuration-driven industrial agent runtime: agent teams, Channel sessions, Project delivery and governed plant writes",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./sdk/index.d.mts",
|
|
10
|
+
"default": "./sdk/index.mjs"
|
|
11
|
+
},
|
|
12
|
+
"./sdk": {
|
|
13
|
+
"types": "./sdk/index.d.mts",
|
|
14
|
+
"default": "./sdk/index.mjs"
|
|
15
|
+
},
|
|
16
|
+
"./sdk/client": {
|
|
17
|
+
"types": "./sdk/client.d.mts",
|
|
18
|
+
"default": "./sdk/client.mjs"
|
|
19
|
+
},
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"bin": {
|
|
23
|
+
"aw": "bin/aw.mjs",
|
|
24
|
+
"agentworkshop": "bin/aw.mjs"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
".output",
|
|
28
|
+
"bin",
|
|
29
|
+
"cli",
|
|
30
|
+
"sdk",
|
|
31
|
+
"app",
|
|
32
|
+
"server",
|
|
33
|
+
"shared",
|
|
34
|
+
"i18n",
|
|
35
|
+
"public",
|
|
36
|
+
"scripts",
|
|
37
|
+
"skills",
|
|
38
|
+
".AgentWorkShop/prompts",
|
|
39
|
+
".AgentWorkShop/plugins/rsi-interface-beta",
|
|
40
|
+
"docs/rsi-beta-management.md",
|
|
41
|
+
"docs/architecture/2026-11-13-adr-rsi-beta-boundary-contract.md",
|
|
42
|
+
"server/plugins-builtin",
|
|
43
|
+
"mcp",
|
|
44
|
+
"config.yml",
|
|
45
|
+
"nuxt.config.ts",
|
|
46
|
+
"tsconfig.json",
|
|
47
|
+
"uno.config.ts",
|
|
48
|
+
"docker-compose.yml",
|
|
49
|
+
".env.example",
|
|
50
|
+
"README-zh.md",
|
|
51
|
+
"docs/cli.md",
|
|
52
|
+
"docs/cli.en.md",
|
|
53
|
+
"docs/plugins.md",
|
|
54
|
+
"docs/plugins.en.md",
|
|
55
|
+
"docs/sdk.md",
|
|
56
|
+
"docs/sdk.en.md",
|
|
57
|
+
"docs/plugin-idd-rag-contract.md",
|
|
58
|
+
"docs/aml.md",
|
|
59
|
+
"docs/mcp.md",
|
|
60
|
+
"docs/mcp.en.md",
|
|
61
|
+
"docs/tui.md",
|
|
62
|
+
"docs/full-test-plan.md",
|
|
63
|
+
"docs/multi-harness-architecture.md",
|
|
64
|
+
"tui",
|
|
65
|
+
"desktop/package.json",
|
|
66
|
+
"desktop/main.mjs",
|
|
67
|
+
"desktop/sidecar.mjs",
|
|
68
|
+
"desktop/update.mjs",
|
|
69
|
+
"desktop/chrome/titlebar.html",
|
|
70
|
+
"desktop/chrome/preload.cjs",
|
|
71
|
+
"desktop/chrome/contract.mjs",
|
|
72
|
+
"desktop/chrome/settings.mjs",
|
|
73
|
+
"desktop/chrome/tray-menu.mjs",
|
|
74
|
+
"desktop/chrome/splash.html",
|
|
75
|
+
"desktop/chrome/preload-splash.cjs",
|
|
76
|
+
"desktop/build/icon.png",
|
|
77
|
+
"desktop/build/icon.ico",
|
|
78
|
+
"docs/desktop.md",
|
|
79
|
+
"!**/.mimosa/**",
|
|
80
|
+
"!**/.nuxt/**",
|
|
81
|
+
"!**/.cache/**",
|
|
82
|
+
"!**/.turbo/**",
|
|
83
|
+
"!**/*.log",
|
|
84
|
+
"!**/*.pid"
|
|
85
|
+
],
|
|
86
|
+
"packageManager": "pnpm@11.9.0",
|
|
87
|
+
"engines": {
|
|
88
|
+
"node": ">=23.4.0"
|
|
89
|
+
},
|
|
90
|
+
"scripts": {
|
|
91
|
+
"dev": "node bin/aw.mjs dev",
|
|
92
|
+
"build": "node bin/aw.mjs build",
|
|
93
|
+
"start": "node bin/aw.mjs start",
|
|
94
|
+
"generate": "nuxt generate",
|
|
95
|
+
"preview": "node bin/aw.mjs start",
|
|
96
|
+
"cli": "node bin/aw.mjs",
|
|
97
|
+
"tui": "node tui/aw-tui.mjs",
|
|
98
|
+
"postinstall": "node scripts/home-bootstrap.mjs",
|
|
99
|
+
"prepublishOnly": "node bin/aw.mjs build",
|
|
100
|
+
"lint": "node scripts/check-rsi-redline.mjs && eslint .",
|
|
101
|
+
"lint:fix": "eslint . --fix",
|
|
102
|
+
"check:cssvars": "node scripts/check-css-vars.mjs",
|
|
103
|
+
"typecheck": "node scripts/typecheck.mjs",
|
|
104
|
+
"i18n:check": "node scripts/_i18n-verify-keys.mjs",
|
|
105
|
+
"docs:check": "node scripts/check-docs-sync.mjs",
|
|
106
|
+
"docs:dev": "cd docs/site && npx vitepress dev",
|
|
107
|
+
"docs:build": "cd docs/site && npx vitepress build",
|
|
108
|
+
"test:plugin-lifecycle": "node scripts/test-plugin-lifecycle.mjs",
|
|
109
|
+
"test:sdk-surface": "node scripts/test-sdk-surface.mjs",
|
|
110
|
+
"test:twin-provider": "tsx --test tests/aml-twin-provider-registry.test.ts",
|
|
111
|
+
"test:unit": "tsx --tsconfig .nuxt/tsconfig.server.json --test --test-force-exit tests/*.test.ts",
|
|
112
|
+
"test:acceptance-context": "node --test tests/context-learning-acceptance.test.mjs",
|
|
113
|
+
"test:acceptance-context-learning": "node --test tests/context-learning-acceptance.test.mjs",
|
|
114
|
+
"test:onboarding-v6": "node --test tests/onboarding-v6*.test.mjs",
|
|
115
|
+
"prepare": "husky",
|
|
116
|
+
"test:api-live": "node scripts/api-live-e2e.mjs",
|
|
117
|
+
"test:e2e-line": "node scripts/e2e-line-governance.mjs",
|
|
118
|
+
"test:e2e-scientific": "tsx --tsconfig .nuxt/tsconfig.server.json scripts/acceptance-scientific-fullchain.ts",
|
|
119
|
+
"test:e2e-heterogeneous": "tsx --tsconfig .nuxt/tsconfig.server.json scripts/acceptance-heterogeneous-mes.ts",
|
|
120
|
+
"test:p12": "node bench/PIPELINE/run-agentteam.mjs",
|
|
121
|
+
"test:e2e-optimizer": "tsx --tsconfig .nuxt/tsconfig.server.json scripts/e2e-optimizer-live.mjs",
|
|
122
|
+
"test:line-log": "node scripts/line-log-smoke.mjs",
|
|
123
|
+
"test:mes-agent": "node scripts/mes-agent-integration-e2e.mjs",
|
|
124
|
+
"test:e2e-injection": "node scripts/e2e-injection-recipe-closedloop.mjs",
|
|
125
|
+
"test:e2e-error": "node scripts/e2e-error-handling.mjs",
|
|
126
|
+
"test:mcp": "tsx --tsconfig .nuxt/tsconfig.server.json --test --test-force-exit tests/aw-mcp-server.test.ts",
|
|
127
|
+
"test:skills": "node scripts/test-aw-skills.mjs",
|
|
128
|
+
"test:mcp-live": "node scripts/_audit/aw-mcp-live-e2e.mjs",
|
|
129
|
+
"test:skills-guided": "node scripts/_audit/skills-guided-e2e.mjs",
|
|
130
|
+
"ui:seed": "node scripts/ui/seed-demo.mjs",
|
|
131
|
+
"ui:shots": "node scripts/ui/shots.mjs",
|
|
132
|
+
"ui:audit": "node scripts/ui/audit-layout.mjs",
|
|
133
|
+
"ui:verify": "node scripts/ui/verify-responsive.mjs",
|
|
134
|
+
"frontend-lifecycle-contract": "tsx --tsconfig .nuxt/tsconfig.server.json --test tests/frontend-lifecycle-contract.test.ts",
|
|
135
|
+
"ui:verify-nav": "node scripts/ui/verify-nav.mjs",
|
|
136
|
+
"readme:lint": "node scripts/ui/md-lint.mjs README.md README-zh.md",
|
|
137
|
+
"readme:assets": "node scripts/ui/readme-assets.mjs",
|
|
138
|
+
"game:verify": "node scripts/verify-game.mjs",
|
|
139
|
+
"game:build-assets": "node scripts/build-player-sheet.mjs",
|
|
140
|
+
"game:build-wuwa": "node scripts/build-wuwa-assets.mjs",
|
|
141
|
+
"game:build-models": "node scripts/build-character-models.mjs",
|
|
142
|
+
"game:build-world": "node scripts/build-world-map.mjs",
|
|
143
|
+
"game:build-model3d": "node scripts/build-model-3d.mjs"
|
|
144
|
+
},
|
|
145
|
+
"lint-staged": {
|
|
146
|
+
"*.{js,mjs,cjs,ts,vue}": "eslint --fix"
|
|
147
|
+
},
|
|
148
|
+
"dependencies": {
|
|
149
|
+
"@ant-design-vue/nuxt": "^1.4.6",
|
|
150
|
+
"@ant-design/icons-vue": "^7.0.1",
|
|
151
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.266",
|
|
152
|
+
"@earendil-works/pi-tui": "^0.84.4",
|
|
153
|
+
"@fontsource-variable/fraunces": "^5.3.0",
|
|
154
|
+
"@fontsource-variable/geist": "^5.3.0",
|
|
155
|
+
"@fontsource-variable/geist-mono": "^5.3.0",
|
|
156
|
+
"@fontsource-variable/inter": "^5.3.0",
|
|
157
|
+
"@fontsource/eb-garamond": "^5.3.0",
|
|
158
|
+
"@fontsource/ibm-plex-mono": "^5.3.0",
|
|
159
|
+
"@iconify-json/tabler": "^1.2.0",
|
|
160
|
+
"@modelcontextprotocol/client": "2.4.0",
|
|
161
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
162
|
+
"@nuxtjs/i18n": "^9.0.0",
|
|
163
|
+
"@pinia/nuxt": "^0.11.0",
|
|
164
|
+
"@unocss/nuxt": "^66.0.0",
|
|
165
|
+
"@unocss/preset-attributify": "^66.0.0",
|
|
166
|
+
"@unocss/preset-icons": "^66.7.5",
|
|
167
|
+
"@unocss/preset-typography": "^66.0.0",
|
|
168
|
+
"@vueuse/core": "^13.0.0",
|
|
169
|
+
"@vueuse/nuxt": "^13.0.0",
|
|
170
|
+
"@xterm/addon-fit": "^0.11.0",
|
|
171
|
+
"@xterm/xterm": "^6.0.0",
|
|
172
|
+
"ant-design-vue": "^4.2.6",
|
|
173
|
+
"axios": "^1.7.9",
|
|
174
|
+
"echarts": "^5.6.0",
|
|
175
|
+
"h3": "2.0.1-rc.26",
|
|
176
|
+
"js-yaml": "^4.1.0",
|
|
177
|
+
"minio": "^8.0.7",
|
|
178
|
+
"modbus-serial": "^8.0.25",
|
|
179
|
+
"mqtt": "^5.15.2",
|
|
180
|
+
"node-opcua": "2.178.0",
|
|
181
|
+
"nuxt": "^4.0.0",
|
|
182
|
+
"nuxt-auth-utils": "^0.5.0",
|
|
183
|
+
"pg": "^8.23.0",
|
|
184
|
+
"phaser": "^4.0.0",
|
|
185
|
+
"pinia": "^3.0.0",
|
|
186
|
+
"pinia-plugin-persistedstate": "^4.2.0",
|
|
187
|
+
"sqlite-vec": "^0.1.9",
|
|
188
|
+
"three": "^0.185.1",
|
|
189
|
+
"unocss": "^66.0.0",
|
|
190
|
+
"unplugin-icons": "^22.0.0",
|
|
191
|
+
"vue": "^3.5.13",
|
|
192
|
+
"vue-echarts": "^7.0.3",
|
|
193
|
+
"vue-router": "^4.5.0",
|
|
194
|
+
"zod": "^3.24.1"
|
|
195
|
+
},
|
|
196
|
+
"optionalDependencies": {
|
|
197
|
+
"electron": "45.4.1",
|
|
198
|
+
"onnxruntime-node": "^1.20.1",
|
|
199
|
+
"serialport": "^13.0.0"
|
|
200
|
+
},
|
|
201
|
+
"devDependencies": {
|
|
202
|
+
"@commitlint/cli": "^19.6.1",
|
|
203
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
204
|
+
"@nuxt/eslint": "^1.0.0",
|
|
205
|
+
"@types/js-yaml": "^4.0.9",
|
|
206
|
+
"@types/node": "^26.2.0",
|
|
207
|
+
"@types/pg": "^8.23.1",
|
|
208
|
+
"@types/three": "^0.185.4",
|
|
209
|
+
"eslint": "^9.17.0",
|
|
210
|
+
"husky": "^9.1.7",
|
|
211
|
+
"lint-staged": "^15.3.0",
|
|
212
|
+
"pngjs": "^7.0.0",
|
|
213
|
+
"puppeteer-core": "^25.5.0",
|
|
214
|
+
"tsx": "^4.23.12",
|
|
215
|
+
"typescript": "^5.7.3",
|
|
216
|
+
"vue-tsc": "^3.3.10"
|
|
217
|
+
},
|
|
218
|
+
"pnpm": {
|
|
219
|
+
"ignoredBuiltDependencies": [
|
|
220
|
+
"@serialport/bindings-cpp"
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{N as e,mt as t,v as n}from"./CavpkQb0.js";import{P as r,R as i,S as a,V as o,d as s,f as c,h as l,p as u,tt as d,y as f}from"./C6lssmvl.js";import{d as p}from"./CW6vX8Hb.js";import{t as m}from"./hU0bRVKA.js";import{t as h}from"./CuOIxZ_Y2.js";import{t as g}from"./BDNMzG2s.js";import{a as _,t as v}from"./CnwJOtRh.js";import{t as y}from"./DXY8bTqS.js";import{t as b}from"./CNs_Ozdc2.js";import{t as x}from"./DhFEApxl.js";var S={class:`town-page`},C={key:0,"data-hud":`town-empty`,class:`pane-empty`},w={class:`pe-title`},T={class:`pe-sub`},E={key:2,"data-hud":`town-loading`,class:`pane-loading`},D=g(a({__name:`town`,setup(a){b({layout:`town`,title:`Digital Twin`});let g=h(),D=_(),O=y(),{subscribe:k,unsubscribe:A}=v(),j=m(`token`),M=n(!1);d(()=>g.isLoggedIn,async e=>{if(!e){M.value=!1;return}if(await g.refresh(),g.isLoggedIn)try{await O.load(),M.value=!0}catch{}},{immediate:!0}),i(()=>{!g.isLoggedIn&&!j.value&&p(`/workshop`)}),d(j,e=>{!e&&!g.isLoggedIn&&p(`/workshop`)});let N=s(()=>{let e=[];for(let t of O.workspaces)for(let n of t.channelIds??[])e.includes(n)||e.push(n);return e}),P=new Set;d(()=>N.value.join(`,`),()=>{let e=new Set(N.value);for(let t of e)P.has(t)||(k(t),P.add(t));for(let t of[...P])e.has(t)||(A(t),P.delete(t))},{immediate:!0}),r(()=>{for(let e of P)A(e);P.clear()});let F=s(()=>{let e=N.value[0];if(e&&D.channels[e])return e;for(let e of O.workspaces)for(let t of e.channelIds??[])if(D.channels[t])return t;return N.value[0]??void 0}),I=s(()=>N.value.length>0);return(n,r)=>{let i=x;return o(),l(`div`,S,[e(M)&&!e(I)?(o(),l(`div`,C,[r[0]||=c(`span`,{class:`pe-icon i-tabler-map-2`},null,-1),c(`div`,w,t(n.$t(`town.k1wm8wtr001`)),1),c(`div`,T,[f(t(n.$t(`town.k47e4s002`))+` `,1),c(`b`,null,`Agent `+t(n.$t(`town.k3n4mae005`)),1),f(` `+t(n.$t(`town.k17rerba003`)),1)])])):e(F)?(o(),u(i,{key:1,"channel-id":e(F),"all-channels":!0},null,8,[`channel-id`])):(o(),l(`div`,E,t(n.$t(`town.k1uc5mup004`)),1))])}}}),[[`__scopeId`,`data-v-7b9f707f`]]);export{D as default};
|