ouroboros-ai 0.1.0__py3-none-any.whl → 0.1.0a1__py3-none-any.whl
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.
Potentially problematic release.
This version of ouroboros-ai might be problematic. Click here for more details.
- ouroboros/persistence/event_store.py +8 -1
- {ouroboros_ai-0.1.0.dist-info → ouroboros_ai-0.1.0a1.dist-info}/METADATA +27 -1
- {ouroboros_ai-0.1.0.dist-info → ouroboros_ai-0.1.0a1.dist-info}/RECORD +6 -6
- {ouroboros_ai-0.1.0.dist-info → ouroboros_ai-0.1.0a1.dist-info}/WHEEL +0 -0
- {ouroboros_ai-0.1.0.dist-info → ouroboros_ai-0.1.0a1.dist-info}/entry_points.txt +0 -0
- {ouroboros_ai-0.1.0.dist-info → ouroboros_ai-0.1.0a1.dist-info}/licenses/LICENSE +0 -0
|
@@ -5,6 +5,8 @@ with aiosqlite backend.
|
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
8
10
|
from sqlalchemy import select
|
|
9
11
|
from sqlalchemy.ext.asyncio import AsyncEngine, create_async_engine
|
|
10
12
|
|
|
@@ -33,13 +35,18 @@ class EventStore:
|
|
|
33
35
|
await store.close()
|
|
34
36
|
"""
|
|
35
37
|
|
|
36
|
-
def __init__(self, database_url: str) -> None:
|
|
38
|
+
def __init__(self, database_url: str | None = None) -> None:
|
|
37
39
|
"""Initialize EventStore with database URL.
|
|
38
40
|
|
|
39
41
|
Args:
|
|
40
42
|
database_url: SQLAlchemy database URL.
|
|
43
|
+
If not provided, defaults to ~/.ouroboros/events.db
|
|
41
44
|
For async SQLite: "sqlite+aiosqlite:///path/to/db.sqlite"
|
|
42
45
|
"""
|
|
46
|
+
if database_url is None:
|
|
47
|
+
db_path = Path.home() / ".ouroboros" / "events.db"
|
|
48
|
+
db_path.parent.mkdir(parents=True, exist_ok=True)
|
|
49
|
+
database_url = f"sqlite+aiosqlite:///{db_path}"
|
|
43
50
|
self._database_url = database_url
|
|
44
51
|
self._engine: AsyncEngine | None = None
|
|
45
52
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ouroboros-ai
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a1
|
|
4
4
|
Summary: Self-Improving AI Workflow System
|
|
5
5
|
Author-email: Q00 <jqyu.lee@gmail.com>
|
|
6
6
|
License-File: LICENSE
|
|
@@ -415,6 +415,22 @@ not to restart, but to **re-crystallize** with new understanding.
|
|
|
415
415
|
|
|
416
416
|
<br/>
|
|
417
417
|
|
|
418
|
+
## ◈ Installation
|
|
419
|
+
|
|
420
|
+
<br/>
|
|
421
|
+
|
|
422
|
+
```bash
|
|
423
|
+
pip install ouroboros-ai
|
|
424
|
+
# or
|
|
425
|
+
uv pip install ouroboros-ai
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
<br/>
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
432
|
+
<br/>
|
|
433
|
+
|
|
418
434
|
## ◈ Quick Start
|
|
419
435
|
|
|
420
436
|
<br/>
|
|
@@ -423,6 +439,16 @@ not to restart, but to **re-crystallize** with new understanding.
|
|
|
423
439
|
|
|
424
440
|
No API key required — uses your Claude Code subscription directly.
|
|
425
441
|
|
|
442
|
+
```bash
|
|
443
|
+
# Begin the Big Bang (interactive interview)
|
|
444
|
+
ouroboros init start --orchestrator "I want to build a task management CLI"
|
|
445
|
+
|
|
446
|
+
# Execute via Claude Agent SDK
|
|
447
|
+
ouroboros run workflow --orchestrator seed.yaml
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### From Source (Development)
|
|
451
|
+
|
|
426
452
|
```bash
|
|
427
453
|
# Clone
|
|
428
454
|
git clone https://github.com/Q00/ouroboros
|
|
@@ -52,7 +52,7 @@ ouroboros/orchestrator/runner.py,sha256=AbD8vAyUlXQk8KUpmizkm_i4YM03XeqaE-15Elxw
|
|
|
52
52
|
ouroboros/orchestrator/session.py,sha256=JWfQfwwlf7_f80l9Ed45zQA6iDb32XoOnaYbGjA6ChU,15536
|
|
53
53
|
ouroboros/persistence/__init__.py,sha256=O9lVtKUNgtpamzo-OAeEVYXByqpy83853DKepvo3Zj8,601
|
|
54
54
|
ouroboros/persistence/checkpoint.py,sha256=FC68lOmNcRJooFEYXGrGWR0TZcQG-YA9qvPPnl4QMUc,17580
|
|
55
|
-
ouroboros/persistence/event_store.py,sha256=
|
|
55
|
+
ouroboros/persistence/event_store.py,sha256=OurHxIMxvF4vW5PRNVH-PoOMMv6oYp0ARMFLxdeyzF8,6564
|
|
56
56
|
ouroboros/persistence/schema.py,sha256=eS5IcSEnnna7CIhS5Whx1iURC8_DV3xu69Vr_bV_N-Y,1796
|
|
57
57
|
ouroboros/persistence/uow.py,sha256=suAKSrbZrofl2KNsHCfbQZ8K1bnJJW956lTkKkhwkdQ,7461
|
|
58
58
|
ouroboros/persistence/migrations/__init__.py,sha256=H3MwTYP02lLnUpCUTNf-B9ONS15thPPgB-T6x2heetc,34
|
|
@@ -74,8 +74,8 @@ ouroboros/routing/tiers.py,sha256=QhBQUOo2-h5Z3dEtC0lcOzkRnqTi2W7Jl46750AVNig,73
|
|
|
74
74
|
ouroboros/secondary/__init__.py,sha256=kYQ7C4bnBzwDlPrU8qZrOPr2ZuTBaftGktOXl5WZl5Q,1123
|
|
75
75
|
ouroboros/secondary/scheduler.py,sha256=sPVVWJ1q0yewRAM-Rm1j_HMerSe4cavIvP9z4xlUuL4,13737
|
|
76
76
|
ouroboros/secondary/todo_registry.py,sha256=4W3C9Uro29VrVLCPKUlpH_BYpzQSbRNW1oMnDYyEhEw,13880
|
|
77
|
-
ouroboros_ai-0.1.
|
|
78
|
-
ouroboros_ai-0.1.
|
|
79
|
-
ouroboros_ai-0.1.
|
|
80
|
-
ouroboros_ai-0.1.
|
|
81
|
-
ouroboros_ai-0.1.
|
|
77
|
+
ouroboros_ai-0.1.0a1.dist-info/METADATA,sha256=79ZBjzVE0RYN7NYt6bG96I99_cvslYM7VcDZyH9f8d0,18869
|
|
78
|
+
ouroboros_ai-0.1.0a1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
79
|
+
ouroboros_ai-0.1.0a1.dist-info/entry_points.txt,sha256=MoETHup6rVkR6AsyjoRzAgIuvVtYYm3Jw40itV3_VyI,53
|
|
80
|
+
ouroboros_ai-0.1.0a1.dist-info/licenses/LICENSE,sha256=n2X-q26TqpXnoBo0t_WouhFxWw663_q5FmbYDZayoHo,1060
|
|
81
|
+
ouroboros_ai-0.1.0a1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|