@agentsdock/server 1.0.7 → 1.0.8-beta.2
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.
- package/README.md +2 -2
- package/package.json +1 -1
- package/server/VERSION +1 -1
- package/server/agent_server.py +392 -60
- package/server/codex_app_server.py +12 -0
- package/server/codex_history_repair.py +79 -14
- package/server/codex_provider.py +159 -76
- package/server/cursor_api_key.py +64 -0
- package/server/install.sh +3 -2
- package/server/opencode_agent_client.py +32 -0
- package/server/provider_connections.py +665 -0
- package/server/pyproject.toml +1 -0
- package/server/title_generation.py +4 -1
- package/server/uv.lock +3 -1
package/server/pyproject.toml
CHANGED
|
@@ -242,6 +242,9 @@ def cursor_profile(root: Path, original_env: dict) -> tuple[Path, dict]:
|
|
|
242
242
|
'NODE_EXTRA_CA_CERTS', 'HTTP_PROXY', 'HTTPS_PROXY', 'ALL_PROXY', 'NO_PROXY',
|
|
243
243
|
'http_proxy', 'https_proxy', 'all_proxy', 'no_proxy', 'CURSOR_API_KEY', 'CURSOR_API_ENDPOINT'}
|
|
244
244
|
env = {k: v for k, v in original_env.items() if k in allowed}
|
|
245
|
+
if original_env.get('AGENT_CLI_CREDENTIAL_STORE') == 'memory' and env.get('CURSOR_API_KEY'):
|
|
246
|
+
from cursor_api_key import overrides
|
|
247
|
+
env.update(overrides(env['CURSOR_API_KEY']))
|
|
245
248
|
env.update(HOME=str(home), USERPROFILE=str(home), CURSOR_CONFIG_DIR=str(config),
|
|
246
249
|
CURSOR_DATA_DIR=str(root / 'data'), XDG_CONFIG_HOME=str(home / '.config'),
|
|
247
250
|
XDG_DATA_HOME=str(root / 'data'), XDG_CACHE_HOME=str(root / 'cache'),
|
|
@@ -298,7 +301,7 @@ async def cursor_keychain_snapshot(env: dict, isolated: dict, workspace: Path) -
|
|
|
298
301
|
|
|
299
302
|
|
|
300
303
|
async def generate_cursor_title(prompt: str, *, executable: str, model: str | None, env: dict) -> str | None:
|
|
301
|
-
model = model or cursor_default_model(env)
|
|
304
|
+
model = model or ('auto' if env.get('AGENT_CLI_CREDENTIAL_STORE') == 'memory' else cursor_default_model(env))
|
|
302
305
|
with tempfile.TemporaryDirectory(prefix='agentsdock-title-cursor-') as directory:
|
|
303
306
|
workspace, isolated = cursor_profile(Path(directory), env)
|
|
304
307
|
await cursor_keychain_snapshot(env, isolated, workspace)
|
package/server/uv.lock
CHANGED
|
@@ -30,6 +30,7 @@ dependencies = [
|
|
|
30
30
|
{ name = "croniter" },
|
|
31
31
|
{ name = "cryptography" },
|
|
32
32
|
{ name = "fastapi" },
|
|
33
|
+
{ name = "httpx" },
|
|
33
34
|
{ name = "pydantic" },
|
|
34
35
|
{ name = "python-dateutil" },
|
|
35
36
|
{ name = "python-multipart" },
|
|
@@ -44,6 +45,7 @@ requires-dist = [
|
|
|
44
45
|
{ name = "croniter", specifier = ">=6,<7" },
|
|
45
46
|
{ name = "cryptography", specifier = ">=50.0.1,<51" },
|
|
46
47
|
{ name = "fastapi", specifier = ">=0.115,<1" },
|
|
48
|
+
{ name = "httpx", specifier = ">=0.28.1,<1" },
|
|
47
49
|
{ name = "pydantic", specifier = ">=2.10,<3" },
|
|
48
50
|
{ name = "python-dateutil", specifier = ">=2.9,<3" },
|
|
49
51
|
{ name = "python-multipart", specifier = ">=0.0.20,<1" },
|
|
@@ -326,7 +328,7 @@ name = "exceptiongroup"
|
|
|
326
328
|
version = "1.3.1"
|
|
327
329
|
source = { registry = "https://pypi.org/simple" }
|
|
328
330
|
dependencies = [
|
|
329
|
-
{ name = "typing-extensions"
|
|
331
|
+
{ name = "typing-extensions" },
|
|
330
332
|
]
|
|
331
333
|
sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" }
|
|
332
334
|
wheels = [
|