evolvingmachines-evolve 0.0.61.dev1443__tar.gz → 0.0.61.dev1450__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.
Files changed (45) hide show
  1. {evolvingmachines_evolve-0.0.61.dev1443/evolvingmachines_evolve.egg-info → evolvingmachines_evolve-0.0.61.dev1450}/PKG-INFO +1 -1
  2. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/__init__.py +1 -1
  3. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/hosted.py +52 -1
  4. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450/evolvingmachines_evolve.egg-info}/PKG-INFO +1 -1
  5. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/pyproject.toml +1 -1
  6. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/LICENSE +0 -0
  7. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/MANIFEST.in +0 -0
  8. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/README.md +0 -0
  9. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/bridge/__init__.py +0 -0
  10. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/bridge/dist/bridge.bundle.cjs +0 -0
  11. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/_http.py +0 -0
  12. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/agent.py +0 -0
  13. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/bridge.py +0 -0
  14. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/browser_credentials.py +0 -0
  15. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/browser_profiles.py +0 -0
  16. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/config.py +0 -0
  17. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/integrations.py +0 -0
  18. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/managed_secrets.py +0 -0
  19. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/pipeline/__init__.py +0 -0
  20. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/pipeline/pipeline.py +0 -0
  21. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/pipeline/types.py +0 -0
  22. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/prompts/__init__.py +0 -0
  23. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/prompts/agent_md/judge.md +0 -0
  24. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/prompts/agent_md/reduce.md +0 -0
  25. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/prompts/agent_md/verify.md +0 -0
  26. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/prompts/user/judge.md +0 -0
  27. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/prompts/user/retry_feedback.md +0 -0
  28. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/prompts/user/verify.md +0 -0
  29. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/py.typed +0 -0
  30. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/results.py +0 -0
  31. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/retry.py +0 -0
  32. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/sandbox_view.py +0 -0
  33. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/schema.py +0 -0
  34. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/sessions_client.py +0 -0
  35. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/storage_client.py +0 -0
  36. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/swarm/__init__.py +0 -0
  37. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/swarm/results.py +0 -0
  38. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/swarm/swarm.py +0 -0
  39. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/swarm/types.py +0 -0
  40. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolve/utils.py +0 -0
  41. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolvingmachines_evolve.egg-info/SOURCES.txt +0 -0
  42. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolvingmachines_evolve.egg-info/dependency_links.txt +0 -0
  43. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolvingmachines_evolve.egg-info/requires.txt +0 -0
  44. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/evolvingmachines_evolve.egg-info/top_level.txt +0 -0
  45. {evolvingmachines_evolve-0.0.61.dev1443 → evolvingmachines_evolve-0.0.61.dev1450}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: evolvingmachines-evolve
3
- Version: 0.0.61.dev1443
3
+ Version: 0.0.61.dev1450
4
4
  Summary: Pythonic SDK for multi-agent orchestration in E2B sandboxes
5
5
  Author-email: "Swarmlink, Inc." <brandomagnani@evolvingmachines.ai>
6
6
  License: Apache-2.0
