automas-emulator 0.0.1__tar.gz

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.
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.4
2
+ Name: automas_emulator
3
+ Version: 0.0.1
4
+ Summary: AUTO-MAS emulator management system plugin
5
+ Requires-Python: >=3.10
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: pydantic>=2.0
8
+ Requires-Dist: auto-mas-core>=5.2.0
9
+
10
+ # automas_emulator
11
+
12
+ [![PyPI version](https://img.shields.io/pypi/v/automas_plugin_emulator?logo=pypi&logoColor=white)](https://pypi.org/project/automas_plugin_emulator/)
13
+
14
+ AUTO-MAS emulator management system plugin
15
+
16
+ 这是一个带 Vue 页面插件。
17
+
18
+ ## 开发
19
+
20
+ 开发时复用主程序前端 Vite,不需要给插件单独启动 Vite。
21
+
22
+ ```powershell
23
+ cd D:/Dev/AUTO-MAS/frontend
24
+ yarn web
25
+ ```
26
+
27
+ 后端以 `AUTO_MAS_DEV=1` 启动后,会按 `frontend-src/plugin.frontend.dev.json` 直接加载 `frontend-src/src/main.ts`。
28
+
29
+ ## 构建
30
+
31
+ 发布前生成生产前端产物:
32
+
33
+ ```powershell
34
+ npm run build:frontend
35
+ ```
36
+
37
+ 生产包只需要携带 `src/emulator/frontend/manifest.json` 和 `src/emulator/frontend/dist/*`。
@@ -0,0 +1,28 @@
1
+ # automas_emulator
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/automas_plugin_emulator?logo=pypi&logoColor=white)](https://pypi.org/project/automas_plugin_emulator/)
4
+
5
+ AUTO-MAS emulator management system plugin
6
+
7
+ 这是一个带 Vue 页面插件。
8
+
9
+ ## 开发
10
+
11
+ 开发时复用主程序前端 Vite,不需要给插件单独启动 Vite。
12
+
13
+ ```powershell
14
+ cd D:/Dev/AUTO-MAS/frontend
15
+ yarn web
16
+ ```
17
+
18
+ 后端以 `AUTO_MAS_DEV=1` 启动后,会按 `frontend-src/plugin.frontend.dev.json` 直接加载 `frontend-src/src/main.ts`。
19
+
20
+ ## 构建
21
+
22
+ 发布前生成生产前端产物:
23
+
24
+ ```powershell
25
+ npm run build:frontend
26
+ ```
27
+
28
+ 生产包只需要携带 `src/emulator/frontend/manifest.json` 和 `src/emulator/frontend/dist/*`。
@@ -0,0 +1,24 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "automas_emulator"
7
+ version = "0.0.1"
8
+ description = "AUTO-MAS emulator management system plugin"
9
+ readme = { file = "README.md", content-type = "text/markdown" }
10
+ requires-python = ">=3.10"
11
+ dependencies = ["pydantic>=2.0", "auto-mas-core>=5.2.0"]
12
+
13
+ [project.entry-points."auto_mas.plugins"]
14
+ emulator = "emulator.plugin:Plugin"
15
+
16
+ [tool.setuptools.packages.find]
17
+ where = ["src"]
18
+
19
+ [tool.setuptools.package-data]
20
+ emulator = [
21
+ "frontend/manifest.json",
22
+ "frontend/dist/*.js",
23
+ "frontend/dist/*.css",
24
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,37 @@
1
+ Metadata-Version: 2.4
2
+ Name: automas_emulator
3
+ Version: 0.0.1
4
+ Summary: AUTO-MAS emulator management system plugin
5
+ Requires-Python: >=3.10
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: pydantic>=2.0
8
+ Requires-Dist: auto-mas-core>=5.2.0
9
+
10
+ # automas_emulator
11
+
12
+ [![PyPI version](https://img.shields.io/pypi/v/automas_plugin_emulator?logo=pypi&logoColor=white)](https://pypi.org/project/automas_plugin_emulator/)
13
+
14
+ AUTO-MAS emulator management system plugin
15
+
16
+ 这是一个带 Vue 页面插件。
17
+
18
+ ## 开发
19
+
20
+ 开发时复用主程序前端 Vite,不需要给插件单独启动 Vite。
21
+
22
+ ```powershell
23
+ cd D:/Dev/AUTO-MAS/frontend
24
+ yarn web
25
+ ```
26
+
27
+ 后端以 `AUTO_MAS_DEV=1` 启动后,会按 `frontend-src/plugin.frontend.dev.json` 直接加载 `frontend-src/src/main.ts`。
28
+
29
+ ## 构建
30
+
31
+ 发布前生成生产前端产物:
32
+
33
+ ```powershell
34
+ npm run build:frontend
35
+ ```
36
+
37
+ 生产包只需要携带 `src/emulator/frontend/manifest.json` 和 `src/emulator/frontend/dist/*`。
@@ -0,0 +1,14 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/automas_emulator.egg-info/PKG-INFO
4
+ src/automas_emulator.egg-info/SOURCES.txt
5
+ src/automas_emulator.egg-info/dependency_links.txt
6
+ src/automas_emulator.egg-info/entry_points.txt
7
+ src/automas_emulator.egg-info/requires.txt
8
+ src/automas_emulator.egg-info/top_level.txt
9
+ src/emulator/__init__.py
10
+ src/emulator/plugin.py
11
+ src/emulator/schema.py
12
+ src/emulator/frontend/manifest.json
13
+ src/emulator/frontend/dist/automas-plugin-emulator-vue.css
14
+ src/emulator/frontend/dist/index.js
@@ -0,0 +1,2 @@
1
+ [auto_mas.plugins]
2
+ emulator = emulator.plugin:Plugin
@@ -0,0 +1,2 @@
1
+ pydantic>=2.0
2
+ auto-mas-core>=5.2.0
@@ -0,0 +1,3 @@
1
+ from .plugin import Plugin
2
+
3
+ __all__ = ["Plugin"]
@@ -0,0 +1 @@
1
+ html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}.emulator-page[data-v-bf7ca273]{height:100%;min-height:calc(100vh - 96px);display:flex;flex-direction:column;gap:16px;overflow:hidden}.page-header[data-v-bf7ca273],.section-header[data-v-bf7ca273]{display:flex;align-items:center;justify-content:space-between;gap:12px}.page-header h1[data-v-bf7ca273]{margin:0;font-size:28px;font-weight:700;color:var(--ant-color-text)}.section-header h2[data-v-bf7ca273]{margin:0;font-size:16px;font-weight:600;color:var(--ant-color-text)}.empty-state[data-v-bf7ca273]{min-height:420px;display:flex;align-items:center;justify-content:center}.emulator-tabs[data-v-bf7ca273]{flex:1;min-height:0;padding:16px;border:1px solid var(--ant-color-border-secondary);border-radius:8px;background:var(--app-background-card-bg, var(--ant-color-bg-container))}.tab-content[data-v-bf7ca273]{height:calc(100vh - 246px);min-height:460px;display:flex;flex-direction:column;gap:16px;overflow:hidden}.config-section[data-v-bf7ca273],.devices-section[data-v-bf7ca273]{border:1px solid var(--ant-color-border-secondary);border-radius:8px;background:var(--app-background-card-bg, var(--ant-color-bg-container));padding:16px}.devices-section[data-v-bf7ca273]{flex:1;min-height:0;overflow:hidden}.muted[data-v-bf7ca273]{color:var(--ant-color-text-tertiary)}@media(max-width:768px){.page-header[data-v-bf7ca273],.section-header[data-v-bf7ca273]{align-items:flex-start;flex-direction:column}.emulator-tabs[data-v-bf7ca273]{padding:12px}.tab-content[data-v-bf7ca273]{height:auto;min-height:0;overflow:visible}}