llmsafespaces 0.5.4__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.
@@ -0,0 +1,99 @@
1
+ # If you prefer the allow list template instead of the deny list, see community template:
2
+ # https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3
+ #
4
+ # Binaries for programs and plugins
5
+ *.exe
6
+ *.exe~
7
+ *.dll
8
+ *.so
9
+ *.dylib
10
+
11
+ # Test binary, built with `go test -c`
12
+ *.test
13
+
14
+ # Locally built CLI helpers (Makefile writes here)
15
+ /bin/
16
+
17
+ # Output of the go coverage tool, specifically when used with LiteIDE
18
+ *.out
19
+
20
+ # Dependency directories (remove the comment below to include it)
21
+ # vendor/
22
+
23
+ # Go workspace file
24
+ go.work
25
+ go.work.sum
26
+
27
+ # env file
28
+ .env
29
+ .aider*
30
+
31
+ #python
32
+ __pycache__
33
+ .coverage
34
+ bin/*
35
+
36
+ DONOTUSE
37
+
38
+ # Helm chart packages (output of `helm package` / `make helm-package`)
39
+ dist/
40
+ frontend/coverage
41
+ /workspace-agentd
42
+
43
+ # SDK build artifacts
44
+ sdks/typescript/node_modules/
45
+ sdks/typescript/dist/
46
+ sdks/vscode-llmsafespaces/node_modules/
47
+ sdks/vscode-llmsafespaces/dist/
48
+ sdks/python/__pycache__/
49
+ sdks/python/*.egg-info/
50
+ sdks/go/live-test
51
+
52
+ # Frontend build / dev artifacts
53
+ frontend/node_modules/
54
+ frontend/dist/
55
+ frontend/test-results/
56
+
57
+ # Epic 17 Phase 0 artefacts: contain JWTs, audit logs, baseline snapshots.
58
+ # These are reproducible from the scripts; never commit.
59
+ design/stories/epic-17-security-review/phase-0/phase-0-artefacts/
60
+ design/stories/epic-17-security-review/phase-0-prod/phase-0-prod-artefacts/
61
+ .tmp/
62
+
63
+ # Compiled canary binaries (built on-the-fly by canary runner / CI)
64
+ sdks/canary/go/s-*
65
+ sdks/canary/go/d-*
66
+ sdks/canary/mcp/mcp
67
+ sdks/canary/go/cmd/seed-accounts/seed-accounts
68
+
69
+ # Generated build artifacts — never track (regenerable, large, host-specific).
70
+ # Caught after a stray `git add -A` swept 76MB into PR #276 (worklog 0389).
71
+ controller/bin/
72
+
73
+ # Root-level CLI binaries built from cmd/ (redact, tools, migrate-kek, etc).
74
+ # Regenerable via `go build ./cmd/<name>/`; committed by accident — never track.
75
+ # One entry per binary so the intent is explicit and the list mirrors cmd/.
76
+ /mcp
77
+ /migrate-kek
78
+ /redact
79
+ /relay-proxy
80
+ /relay-router
81
+ /repolint
82
+ /rotate-kek
83
+ /seal-key
84
+ /tools
85
+ /workspace-agentd
86
+ cmd/workspace-agentd/workspace-agentd
87
+ sdks/java/target/
88
+
89
+ # Local credentials and binaries
90
+ .cf
91
+ mcp
92
+
93
+ # Cluster-specific helm overrides (redis host, disabled components, etc.)
94
+ # Create helm/values.local.yaml to persist local deploy config.
95
+ helm/values.local.yaml
96
+ node_modules/.vite/
97
+ go.sum.backup
98
+ site/
99
+ crd-doc-gen
@@ -0,0 +1,11 @@
1
+ Metadata-Version: 2.4
2
+ Name: llmsafespaces
3
+ Version: 0.5.4
4
+ Summary: Python SDK for LLMSafeSpaces API
5
+ License-Expression: AGPL-3.0-or-later
6
+ Requires-Python: >=3.10
7
+ Requires-Dist: httpx>=0.27.0
8
+ Provides-Extra: dev
9
+ Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
10
+ Requires-Dist: pytest>=8.0; extra == 'dev'
11
+ Requires-Dist: respx>=0.22; extra == 'dev'
@@ -0,0 +1,59 @@
1
+ """LLMSafeSpaces Python SDK."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version as _version
4
+
5
+ from .client import LLMSafeSpaces
6
+ from .async_client import AsyncLLMSafeSpaces
7
+ from .errors import (
8
+ AuthError,
9
+ ConflictError,
10
+ LLMSafeSpacesError,
11
+ NotFoundError,
12
+ RateLimitError,
13
+ TimeoutError,
14
+ )
15
+ from .types import (
16
+ APIKey,
17
+ AuthResponse,
18
+ CreateAgentRoleRequest,
19
+ EnsureSessionResponse,
20
+ MessageResponse,
21
+ ProviderCredential,
22
+ SecretResponse,
23
+ TerminalTicket,
24
+ UpdateProviderCredentialRequest,
25
+ UpdateAgentRoleRequest,
26
+ Workspace,
27
+ WorkspaceListItem,
28
+ WorkspaceListResult,
29
+ )
30
+
31
+ try:
32
+ __version__ = _version("llmsafespaces")
33
+ except PackageNotFoundError:
34
+ __version__ = "dev"
35
+
36
+ __all__ = [
37
+ "LLMSafeSpaces",
38
+ "AsyncLLMSafeSpaces",
39
+ "LLMSafeSpacesError",
40
+ "AuthError",
41
+ "NotFoundError",
42
+ "ConflictError",
43
+ "TimeoutError",
44
+ "RateLimitError",
45
+ "Workspace",
46
+ "WorkspaceListItem",
47
+ "WorkspaceListResult",
48
+ "EnsureSessionResponse",
49
+ "MessageResponse",
50
+ "AuthResponse",
51
+ "APIKey",
52
+ "TerminalTicket",
53
+ "SecretResponse",
54
+ "ProviderCredential",
55
+ "UpdateProviderCredentialRequest",
56
+ "CreateAgentRoleRequest",
57
+ "UpdateAgentRoleRequest",
58
+ "__version__",
59
+ ]