@@ -541,7 +541,7 @@ async def list_checkpoints(
541
541
  await store.close()
542
542
 
543
543
 
544
- __version__ = '0.0.61.dev1443'
544
+ __version__ = '0.0.61.dev1450'
545
545
 
546
546
  __all__ = [
547
547
  # Main classes
@@ -2061,6 +2061,10 @@ class Check(TypedDict):
2061
2061
  exclude_task_names: List[str]
2062
2062
  #: Harbor's -l/--n-tasks as stored; None = no cap.
2063
2063
  n_tasks: Optional[int]
2064
+ #: ``'PRIVATE'``, or ``'LINK'`` when an unlisted share link reaches the check
2065
+ #: (``checks().share(id, link=True)``). Email shares are not a visibility:
2066
+ #: ``checks().shares(id)`` lists them. A server older than the field reads as ``'PRIVATE'``.
2067
+ visibility: str
2064
2068
  #: One entry per task directory checked, sorted by task name.
2065
2069
  results: List[TaskCheck]
2066
2070
  cost_usd: Optional[float]
@@ -4588,7 +4592,12 @@ def _map_check(data: Any) -> Check:
4588
4592
  results = data.get('results')
4589
4593
  return cast(
4590
4594
  Check,
4591
- {**data, 'results': [row for row in results if isinstance(row, dict)] if isinstance(results, list) else []},
4595
+ {
4596
+ **data,
4597
+ # The share link's switch; an older server that sends none reads as PRIVATE (_map_job's rule).
4598
+ 'visibility': 'LINK' if data.get('visibility') == 'LINK' else 'PRIVATE',
4599
+ 'results': [row for row in results if isinstance(row, dict)] if isinstance(results, list) else [],
4600
+ },
4592
4601
  )
4593
4602
 
4594
4603
 
@@ -9623,6 +9632,48 @@ class ChecksClient:
9623
9632
  f'/api/checks/{urllib.parse.quote(check_id)}/tasks/{urllib.parse.quote(task_check_id)}',
9624
9633
  )
9625
9634
 
9635
+ async def share(
9636
+ self, id: str, *, link: bool = False, emails: Optional[List[str]] = None
9637
+ ) -> JobShares:
9638
+ """Share a check you created — :meth:`JobsClient.share` on a check:
9639
+ ``link=True`` mints the check's unlisted link (the same link on every
9640
+ later call); each new address is emailed a link and reads the check,
9641
+ its task checks and the download, and lists it under
9642
+ ``scope='shared'``; it never operates it. Creator-only: an org member
9643
+ is refused ``org_forbidden`` (403), a stranger sees 404. The answer is
9644
+ the check's whole share state, the job's :class:`JobShares` shape.
9645
+ """
9646
+ body: Dict[str, Any] = {}
9647
+ if link:
9648
+ body['link'] = True
9649
+ if emails:
9650
+ body['emails'] = list(emails)
9651
+ raw = await self._http.request_json(
9652
+ f'/api/checks/{urllib.parse.quote(id)}/share', method='POST', body=body
9653
+ )
9654
+ return _map_job_shares(raw)
9655
+
9656
+ async def unshare(
9657
+ self, id: str, *, link: bool = False, emails: Optional[List[str]] = None
9658
+ ) -> JobShares:
9659
+ """Revoke a check's link (``link=True``) and/or email shares (``emails``)
9660
+ — :meth:`JobsClient.unshare` on a check. Idempotent; creator-only."""
9661
+ body: Dict[str, Any] = {}
9662
+ if link:
9663
+ body['link'] = True
9664
+ if emails:
9665
+ body['emails'] = list(emails)
9666
+ raw = await self._http.request_json(
9667
+ f'/api/checks/{urllib.parse.quote(id)}/unshare', method='POST', body=body
9668
+ )
9669
+ return _map_job_shares(raw)
9670
+
9671
+ async def shares(self, id: str) -> JobShares:
9672
+ """The check's share state: its visibility, the link with its URL
9673
+ while enabled, and every email share. Creator-only."""
9674
+ raw = await self._http.request_json(f'/api/checks/{urllib.parse.quote(id)}/shares')
9675
+ return _map_job_shares(raw)
9676
+
9626
9677
 
9627
9678
  class AuthClient:
9628
9679
  """Client for caller identity.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: evolvingmachines-evolve
3
- Version: 0.0.61.dev1443
3
+ Version: 0.0.61.dev1450
4
4
  Summary: Pythonic SDK for multi-agent orchestration in E2B sandboxes
5
5
  Author-email: "Swarmlink, Inc." <brandomagnani@evolvingmachines.ai>
6
6
  License: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "evolvingmachines-evolve"
7
- version = "0.0.61.dev1443"
7
+ version = "0.0.61.dev1450"
8
8
  description = "Pythonic SDK for multi-agent orchestration in E2B sandboxes"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"