-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Agent TARS #213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent TARS #213
Conversation
const indices = indexPart | ||
.split(']') | ||
.slice(0, -1) | ||
.map((i) => i.replace('[', '')); |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding High
// Regex-substitute any whitespace with a single space, then trim | ||
const collapsedValue = value.replace(/\s+/g, ' ').trim(); | ||
// Escape embedded double-quotes | ||
const safeValue = collapsedValue.replace(/"/g, '\\"'); |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding High
(item) => | ||
item.href && | ||
!item.href.includes('google') && | ||
!item.href.startsWith('javascript:'), |
Check failure
Code scanning / CodeQL
Incomplete URL scheme check High
|
||
async function runCommand(command) { | ||
try { | ||
const { stdout, stderr } = await execAsync(command); |
Check warning
Code scanning / CodeQL
Indirect uncontrolled command line Medium test
command-line argument
|
||
async function main() { | ||
const { argv } = process; | ||
const { stdout, stderr } = await exec(argv[2]); |
Check warning
Code scanning / CodeQL
Indirect uncontrolled command line Medium test
command-line argument
): PageInfo { | ||
const Readability = new Function( | ||
'module', | ||
`${readabilityScript}\nreturn module.exports`, |
Check warning
Code scanning / CodeQL
Unsafe code constructed from library input Medium
library input
interpreted as code
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #213 +/- ##
==========================================
- Coverage 16.86% 4.75% -12.12%
==========================================
Files 85 249 +164
Lines 1785 7681 +5896
Branches 297 1431 +1134
==========================================
+ Hits 301 365 +64
- Misses 1448 7276 +5828
- Partials 36 40 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
5b832aa
to
b56213f
Compare
Co-authored-by: chenhaoli <chenhaoli@bytedance.com> Co-authored-by: Charles <jinxin001@bytedance.com>
Co-authored-by: Charles <jinxin001@bytedance.com>
Co-authored-by: Charles <jinxin001@bytedance.com>
chore: fix readme
Co-authored-by: chenhaoli <chenhaoli@bytedance.com>
Please DO NOT click merge until this pull request is ready.
agent-tars-demo-01.mp4