Skip to content

Commit 53f074c

Browse files
committed
update
add submodule
1 parent c595c0e commit 53f074c

312 files changed

Lines changed: 33247 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"parserOptions": {
7+
"ecmaVersion": 2021,
8+
"sourceType": "module",
9+
"ecmaFeatures": {
10+
"jsx": true
11+
}
12+
},
13+
"rules": {
14+
"semi": ["error", "always"],
15+
"quotes": ["error", "double"],
16+
"indent": ["error", 2],
17+
"linebreak-style": ["error", "unix"],
18+
"brace-style": ["error", "1tbs"],
19+
"curly": ["error", "all"],
20+
"no-eval": ["error"],
21+
"prefer-const": ["error"],
22+
"arrow-spacing": ["error", { "before": true, "after": true }]
23+
}
24+
}

.flake8

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[flake8]
2+
exclude =
3+
scripts/*
4+
src/agentscope/rpc/*
5+
max-line-length = 79
6+
inline-quotes = "
7+
avoid-escape = no
8+
ignore =
9+
F401
10+
F403
11+
W503
12+
E731
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve AgentScope Runtime
4+
title: '[Bug] Brief description'
5+
labels: 'bug'
6+
assignees: ''
7+
---
8+
9+
**Security Issues: If this involves security vulnerabilities, report via [Alibaba Security Response Center (ASRC)](https://security.alibaba.com/) instead of creating a public issue.**
10+
11+
## Bug Description
12+
[Clear description of what went wrong]
13+
14+
## Affected Component
15+
- [ ] Engine
16+
- [ ] Sandbox
17+
- [ ] Documentation
18+
- [ ] Other:___________
19+
20+
## Reproduction Steps
21+
1. Your code: [paste code here]
22+
2. How to run: [command used]
23+
3. Error occurs at: [describe when]
24+
25+
## Expected vs Actual Behavior
26+
**Expected:** [what should happen]
27+
**Actual:** [what actually happened]
28+
29+
## Error Messages
30+
[Paste full error messages/stack traces]
31+
32+
## Environment
33+
- **AgentScope Runtime Version:** [e.g. v0.1.0]
34+
- **Python Version:** [e.g. 3.10]
35+
- **OS:** [e.g. Ubuntu 20.04]
36+
- **Installation:** [pip/source]
37+
38+
## Additional Context
39+
[Any other relevant information]

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: General Issue
3+
about: For questions, discussions, or other issues not covered by bug reports or feature requests
4+
title: '[General] Brief description'
5+
labels: 'question'
6+
assignees: ''
7+
---
8+
9+
## Issue Type
10+
- [ ] Question/Help needed
11+
- [ ] Discussion
12+
- [ ] Documentation issue
13+
- [ ] Installation problem
14+
- [ ] Other: ___________
15+
16+
## Description
17+
[Clearly describe your issue, question, or topic for discussion]
18+
19+
## Component (if applicable)
20+
- [ ] Engine
21+
- [ ] Sandbox
22+
- [ ] Documentation
23+
- [ ] Installation/Setup
24+
- [ ] Not sure
25+
26+
## Environment (if relevant)
27+
- **AgentScope Runtime Version:** [e.g. v0.1.0]
28+
- **Python Version:** [e.g. 3.10]
29+
- **OS:** [e.g. Ubuntu 20.04]
30+
31+
## Additional Context
32+
[Any other relevant information, code snippets, or screenshots]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for AgentScope Runtime
4+
title: '[Feature] Brief description'
5+
labels: 'enhancement'
6+
assignees: ''
7+
---
8+
9+
## Problem Description
10+
[Describe the problem or limitation you're facing. Ex. I'm always frustrated when...]
11+
12+
## Proposed Solution
13+
[Clear description of what you want to happen]
14+
15+
## Affected Component(s)
16+
- [ ] Engine
17+
- [ ] Sandbox
18+
- [ ] Documentation
19+
- [ ] Other: ___________
20+
21+
## Alternatives Considered
22+
[Describe any alternative solutions you've considered]
23+
24+
## Additional Context
25+
[Any other context, screenshots, or examples about the feature request]

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Pull Request
3+
about: Create a pull request for AgentScope Runtime
4+
title: '[Component] Brief description'
5+
labels: ''
6+
assignees: ''
7+
---
8+
9+
## Description
10+
[Describe what this PR does and why]
11+
12+
**Related Issue:** Fixes #[issue_number] or Relates to #[issue_number]
13+
14+
**Security Considerations:** [If applicable, especially for sandbox changes]
15+
16+
## Type of Change
17+
- [ ] Bug fix
18+
- [ ] New feature
19+
- [ ] Breaking change
20+
- [ ] Documentation
21+
- [ ] Refactoring
22+
23+
## Component(s) Affected
24+
- [ ] Engine
25+
- [ ] Sandbox
26+
- [ ] Documentation
27+
- [ ] Tests
28+
- [ ] CI/CD
29+
30+
## Checklist
31+
- [ ] Pre-commit hooks pass
32+
- [ ] Tests pass locally
33+
- [ ] Documentation updated (if needed)
34+
- [ ] Ready for review
35+
36+
## Testing
37+
[How to test these changes]
38+
39+
## Additional Notes
40+
[Optional: any other context]

.github/workflows/pre-commit.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Pre-commit Checks
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
run:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: true
10+
env:
11+
OS: ubuntu-latest
12+
PYTHON: '3.10'
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Setup Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: '3.10'
19+
- name: Update setuptools and wheel
20+
run: |
21+
pip install setuptools==68.2.2 wheel==0.41.2
22+
- name: Install AgentScope Runtime
23+
run: |
24+
pip install -q -e .[dev]
25+
- name: Install pre-commit hooks
26+
run: |
27+
pre-commit install
28+
- name: Run pre-commit
29+
run: |
30+
pre-commit run --all-files > pre-commit.log 2>&1 || true
31+
cat pre-commit.log
32+
if grep -q Failed pre-commit.log; then
33+
echo -e "\e[41m [**FAIL**] Please install pre-commit and format your code first. \e[0m"
34+
exit 1
35+
fi
36+
echo -e "\e[46m ********************************Passed******************************** \e[0m"

.gitignore

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
frontend/node_modules
5+
**/package-lock.json
6+
/.pnp
7+
.pnp.js
8+
9+
# testing
10+
/coverage
11+
12+
# cookbook
13+
cookbook/_build
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.env
20+
.env.*
21+
!.env.example
22+
!.env.template
23+
__pycache__/
24+
*.db
25+
*.rdb
26+
*.egg-info/
27+
28+
# IDEs and editors
29+
.idea/
30+
.vscode/
31+
*.suo
32+
*.ntvs*
33+
*.njsproj
34+
*.sln
35+
*.sw?
36+
37+
# Logs
38+
npm-debug.log*
39+
yarn-debug.log*
40+
yarn-error.log*
41+
openapi-ts*.log
42+
43+
# MacOS
44+
.DS_Store
45+
46+
# Windows
47+
Thumbs.db
48+
ehthumbs.db
49+
Desktop.ini
50+
51+
# Linux
52+
*~
53+
54+
# Python
55+
*.py[cod]
56+
*$py.class
57+
uv.lock
58+
59+
# Logs
60+
logs/
61+
*.log

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "src/agentscope_runtime/sandbox/box/shared/third_party/markdownify-mcp"]
2+
path = src/agentscope_runtime/sandbox/box/shared/third_party/markdownify-mcp
3+
url = https://github.com/zcaceres/markdownify-mcp.git
4+
[submodule "src/agentscope_runtime/sandbox/box/shared/third_party/steel-browser"]
5+
path = src/agentscope_runtime/sandbox/box/shared/third_party/steel-browser
6+
url = https://github.com/steel-dev/steel-browser.git

0 commit comments

Comments
 (0)