基于 Jinja2 模板引擎的自动化脚本生成系统,支持 Agent/Manual 双模式执行、控制流、条件表达式和预期结果验证
Project description
Script Server - 自动化脚本生成器
基于 Jinja2 模板引擎的自动化脚本生成系统,支持 Agent/Manual 双模式执行、控制流、条件表达式和预期结果验证。
🚀 快速开始
1. 安装启动
cd script_server
# 使用 uv 同步依赖并创建虚拟环境(基于 pyproject.toml / uv.lock)
uv sync
# 激活虚拟环境
source .venv/bin/activate
# 使用默认文件服务器配置
script-server
2. 文件服务器配置
默认文件服务器URL:http://localhost:8080
# 使用默认文件服务器(推荐)
script-server
# 自定义文件服务器URL
script-server --file-server-url http://{FILE_SERVER_URL}
# 通过环境变量设置文件服务器
export FILE_SERVER_URL=http://localhost:3000
script-server
# 本地模式(不支持文件服务器的下载和上传,使用和返回本地文件)
script-server --file-server-url ""
3. 工作空间配置
默认工作空间路径:项目目录/script_workspace
# 使用默认工作空间(推荐)
script-server
# 自定义工作空间路径
script-server --workspace /path/to/custom/workspace
# 通过环境变量设置工作空间
export WORKSPACE_PATH=/path/to/custom/workspace
script-server
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gvitest_script-0.1.0.tar.gz
(182.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gvitest_script-0.1.0.tar.gz.
File metadata
- Download URL: gvitest_script-0.1.0.tar.gz
- Upload date:
- Size: 182.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffeef17406d31c543eba824ccac3c6e339d34fe064d30711c0e8de1f42eb42a6
|
|
| MD5 |
bdd055951f660f3e519e9a275b0c20f4
|
|
| BLAKE2b-256 |
5c0eda2de2cbf103d4af04012623f09ee02afc4901bad78335ea594aedeee6ce
|
File details
Details for the file gvitest_script-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gvitest_script-0.1.0-py3-none-any.whl
- Upload date:
- Size: 226.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99a943e84a1ba1e846f324ec22ff34e157a9cd42670092d7686fbd0435c2bd9d
|
|
| MD5 |
bf521aa1269f5a05e209af5aaf3ba905
|
|
| BLAKE2b-256 |
0a7e021d1c088a7ff7a78deaf0506f6395383e7e3b05afd3cc79819ea954411f
|