keywright-server 0.0.1__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.
- keywright_server/__init__.py +3 -0
- keywright_server/__main__.py +71 -0
- keywright_server/access.py +131 -0
- keywright_server/access_view.py +144 -0
- keywright_server/actions.py +30 -0
- keywright_server/approvals.py +433 -0
- keywright_server/audit.py +58 -0
- keywright_server/bundles.py +87 -0
- keywright_server/config.py +102 -0
- keywright_server/db.py +119 -0
- keywright_server/discovery.py +277 -0
- keywright_server/events.py +78 -0
- keywright_server/friction.py +242 -0
- keywright_server/integrations.py +64 -0
- keywright_server/inventory.py +415 -0
- keywright_server/inventory_mcp.py +288 -0
- keywright_server/jev.py +80 -0
- keywright_server/knowledge.py +403 -0
- keywright_server/knowledge_chunking.py +118 -0
- keywright_server/knowledge_index.py +233 -0
- keywright_server/knowledge_mcp.py +82 -0
- keywright_server/llm.py +338 -0
- keywright_server/llm_proxy.py +271 -0
- keywright_server/llm_usage.py +99 -0
- keywright_server/mail.py +312 -0
- keywright_server/mcp_oauth.py +422 -0
- keywright_server/mcp_proxy.py +128 -0
- keywright_server/mcp_server.py +1025 -0
- keywright_server/models.py +442 -0
- keywright_server/network_map.py +128 -0
- keywright_server/notify/__init__.py +8 -0
- keywright_server/notify/base.py +156 -0
- keywright_server/notify/homeassistant.py +221 -0
- keywright_server/notify/log.py +30 -0
- keywright_server/notify/manager.py +131 -0
- keywright_server/notify/webhook.py +79 -0
- keywright_server/nudges.py +121 -0
- keywright_server/omada.py +179 -0
- keywright_server/policy.py +265 -0
- keywright_server/policy_preview.py +151 -0
- keywright_server/reconciliation.py +188 -0
- keywright_server/result_inspection.py +293 -0
- keywright_server/semantic.py +451 -0
- keywright_server/semantic_questions.json +120 -0
- keywright_server/settings_store.py +44 -0
- keywright_server/ssh.py +290 -0
- keywright_server/tool_access.py +260 -0
- keywright_server/usage.py +121 -0
- keywright_server/web/__init__.py +0 -0
- keywright_server/web/admin.py +1126 -0
- keywright_server/web/app.py +154 -0
- keywright_server/web/auth.py +144 -0
- keywright_server/web/discovery_ui.py +112 -0
- keywright_server/web/friction_ui.py +92 -0
- keywright_server/web/inventory_ui.py +192 -0
- keywright_server/web/knowledge_ui.py +177 -0
- keywright_server/web/mail_ui.py +190 -0
- keywright_server/web/mcp_oauth_ui.py +87 -0
- keywright_server/web/network_map_ui.py +37 -0
- keywright_server/web/oidc.py +231 -0
- keywright_server/web/security.py +77 -0
- keywright_server/web/templates/_activity_row.html +25 -0
- keywright_server/web/templates/_agent_setup.html +50 -0
- keywright_server/web/templates/_collections_style.html +88 -0
- keywright_server/web/templates/_constraints.html +6 -0
- keywright_server/web/templates/_decide.html +39 -0
- keywright_server/web/templates/_device_kind_picker.html +66 -0
- keywright_server/web/templates/_hazards.html +6 -0
- keywright_server/web/templates/_icons.html +19 -0
- keywright_server/web/templates/_infrastructure_nav.html +8 -0
- keywright_server/web/templates/_integration_style.html +30 -0
- keywright_server/web/templates/_inventory_forms.html +36 -0
- keywright_server/web/templates/_inventory_style.html +36 -0
- keywright_server/web/templates/_live.html +10 -0
- keywright_server/web/templates/_mail_nav.html +5 -0
- keywright_server/web/templates/_mail_style.html +10 -0
- keywright_server/web/templates/_network_map_script.html +5 -0
- keywright_server/web/templates/_nudge_card.html +12 -0
- keywright_server/web/templates/_patterns.html +6 -0
- keywright_server/web/templates/_policy_preview_results.html +13 -0
- keywright_server/web/templates/_request_card.html +46 -0
- keywright_server/web/templates/_semantic.html +10 -0
- keywright_server/web/templates/_topology_controller.js +217 -0
- keywright_server/web/templates/_topology_layout.js +174 -0
- keywright_server/web/templates/_topology_render.js +117 -0
- keywright_server/web/templates/access.html +119 -0
- keywright_server/web/templates/agents.html +49 -0
- keywright_server/web/templates/audit.html +6 -0
- keywright_server/web/templates/base.html +198 -0
- keywright_server/web/templates/dashboard.html +226 -0
- keywright_server/web/templates/decision.html +26 -0
- keywright_server/web/templates/friction.html +36 -0
- keywright_server/web/templates/friction_review.html +21 -0
- keywright_server/web/templates/grants.html +61 -0
- keywright_server/web/templates/integration_picker.html +47 -0
- keywright_server/web/templates/inventory.html +21 -0
- keywright_server/web/templates/inventory_asset.html +42 -0
- keywright_server/web/templates/inventory_discovery.html +32 -0
- keywright_server/web/templates/inventory_discovery_review.html +34 -0
- keywright_server/web/templates/inventory_map.html +45 -0
- keywright_server/web/templates/inventory_networks.html +12 -0
- keywright_server/web/templates/inventory_subnet.html +41 -0
- keywright_server/web/templates/inventory_topology.html +22 -0
- keywright_server/web/templates/knowledge.html +25 -0
- keywright_server/web/templates/knowledge_document.html +7 -0
- keywright_server/web/templates/knowledge_proposal.html +7 -0
- keywright_server/web/templates/login.html +9 -0
- keywright_server/web/templates/mail.html +45 -0
- keywright_server/web/templates/mail_rules.html +24 -0
- keywright_server/web/templates/mail_settings.html +19 -0
- keywright_server/web/templates/mcp_oauth_continue.html +14 -0
- keywright_server/web/templates/policies.html +30 -0
- keywright_server/web/templates/request_detail.html +27 -0
- keywright_server/web/templates/requests.html +9 -0
- keywright_server/web/templates/resource_form.html +198 -0
- keywright_server/web/templates/resources.html +76 -0
- keywright_server/web/templates/settings.html +53 -0
- keywright_server/web/templates/setup.html +8 -0
- keywright_server/web/templates/usage.html +84 -0
- keywright_server/web/usage_ui.py +41 -0
- keywright_server-0.0.1.dist-info/METADATA +152 -0
- keywright_server-0.0.1.dist-info/RECORD +127 -0
- keywright_server-0.0.1.dist-info/WHEEL +4 -0
- keywright_server-0.0.1.dist-info/entry_points.txt +2 -0
- keywright_server-0.0.1.dist-info/licenses/LICENSE +202 -0
- keywright_server-0.0.1.dist-info/licenses/NOTICE +5 -0
- keywright_server-0.0.1.dist-info/licenses/THIRD_PARTY_NOTICES +55 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""Read-only, admin-authenticated LLM usage view."""
|
|
2
|
+
from datetime import UTC, date, datetime, time, timedelta
|
|
3
|
+
from urllib.parse import urlencode
|
|
4
|
+
|
|
5
|
+
from fastapi import APIRouter, Depends, Request
|
|
6
|
+
|
|
7
|
+
from ..db import session
|
|
8
|
+
from ..models import now
|
|
9
|
+
from ..usage import report
|
|
10
|
+
from . import auth
|
|
11
|
+
from .admin import render
|
|
12
|
+
from .security import require_same_origin
|
|
13
|
+
|
|
14
|
+
router = APIRouter(dependencies=[Depends(require_same_origin), Depends(auth.require_admin)])
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@router.get("/ui/usage")
|
|
18
|
+
async def usage_page(request: Request, start: str = "", end: str = "", provider: str = "",
|
|
19
|
+
model: str = "", agent: str = "", key: str = ""):
|
|
20
|
+
today = now().date()
|
|
21
|
+
error = None
|
|
22
|
+
try:
|
|
23
|
+
first = date.fromisoformat(start) if start else today - timedelta(days=29)
|
|
24
|
+
last = date.fromisoformat(end) if end else today
|
|
25
|
+
if first > last:
|
|
26
|
+
raise ValueError
|
|
27
|
+
until = datetime.combine(last + timedelta(days=1), time.min, UTC)
|
|
28
|
+
except (ValueError, OverflowError):
|
|
29
|
+
first, last = today - timedelta(days=29), today
|
|
30
|
+
until = datetime.combine(last + timedelta(days=1), time.min, UTC)
|
|
31
|
+
error = "Choose valid dates with the start on or before the end. Showing the last 30 days."
|
|
32
|
+
filters = {"start": first.isoformat(), "end": last.isoformat(), "provider": provider,
|
|
33
|
+
"model": model, "agent": agent, "key": key}
|
|
34
|
+
|
|
35
|
+
def usage_url(**changes):
|
|
36
|
+
return "/ui/usage?" + urlencode({**filters, **changes})
|
|
37
|
+
|
|
38
|
+
async with session() as db:
|
|
39
|
+
data = await report(db, datetime.combine(first, time.min, UTC), until,
|
|
40
|
+
provider=provider, model=model, agent=agent, key=key)
|
|
41
|
+
return render(request, "usage.html", **data, filters=filters, usage_url=usage_url, error=error)
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: keywright-server
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Keywright server: just-in-time credential broker for AI agents. One MCP front door, per-request human approval, no keys in agent context.
|
|
5
|
+
Project-URL: Repository, https://github.com/johnrcarty/keywright
|
|
6
|
+
Project-URL: Issues, https://github.com/johnrcarty/keywright/issues
|
|
7
|
+
License-Expression: Apache-2.0
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
License-File: NOTICE
|
|
10
|
+
License-File: THIRD_PARTY_NOTICES
|
|
11
|
+
Requires-Python: >=3.12
|
|
12
|
+
Requires-Dist: aiosqlite>=0.20
|
|
13
|
+
Requires-Dist: asyncssh>=2.15
|
|
14
|
+
Requires-Dist: authlib<2,>=1.9.1
|
|
15
|
+
Requires-Dist: cryptography>=44
|
|
16
|
+
Requires-Dist: fastapi>=0.115
|
|
17
|
+
Requires-Dist: httpx2<3,>=2.13
|
|
18
|
+
Requires-Dist: httpx>=0.27
|
|
19
|
+
Requires-Dist: itsdangerous>=2.2
|
|
20
|
+
Requires-Dist: jinja2>=3.1
|
|
21
|
+
Requires-Dist: keywright<0.1,>=0.0.1
|
|
22
|
+
Requires-Dist: mcp<3,>=2.2
|
|
23
|
+
Requires-Dist: pydantic>=2.7
|
|
24
|
+
Requires-Dist: python-multipart>=0.0.9
|
|
25
|
+
Requires-Dist: sqlalchemy[asyncio]<2.1,>=2.0.54
|
|
26
|
+
Requires-Dist: uvicorn[standard]>=0.30
|
|
27
|
+
Requires-Dist: websockets>=12
|
|
28
|
+
Provides-Extra: dev
|
|
29
|
+
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
|
|
30
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
|
31
|
+
Requires-Dist: respx>=0.21; extra == 'dev'
|
|
32
|
+
Requires-Dist: ruff>=0.5; extra == 'dev'
|
|
33
|
+
Provides-Extra: knowledge
|
|
34
|
+
Requires-Dist: asyncpg<1,>=0.30; extra == 'knowledge'
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
|
|
37
|
+
# Keywright
|
|
38
|
+
|
|
39
|
+
Give AI agents temporary access to infrastructure without handing them your credentials.
|
|
40
|
+
Keywright is a self-hosted broker for SSH hosts and MCP tools, with human approval,
|
|
41
|
+
scoped access, revocation and an audit trail.
|
|
42
|
+
|
|
43
|
+
**v0.0.1 is in preparation.** Prebuilt preview images are published to GitHub Container
|
|
44
|
+
Registry for Linux x86-64 and ARM64. The repository and image remain private during
|
|
45
|
+
release preparation; the stable release, public availability and licensing review are pending.
|
|
46
|
+
|
|
47
|
+
## Install the prebuilt broker
|
|
48
|
+
|
|
49
|
+
You need Docker Engine with the Compose plugin. No Git checkout, Python installation
|
|
50
|
+
or local image build is needed.
|
|
51
|
+
|
|
52
|
+
1. Download the **keywright-install** artifact from a successful
|
|
53
|
+
[test build and publish workflow](https://github.com/johnrcarty/keywright/actions/workflows/ci.yml).
|
|
54
|
+
Extract it into a dedicated installation directory. Its `compose.yaml` pins the exact
|
|
55
|
+
multi-platform image digest; `SHA256SUMS` covers the installation files.
|
|
56
|
+
2. For the private preview, sign in with a GitHub personal access token (classic) that has
|
|
57
|
+
`read:packages` and access to this package. Enter the token at Docker's password prompt:
|
|
58
|
+
```bash
|
|
59
|
+
docker login ghcr.io -u YOUR_GITHUB_USERNAME
|
|
60
|
+
```
|
|
61
|
+
3. In the installation directory:
|
|
62
|
+
```bash
|
|
63
|
+
sha256sum -c SHA256SUMS
|
|
64
|
+
docker compose up -d --wait
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
The source copy at `deploy/compose.yaml` also works on its own; it follows
|
|
68
|
+
`ghcr.io/johnrcarty/keywright:0.0.1-preview` unless `KEYWRIGHT_IMAGE` selects another tag
|
|
69
|
+
or digest. The install artifact is the reproducible choice for testing a particular build.
|
|
70
|
+
When the image becomes public, registry login will no longer be required.
|
|
71
|
+
|
|
72
|
+
Open <http://localhost:8700/ui> and set the administrator password. The default port is
|
|
73
|
+
bound to loopback. For a remote VM, use an SSH tunnel first:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
ssh -L 8700:127.0.0.1:8700 user@test-vm
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Then open the same localhost URL in your browser. Configure HTTPS and trusted proxy
|
|
80
|
+
addresses before exposing the broker to other machines. Keep the broker separate from
|
|
81
|
+
agent machines and use disposable targets for initial tests.
|
|
82
|
+
|
|
83
|
+
1. Add an SSH host or upstream MCP server under **Resources**.
|
|
84
|
+
2. Create an agent and copy its token once.
|
|
85
|
+
3. Point an MCP client at `/mcp` with `Authorization: Bearer <agent-token>`, or install
|
|
86
|
+
the CLI from source using the instructions below.
|
|
87
|
+
4. Request one operation, approve it in the UI, and inspect its audit record.
|
|
88
|
+
5. Revoke the access and verify the operation needs approval again.
|
|
89
|
+
|
|
90
|
+
Phone notifications through Home Assistant or a webhook are optional. The base stack
|
|
91
|
+
needs no cloud account, model provider, identity provider or external database.
|
|
92
|
+
|
|
93
|
+
## Develop from source
|
|
94
|
+
|
|
95
|
+
For a local Docker build, clone the repository and explicitly add the development overlay:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
docker compose -f deploy/compose.yaml -f deploy/build.compose.yaml up -d --build
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
For direct Python development, Python 3.12 or newer and [uv](https://docs.astral.sh/uv/) are required:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
uv venv
|
|
105
|
+
uv pip install -e ./client -e '.[dev]' -e ./router
|
|
106
|
+
KW_HOST=127.0.0.1 KW_DATA_DIR=./data .venv/bin/keywright-server serve
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
In a separate shell, run the client as the user who operates the agent:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
.venv/bin/kw login http://localhost:8700 --paste
|
|
113
|
+
.venv/bin/kw setup check
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Optional agent setup: `.venv/bin/kw setup claude-code` or `.venv/bin/kw setup codex`.
|
|
117
|
+
See the [client guide](client/README.md) for details.
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
.venv/bin/python -m pytest -q
|
|
121
|
+
node --test tests/test_topology_layout.cjs
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
The PostgreSQL/pgvector tests require an isolated database and `KNOWLEDGE_TEST_PG_URL`.
|
|
125
|
+
Never point test configuration at a production database.
|
|
126
|
+
|
|
127
|
+
## Optional integrations
|
|
128
|
+
|
|
129
|
+
- [Feature and configuration reference](docs/FEATURES.md): permissions, notifications,
|
|
130
|
+
LLM gateways, OIDC, inventory, shared knowledge and result inspection.
|
|
131
|
+
- [Deployment guide](deploy/README.md): base stack, optional LLM/knowledge services and
|
|
132
|
+
a disposable VM acceptance checklist.
|
|
133
|
+
- [Mail router](router/README.md): optional agent that routes mail through brokered tools.
|
|
134
|
+
- [Release checklist](docs/RELEASE_PLAN.md): remaining work before v0.0.1.
|
|
135
|
+
- [Security reporting](SECURITY.md), [support scope](SUPPORT.md), and [contributing](CONTRIBUTING.md).
|
|
136
|
+
- [Third-party source and notice materials](third_party/README.md).
|
|
137
|
+
|
|
138
|
+
Knowledge chunking changes are experimental pending retrieval evaluation. Optional
|
|
139
|
+
features are not all covered by the minimal-stack installation check.
|
|
140
|
+
|
|
141
|
+
Keywright is a credential trust boundary. Protect its host and backups. Command scope
|
|
142
|
+
matching is not a shell sandbox, and output inspection cannot prove arbitrary text is
|
|
143
|
+
secret-free. The [historical source security review](docs/SECURITY_REVIEW.md) records
|
|
144
|
+
prior findings; it is not a certification of this candidate.
|
|
145
|
+
|
|
146
|
+
## License
|
|
147
|
+
|
|
148
|
+
Keywright is licensed under [Apache-2.0](LICENSE). Copyright 2026 Keywright
|
|
149
|
+
contributors. See [NOTICE](NOTICE) and [third-party notices](THIRD_PARTY_NOTICES).
|
|
150
|
+
Commercial use and proprietary extensions are permitted under the license's terms.
|
|
151
|
+
Unless explicitly stated otherwise, contributions intentionally submitted for
|
|
152
|
+
inclusion in Keywright are provided under Apache-2.0.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
keywright_server/__init__.py,sha256=UoYUslUfE05Z_TUBCr6Eq8v_EAfe8QoSqnUtkAsf44Q,86
|
|
2
|
+
keywright_server/__main__.py,sha256=eTIcxNKNyOHALTcHBE6Jf9nJdDhlcPDC0INOxxVYgsc,2145
|
|
3
|
+
keywright_server/access.py,sha256=U0A0bDZPjUygZlKvBRoNLEJWyPH8zUQOjlFvoADTij0,5458
|
|
4
|
+
keywright_server/access_view.py,sha256=UaW6eAFnsIdNXtqUGVByyGG5QXdLq32R3tkfwXswL5U,7760
|
|
5
|
+
keywright_server/actions.py,sha256=Kl9p_9xjTYdn9hKEgIhRn_W7OefVvfrvqv-w0_Xu4qs,1047
|
|
6
|
+
keywright_server/approvals.py,sha256=Wwa8z5WU7UW7tmlyyKGZFtl3z_e4sd4UGxQH4cb7S2E,19776
|
|
7
|
+
keywright_server/audit.py,sha256=nIWYqq32xX8x-CEa-k8XLa0IZPXe-fW_yh4bG-LkmQY,1906
|
|
8
|
+
keywright_server/bundles.py,sha256=JcnoEQQfjdS_p3S83UNS3WP4_qhf3Lebn4I65Yvl734,4036
|
|
9
|
+
keywright_server/config.py,sha256=QtaCCZ9FfR1sr01a49XIwZc4YrnBpvLAMmTT5aKP1Gg,4740
|
|
10
|
+
keywright_server/db.py,sha256=gzL-0GK0ceLfmwCRr8q92UVoNFugxyI5hRPso7DGj58,4883
|
|
11
|
+
keywright_server/discovery.py,sha256=x2BxNkR2b56Ey5qG9Y504KfQ0RDWNbxTYM5CzDqHqEM,14179
|
|
12
|
+
keywright_server/events.py,sha256=o4TY9mMdWgRfXwJDWSDD129xQ1DsGZrhDntMUS6g8Mg,2313
|
|
13
|
+
keywright_server/friction.py,sha256=gL8xyB-tFWRBQBVccCzGJvgfSwenUivdUZwh8jD_zcQ,12555
|
|
14
|
+
keywright_server/integrations.py,sha256=pbwLGH0luSKPyea67mavwC0bKWt60_op_9_cZudXlS0,2640
|
|
15
|
+
keywright_server/inventory.py,sha256=CWwEWV43kIRbDjQO5i-Dou17yOELiTd3SXTlBlF4XSY,20275
|
|
16
|
+
keywright_server/inventory_mcp.py,sha256=590DzvYHBRQOIwmmi9Ki3v-oRDCK6RHXqqZfio9K2zU,13915
|
|
17
|
+
keywright_server/jev.py,sha256=LcBhVl9pLK9cQuj6QiW6_dGeLrAZSXaZp_bcnEnxUNQ,3190
|
|
18
|
+
keywright_server/knowledge.py,sha256=YnV6o_03YQCANHLB-zx2ZSCpBXC_efymlD-hXwEIAwA,19849
|
|
19
|
+
keywright_server/knowledge_chunking.py,sha256=HRHIJYauFwSglOw--iVqBGh00Jh1cdU8w54FKommZeo,4970
|
|
20
|
+
keywright_server/knowledge_index.py,sha256=6u5mC53bYmoMReYh5xSGZAZjQkyH8XVKmPsus2xZXv8,11997
|
|
21
|
+
keywright_server/knowledge_mcp.py,sha256=r73g1CSKMnYlP3x4TZR9RtGg6qa_00GWTJjRzG6ydqY,3800
|
|
22
|
+
keywright_server/llm.py,sha256=idOdTh8FsyZZJxHWOMRtYmJqNKpu9mVf6IGVtilktSs,16594
|
|
23
|
+
keywright_server/llm_proxy.py,sha256=L1_5bN410gn1iMOC_KzN-gmjF0QEttK-jldjhyW1qKA,15089
|
|
24
|
+
keywright_server/llm_usage.py,sha256=WEKOmeMxnbfPymlKnfPDnlbCk2UzB_bLb4opUqc5rSw,3432
|
|
25
|
+
keywright_server/mail.py,sha256=EDcGW_o6Sb7oUkqfk26opBjNpHYtbsIRbiTli_5Xpgo,15292
|
|
26
|
+
keywright_server/mcp_oauth.py,sha256=tnvmZRMjh327_0HBUft1_enVn-pwz1cX1Xsi3MSFpD8,20478
|
|
27
|
+
keywright_server/mcp_proxy.py,sha256=EEq6RnyokQH5fJmh5H7qBhOq44O1sdMFgZG_KoooAzo,5142
|
|
28
|
+
keywright_server/mcp_server.py,sha256=eu183SHZe5CknEUJOlUm_T-uB-g4KWC7gg6QhKXSlLs,59199
|
|
29
|
+
keywright_server/models.py,sha256=WutdbNiONFsj8yOTYWSBW1UTex652EWfG4vB5rJ-zXg,23269
|
|
30
|
+
keywright_server/network_map.py,sha256=ZFuJImvkKd-hXIoTYdaZx6lIkea9p3zlt7NXQxRJa4Q,7975
|
|
31
|
+
keywright_server/nudges.py,sha256=TdyQTWLOeifhxt43mHVemUpZdue9dPzmvINcmXpkna8,5130
|
|
32
|
+
keywright_server/omada.py,sha256=Q0g6ml5lz2M60UnQJonBBLSJ9fQIYbijf5TB8nfD6EE,8222
|
|
33
|
+
keywright_server/policy.py,sha256=KF65Ls82CXLfRTQf5zZVU8_OyE7dZfh6rWN6YY37G_g,12231
|
|
34
|
+
keywright_server/policy_preview.py,sha256=HL0K_okix8K6ZwMDJzHD6cWCeYTM1fTu9DSQrDkqE68,8341
|
|
35
|
+
keywright_server/reconciliation.py,sha256=E5yeDfgUoEfbrDSYyzxtH1Mq4MAXKYO2aKMZ1PtStS8,11620
|
|
36
|
+
keywright_server/result_inspection.py,sha256=ixJlGvuOICc1TD9e5bWh5c7l-olhTr1pyleApjvp9rg,13609
|
|
37
|
+
keywright_server/semantic.py,sha256=k3R3d0oS69LYdFTTtCA3DkqAC_z9iA0n0Ke_wFPXLcI,21563
|
|
38
|
+
keywright_server/semantic_questions.json,sha256=Lex-gJwJ9MHqG6FkbkmYC-fXhWG4kumnEi3QKgcIFjA,7012
|
|
39
|
+
keywright_server/settings_store.py,sha256=4x04Q5Eefs6sNW7cxEA2b8mCDY2tWNwiaiUhMZfjRfM,1147
|
|
40
|
+
keywright_server/ssh.py,sha256=C_51iwhq49qK3utWeDKUr641Im9gchFZHCC8g3OGDxQ,13541
|
|
41
|
+
keywright_server/tool_access.py,sha256=_u-_ZvOHrJZIfq5VaH2i9kon9F2OMtC6sVXpyO7zdnI,12116
|
|
42
|
+
keywright_server/usage.py,sha256=eAZvbNueltWDD8IDYUqc4zQVJtg0LedrQ5Bxf0FFk4s,6051
|
|
43
|
+
keywright_server/notify/__init__.py,sha256=6TEF4kxEJwmrgD2_3uPxHtye292cw0k41_48rFLADHs,441
|
|
44
|
+
keywright_server/notify/base.py,sha256=9fKV0CpbUP6tnvRisS3z7r3n5OsHn6b_gwM1v_lggq8,6312
|
|
45
|
+
keywright_server/notify/homeassistant.py,sha256=S8e5UEq8rj7d7pdNy9bD_mzkihR9S0lu_wRmiqtgsmA,10571
|
|
46
|
+
keywright_server/notify/log.py,sha256=YtR3bJRZRFx7iFiBNoZk4x3-V2fMpAdt1IBG9PUz08o,1164
|
|
47
|
+
keywright_server/notify/manager.py,sha256=E8zO64WmpICchNk-wQ_hDf_yiClagZgT_0Ni3R3DuhQ,5687
|
|
48
|
+
keywright_server/notify/webhook.py,sha256=YxD28PYbXW9WUjR1A0zgvwFyY7FkxnSHFROeOJVYdl0,3772
|
|
49
|
+
keywright_server/web/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
|
+
keywright_server/web/admin.py,sha256=bY348io2OJmWYJ6aEXVVGukiNnxhE4r4dGXUWBMkWP0,58554
|
|
51
|
+
keywright_server/web/app.py,sha256=_HkzRDxh7hYjbe95f-DMDKoCgzsi2cKftSL3hIT56io,5928
|
|
52
|
+
keywright_server/web/auth.py,sha256=CHo-kM1IL16jH0A1wiyxWpjuB3wiT0BGM21udsetDes,4578
|
|
53
|
+
keywright_server/web/discovery_ui.py,sha256=WLHahXyBCbC_jFgM66BN32Zc4VmB264ygn-Crux7KhU,6787
|
|
54
|
+
keywright_server/web/friction_ui.py,sha256=BTmdL4MDhZ-7wSUFpzB2fA8GNZXyIfiCXuyPOfRnSR0,4656
|
|
55
|
+
keywright_server/web/inventory_ui.py,sha256=ypty5TPExTFJEFaNcqJqHVhTu6E1ZEEt4zawXahGZzI,9287
|
|
56
|
+
keywright_server/web/knowledge_ui.py,sha256=VLmXPtaAruaduhnQ2gXPLbiwOp9rG7eqN4oAhl3eWVA,9347
|
|
57
|
+
keywright_server/web/mail_ui.py,sha256=uqvKaA1r2zdyO5bJcX_udBqmezt5CvHDAac19A-XFlM,9693
|
|
58
|
+
keywright_server/web/mcp_oauth_ui.py,sha256=OT7z_13PYAeBfcrEQWkpKcNFdAg5MbbHLRsM4wSe7vs,3749
|
|
59
|
+
keywright_server/web/network_map_ui.py,sha256=TGL4SX6eCVHQLGTrc9eWzCCqMUz--fBtWcU2k6IgOUw,1462
|
|
60
|
+
keywright_server/web/oidc.py,sha256=jPiQk4Ashbzx4bHdo49E5gIsDFhje8GAybKDSoy5QP0,11192
|
|
61
|
+
keywright_server/web/security.py,sha256=5cn1RX6GCgj2JsS4c2oGYF3UzaSMiQxljlwhTODNSRc,3490
|
|
62
|
+
keywright_server/web/usage_ui.py,sha256=q0GcrOw3RTbM8q-_18cUmymYKkCAxkiNsDvO_KgbwJE,1770
|
|
63
|
+
keywright_server/web/templates/_activity_row.html,sha256=785VpUP-6tnayp32bGIpxnb5Ou4SudxAtykkhG3TJvk,3451
|
|
64
|
+
keywright_server/web/templates/_agent_setup.html,sha256=CKU8T82Lr3PxuhkhJcaTReMdbf9rmqHZYTFSj4CCRHY,3608
|
|
65
|
+
keywright_server/web/templates/_collections_style.html,sha256=lp7t920yTnRt6ZJIHUvsAf8LcczJZzl70P4KLMY_CN4,7884
|
|
66
|
+
keywright_server/web/templates/_constraints.html,sha256=1luZO8auyR0J7Zxn-69Zy9uMaIKT0T4E2UH9Zzrz_bk,1073
|
|
67
|
+
keywright_server/web/templates/_decide.html,sha256=ViuQmg7cDr1VLBJ-xVRsQ83A8piY1lZrBJjmQ2zj98o,3450
|
|
68
|
+
keywright_server/web/templates/_device_kind_picker.html,sha256=9Ox6_aPLjjLNoJVx9j9n3qZ00KO-N7CM06l_iFhgB0g,5822
|
|
69
|
+
keywright_server/web/templates/_hazards.html,sha256=JAk62Cqmb_hnSN2wuNVaCvsxIOZlrS9LC_Epp6Hif2A,751
|
|
70
|
+
keywright_server/web/templates/_icons.html,sha256=s4CHmL-T4YSWBbpC9zbs8JokkeCUqp1PM91QzRPKOeg,1902
|
|
71
|
+
keywright_server/web/templates/_infrastructure_nav.html,sha256=vYi9_-h_hAxklMKYMRIk2f4uoAP0E5yPxfqUdH5p63U,792
|
|
72
|
+
keywright_server/web/templates/_integration_style.html,sha256=Lzq9WBDUeAGGPv8oGLsCo1pMYtQHr9TjAEIxUXZnsW4,5016
|
|
73
|
+
keywright_server/web/templates/_inventory_forms.html,sha256=xUXJJ3zwBANxFG4TnDN2KjwxG_71zIGhyKQsRVDIAUE,4533
|
|
74
|
+
keywright_server/web/templates/_inventory_style.html,sha256=xvdC-cjB7ZCY1p-xWaFHjPcZZOb09gfgHmAmjd5XzS0,3763
|
|
75
|
+
keywright_server/web/templates/_live.html,sha256=4upXpBPeei8T3dwXmmCFQSCR5QmbKVOO_EXT3lBfv5g,764
|
|
76
|
+
keywright_server/web/templates/_mail_nav.html,sha256=Qqp3j5gjLjlOuMoeKbX0rlCjxXOz-Ey04sbfgZVyrlo,360
|
|
77
|
+
keywright_server/web/templates/_mail_style.html,sha256=Zhs7FfPkZadiUmDQJJ2T8BAymW6sVr3CDeVKQYUeoRI,3823
|
|
78
|
+
keywright_server/web/templates/_network_map_script.html,sha256=_Z1Ka1ZKlNaEKZ1KoURQHm3aw_M7tE1wzGwi0NiZrSo,131
|
|
79
|
+
keywright_server/web/templates/_nudge_card.html,sha256=zYLN77BJrvYdaLI3PUqGGrwZ7EoJCQ4Sh8-RyXz06n8,917
|
|
80
|
+
keywright_server/web/templates/_patterns.html,sha256=zutI6vcYQkH8u24lz_24v3t9MQKguPkSOIsCfcOfzYA,665
|
|
81
|
+
keywright_server/web/templates/_policy_preview_results.html,sha256=cbcZMOckW8L2nx2hXzZ7ETRVvdOvTi6msAhOkQ_XbmA,1791
|
|
82
|
+
keywright_server/web/templates/_request_card.html,sha256=9DtxVXFQcXx6-6Fg2NTlkxEJKhw4ivnOJuGg6K-hlsY,3938
|
|
83
|
+
keywright_server/web/templates/_semantic.html,sha256=LlCf459XKnpDCbq0P_KMUA9_EZlk3UBGW0Zv6XE6sYY,1560
|
|
84
|
+
keywright_server/web/templates/_topology_controller.js,sha256=tvLB09tehE4JdfhkS_aZ_2us9dAvjDVC1k0JakNl0-c,18524
|
|
85
|
+
keywright_server/web/templates/_topology_layout.js,sha256=Pp6kdRc27WcCGEB6blH9NP1zEMKHfKJvVi8DGRew9Rs,9680
|
|
86
|
+
keywright_server/web/templates/_topology_render.js,sha256=YvStEMbDwesPoXWDwEBkFyWDhHncrH93AMO9dtHpt1o,7516
|
|
87
|
+
keywright_server/web/templates/access.html,sha256=CQt-SbLqN8ChT9mvEWNGiDI4H45EonIJvYtCZRWaHws,9027
|
|
88
|
+
keywright_server/web/templates/agents.html,sha256=_uHBkexd7fFuen8X9fxyCOzktyBv3PWWzZaDLfjzgKA,3372
|
|
89
|
+
keywright_server/web/templates/audit.html,sha256=rcHFbnTNizYG9Cz6GQytvZU-M79LDmxVpbxKBWX8rtw,714
|
|
90
|
+
keywright_server/web/templates/base.html,sha256=s2RXyfruClbc54fioGI9OSsE0t7WhiGW90Wbp0xWRqI,20202
|
|
91
|
+
keywright_server/web/templates/dashboard.html,sha256=oAAoah-iZ3iTUho2-BZLFASrju_Qpo85o1a4o4dvX_g,12497
|
|
92
|
+
keywright_server/web/templates/decision.html,sha256=OT3Gr5fc3fJVqO39dME8rVo2ZqsY9CV_VMmex66s4kI,2135
|
|
93
|
+
keywright_server/web/templates/friction.html,sha256=i47hPJq6uufAFmv8WwkgE1Ne_SA-jDYv1anMm5FmFws,5151
|
|
94
|
+
keywright_server/web/templates/friction_review.html,sha256=AEjbp_JruhX8ukO-C2yiVwUaPuZKho4Zbt1PwzHwWug,1838
|
|
95
|
+
keywright_server/web/templates/grants.html,sha256=8zM98S5rcRmHQVwMOWcGQvM2Ozzm7BEFFVWH57zQ2c8,5474
|
|
96
|
+
keywright_server/web/templates/integration_picker.html,sha256=_vK96K_p1k1aroDhWBeQHRZ9cmen0BYvUnYJobk0FQg,3247
|
|
97
|
+
keywright_server/web/templates/inventory.html,sha256=MDK19T2TDP82LBiM1rb88wXhV3n-lcsbV0FbRpORP6M,3800
|
|
98
|
+
keywright_server/web/templates/inventory_asset.html,sha256=LfOkgIhDkI_EgNn5RzVBkpjrvvClsHtuyqe1NfefFNM,6676
|
|
99
|
+
keywright_server/web/templates/inventory_discovery.html,sha256=mE9A1fejR4apZ_i0dw4yp0aRPVB7NeHtF61pBQxNBu0,6823
|
|
100
|
+
keywright_server/web/templates/inventory_discovery_review.html,sha256=NAUEuQHAAZp593XhAZRzGu1fsASnv0YAbCG2vylLpIg,8624
|
|
101
|
+
keywright_server/web/templates/inventory_map.html,sha256=SAhabT5B_auhH7MrnbRyELzaWiqwi_aAU6F7dU5B5Jk,12050
|
|
102
|
+
keywright_server/web/templates/inventory_networks.html,sha256=TIYPnrn9TnPvAmRGT_9FLgXR6gPbxOvIqkax0fKIHus,1854
|
|
103
|
+
keywright_server/web/templates/inventory_subnet.html,sha256=irSS_JmBC0YfUiExRFjUCEOp4nFo7ZDyHDct1eohkUc,5944
|
|
104
|
+
keywright_server/web/templates/inventory_topology.html,sha256=Q-oiN_-efxgXUge3yn9B2uky3Q4qWWp4JK0txLa9y_w,2754
|
|
105
|
+
keywright_server/web/templates/knowledge.html,sha256=VV5Mur5s25OFB2vIdmw8Xs9eqV7S7nCUIms-uCC51rQ,5876
|
|
106
|
+
keywright_server/web/templates/knowledge_document.html,sha256=TGSK8LaOArJTcucYX4lM_2QZ2R_fZ_49bf1x8J7DyKg,2188
|
|
107
|
+
keywright_server/web/templates/knowledge_proposal.html,sha256=pVLktI6yXbXil81K1QTfloj8AoZfqvDOKqCSHWX1s0M,1248
|
|
108
|
+
keywright_server/web/templates/login.html,sha256=G8mDpwYdVECSaK3oaPWEqkMsBSyKgIchcMWI4f1G2fo,996
|
|
109
|
+
keywright_server/web/templates/mail.html,sha256=4X2DMKNEaCWZSFpH4MBM2MCPfItUtJNuZ381cil6F9I,5256
|
|
110
|
+
keywright_server/web/templates/mail_rules.html,sha256=8-TmnrkmTIK3YzpPYhbgNpnL_bIxUkgOUNNjWt0QhUk,3303
|
|
111
|
+
keywright_server/web/templates/mail_settings.html,sha256=5dZiVNT7jG00SOxcXZ2D9QWBwcFXr34RUL47wypgyzk,2260
|
|
112
|
+
keywright_server/web/templates/mcp_oauth_continue.html,sha256=TIkDb3L2-cn5xiywlDdizUODKfwu9yrjcvCzu3JGR8k,602
|
|
113
|
+
keywright_server/web/templates/policies.html,sha256=LvzNJtgvVNr2RSHRxRz8In99-otk3lFuPTVkrdKAG4s,3960
|
|
114
|
+
keywright_server/web/templates/request_detail.html,sha256=YAUMPLJtZCJFQD3B4v6cuG_yX7s5VdiAqm_vVDH68rg,4896
|
|
115
|
+
keywright_server/web/templates/requests.html,sha256=PZ5GWCm1TxMq9WbE-VBKNNjRpBUX_hAN8uQ6gzvuBok,1701
|
|
116
|
+
keywright_server/web/templates/resource_form.html,sha256=CBdymSMwbxk-NAFep-BmoCFL3AfEedMo_ZyEIULrthU,21535
|
|
117
|
+
keywright_server/web/templates/resources.html,sha256=boeF6tHa__4APbTVuuyDOEeblKw4-rJamnmHPbFgoeY,8040
|
|
118
|
+
keywright_server/web/templates/settings.html,sha256=j3CMLgqW1tYr5pkITjxJrYxLA0Su2_DI3Q8mcARFFNI,6063
|
|
119
|
+
keywright_server/web/templates/setup.html,sha256=PS8K-nezxmEaQlTIE5agnIe8PQ-b-RPsvk62mCyCltU,642
|
|
120
|
+
keywright_server/web/templates/usage.html,sha256=BhqHKP0xSD7rBsZYOoEbIwzX4KCcSQQSXvcM__V0SV4,7096
|
|
121
|
+
keywright_server-0.0.1.dist-info/METADATA,sha256=iMUMG5n7e7tNUzS3zEldZZSrqvmL3inpkFt5gMSb_jI,6486
|
|
122
|
+
keywright_server-0.0.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
123
|
+
keywright_server-0.0.1.dist-info/entry_points.txt,sha256=hJ_TrL4uXWa9VszkG0KxW79vlcKkQeAM-wSP1OkdP44,68
|
|
124
|
+
keywright_server-0.0.1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
125
|
+
keywright_server-0.0.1.dist-info/licenses/NOTICE,sha256=jr7_rVnJBoFTRrhJtso7fNZSTqY3VWn3HMHIJx4VZQs,137
|
|
126
|
+
keywright_server-0.0.1.dist-info/licenses/THIRD_PARTY_NOTICES,sha256=XBtFG9lof3o3Q_5_3531dD2E3-4uNZ8ykUsnYFIAP1w,3270
|
|
127
|
+
keywright_server-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Third-party components
|
|
2
|
+
======================
|
|
3
|
+
|
|
4
|
+
Apache-2.0 applies to Keywright's own code and documentation. Dependencies,
|
|
5
|
+
container base images, optional services and embedding models retain their own
|
|
6
|
+
licenses. This file is a guide to those components, not a replacement for their
|
|
7
|
+
license texts or a complete inventory of a particular image.
|
|
8
|
+
|
|
9
|
+
Python dependencies
|
|
10
|
+
-------------------
|
|
11
|
+
Keywright distributions declare dependencies rather than vendoring them. pip
|
|
12
|
+
installs their license files alongside their package metadata, typically under
|
|
13
|
+
/usr/local/lib/python3.13/site-packages/<distribution>.dist-info/ in the supplied
|
|
14
|
+
images. Preserve those files when redistributing an installation or image.
|
|
15
|
+
The pyproject.toml files declare the dependency ranges; resolved versions may
|
|
16
|
+
change between builds.
|
|
17
|
+
|
|
18
|
+
AsyncSSH is used as an unmodified library under EPL-2.0. Its installed asyncssh/
|
|
19
|
+
directory contains the Python source, including upstream copyright headers;
|
|
20
|
+
its distribution metadata includes the Eclipse Public License text. Source and
|
|
21
|
+
release history: https://github.com/ronf/asyncssh
|
|
22
|
+
|
|
23
|
+
Certifi uses MPL-2.0 for its certificate bundle. The installed certifi/ directory
|
|
24
|
+
contains the bundle and Python source, and its distribution metadata includes
|
|
25
|
+
the license. Source and release history: https://github.com/certifi/python-certifi
|
|
26
|
+
|
|
27
|
+
Container operating-system packages
|
|
28
|
+
-----------------------------------
|
|
29
|
+
The images use the official Python slim image and Debian packages. License and
|
|
30
|
+
copyright notices are retained under /usr/share/doc/<package>/copyright and in
|
|
31
|
+
Python's installation. Debian source packages are available through the Debian
|
|
32
|
+
archive and https://snapshot.debian.org/ for the corresponding package version.
|
|
33
|
+
Some system tools have copyleft licenses; redistributors must satisfy their
|
|
34
|
+
source-distribution requirements as well as retaining notices. The release workflow verifies exact installed versions against a reviewed source
|
|
35
|
+
lock and publishes matching source materials before publishing the application
|
|
36
|
+
image. The image label io.keywright.source-image identifies the matching source
|
|
37
|
+
image in the same registry package; retain it while distributing the application.
|
|
38
|
+
Version-tag builds also attach source and notice assets to a draft GitHub Release. A Keywright image license label describes the
|
|
39
|
+
Keywright application, not every component in the image.
|
|
40
|
+
|
|
41
|
+
Optional services
|
|
42
|
+
-----------------
|
|
43
|
+
PostgreSQL, pgvector, LiteLLM and any embedding server/model are separate services
|
|
44
|
+
with their own upstream terms. Check the particular image and model version you
|
|
45
|
+
deploy or redistribute. Keywright's license does not relicense those services.
|
|
46
|
+
|
|
47
|
+
Supplemental native notices and source coverage
|
|
48
|
+
---------------------------------------------
|
|
49
|
+
Prebuilt images include supplemental upstream notices under
|
|
50
|
+
/usr/share/keywright/licenses/LICENSES.txt and a verified dependency inventory.
|
|
51
|
+
The source lock and notice provenance are maintained under third_party/ in the
|
|
52
|
+
repository. This covers bundled native libraries in addition to installed package
|
|
53
|
+
notices, including libffi, libuv, OpenSSL and Rust components. See
|
|
54
|
+
https://github.com/johnrcarty/keywright/blob/main/third_party/README.md for obtaining
|
|
55
|
+
and verifying the matching source archive without running the source image.
|