Skip to content

Commit adfb3cb

Browse files
committed
chore: bump to surrealdb v3.alpha-2
1 parent 0e460ff commit adfb3cb

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
|---|---|---|
55
| [`quickstart_tools.py`](quickstart_tools.py) | The Spectron tools driven directly against a **fake in-memory client**, so you can see a remember then recall round-trip. | Nothing but this package and CrewAI. |
66
| [`auto_memory.py`](auto_memory.py) | The automatic memory listener reacting to the crew event flow (recall before a task, write back after, consolidate at the end), against a **fake client**. | Nothing but this package and CrewAI. |
7-
| [`live_crew.py`](live_crew.py) | A **real crew** with Spectron-backed automatic memory. | `surrealdb>=3.0.0a1` + Spectron credentials + an LLM. |
7+
| [`live_crew.py`](live_crew.py) | A **real crew** with Spectron-backed automatic memory. | `surrealdb>=3.0.0a2` + Spectron credentials + an LLM. |
88
| [`.env.example`](.env.example) | Sample environment and secrets. | none |
99

1010
## Run the no-credentials demos
@@ -21,7 +21,7 @@ They print each step so you can see exactly what the tools and the listener do.
2121
## Run against real Spectron
2222

2323
```bash
24-
pip install -e . "surrealdb>=3.0.0a1"
24+
pip install -e . "surrealdb>=3.0.0a2"
2525
cp examples/.env.example .env # fill in SPECTRON_* and OPENAI_API_KEY
2626
set -a; . ./.env; set +a
2727
python examples/live_crew.py

examples/live_crew.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Run a real CrewAI crew with Spectron-backed automatic memory.
22
33
Requires:
4-
* pip install "spectron-crew-ai" (pulls in crewai + surrealdb>=3.0.0a1)
4+
* pip install "spectron-crew-ai" (pulls in crewai + surrealdb>=3.0.0a2)
55
* Spectron credentials in the environment:
66
export SPECTRON_ENDPOINT="https://your-instance.spectron.dev"
77
export SPECTRON_CONTEXT="my-context"
@@ -32,7 +32,7 @@ def main() -> int:
3232
if not memory.is_available():
3333
print(
3434
"Spectron is not configured. Set SPECTRON_ENDPOINT / SPECTRON_CONTEXT / "
35-
'SPECTRON_API_KEY and `pip install "surrealdb>=3.0.0a1"`.',
35+
'SPECTRON_API_KEY and `pip install "surrealdb>=3.0.0a2"`.',
3636
file=sys.stderr,
3737
)
3838
return 1

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "spectron-crew-ai"
7-
version = "0.1.0"
7+
version = "0.2.0"
88
description = "SurrealDB Spectron memory tools and automatic memory for CrewAI"
99
readme = "README.md"
1010
requires-python = ">=3.10"
@@ -19,7 +19,7 @@ classifiers = [
1919
dependencies = [
2020
"crewai>=1.5.0",
2121
# Spectron ships inside the SurrealDB Python SDK from the v3 alpha onward.
22-
"surrealdb>=3.0.0a1",
22+
"surrealdb>=3.0.0a2",
2323
]
2424

2525
[project.optional-dependencies]

src/spectron_crewai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
"SpectronUploadTool",
4545
]
4646

47-
__version__ = "0.1.0"
47+
__version__ = "0.2.0"

src/spectron_crewai/_runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def client(self) -> Any:
7171
return None
7272
if not spectron_installed():
7373
logger.warning(
74-
"Spectron SDK not installed; run `pip install \"surrealdb>=3.0.0a1\"`. "
74+
"Spectron SDK not installed; run `pip install \"surrealdb>=3.0.0a2\"`. "
7575
"Memory disabled."
7676
)
7777
self._disabled = True

0 commit comments

Comments
 (0)