stackshift 1.7.0__py3-none-any.whl → 1.9.0__py3-none-any.whl

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.
stackshift/__init__.py CHANGED
@@ -2,6 +2,15 @@ from .client import StackShift
2
2
  from .agents import AgentConnectionOperationsClient, AgentConnectionsClient, AgentsClient
3
3
  from .ai_credits import AICreditsClient
4
4
  from .assets import ASSET_TRANSFORM_PRESETS, AssetsClient, asset_transform_options, asset_transform_spec, get_asset_transform_preset
5
+ from .computers import COMPUTER_AGENT_PROVIDERS, COMPUTER_CAPACITY_BUSY, COMPUTER_LIMIT_EXCEEDED, COMPUTER_SPEND_CAP_REACHED, Computer, ComputerActionError, ComputerCIClient, ComputerKeysClient, ComputersClient, ComputerSnapshotsClient, ComputerTransferError, ComputerWaitError, computer_public_pricing, exchange_computer_agent_claim, register_computer_agent, wait_for_computer_agent_key
6
+ from .computers_adapters import (
7
+ AnthropicComputerAdapter,
8
+ FunctionComputerAdapter,
9
+ GeminiComputerAdapter,
10
+ OpenAIComputerAdapter,
11
+ UnsupportedComputerAction,
12
+ COMPUTER_FUNCTION_TOOLS,
13
+ )
5
14
  from .databases import DatabaseBranchesClient, DatabaseOperationFailed, DatabasesClient
6
15
  from .hosted_agents import HostedAgentBudgetClient, HostedAgentSecretsClient, HostedAgentsClient
7
16
  from .mail import (
@@ -45,10 +54,34 @@ from .mail_inbox_webhooks import (
45
54
  )
46
55
  from .partner import PartnerClient
47
56
  from .projects import ProjectsClient
57
+ from .teams import ComputerTeamsClient
48
58
  from .workload_security import WorkloadSecurityClient
49
59
 
50
60
  __all__ = [
51
61
  "StackShift",
62
+ "COMPUTER_AGENT_PROVIDERS",
63
+ "COMPUTER_CAPACITY_BUSY",
64
+ "COMPUTER_LIMIT_EXCEEDED",
65
+ "COMPUTER_SPEND_CAP_REACHED",
66
+ "Computer",
67
+ "ComputerActionError",
68
+ "ComputerCIClient",
69
+ "computer_public_pricing",
70
+ "exchange_computer_agent_claim",
71
+ "register_computer_agent",
72
+ "wait_for_computer_agent_key",
73
+ "ComputerKeysClient",
74
+ "ComputersClient",
75
+ "ComputerSnapshotsClient",
76
+ "ComputerTeamsClient",
77
+ "ComputerTransferError",
78
+ "ComputerWaitError",
79
+ "AnthropicComputerAdapter",
80
+ "FunctionComputerAdapter",
81
+ "GeminiComputerAdapter",
82
+ "OpenAIComputerAdapter",
83
+ "UnsupportedComputerAction",
84
+ "COMPUTER_FUNCTION_TOOLS",
52
85
  "AICreditsClient",
53
86
  "AgentConnectionOperationsClient",
54
87
  "AgentConnectionsClient",
stackshift/client.py CHANGED
@@ -30,17 +30,22 @@ class StackShift:
30
30
  from .agents import AgentsClient
31
31
  from .ai_credits import AICreditsClient
32
32
  from .assets import AssetsClient
33
+ from .computers import ComputersClient
33
34
  from .databases import DatabasesClient
34
35
  from .hosted_agents import HostedAgentsClient
35
36
  from .mail import MailClient
36
37
  from .partner import PartnerClient
37
38
  from .projects import ProjectsClient
39
+ from .teams import ComputerTeamsClient
38
40
  from .workload_security import WorkloadSecurityClient
39
41
 
40
42
  self.agents = AgentsClient(self)
41
43
  self.ai_credits = AICreditsClient(self)
42
44
  self.projects = ProjectsClient(self)
43
45
  self.assets = AssetsClient(self)
46
+ self.computers = ComputersClient(self)
47
+ self.computers.teams = ComputerTeamsClient(self)
48
+ self.teams = self.computers.teams
44
49
  self.databases = DatabasesClient(self)
45
50
  self.hosted_agents = HostedAgentsClient(self)
46
51
  self.mail = MailClient(self)