ground-control-cli 0.5.0__tar.gz → 0.5.1__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 (33) hide show
  1. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/PKG-INFO +1 -1
  2. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/pyproject.toml +1 -1
  3. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/service.py +0 -38
  4. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/.gitignore +0 -0
  5. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/__init__.py +0 -0
  6. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/actions.py +0 -0
  7. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/claude.py +0 -0
  8. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/cli.py +0 -0
  9. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/connect.py +0 -0
  10. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/hooks.py +0 -0
  11. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/machine.py +0 -0
  12. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/__init__.py +0 -0
  13. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/code/__init__.py +0 -0
  14. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/code/bash.py +0 -0
  15. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/code/javascript.js +0 -0
  16. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/code/javascript.py +0 -0
  17. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/code/python.py +0 -0
  18. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/deploy.py +0 -0
  19. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/errors.py +0 -0
  20. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/gh.py +0 -0
  21. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/git.py +0 -0
  22. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/health.py +0 -0
  23. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/queue.py +0 -0
  24. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/request.py +0 -0
  25. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/settings.py +0 -0
  26. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/tests.py +0 -0
  27. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/probes/workspace.py +0 -0
  28. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/queue.py +0 -0
  29. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/repos.py +0 -0
  30. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/system/__init__.py +0 -0
  31. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/system/macos.py +0 -0
  32. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/tools.py +0 -0
  33. {ground_control_cli-0.5.0 → ground_control_cli-0.5.1}/update.py +0 -0
@@ -1,5 +1,5 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ground-control-cli
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: What runs on a developer's machine: the command line and the agent's plugin.
5
5
  Requires-Python: >=3.12
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ground-control-cli"
3
- version = "0.5.0"
3
+ version = "0.5.1"
4
4
  description = "What runs on a developer's machine: the command line and the agent's plugin."
5
5
  requires-python = ">=3.12"
6
6
  dependencies = []
@@ -343,44 +343,6 @@ class Service:
343
343
  """
344
344
  return self.call("GET", "/api/plugin/settings?" + urlencode({"repo": repo}))
345
345
 
346
- def run_checks(
347
- self, repo: str, feature: str, step: str, moment: str, root, entering=None
348
- ) -> list[dict]:
349
- """Have a step's checks run on the service, running here the probes it asks for.
350
-
351
- Args:
352
- repo: The repo, as its host writes it, such as owner/repo.
353
- feature: The feature, `<lane>/<name>`.
354
- step: The step entered or exited.
355
- moment: entry or exit.
356
- root: The checkout the probes run in.
357
- entering: The fields of the step_enter row being entered, for the entry checks.
358
-
359
- Returns:
360
- Every check of the step, as the service decided it, in run order.
361
-
362
- Raises:
363
- ServiceError: If the service refuses, cannot be reached, or asks again for a probe
364
- it was given.
365
-
366
- Company: the one at the address.
367
- """
368
- body = {"repo": repo, "feature": feature, "step": step, "moment": moment}
369
- body["entering"] = dict(entering or {})
370
- found: list[dict] = []
371
- ran: set[str] = set()
372
- while True:
373
- answer = self.call("POST", "/api/plugin/check", body | {"facts": found})
374
- if not answer["need"]:
375
- return answer["checks"]
376
- for probe in answer["need"]:
377
- key = json.dumps(probe, sort_keys=True)
378
- if key in ran:
379
- raise ServiceError(None, f"the service asked again for {probe['name']}")
380
- ran.add(key)
381
- fact = probes.run(probe["name"], probe["params"], root)
382
- found.append(probe | {"fact": fact})
383
-
384
346
  def create_plan(self, repo: str, feature: str, role: str, issue: str = "") -> int:
385
347
  """Have the service make a feature's plan, as its first version.
386
348