ellipsis-dev 0.50.0__tar.gz → 0.52.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: ellipsis-dev
3
- Version: 0.50.0
3
+ Version: 0.52.0
4
4
  Summary: Python SDK for the Ellipsis agents platform: every /v1 operation, sync and async.
5
5
  Project-URL: Homepage, https://www.ellipsis.dev
6
6
  Project-URL: Documentation, https://www.ellipsis.dev/docs/api
@@ -17,12 +17,15 @@ Drive Ellipsis agent sessions from Python. Every `/v1` operation, sync and
17
17
  async, generated from the platform's committed OpenAPI spec.
18
18
 
19
19
  ```python
20
- from ellipsis import Ellipsis
20
+ from ellipsis import ClaudeCodeConfig, Ellipsis
21
21
 
22
22
  client = Ellipsis(api_key="...") # an API key from app.ellipsis.dev
23
23
 
24
24
  session = client.sessions.start(
25
- claude_code={"prompt": "Fix the flaky test in ci/"},
25
+ claude_code=ClaudeCodeConfig(
26
+ model="claude-opus-5-5",
27
+ prompt="Fix the flaky test in ci/",
28
+ ),
26
29
  ).session
27
30
  for s in client.sessions.list(): # cursor pagination walks every page
28
31
  print(s.id, s.status)
@@ -4,12 +4,15 @@ Drive Ellipsis agent sessions from Python. Every `/v1` operation, sync and
4
4
  async, generated from the platform's committed OpenAPI spec.
5
5
 
6
6
  ```python
7
- from ellipsis import Ellipsis
7
+ from ellipsis import ClaudeCodeConfig, Ellipsis
8
8
 
9
9
  client = Ellipsis(api_key="...") # an API key from app.ellipsis.dev
10
10
 
11
11
  session = client.sessions.start(
12
- claude_code={"prompt": "Fix the flaky test in ci/"},
12
+ claude_code=ClaudeCodeConfig(
13
+ model="claude-opus-5-5",
14
+ prompt="Fix the flaky test in ci/",
15
+ ),
13
16
  ).session
14
17
  for s in client.sessions.list(): # cursor pagination walks every page
15
18
  print(s.id, s.status)
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ellipsis-dev"
7
- version = "0.50.0"
7
+ version = "0.52.0"
8
8
  description = "Python SDK for the Ellipsis agents platform: every /v1 operation, sync and async."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -1,9 +1,13 @@
1
1
  """The Ellipsis Python SDK.
2
2
 
3
- from ellipsis import Ellipsis
3
+ from ellipsis import ClaudeCodeConfig, Ellipsis
4
4
 
5
5
  client = Ellipsis(api_key=...)
6
- session = client.sessions.start(claude_code={"prompt": "..."})
6
+ session = client.sessions.start(
7
+ claude_code=ClaudeCodeConfig(model="claude-opus-5-5", prompt="..."),
8
+ )
9
+
10
+ Every model and enum imports from the package itself.
7
11
 
8
12
  `Ellipsis` is sync, `AsyncEllipsis` is async; both cover every /v1 operation.
9
13
  The generated modules are all emitted by `ellipsis.pyscripts.sdk.generate_sdks`
@@ -37,10 +41,15 @@ from ._stream import (
37
41
  StreamAuthError,
38
42
  StreamOutcome,
39
43
  StreamUnavailableError,
44
+ aiter_session_stream,
40
45
  iter_session_stream,
41
46
  stream_session,
42
47
  )
43
48
 
49
+ # Every model and enum is importable from the package itself:
50
+ # `from ellipsis import AgentConfig, GithubAction`.
51
+ from .models import * # noqa: F403
52
+
44
53
  __all__ = [
45
54
  "APIError",
46
55
  "AsyncEllipsis",
@@ -63,9 +72,11 @@ __all__ = [
63
72
  "StreamOutcome",
64
73
  "StreamUnavailableError",
65
74
  "UnprocessableError",
75
+ "aiter_session_stream",
66
76
  "frames",
67
77
  "iter_session_stream",
68
78
  "lifecycle",
69
79
  "models",
70
80
  "stream_session",
71
81
  ]
82
+ __all__ += models.__all__