agentfs-sdk 0.6.0rc3__tar.gz → 0.6.0rc5__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.
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/PKG-INFO +1 -1
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk/__init__.py +1 -1
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk/filesystem.py +11 -1
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk.egg-info/PKG-INFO +1 -1
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/pyproject.toml +1 -1
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/MANIFEST.in +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/README.md +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk/agentfs.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk/constants.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk/errors.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk/guards.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk/kvstore.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk/toolcalls.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk.egg-info/SOURCES.txt +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk.egg-info/dependency_links.txt +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk.egg-info/requires.txt +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/agentfs_sdk.egg-info/top_level.txt +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/setup.cfg +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/tests/test_agentfs.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/tests/test_basic.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/tests/test_filesystem.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/tests/test_kvstore.py +0 -0
- {agentfs_sdk-0.6.0rc3 → agentfs_sdk-0.6.0rc5}/tests/test_toolcalls.py +0 -0
|
@@ -9,7 +9,7 @@ from .filesystem import S_IFDIR, S_IFLNK, S_IFMT, S_IFREG, Filesystem, Stats
|
|
|
9
9
|
from .kvstore import KvStore
|
|
10
10
|
from .toolcalls import ToolCall, ToolCalls, ToolCallStats
|
|
11
11
|
|
|
12
|
-
__version__ = "0.6.0-pre.
|
|
12
|
+
__version__ = "0.6.0-pre.5"
|
|
13
13
|
|
|
14
14
|
__all__ = [
|
|
15
15
|
"AgentFS",
|
|
@@ -121,7 +121,11 @@ class Filesystem:
|
|
|
121
121
|
size INTEGER NOT NULL DEFAULT 0,
|
|
122
122
|
atime INTEGER NOT NULL,
|
|
123
123
|
mtime INTEGER NOT NULL,
|
|
124
|
-
ctime INTEGER NOT NULL
|
|
124
|
+
ctime INTEGER NOT NULL,
|
|
125
|
+
rdev INTEGER NOT NULL DEFAULT 0,
|
|
126
|
+
atime_nsec INTEGER NOT NULL DEFAULT 0,
|
|
127
|
+
mtime_nsec INTEGER NOT NULL DEFAULT 0,
|
|
128
|
+
ctime_nsec INTEGER NOT NULL DEFAULT 0
|
|
125
129
|
);
|
|
126
130
|
|
|
127
131
|
CREATE TABLE IF NOT EXISTS fs_dentry (
|
|
@@ -168,6 +172,12 @@ class Filesystem:
|
|
|
168
172
|
else:
|
|
169
173
|
chunk_size = int(config[0]) if config[0] else DEFAULT_CHUNK_SIZE
|
|
170
174
|
|
|
175
|
+
# Set schema version (keep in sync with AGENTFS_SCHEMA_VERSION in sdk/rust/src/schema.rs)
|
|
176
|
+
await self._db.execute(
|
|
177
|
+
"INSERT OR REPLACE INTO fs_config (key, value) VALUES ('schema_version', '0.4')"
|
|
178
|
+
)
|
|
179
|
+
await self._db.commit()
|
|
180
|
+
|
|
171
181
|
# Ensure root directory exists
|
|
172
182
|
cursor = await self._db.execute("SELECT ino FROM fs_inode WHERE ino = ?", (self._root_ino,))
|
|
173
183
|
root = await cursor.fetchone()
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agentfs-sdk"
|
|
7
|
-
version = "0.6.0-pre.
|
|
7
|
+
version = "0.6.0-pre.5"
|
|
8
8
|
description = "AgentFS Python SDK - A filesystem and key-value store for AI agents"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|