mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-04 16:42:35 +00:00
Imported from andrewyng/aisuite@1b4bbf303e (contents of its platform/ directory, hoisted to the repo root). Development history prior to this commit lives in that repository. Co-authored-by: Devika <devikaverma11@gmail.com>
19 lines
896 B
Python
19 lines
896 B
Python
"""Experimental connectors — use-at-your-own-risk integrations, excluded from release builds.
|
|
|
|
Connectors in this package are hidden behind the experimental-connectors setting, require an
|
|
explicit per-connector risk acknowledgment to connect, and are stripped from official desktop
|
|
builds by packaging/coworker-server.spec (set COWORKER_EXPERIMENTAL=1 at build time to include
|
|
them in a self-built binary).
|
|
|
|
To add one: define a `ConnectorDescriptor` with a `risk_notice` that states the concrete
|
|
downside in plain language, append it to `EXPERIMENTAL_DESCRIPTORS`, and register its tools or
|
|
adapter the same way first-party connectors do. The `experimental` flag is forced on by the
|
|
loader in descriptors.py regardless of what the descriptor sets.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from ..descriptors import ConnectorDescriptor
|
|
|
|
EXPERIMENTAL_DESCRIPTORS: list[ConnectorDescriptor] = []
|