eigent/backend/app/workspace_config/__init__.py

77 lines
2.5 KiB
Python

# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ========= Copyright 2025-2026 @ Eigent.ai All Rights Reserved. =========
from app.workspace_config.capabilities import ModelCapabilityRegistry
from app.workspace_config.manifest import (
load_workspace_manifest,
parse_workspace_manifest,
)
from app.workspace_config.models import (
ConfigPlacement,
EffectiveEnvironmentSpec,
EffortResolution,
EnvironmentRequirements,
EnvironmentVariableRequirement,
LocalMaterialization,
ProviderModelCapability,
ResolvedConnectorBinding,
ResolvedContextSource,
SecretValueInManifestError,
ThinkingEffort,
UnsafeCloudProjectionError,
UnsupportedThinkingEffortError,
WorkspaceBundleManifest,
WorkspaceBundleReconfigurationPendingError,
WorkspaceConfigError,
WorkspaceLock,
WorktreeMaterialization,
assert_bundle_asset_safe,
assert_manifest_secret_free,
canonical_digest,
canonical_json,
normalize_thinking_effort,
redact_device_home_paths,
)
from app.workspace_config.resolver import EnvironmentConfigResolver
__all__ = [
"ConfigPlacement",
"EffectiveEnvironmentSpec",
"EnvironmentRequirements",
"EnvironmentVariableRequirement",
"EffortResolution",
"EnvironmentConfigResolver",
"LocalMaterialization",
"ModelCapabilityRegistry",
"ProviderModelCapability",
"ResolvedConnectorBinding",
"ResolvedContextSource",
"SecretValueInManifestError",
"ThinkingEffort",
"UnsafeCloudProjectionError",
"UnsupportedThinkingEffortError",
"WorkspaceBundleManifest",
"WorkspaceBundleReconfigurationPendingError",
"WorkspaceLock",
"WorkspaceConfigError",
"WorktreeMaterialization",
"assert_bundle_asset_safe",
"assert_manifest_secret_free",
"canonical_digest",
"canonical_json",
"load_workspace_manifest",
"normalize_thinking_effort",
"parse_workspace_manifest",
"redact_device_home_paths",
]