immich-api 0.2.4__tar.gz → 0.2.8__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.
- immich_api-0.2.8/.bumpversion.cfg +12 -0
- immich_api-0.2.8/.github/workflows/connector.yml +94 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/MANIFEST.in +0 -1
- {immich_api-0.2.4/immich_api.egg-info → immich_api-0.2.8}/PKG-INFO +6 -6
- {immich_api-0.2.4 → immich_api-0.2.8}/README.md +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/docker/Dockerfile +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/architecture.md +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/assets/runtime-architecture.mmd +1 -1
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs}/assets/runtime-architecture.svg +2 -2
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/glossary.md +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/overview.md +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/__init__.py +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/auth.py +6 -6
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/error_authority.py +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/kg_ingest.py +3 -3
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/mcp/album_sample.py +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/mcp_server.py +5 -5
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/ontology/schema-provenance.json +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/openapi_contract.json +2230 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/openapi_execution.py +8 -3
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/openapi_runtime.py +8 -5
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_parity.py +5 -5
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_schema.py +18 -0
- {immich_api-0.2.4 → immich_api-0.2.8/immich_api.egg-info}/PKG-INFO +6 -6
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api.egg-info/SOURCES.txt +7 -25
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api.egg-info/entry_points.txt +3 -3
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api.egg-info/requires.txt +3 -3
- {immich_api-0.2.4 → immich_api-0.2.8}/mkdocs.yml +0 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/pyproject.toml +8 -7
- {immich_api-0.2.4 → immich_api-0.2.8}/requirements.txt +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/bootstrap_environment.py +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/bootstrap_sources.py +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/check_connector_contract.py +2 -2
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/measure_operation_parity.py +2 -2
- immich_api-0.2.8/scripts/verify_container_release.py +74 -0
- immich_api-0.2.8/specs/connector-content/requirements.md +9 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/specs/connector-content/spec.md +1 -1
- immich_api-0.2.8/specs/immich-api/checklists/requirements.md +24 -0
- immich_api-0.2.8/specs/immich-api/quickstart.md +6 -0
- immich_api-0.2.8/specs/immich-api/requirements.md +24 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/specs/immich-api/spec.md +27 -1
- immich_api-0.2.8/specs/immich-api/tasks.md +14 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/operation_fixtures.py +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_api_wrapper.py +4 -4
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_auth.py +2 -2
- immich_api-0.2.8/tests/test_container_release_guard.py +62 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_default_content_surfaces.py +17 -19
- immich_api-0.2.8/tests/test_destructive_confirmation_transports.py +311 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_fleet_name.py +2 -2
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_immich_content.py +1 -1
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_openapi_auth_provider.py +2 -2
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_operation_parity.py +8 -6
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_session_auth_isolation.py +1 -1
- immich_api-0.2.4/.bumpversion.cfg +0 -8
- immich_api-0.2.4/.github/workflows/connector-pr.yml +0 -16
- immich_api-0.2.4/.github/workflows/pages.yml +0 -25
- immich_api-0.2.4/.github/workflows/pipeline.yml +0 -27
- immich_api-0.2.4/.github/workflows/scanners.yml +0 -42
- immich_api-0.2.4/.pipeline-theme/provenance.json +0 -32
- immich_api-0.2.4/.pipeline-theme/scripts/sync_mkdocs_theme.py +0 -207
- immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme/README.md +0 -23
- immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme/assets/runtime-architecture.mmd +0 -26
- immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme/base.mkdocs.yml +0 -105
- immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme/glossary.md +0 -57
- immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme/overrides/main.html +0 -57
- immich_api-0.2.4/docs/assets/brands/agent-connector-sdk-logo-v1.png +0 -0
- immich_api-0.2.4/docs/assets/brands/agent-terminal-ui-logo-v1.png +0 -0
- immich_api-0.2.4/docs/assets/brands/agent-utilities-logo-v1.png +0 -0
- immich_api-0.2.4/docs/assets/brands/agent-webui-logo-v1.png +0 -0
- immich_api-0.2.4/docs/assets/brands/epistemic-graph-logo-v1.png +0 -0
- immich_api-0.2.4/docs/assets/brands/geniusbot-logo-v1.png +0 -0
- immich_api-0.2.4/docs/assets/brands/graph-os-logo-v1.png +0 -0
- immich_api-0.2.4/docs/assets/favicon.svg +0 -13
- immich_api-0.2.4/docs/assets/graph-mark.svg +0 -13
- immich_api-0.2.4/docs/assets/runtime-architecture.svg +0 -37
- immich_api-0.2.4/docs/stylesheets/extra.css +0 -249
- immich_api-0.2.4/specs/connector-content/requirements.md +0 -9
- immich_api-0.2.4/specs/connector-content/status.json +0 -24
- immich_api-0.2.4/specs/immich-api/requirements.md +0 -15
- immich_api-0.2.4/specs/immich-api/status.json +0 -91
- immich_api-0.2.4/specs/immich-api/tasks.md +0 -13
- {immich_api-0.2.4 → immich_api-0.2.8}/.config/spec-dashboard.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/.github/workflows/windows-ci.yml +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/.pre-commit-config.yaml +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/LICENSE +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docker/debug.Dockerfile +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docker/mcp.compose.yml +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docker/starship.toml +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/agent-readiness.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/agent-readiness.schema.json +0 -0
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs}/assets/brands/agent-terminal-ui-logo-v1.png +0 -0
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs}/assets/brands/agent-utilities-logo-v1.png +0 -0
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs}/assets/brands/agent-webui-logo-v1.png +0 -0
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs}/assets/brands/epistemic-graph-logo-v1.png +0 -0
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs}/assets/brands/geniusbot-logo-v1.png +0 -0
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs}/assets/brands/graph-os-logo-v1.png +0 -0
- /immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme/assets/brands/agent-connector-sdk-logo-v1.png → /immich_api-0.2.8/docs/assets/brands/scion-sdk-logo-v1.png +0 -0
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs}/assets/favicon.svg +0 -0
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs}/assets/graph-mark.svg +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/capabilities/api.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/capabilities/mcp.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/concepts.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/deployment.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/immich-capabilities.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/index.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/installation.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/openapi-parity.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/platform.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/spec-delivery.md +0 -0
- {immich_api-0.2.4/.pipeline-theme/templates/mkdocs-theme → immich_api-0.2.8/docs/stylesheets}/extra.css +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/docs/usage.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/__main__.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/album_metadata.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/api/__init__.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/api/api_client_system.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/connector_sources.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/connectors/__init__.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/error_rendering.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/immich_input_models.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/immich_response_models.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/mcp/__init__.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/mcp_config.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/ontology/__init__.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/ontology/immich.ttl +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/ontology/shapes/immich.ttl +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/openapi_auth_scheme.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/openapi_inventory.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/openapi_request.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/openapi_response.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/__init__.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/check_openapi_parity.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_discovery.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_provider_evidence.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_provider_overlay.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_provider_responses.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_schema_budget.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_schema_inputs.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_schema_types.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_security.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_source_parity.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/openapi_transport_parity.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/unicode_patterns.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/parity/unicode_properties.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/prompts/__init__.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/prompts/immich_album_review.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/prompts/immich_asset_metadata.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/prompts/immich_person_record.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/prompts/immich_specialist.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/prompts/main_agent.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/skills/__init__.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/skills/immich-album-review/SKILL.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/skills/immich-asset-metadata/SKILL.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/skills/immich-health/SKILL.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api/skills/immich-person-record/SKILL.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api.egg-info/dependency_links.txt +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/immich_api.egg-info/top_level.txt +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/pytest.ini +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/agent_readiness_tck.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/bootstrap.sh +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/check_import_safety.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/check_workspace_source_drift.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/generate_agent_readiness.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/generate_immich_content.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/reviewed_secret_history.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/security_sanitizer.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/select_python.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/upstream_evidence.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/verify_api_integration.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/scripts/workspace_sources.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/setup.cfg +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/specs/README.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/specs/connector-content/plan.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/specs/connector-content/tasks.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/specs/connector-content/test-spec.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/specs/immich-api/plan.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/specs/immich-api/test-spec.md +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/__init__.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/conftest.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/fixtures/native-client-budget.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/fixtures/operation-cases.json +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/parity_support.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_album_metadata.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_concept_parity.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_error_authority.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_immich_mcp_validation.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_init_dynamics.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_kg_ingest.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_oauth_redirect_response.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_reviewed_secret_history.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_startup.py +0 -0
- {immich_api-0.2.4 → immich_api-0.2.8}/tests/test_upstream_evidence.py +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[bumpversion]
|
|
2
|
+
current_version = 0.2.8
|
|
3
|
+
commit = True
|
|
4
|
+
tag = True
|
|
5
|
+
|
|
6
|
+
[bumpversion:file:pyproject.toml]
|
|
7
|
+
search = version = "{current_version}"
|
|
8
|
+
replace = version = "{new_version}"
|
|
9
|
+
|
|
10
|
+
[bumpversion:file(dockerpin0):docker/Dockerfile]
|
|
11
|
+
search = immich-api[mcp]=={current_version}
|
|
12
|
+
replace = immich-api[mcp]=={new_version}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
name: Connector
|
|
2
|
+
|
|
3
|
+
# Copy to .github/workflows/connector.yml (reference/ci-standard.md, "Connector pipeline").
|
|
4
|
+
# The ONE caller a connector carries; every pipeline change is made in pipelines'
|
|
5
|
+
# connector_pipeline.yml. Routing by event:
|
|
6
|
+
# pull_request gates, affected tests, image check
|
|
7
|
+
# push to main org-site notify + main checks; never publishes
|
|
8
|
+
# push of a v* tag PyPI, then Docker, and GitHub Pages
|
|
9
|
+
# schedule, repository_dispatch, workflow_dispatch SDK rebuild
|
|
10
|
+
# Releases are cut by the owner with gh: scripts/release_connector.sh in pipelines (the owner's tag push publishes).
|
|
11
|
+
# Per-connector differences are `with:` inputs of the job below (all defaulted).
|
|
12
|
+
# The GitHub Pages environment needs a `v*` tag deployment policy.
|
|
13
|
+
|
|
14
|
+
on:
|
|
15
|
+
pull_request:
|
|
16
|
+
branches: [main]
|
|
17
|
+
push:
|
|
18
|
+
branches: [main]
|
|
19
|
+
tags: ['v*']
|
|
20
|
+
schedule:
|
|
21
|
+
- cron: '17 5 * * *'
|
|
22
|
+
repository_dispatch:
|
|
23
|
+
types: [sdk-release]
|
|
24
|
+
workflow_dispatch:
|
|
25
|
+
inputs:
|
|
26
|
+
release_repair:
|
|
27
|
+
description: Republish the already published container after the reviewed public-wheel guard.
|
|
28
|
+
required: false
|
|
29
|
+
default: false
|
|
30
|
+
type: boolean
|
|
31
|
+
release_source_sha:
|
|
32
|
+
description: Full SHA of the original package source that produced the public wheel.
|
|
33
|
+
required: false
|
|
34
|
+
default: ''
|
|
35
|
+
type: string
|
|
36
|
+
release_source_epoch:
|
|
37
|
+
description: Exact SOURCE_DATE_EPOCH used to generate the public connector payload.
|
|
38
|
+
required: false
|
|
39
|
+
default: ''
|
|
40
|
+
type: string
|
|
41
|
+
legacy_profile:
|
|
42
|
+
description: Preserve the reviewed tracked wheel-only package tree without renderer generation.
|
|
43
|
+
required: false
|
|
44
|
+
default: false
|
|
45
|
+
type: boolean
|
|
46
|
+
|
|
47
|
+
# Pull requests cancel superseded runs; every other event queues per event and ref and never cancels.
|
|
48
|
+
concurrency:
|
|
49
|
+
group: ${{ github.event_name == 'pull_request' && format('pr-{0}-{1}', github.workflow, github.event.pull_request.number) || format('connector-{0}-{1}', github.event_name, github.ref) }}
|
|
50
|
+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
51
|
+
|
|
52
|
+
permissions: {}
|
|
53
|
+
|
|
54
|
+
jobs:
|
|
55
|
+
pipeline:
|
|
56
|
+
permissions:
|
|
57
|
+
contents: write
|
|
58
|
+
pages: write
|
|
59
|
+
id-token: write
|
|
60
|
+
uses: Knuckles-Team/pipelines/.github/workflows/connector_pipeline.yml@main
|
|
61
|
+
with:
|
|
62
|
+
release_repair: ${{ inputs.release_repair || false }}
|
|
63
|
+
release_source_sha: ${{ inputs.release_source_sha || '' }}
|
|
64
|
+
release_source_epoch: ${{ inputs.release_source_epoch || '' }}
|
|
65
|
+
legacy_profile: ${{ inputs.legacy_profile || false }}
|
|
66
|
+
runner: '"self-hosted"'
|
|
67
|
+
python-connector: false
|
|
68
|
+
render-connector: false
|
|
69
|
+
pages-spec-dashboard-config: .config/spec-dashboard.json
|
|
70
|
+
secrets:
|
|
71
|
+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
72
|
+
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
|
|
73
|
+
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
74
|
+
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
75
|
+
DOCKER_REPOSITORY: ${{ secrets.DOCKER_REPOSITORY }}
|
|
76
|
+
org_site_app_id: ${{ secrets.org_site_app_id }}
|
|
77
|
+
org_site_app_private_key: ${{ secrets.org_site_app_private_key }}
|
|
78
|
+
|
|
79
|
+
# The one required status check (reference/ci-standard.md): named in the caller so the
|
|
80
|
+
# ruleset context is exactly `CI required`. Skipped routes pass; failed or cancelled fail.
|
|
81
|
+
ci-required:
|
|
82
|
+
name: CI required
|
|
83
|
+
if: always()
|
|
84
|
+
needs: [pipeline]
|
|
85
|
+
runs-on: ubuntu-latest
|
|
86
|
+
timeout-minutes: 5
|
|
87
|
+
permissions: {}
|
|
88
|
+
steps:
|
|
89
|
+
- name: Fail on a failed or cancelled pipeline (skipped is fine)
|
|
90
|
+
env:
|
|
91
|
+
RESULT: ${{ needs.pipeline.result }}
|
|
92
|
+
run: |
|
|
93
|
+
echo "pipeline result: $RESULT"
|
|
94
|
+
case "$RESULT" in failure|cancelled) echo "::error::the pipeline ended $RESULT"; exit 1;; esac
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: immich-api
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
4
4
|
Summary: Immich Api API + MCP Server
|
|
5
|
-
Author: Repository Maintainers
|
|
5
|
+
Author-email: Repository Maintainers <maintainers@knuckles.team>
|
|
6
6
|
License: MIT
|
|
7
7
|
Classifier: Development Status :: 4 - Beta
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -16,11 +16,11 @@ Requires-Dist: rfc3986-validator<0.2,>=0.1.1
|
|
|
16
16
|
Requires-Dist: rfc3339-validator<0.2,>=0.1.4
|
|
17
17
|
Requires-Dist: jsonschema<5,>=4.23
|
|
18
18
|
Requires-Dist: regex>=2026.9.29
|
|
19
|
-
Requires-Dist:
|
|
19
|
+
Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.5
|
|
20
20
|
Provides-Extra: mcp
|
|
21
|
-
Requires-Dist:
|
|
21
|
+
Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.5; extra == "mcp"
|
|
22
22
|
Provides-Extra: all
|
|
23
|
-
Requires-Dist:
|
|
23
|
+
Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.5; extra == "all"
|
|
24
24
|
Provides-Extra: test
|
|
25
25
|
Requires-Dist: pytest-xdist>=3.6.0; extra == "test"
|
|
26
26
|
Requires-Dist: pytest; extra == "test"
|
|
@@ -86,7 +86,7 @@ private endpoints are never committed.
|
|
|
86
86
|
- **Typed boundaries** — Pydantic request and response models keep provider data
|
|
87
87
|
explicit and validate it before it reaches an agent or graph.
|
|
88
88
|
- **One package, shared policy** — authentication, telemetry, action routing, and
|
|
89
|
-
error handling follow the `
|
|
89
|
+
error handling follow the `scion-sdk` contracts.
|
|
90
90
|
- **Schema-grounded content** — read skills, prompts, ontology and shapes are packaged; extraction presets remain disabled pending
|
|
91
91
|
provider/account stream binding. Graph capture remains unverified.
|
|
92
92
|
- **Operational safety** — TLS profiles, bounded responses, loopback defaults, and
|
|
@@ -56,7 +56,7 @@ private endpoints are never committed.
|
|
|
56
56
|
- **Typed boundaries** — Pydantic request and response models keep provider data
|
|
57
57
|
explicit and validate it before it reaches an agent or graph.
|
|
58
58
|
- **One package, shared policy** — authentication, telemetry, action routing, and
|
|
59
|
-
error handling follow the `
|
|
59
|
+
error handling follow the `scion-sdk` contracts.
|
|
60
60
|
- **Schema-grounded content** — read skills, prompts, ontology and shapes are packaged; extraction presets remain disabled pending
|
|
61
61
|
provider/account stream binding. Graph capture remains unverified.
|
|
62
62
|
- **Operational safety** — TLS profiles, bounded responses, loopback defaults, and
|
|
@@ -20,7 +20,7 @@ ENV HOST=${HOST} \
|
|
|
20
20
|
XDG_CONFIG_HOME=/tmp/.config \
|
|
21
21
|
XDG_CACHE_HOME=/tmp/.cache
|
|
22
22
|
# Fixed identity for least-privilege runtime and stable volume ownership.
|
|
23
|
-
RUN pip install --only-binary :all: immich-api[mcp]==0.2.
|
|
23
|
+
RUN pip install --only-binary :all: immich-api[mcp]==0.2.8 \
|
|
24
24
|
&& groupadd --system --gid 10001 app \
|
|
25
25
|
&& useradd --system --uid 10001 --gid 10001 --no-create-home \
|
|
26
26
|
--home-dir /tmp --shell /usr/sbin/nologin app
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Connector architecture
|
|
2
2
|
|
|
3
3
|
The `immich-api` package owns external-system operations and source mappings.
|
|
4
|
-
The [shared connector SDK](https://github.com/Knuckles-Team/
|
|
4
|
+
The [shared connector SDK](https://github.com/Knuckles-Team/scion-sdk/blob/5babc4cc48ad73928468b243842f219f51e2cca1/README.md) owns reusable runtime contracts.
|
|
5
5
|
|
|
6
6
|
The `mcp-builder` skill owns the complete canonical scaffold. Its local code
|
|
7
7
|
generates the repository tree, which is published through ordinary repository
|
|
@@ -9,7 +9,7 @@ flowchart LR
|
|
|
9
9
|
AU["Agent Utilities<br/>agent control plane"]
|
|
10
10
|
EG["Epistemic Graph<br/>durable multimodal knowledge and reasoning engine"]
|
|
11
11
|
Sources["Source systems"]
|
|
12
|
-
SDK["
|
|
12
|
+
SDK["Scion SDK<br/>typed source integration"]
|
|
13
13
|
|
|
14
14
|
People --> WebUI
|
|
15
15
|
People --> TUI
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1320 700" role="img" aria-labelledby="diagram-title diagram-description">
|
|
2
2
|
<title id="diagram-title">Knuckles-Team agent ecosystem runtime architecture</title>
|
|
3
|
-
<desc id="diagram-description">People use Graph OS web UI, Agent Terminal UI, Geniusbot, or messaging channels. MCP, REST, and A2A clients also enter through Graph OS. Graph OS is the governed gateway and composition host, Agent Utilities is the agent control plane, and Epistemic Graph is the durable multimodal knowledge and reasoning engine. Source systems connect through
|
|
3
|
+
<desc id="diagram-description">People use Graph OS web UI, Agent Terminal UI, Geniusbot, or messaging channels. MCP, REST, and A2A clients also enter through Graph OS. Graph OS is the governed gateway and composition host, Agent Utilities is the agent control plane, and Epistemic Graph is the durable multimodal knowledge and reasoning engine. Source systems connect through Scion SDK.</desc>
|
|
4
4
|
<defs>
|
|
5
5
|
<linearGradient id="gateway-light" x1="0" x2="1"><stop stop-color="#e5f4ff"/><stop offset="1" stop-color="#e7fff5"/></linearGradient>
|
|
6
6
|
<linearGradient id="core-light" x1="0" x2="1"><stop stop-color="#eef0ff"/><stop offset="1" stop-color="#f3eaff"/></linearGradient>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<rect class="core" x="825" y="335" width="450" height="100" rx="18"/><text class="label" x="1050" y="376">Agent Utilities</text><text class="role" x="1050" y="405">agent control plane</text>
|
|
26
26
|
<rect class="core" x="825" y="485" width="450" height="125" rx="18"/><text class="label" x="1050" y="528">Epistemic Graph</text><text class="role" x="1050" y="558">durable multimodal knowledge, evidence,</text><text class="role" x="1050" y="582">provenance, and reasoning engine</text>
|
|
27
27
|
<rect class="box" x="35" y="520" width="220" height="90" rx="16"/><text class="label" x="145" y="557">Source systems</text><text class="role" x="145" y="583">governed external data</text>
|
|
28
|
-
<rect class="box" x="445" y="520" width="260" height="90" rx="16"/><text class="label" x="575" y="557">
|
|
28
|
+
<rect class="box" x="445" y="520" width="260" height="90" rx="16"/><text class="label" x="575" y="557">Scion SDK</text><text class="role" x="575" y="583">typed source integration</text>
|
|
29
29
|
</g>
|
|
30
30
|
<g class="connections">
|
|
31
31
|
<path class="bus" d="M120 90V100H692"/>
|
|
@@ -28,7 +28,7 @@ The agent control plane for orchestration, workflows, evaluation, and agent skil
|
|
|
28
28
|
|
|
29
29
|
The durable multimodal knowledge and reasoning engine for graph data, evidence, and provenance.
|
|
30
30
|
|
|
31
|
-
##
|
|
31
|
+
## Scion SDK
|
|
32
32
|
|
|
33
33
|
The governed source integration boundary for discovering, reading, and synchronizing external systems.
|
|
34
34
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# immich-api — Concept Overview
|
|
2
2
|
|
|
3
3
|
> **Category**: Integration | **Ecosystem Role**: MCP Server
|
|
4
|
-
> Built on [`
|
|
4
|
+
> Built on [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk).
|
|
5
5
|
|
|
6
6
|
## Description
|
|
7
7
|
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
from contextlib import ExitStack
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
6
|
-
from
|
|
7
|
-
from
|
|
8
|
-
from
|
|
9
|
-
from
|
|
10
|
-
from
|
|
11
|
-
from
|
|
6
|
+
from scion_sdk.auth.delegation import DelegatedTokenAuth, DelegationSettings
|
|
7
|
+
from scion_sdk.auth.static import api_key_auth, bearer_auth
|
|
8
|
+
from scion_sdk.config import load_config, setting
|
|
9
|
+
from scion_sdk.http.client import create_http_client
|
|
10
|
+
from scion_sdk.http.options import HttpClientOptions
|
|
11
|
+
from scion_sdk.tls.resolve import resolve_tls_profile
|
|
12
12
|
|
|
13
13
|
from .api import ApiClientSystem
|
|
14
14
|
from .openapi_auth_scheme import AuthKind, declared_scheme
|
|
@@ -17,7 +17,7 @@ import re
|
|
|
17
17
|
from dataclasses import dataclass
|
|
18
18
|
from typing import Any
|
|
19
19
|
|
|
20
|
-
from
|
|
20
|
+
from scion_sdk.privacy import sanitize_for_persistence
|
|
21
21
|
|
|
22
22
|
from .error_rendering import (
|
|
23
23
|
AGENT_ERROR_ACCEPT,
|
|
@@ -5,15 +5,15 @@ from __future__ import annotations
|
|
|
5
5
|
import hashlib
|
|
6
6
|
import re
|
|
7
7
|
|
|
8
|
-
from
|
|
8
|
+
from epistemic_graph.generated.source_ingestion import SourceIngestionMode
|
|
9
|
+
from scion_sdk.ingest import (
|
|
9
10
|
ChangeSet,
|
|
10
11
|
Entity,
|
|
11
12
|
IngestBinding,
|
|
12
13
|
KnowledgeIngest,
|
|
13
14
|
current_ingest,
|
|
14
15
|
)
|
|
15
|
-
from
|
|
16
|
-
from epistemic_graph.generated.source_ingestion import SourceIngestionMode
|
|
16
|
+
from scion_sdk.ingest.request import build_request
|
|
17
17
|
|
|
18
18
|
from .album_metadata import album_graph_properties, project_album
|
|
19
19
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
from typing import Annotated
|
|
4
4
|
|
|
5
|
-
from agent_connector_sdk.mcp.concurrency import run_blocking
|
|
6
5
|
from fastmcp import FastMCP
|
|
7
6
|
from pydantic import Field
|
|
7
|
+
from scion_sdk.mcp.concurrency import run_blocking
|
|
8
8
|
|
|
9
9
|
from ..album_metadata import AlbumSample, album_sample
|
|
10
10
|
from ..auth import get_client
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import sys
|
|
2
2
|
from pathlib import Path
|
|
3
3
|
|
|
4
|
-
from
|
|
5
|
-
from
|
|
6
|
-
from
|
|
7
|
-
from
|
|
8
|
-
from
|
|
4
|
+
from scion_sdk.config import load_config
|
|
5
|
+
from scion_sdk.connector_identity import connector_version
|
|
6
|
+
from scion_sdk.mcp.content import ConnectorContent
|
|
7
|
+
from scion_sdk.mcp.server import create_mcp_server
|
|
8
|
+
from scion_sdk.mcp.tool_surface import register_tool_surface
|
|
9
9
|
|
|
10
10
|
from . import mcp as tool_modules
|
|
11
11
|
|