goose-py 0.7.3__tar.gz → 0.8.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.
Files changed (35) hide show
  1. {goose_py-0.7.3 → goose_py-0.8.0}/PKG-INFO +1 -1
  2. {goose_py-0.7.3 → goose_py-0.8.0}/goose/_internal/task.py +1 -1
  3. {goose_py-0.7.3 → goose_py-0.8.0}/pyproject.toml +3 -2
  4. goose_py-0.7.3/tests/test_jamming.py → goose_py-0.8.0/tests/test_refining.py +1 -1
  5. {goose_py-0.7.3 → goose_py-0.8.0}/tests/test_state.py +1 -1
  6. {goose_py-0.7.3 → goose_py-0.8.0}/uv.lock +1 -1
  7. goose_py-0.7.3/tests/conftest.py +0 -10
  8. {goose_py-0.7.3 → goose_py-0.8.0}/.envrc +0 -0
  9. {goose_py-0.7.3 → goose_py-0.8.0}/.github/workflows/publish.yml +0 -0
  10. {goose_py-0.7.3 → goose_py-0.8.0}/.gitignore +0 -0
  11. {goose_py-0.7.3 → goose_py-0.8.0}/.python-version +0 -0
  12. {goose_py-0.7.3 → goose_py-0.8.0}/.stubs/jsonpath_ng/__init__.pyi +0 -0
  13. {goose_py-0.7.3 → goose_py-0.8.0}/.stubs/litellm/__init__.pyi +0 -0
  14. {goose_py-0.7.3 → goose_py-0.8.0}/Makefile +0 -0
  15. {goose_py-0.7.3 → goose_py-0.8.0}/README.md +0 -0
  16. {goose_py-0.7.3 → goose_py-0.8.0}/goose/__init__.py +0 -0
  17. {goose_py-0.7.3 → goose_py-0.8.0}/goose/_internal/agent.py +0 -0
  18. {goose_py-0.7.3 → goose_py-0.8.0}/goose/_internal/conversation.py +0 -0
  19. {goose_py-0.7.3 → goose_py-0.8.0}/goose/_internal/flow.py +0 -0
  20. {goose_py-0.7.3 → goose_py-0.8.0}/goose/_internal/result.py +0 -0
  21. {goose_py-0.7.3 → goose_py-0.8.0}/goose/_internal/state.py +0 -0
  22. {goose_py-0.7.3 → goose_py-0.8.0}/goose/_internal/store.py +0 -0
  23. {goose_py-0.7.3 → goose_py-0.8.0}/goose/_internal/types/__init__.py +0 -0
  24. {goose_py-0.7.3 → goose_py-0.8.0}/goose/_internal/types/agent.py +0 -0
  25. {goose_py-0.7.3 → goose_py-0.8.0}/goose/agent.py +0 -0
  26. {goose_py-0.7.3 → goose_py-0.8.0}/goose/errors.py +0 -0
  27. {goose_py-0.7.3 → goose_py-0.8.0}/goose/flow.py +0 -0
  28. {goose_py-0.7.3 → goose_py-0.8.0}/goose/py.typed +0 -0
  29. {goose_py-0.7.3 → goose_py-0.8.0}/goose/runs.py +0 -0
  30. {goose_py-0.7.3 → goose_py-0.8.0}/tests/__init__.py +0 -0
  31. {goose_py-0.7.3 → goose_py-0.8.0}/tests/test_agent.py +0 -0
  32. {goose_py-0.7.3 → goose_py-0.8.0}/tests/test_complex_flow_arguments.py +0 -0
  33. {goose_py-0.7.3 → goose_py-0.8.0}/tests/test_downstream_task.py +0 -0
  34. {goose_py-0.7.3 → goose_py-0.8.0}/tests/test_looping.py +0 -0
  35. {goose_py-0.7.3 → goose_py-0.8.0}/tests/test_regenerate.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: goose-py
3
- Version: 0.7.3
3
+ Version: 0.8.0
4
4
  Summary: A tool for AI workflows based on human-computer collaboration and structured output.
5
5
  Author-email: Nash Taylor <nash@chelle.ai>, Joshua Cook <joshua@chelle.ai>, Michael Sankur <michael@chelle.ai>
6
6
  Requires-Python: >=3.12
@@ -43,7 +43,7 @@ class Task[**P, R: Result]:
43
43
  else:
44
44
  return state.result
45
45
 
46
- async def jam(
46
+ async def refine(
47
47
  self,
48
48
  *,
49
49
  user_message: UserMessage,
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "goose-py"
3
- version = "0.7.3"
3
+ version = "0.8.0"
4
4
  description = "A tool for AI workflows based on human-computer collaboration and structured output."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -75,7 +75,8 @@ filterwarnings = [
75
75
  "ignore::SyntaxWarning",
76
76
  "ignore::UserWarning",
77
77
  ]
78
- addopts = "-v"
79
78
  testpaths = ["tests"]
80
79
  pythonpath = ["."]
81
80
  python_files = "test_*.py"
81
+ asyncio_default_fixture_loop_scope = "session"
82
+ asyncio_mode = "auto"
@@ -53,7 +53,7 @@ async def test_jamming() -> None:
53
53
 
54
54
  # imagine this is a new process
55
55
  async with sentence.start_run(run_id="1") as second_run:
56
- await generate_random_word.jam(
56
+ await generate_random_word.refine(
57
57
  index=1,
58
58
  user_message=UserMessage(parts=[TextMessagePart(text="Change it")]),
59
59
  context=SystemMessage(parts=[TextMessagePart(text="Extra info")]),
@@ -68,7 +68,7 @@ async def test_state_undo() -> None:
68
68
  await with_state.generate()
69
69
 
70
70
  async with with_state.start_run(run_id="2"):
71
- await generate_random_word.jam(
71
+ await generate_random_word.refine(
72
72
  index=0,
73
73
  user_message=UserMessage(parts=[TextMessagePart(text="Change it")]),
74
74
  context=SystemMessage(parts=[TextMessagePart(text="Extra info")]),
@@ -234,7 +234,7 @@ wheels = [
234
234
 
235
235
  [[package]]
236
236
  name = "goose-py"
237
- version = "0.7.3"
237
+ version = "0.8.0"
238
238
  source = { editable = "." }
239
239
  dependencies = [
240
240
  { name = "jsonpath-ng" },
@@ -1,10 +0,0 @@
1
- import asyncio
2
-
3
- import pytest
4
-
5
-
6
- @pytest.fixture(scope="session")
7
- def event_loop():
8
- loop = asyncio.get_event_loop()
9
- yield loop
10
- loop.close()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes