mirror of
https://github.com/trycua/computer.git
synced 2026-05-11 19:12:35 -05:00
Restore all option
This commit is contained in:
@@ -122,18 +122,12 @@ jobs:
|
||||
# Update dependencies in pyproject.toml
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
# macOS version of sed needs an empty string for -i
|
||||
# Update each cua-agent extra dependency
|
||||
sed -i '' "s/\"cua-agent\[openai\]>=.*,<.*\"/\"cua-agent[openai]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
sed -i '' "s/\"cua-agent\[anthropic\]>=.*,<.*\"/\"cua-agent[anthropic]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
sed -i '' "s/\"cua-agent\[omni\]>=.*,<.*\"/\"cua-agent[omni]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
sed -i '' "s/\"cua-agent\[som\]>=.*,<.*\"/\"cua-agent[som]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
# Update cua-agent with all extras
|
||||
sed -i '' "s/\"cua-agent\[all\]>=.*,<.*\"/\"cua-agent[all]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
sed -i '' "s/\"cua-computer>=.*,<.*\"/\"cua-computer>=$LATEST_COMPUTER,<$NEXT_COMPUTER_MAJOR.0.0\"/" pyproject.toml
|
||||
else
|
||||
# Linux version
|
||||
sed -i "s/\"cua-agent\[openai\]>=.*,<.*\"/\"cua-agent[openai]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
sed -i "s/\"cua-agent\[anthropic\]>=.*,<.*\"/\"cua-agent[anthropic]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
sed -i "s/\"cua-agent\[omni\]>=.*,<.*\"/\"cua-agent[omni]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
sed -i "s/\"cua-agent\[som\]>=.*,<.*\"/\"cua-agent[som]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
sed -i "s/\"cua-agent\[all\]>=.*,<.*\"/\"cua-agent[all]>=$LATEST_AGENT,<$NEXT_AGENT_MAJOR.0.0\"/" pyproject.toml
|
||||
sed -i "s/\"cua-computer>=.*,<.*\"/\"cua-computer>=$LATEST_COMPUTER,<$NEXT_COMPUTER_MAJOR.0.0\"/" pyproject.toml
|
||||
fi
|
||||
|
||||
|
||||
Generated
-1143
File diff suppressed because it is too large
Load Diff
@@ -13,10 +13,7 @@ authors = [
|
||||
]
|
||||
dependencies = [
|
||||
"mcp>=1.6.0,<2.0.0",
|
||||
"cua-agent[openai]>=0.1.0,<0.2.0",
|
||||
"cua-agent[anthropic]>=0.1.0,<0.2.0",
|
||||
"cua-agent[omni]>=0.1.0,<0.2.0",
|
||||
"cua-agent[som]>=0.1.0,<0.2.0",
|
||||
"cua-agent[all]>=0.1.0,<0.2.0",
|
||||
"cua-computer>=0.1.0,<0.2.0",
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user