stackshift 1.7.0__py3-none-any.whl → 1.8.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 +32 -0
- stackshift/client.py +5 -0
- stackshift/computers.py +902 -0
- stackshift/computers_adapters.py +353 -0
- stackshift/computers_transfer.py +557 -0
- stackshift/teams.py +331 -0
- {stackshift-1.7.0.dist-info → stackshift-1.8.0.dist-info}/METADATA +208 -1
- {stackshift-1.7.0.dist-info → stackshift-1.8.0.dist-info}/RECORD +10 -6
- {stackshift-1.7.0.dist-info → stackshift-1.8.0.dist-info}/WHEEL +0 -0
- {stackshift-1.7.0.dist-info → stackshift-1.8.0.dist-info}/top_level.txt +0 -0
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_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,33 @@ 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_CAPACITY_BUSY",
|
|
63
|
+
"COMPUTER_LIMIT_EXCEEDED",
|
|
64
|
+
"COMPUTER_SPEND_CAP_REACHED",
|
|
65
|
+
"Computer",
|
|
66
|
+
"ComputerActionError",
|
|
67
|
+
"ComputerCIClient",
|
|
68
|
+
"computer_public_pricing",
|
|
69
|
+
"exchange_computer_agent_claim",
|
|
70
|
+
"register_computer_agent",
|
|
71
|
+
"wait_for_computer_agent_key",
|
|
72
|
+
"ComputerKeysClient",
|
|
73
|
+
"ComputersClient",
|
|
74
|
+
"ComputerSnapshotsClient",
|
|
75
|
+
"ComputerTeamsClient",
|
|
76
|
+
"ComputerTransferError",
|
|
77
|
+
"ComputerWaitError",
|
|
78
|
+
"AnthropicComputerAdapter",
|
|
79
|
+
"FunctionComputerAdapter",
|
|
80
|
+
"GeminiComputerAdapter",
|
|
81
|
+
"OpenAIComputerAdapter",
|
|
82
|
+
"UnsupportedComputerAction",
|
|
83
|
+
"COMPUTER_FUNCTION_TOOLS",
|
|
52
84
|
"AICreditsClient",
|
|
53
85
|
"AgentConnectionOperationsClient",
|
|
54
86
|
"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)
|