gemini-computer-use 0.4.3 → 0.4.4

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.
package/core/subagents.py DELETED
@@ -1,55 +0,0 @@
1
- from typing import List
2
- from google.antigravity import types
3
-
4
- coordinator_worker = types.SubagentConfig(
5
- name="coordinator_worker",
6
- description="Autonomous worker for coordinator tasks, executing shell commands and modifying files.",
7
- capabilities=types.SubagentCapabilities(
8
- agent_behavior=types.AgentBehavior.AUTONOMOUS,
9
- enabled_tools=[
10
- types.BuiltinTools.RUN_COMMAND,
11
- types.BuiltinTools.VIEW_FILE,
12
- types.BuiltinTools.EDIT_FILE,
13
- types.BuiltinTools.CREATE_FILE,
14
- types.BuiltinTools.SEARCH_DIR,
15
- types.BuiltinTools.FIND_FILE,
16
- types.BuiltinTools.LIST_DIR,
17
- ],
18
- ),
19
- )
20
-
21
- remote_node_worker = types.SubagentConfig(
22
- name="remote_node_worker",
23
- description="Autonomous worker for dispatching commands and collecting vitals on remote mesh nodes.",
24
- capabilities=types.SubagentCapabilities(
25
- agent_behavior=types.AgentBehavior.AUTONOMOUS,
26
- enabled_tools=[
27
- types.BuiltinTools.RUN_COMMAND,
28
- types.BuiltinTools.VIEW_FILE,
29
- ],
30
- ),
31
- )
32
-
33
- code_researcher = types.SubagentConfig(
34
- name="code_researcher",
35
- description="Read-only research worker for exploring codebase, search, and reading files.",
36
- capabilities=types.SubagentCapabilities(
37
- agent_behavior=types.AgentBehavior.AUTONOMOUS,
38
- enabled_tools=[
39
- types.BuiltinTools.VIEW_FILE,
40
- types.BuiltinTools.SEARCH_DIR,
41
- types.BuiltinTools.FIND_FILE,
42
- types.BuiltinTools.LIST_DIR,
43
- ],
44
- ),
45
- )
46
-
47
- def get_mesh_subagents() -> List[types.SubagentConfig]:
48
- return [coordinator_worker, remote_node_worker, code_researcher]
49
-
50
- def get_root_capabilities_config() -> types.CapabilitiesConfig:
51
- return types.CapabilitiesConfig(
52
- enable_subagents=True,
53
- max_subagent_depth=2,
54
- allowed_subagents=["coordinator_worker", "remote_node_worker", "code_researcher"],
55
- )