microsoft-agent 2.3.6__tar.gz → 2.3.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.
- {microsoft_agent-2.3.6/microsoft_agent.egg-info → microsoft_agent-2.3.8}/PKG-INFO +14 -14
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/README.md +10 -10
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/concepts.md +14 -14
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/configuration.md +3 -3
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/deployment.md +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/index.md +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/installation.md +3 -3
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/integrations.md +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/overview.md +4 -4
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/usage.md +1 -1
- microsoft_agent-2.3.8/microsoft_agent/__init__.py +24 -0
- microsoft_agent-2.3.8/microsoft_agent/_version.py +5 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/api_client_base.py +6 -6
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/auth.py +3 -3
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/connector_sources.py +7 -25
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/graph_file_service.py +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/integration_config.py +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/integration_tools.py +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_admin.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_agreements.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_applications.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_audit.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_auth.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_calendar.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_chat.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_communications.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_connections.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_contacts.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_devices.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_directory.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_domains.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_education.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_employee_experience.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_files.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_groups.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_identity.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_mail.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_meta.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_notes.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_organization.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_places.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_policies.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_print.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_privacy.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_reports.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_search.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_security.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_sites.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_solutions.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_storage.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_subscriptions.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_tasks.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_teams.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/mcp_user.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp_server.py +12 -4
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/ontology/__init__.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/ontology/certification.json +4 -4
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/power_platform.py +9 -9
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/settings.py +4 -4
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/skills/microsoft-agent-development/SKILL.md +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/skills/microsoft-calendar-scheduling/SKILL.md +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/skills/microsoft-mail-operations/SKILL.md +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/skills/microsoft-teams-messaging/SKILL.md +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/tool_policy.py +3 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/windows_companion.py +8 -8
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/windows_companion_service.py +3 -3
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/windows_runtime.py +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8/microsoft_agent.egg-info}/PKG-INFO +14 -14
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent.egg-info/SOURCES.txt +0 -1
- microsoft_agent-2.3.8/microsoft_agent.egg-info/entry_points.txt +11 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent.egg-info/requires.txt +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/pyproject.toml +12 -18
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_api_client_extended.py +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_auth.py +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_auth_coverage.py +1 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_default_content_surfaces.py +10 -7
- microsoft_agent-2.3.8/tests/test_generate_code.py +28 -0
- microsoft_agent-2.3.8/tests/test_main.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_mcp_comprehensive.py +2 -2
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_onenote_sharepoint_print.py +4 -1
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_publication_workflow.py +8 -25
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_sdk_centralization.py +4 -4
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_settings_and_policy.py +10 -0
- microsoft_agent-2.3.8/tests/test_startup.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_transport_migration.py +1 -3
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_transport_tls.py +1 -1
- microsoft_agent-2.3.6/microsoft_agent/__init__.py +0 -8
- microsoft_agent-2.3.6/microsoft_agent/_version.py +0 -3
- microsoft_agent-2.3.6/microsoft_agent.egg-info/entry_points.txt +0 -20
- microsoft_agent-2.3.6/tests/test_generate_code.py +0 -28
- microsoft_agent-2.3.6/tests/test_main.py +0 -4
- microsoft_agent-2.3.6/tests/test_startup.py +0 -1
- microsoft_agent-2.3.6/tests/test_verify_api_integration.py +0 -90
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/LICENSE +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/MANIFEST.in +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/control-plane/README.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/control-plane/control-plane.sample.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/control-plane/nginx/windows-control-plane.conf +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/control-plane/systemd/microsoft-windows-control-plane.env +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/control-plane/systemd/microsoft-windows-control-plane.service +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/entra/New-MicrosoftAgentApp.ps1 +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/entra/New-WindowsControlPlaneEntraResources.ps1 +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/entra/README.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/entra/permission-profiles.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/integrations.example.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/windows/Install-WindowsCompanion.ps1 +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/windows/README.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/windows/Run-WindowsCompanion.ps1 +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/windows/Test-WindowsCompanionDeployment.ps1 +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/windows/Uninstall-WindowsCompanion.ps1 +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/deployment/windows/windows-companion.sample.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/authentication.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/enrollment-checklist.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/office-addin.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/docs/windows-companion.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/__main__.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/__init__.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/_graph_models.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/api_client_admin.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/api_client_apps.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/api_client_calendar.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/api_client_directory.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/api_client_drive.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/api_client_mail.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/api_client_other.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api/api_client_system.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/api_client.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/config_cli.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/connectors/__init__.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/credential_adapter.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/document_service.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/integration_adapters.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/integration_auth.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/intune_service.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/kg_ingest.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp/__init__.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/mcp_config.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/office_bridge.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/ontology/fixtures/records.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/ontology/mappings/source.yaml +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/ontology/microsoft.ttl +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/ontology/migrations/manifest.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/ontology/shapes/connector.shacl.ttl +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/prompts/__init__.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/prompts/collaboration_specialist.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/skills/__init__.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/skills/microsoft-agent-operations/SKILL.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/skills/microsoft-agent-operations/agents/openai.yaml +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/skills/microsoft-agent-operations/references/catalog.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/universal_print.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/windows_control_plane.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent/windows_control_plane_service.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent.egg-info/dependency_links.txt +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/microsoft_agent.egg-info/top_level.txt +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/README.md +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/manifest.xml +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/package-lock.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/package.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/public/assets/icon.png.b64 +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/public/assets/icon.svg +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/public/config.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/public/styles.css +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/public/taskpane.html +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/scripts/validate_manifest.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/src/backend-client.ts +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/src/office-bridge.ts +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/src/office-operations.ts +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/src/taskpane.ts +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/src/validation.ts +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/tests/backend-client.test.ts +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/tests/office-bridge.test.ts +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/tests/validation.test.ts +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/tsconfig.json +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/vitest.config.ts +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/office_addin/webpack.config.cjs +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/setup.cfg +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_bug_cx_046_ctx_info_awaited.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_config_cli.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_credential_adapter.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_document_service.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_graph_file_service.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_graph_reliability.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_graph_transport.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_init_dynamics.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_integration_adapters.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_integration_auth.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_integration_config_and_tools.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_intune_service.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_kg_ingest.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_mcp_server.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_office_bridge.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_office_manifest.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_placeholder.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_power_platform.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_teams_reliability.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_windows_companion.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_windows_control_plane.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_windows_control_plane_service.py +0 -0
- {microsoft_agent-2.3.6 → microsoft_agent-2.3.8}/tests/test_windows_runtime.py +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agent
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.8
|
|
4
4
|
Summary: Governed Microsoft Graph agent and MCP server
|
|
5
|
-
Author-email:
|
|
5
|
+
Author-email: Repository Maintainers <maintainers@knuckles.team>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Classifier: Development Status :: 3 - Alpha
|
|
8
8
|
Classifier: Environment :: Console
|
|
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
11
11
|
Requires-Python: >=3.12
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist:
|
|
14
|
+
Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.3
|
|
15
15
|
Requires-Dist: azure-core>=1.41.0
|
|
16
16
|
Requires-Dist: httpx>=0.28.1
|
|
17
17
|
Requires-Dist: keyring>=25.7.0
|
|
@@ -19,7 +19,7 @@ Requires-Dist: msal>=1.39.0
|
|
|
19
19
|
Requires-Dist: msgraph-sdk>=1.64.0
|
|
20
20
|
Requires-Dist: pydantic>=2.14.1
|
|
21
21
|
Provides-Extra: mcp
|
|
22
|
-
Requires-Dist:
|
|
22
|
+
Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.3; extra == "mcp"
|
|
23
23
|
Provides-Extra: documents
|
|
24
24
|
Requires-Dist: python-docx>=1.2.0; extra == "documents"
|
|
25
25
|
Requires-Dist: python-pptx>=1.0.2; extra == "documents"
|
|
@@ -68,7 +68,7 @@ Dynamic: license-file
|
|
|
68
68
|
|
|
69
69
|
# Microsoft Agent
|
|
70
70
|
|
|
71
|
-
agent. It uses
|
|
71
|
+
agent. It uses Scion SDK for MCP, identity propagation, intent delegation,
|
|
72
72
|
configuration, telemetry, and graph integration.
|
|
73
73
|
|
|
74
74
|
Current package version: **2.3.6**
|
|
@@ -107,7 +107,7 @@ python -m pip install "microsoft-agent[control-plane]"
|
|
|
107
107
|
python -m pip install "microsoft-agent[all]"
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
Scion SDK depends on `epistemic-graph[full]`; the full and numeric engine
|
|
111
111
|
|
|
112
112
|
## Authentication
|
|
113
113
|
|
|
@@ -212,7 +212,7 @@ tokens remain in memory and are not written to plaintext files.
|
|
|
212
212
|
| `PORT` | `8000` | |
|
|
213
213
|
| `AUTH_TYPE` | `oidc` | |
|
|
214
214
|
|
|
215
|
-
#### Inherited
|
|
215
|
+
#### Inherited scion-sdk variables (apply to every connector)
|
|
216
216
|
|
|
217
217
|
| Variable | Example | Description |
|
|
218
218
|
|----------|---------|-------------|
|
|
@@ -237,7 +237,7 @@ tokens remain in memory and are not written to plaintext files.
|
|
|
237
237
|
| `PROVIDER` | — | Operator-configured LLM provider for the agent |
|
|
238
238
|
| `MODEL_ID` | — | Operator-configured model id for the agent |
|
|
239
239
|
|
|
240
|
-
_79 package + 21 inherited variable(s). Auto-generated from `.env.example` + the shared
|
|
240
|
+
_79 package + 21 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
|
|
241
241
|
<!-- ENV-VARS-TABLE:END -->
|
|
242
242
|
|
|
243
243
|
## Run the MCP server
|
|
@@ -634,7 +634,7 @@ default; unknown actions are treated as writes. Writes require
|
|
|
634
634
|
<!-- MCP-CONFIG-EXAMPLES:START -->
|
|
635
635
|
|
|
636
636
|
> **Install the connector-focused `[mcp]` extra.** Examples use `microsoft-agent[mcp]` to add
|
|
637
|
-
> FastMCP / FastAPI through `
|
|
637
|
+
> FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
|
|
638
638
|
> still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
|
|
639
639
|
> enables model orchestration.
|
|
640
640
|
|
|
@@ -949,15 +949,15 @@ uv run mkdocs build --strict
|
|
|
949
949
|
|
|
950
950
|
See `AGENTS.md` for current-only, privacy, security, and change-discipline rules.
|
|
951
951
|
|
|
952
|
-
<!-- BEGIN
|
|
952
|
+
<!-- BEGIN scion-sdk-deployment (generated; do not edit between markers) -->
|
|
953
953
|
|
|
954
|
-
## Deploy with `
|
|
954
|
+
## Deploy with `scion-sdk-deployment`
|
|
955
955
|
|
|
956
|
-
Provision this package with the consolidated **`
|
|
956
|
+
Provision this package with the consolidated **`scion-sdk-deployment`**
|
|
957
957
|
workflow. It selects an installed-package, editable-source, or immutable-container
|
|
958
958
|
path; records only runtime secret and TLS-profile references in `AgentConfig`; and
|
|
959
959
|
runs doctor, registration, policy, observability, and rollback gates. Ask your agent
|
|
960
|
-
to **"deploy `microsoft-agent` with
|
|
960
|
+
to **"deploy `microsoft-agent` with scion-sdk-deployment"**.
|
|
961
961
|
|
|
962
962
|
| Install mode | Command |
|
|
963
963
|
|------|---------|
|
|
@@ -968,7 +968,7 @@ The repository embeds no deployment profile, credential value, certificate path,
|
|
|
968
968
|
environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
|
|
969
969
|
configured secret provider.
|
|
970
970
|
|
|
971
|
-
<!-- END
|
|
971
|
+
<!-- END scion-sdk-deployment -->
|
|
972
972
|
|
|
973
973
|
<!-- GOVERNED-CAPABILITY:START -->
|
|
974
974
|
## Governed capability contract
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Microsoft Agent
|
|
2
2
|
|
|
3
|
-
agent. It uses
|
|
3
|
+
agent. It uses Scion SDK for MCP, identity propagation, intent delegation,
|
|
4
4
|
configuration, telemetry, and graph integration.
|
|
5
5
|
|
|
6
6
|
Current package version: **2.3.6**
|
|
@@ -39,7 +39,7 @@ python -m pip install "microsoft-agent[control-plane]"
|
|
|
39
39
|
python -m pip install "microsoft-agent[all]"
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
Scion SDK depends on `epistemic-graph[full]`; the full and numeric engine
|
|
43
43
|
|
|
44
44
|
## Authentication
|
|
45
45
|
|
|
@@ -144,7 +144,7 @@ tokens remain in memory and are not written to plaintext files.
|
|
|
144
144
|
| `PORT` | `8000` | |
|
|
145
145
|
| `AUTH_TYPE` | `oidc` | |
|
|
146
146
|
|
|
147
|
-
#### Inherited
|
|
147
|
+
#### Inherited scion-sdk variables (apply to every connector)
|
|
148
148
|
|
|
149
149
|
| Variable | Example | Description |
|
|
150
150
|
|----------|---------|-------------|
|
|
@@ -169,7 +169,7 @@ tokens remain in memory and are not written to plaintext files.
|
|
|
169
169
|
| `PROVIDER` | — | Operator-configured LLM provider for the agent |
|
|
170
170
|
| `MODEL_ID` | — | Operator-configured model id for the agent |
|
|
171
171
|
|
|
172
|
-
_79 package + 21 inherited variable(s). Auto-generated from `.env.example` + the shared
|
|
172
|
+
_79 package + 21 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
|
|
173
173
|
<!-- ENV-VARS-TABLE:END -->
|
|
174
174
|
|
|
175
175
|
## Run the MCP server
|
|
@@ -566,7 +566,7 @@ default; unknown actions are treated as writes. Writes require
|
|
|
566
566
|
<!-- MCP-CONFIG-EXAMPLES:START -->
|
|
567
567
|
|
|
568
568
|
> **Install the connector-focused `[mcp]` extra.** Examples use `microsoft-agent[mcp]` to add
|
|
569
|
-
> FastMCP / FastAPI through `
|
|
569
|
+
> FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
|
|
570
570
|
> still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
|
|
571
571
|
> enables model orchestration.
|
|
572
572
|
|
|
@@ -881,15 +881,15 @@ uv run mkdocs build --strict
|
|
|
881
881
|
|
|
882
882
|
See `AGENTS.md` for current-only, privacy, security, and change-discipline rules.
|
|
883
883
|
|
|
884
|
-
<!-- BEGIN
|
|
884
|
+
<!-- BEGIN scion-sdk-deployment (generated; do not edit between markers) -->
|
|
885
885
|
|
|
886
|
-
## Deploy with `
|
|
886
|
+
## Deploy with `scion-sdk-deployment`
|
|
887
887
|
|
|
888
|
-
Provision this package with the consolidated **`
|
|
888
|
+
Provision this package with the consolidated **`scion-sdk-deployment`**
|
|
889
889
|
workflow. It selects an installed-package, editable-source, or immutable-container
|
|
890
890
|
path; records only runtime secret and TLS-profile references in `AgentConfig`; and
|
|
891
891
|
runs doctor, registration, policy, observability, and rollback gates. Ask your agent
|
|
892
|
-
to **"deploy `microsoft-agent` with
|
|
892
|
+
to **"deploy `microsoft-agent` with scion-sdk-deployment"**.
|
|
893
893
|
|
|
894
894
|
| Install mode | Command |
|
|
895
895
|
|------|---------|
|
|
@@ -900,7 +900,7 @@ The repository embeds no deployment profile, credential value, certificate path,
|
|
|
900
900
|
environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
|
|
901
901
|
configured secret provider.
|
|
902
902
|
|
|
903
|
-
<!-- END
|
|
903
|
+
<!-- END scion-sdk-deployment -->
|
|
904
904
|
|
|
905
905
|
<!-- GOVERNED-CAPABILITY:START -->
|
|
906
906
|
## Governed capability contract
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
> **Prefix**: `CONCEPT:MSFT-*`
|
|
4
4
|
> **Version**: 0.15.0
|
|
5
|
-
> **Bridge**: [`CONCEPT:AU-ECO.messaging.native-backend-abstraction`](https://github.com/Knuckles-Team/
|
|
5
|
+
> **Bridge**: [`CONCEPT:AU-ECO.messaging.native-backend-abstraction`](https://github.com/Knuckles-Team/scion-sdk/blob/main/docs/concepts.md) (Unified Toolkit Ingestion)
|
|
6
6
|
Microsoft Agent contributes Microsoft Graph provider semantics to the ecosystem; it
|
|
7
|
-
does not replace
|
|
7
|
+
does not replace Scion SDK or Epistemic Graph authorities.
|
|
8
8
|
|
|
9
9
|
| Concept | Provider responsibility | Ecosystem authority |
|
|
10
10
|
|---|---|---|
|
|
11
|
-
| Microsoft identity | acquire a tenant- and audience-bound Graph token through one validated mode |
|
|
12
|
-
| Graph actions | execute bounded asynchronous operations through one modular client |
|
|
11
|
+
| Microsoft identity | acquire a tenant- and audience-bound Graph token through one validated mode | Scion SDK checks MCP caller and delegation identity |
|
|
12
|
+
| Graph actions | execute bounded asynchronous operations through one modular client | Scion SDK owns tool discovery, session, approval, and trace context |
|
|
13
13
|
| Action policy | classify the routed action and fail closed for writes/destructive actions | permission governance provides caller policy and approval |
|
|
14
14
|
| Optional integrations | expose native document, Power Platform, Intune, Office, and Windows connection points | deployment AgentConfig provides allowlists, endpoints, trust, and secrets |
|
|
15
15
|
| Knowledge ingestion | map approved provider records into quarantined change envelopes | Epistemic Graph owns persistence, ACL, provenance, lineage, and deletion semantics |
|
|
16
16
|
| Microsoft skill | provide one consolidated operational workflow and provider catalog | Arbora owns skill discovery and direct/delegated execution |
|
|
17
|
-
| Observability | attach privacy-safe provider outcome metadata |
|
|
17
|
+
| Observability | attach privacy-safe provider outcome metadata | Scion SDK and Langfuse own trace transport and retention policy |
|
|
18
18
|
|
|
19
19
|
## Provider domains
|
|
20
20
|
|
|
@@ -67,17 +67,17 @@ registered tool schemas.
|
|
|
67
67
|
|
|
68
68
|
| Concept ID | Name | Origin |
|
|
69
69
|
|------------|------|--------|
|
|
70
|
-
| `CONCEPT:AU-ECO.messaging.native-backend-abstraction` | Unified Toolkit Ingestion |
|
|
71
|
-
| `CONCEPT:AU-ORCH.adapter.hot-cache-invalidation` | Confidence-Gated Router |
|
|
72
|
-
| `CONCEPT:AU-OS.config.secrets-authentication` | Prompt Injection Defense |
|
|
73
|
-
| `CONCEPT:AU-OS.state.cognitive-scheduler-preemption` | Cognitive Scheduler |
|
|
74
|
-
| `CONCEPT:AU-OS.governance.reactive-multi-axis-budget` | Guardrail Engine |
|
|
75
|
-
| `CONCEPT:AU-OS.governance.wasm-micro-agent-sandbox` | Audit Logging |
|
|
76
|
-
| `CONCEPT:AU-KG.query.object-graph-mapper` | Knowledge Graph Core |
|
|
70
|
+
| `CONCEPT:AU-ECO.messaging.native-backend-abstraction` | Unified Toolkit Ingestion | scion-sdk |
|
|
71
|
+
| `CONCEPT:AU-ORCH.adapter.hot-cache-invalidation` | Confidence-Gated Router | scion-sdk |
|
|
72
|
+
| `CONCEPT:AU-OS.config.secrets-authentication` | Prompt Injection Defense | scion-sdk |
|
|
73
|
+
| `CONCEPT:AU-OS.state.cognitive-scheduler-preemption` | Cognitive Scheduler | scion-sdk |
|
|
74
|
+
| `CONCEPT:AU-OS.governance.reactive-multi-axis-budget` | Guardrail Engine | scion-sdk |
|
|
75
|
+
| `CONCEPT:AU-OS.governance.wasm-micro-agent-sandbox` | Audit Logging | scion-sdk |
|
|
76
|
+
| `CONCEPT:AU-KG.query.object-graph-mapper` | Knowledge Graph Core | scion-sdk |
|
|
77
77
|
|
|
78
|
-
## Synergy with
|
|
78
|
+
## Synergy with scion-sdk
|
|
79
79
|
|
|
80
|
-
This project integrates with `
|
|
80
|
+
This project integrates with `scion-sdk` via `CONCEPT:AU-ECO.messaging.native-backend-abstraction` (Unified Toolkit Ingestion). The `microsoft_agent` MCP server registers its tools with the scion-sdk FastMCP middleware, enabling automatic discovery, telemetry, and Knowledge Graph ingestion of all MSFT-* concepts.
|
|
81
81
|
## Invariants
|
|
82
82
|
|
|
83
83
|
- One Graph client and one Microsoft authentication manager exist.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This page is the operator contract for `microsoft-agent`. Package-specific identity
|
|
4
4
|
and policy values are loaded through validated Microsoft settings; shared model,
|
|
5
|
-
graph, MCP, trust, observability, and secret references use the
|
|
5
|
+
graph, MCP, trust, observability, and secret references use the Scion SDK
|
|
6
6
|
configuration boundary. Runtime values must be injected by the launcher or an
|
|
7
7
|
external AgentConfig profile. They do not belong in source, packaged skill content,
|
|
8
8
|
traces, or generated reports.
|
|
@@ -30,7 +30,7 @@ be provided as environment projections of that profile. Doctor output must repor
|
|
|
30
30
|
only readiness, selected modes, enabled groups, and opaque configuration origins;
|
|
31
31
|
it must never print values, endpoints, credentials, personal paths, or token claims.
|
|
32
32
|
|
|
33
|
-
Run the
|
|
33
|
+
Run the Scion SDK doctor after any configuration change and before starting a
|
|
34
34
|
network listener. A missing identity coordinate, unreadable trust reference,
|
|
35
35
|
unavailable optional dependency, or invalid integration profile is a failed
|
|
36
36
|
readiness gate, not a reason to select a fallback mode.
|
|
@@ -54,7 +54,7 @@ production default.
|
|
|
54
54
|
## TLS trust
|
|
55
55
|
|
|
56
56
|
Microsoft Graph transport resolves `MICROSOFT_GRAPH_TLS_PROFILE` or
|
|
57
|
-
`MICROSOFT_GRAPH_TLS_PROFILE_REF` through the shared
|
|
57
|
+
`MICROSOFT_GRAPH_TLS_PROFILE_REF` through the shared Scion SDK TLS profile
|
|
58
58
|
boundary. Power Platform and Windows companion configuration objects accept the
|
|
59
59
|
same mutually exclusive `tls_profile` and `tls_profile_ref` fields. Profile names,
|
|
60
60
|
secret references, trust material, and service authorities remain deployment
|
|
@@ -39,7 +39,7 @@ microsoft-mcp \
|
|
|
39
39
|
--port 8000
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
Configure `AUTH_TYPE` and the corresponding
|
|
42
|
+
Configure `AUTH_TYPE` and the corresponding Scion SDK caller-authentication
|
|
43
43
|
settings before exposing the listener. Microsoft Graph authentication and MCP
|
|
44
44
|
caller authentication are independent boundaries; both must pass.
|
|
45
45
|
|
|
@@ -99,7 +99,7 @@ use `REQUESTS_CA_BUNDLE`; OpenSSL-compatible clients can use `SSL_CERT_FILE`; `u
|
|
|
99
99
|
package resolution can use native platform trust with `UV_NATIVE_TLS=true`.
|
|
100
100
|
|
|
101
101
|
Do not set an insecure verification mode or package a workstation-specific bundle
|
|
102
|
-
path. The operator's
|
|
102
|
+
path. The operator's Scion SDK doctor must confirm the selected trust profile
|
|
103
103
|
before release validation.
|
|
104
104
|
|
|
105
105
|
## Optional integrations
|
|
@@ -7,7 +7,7 @@ groups required by the deployment.
|
|
|
7
7
|
|
|
8
8
|
| Extra | Purpose |
|
|
9
9
|
|---|---|
|
|
10
|
-
| `mcp` | Microsoft Graph MCP server and
|
|
10
|
+
| `mcp` | Microsoft Graph MCP server and Scion SDK MCP runtime |
|
|
11
11
|
| `documents` | Word and PowerPoint document generation |
|
|
12
12
|
| `cloud` | Azure managed and workload identity support |
|
|
13
13
|
| `windows` | outbound Windows companion client and service |
|
|
@@ -27,7 +27,7 @@ Install a broader approved profile when required:
|
|
|
27
27
|
python -m pip install "microsoft-agent[agent,documents,cloud]"
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Scion SDK resolves Epistemic Graph with the `full` feature set, including the
|
|
31
31
|
folded numeric ABI. Do not substitute a minimal or numeric-only engine artifact.
|
|
32
32
|
|
|
33
33
|
## Source checkout
|
|
@@ -56,7 +56,7 @@ references, configuration, and writable storage at deployment time.
|
|
|
56
56
|
|
|
57
57
|
## Check the installation
|
|
58
58
|
|
|
59
|
-
Then run the
|
|
59
|
+
Then run the Scion SDK doctor against the deployment-owned AgentConfig
|
|
60
60
|
profile. Installation is not release-ready until the doctor confirms engine,
|
|
61
61
|
identity, trust, permission, observability, and optional dependency readiness
|
|
62
62
|
without exposing values.
|
|
@@ -47,7 +47,7 @@ MICROSOFT_DATAVERSE_ENVIRONMENT_URL=https://contoso.crm.dynamics.com
|
|
|
47
47
|
MICROSOFT_POWER_PLATFORM_ALLOW_LIFECYCLE_CHANGES=false
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
The object may also select one deployment-owned
|
|
50
|
+
The object may also select one deployment-owned Scion SDK TLS profile with
|
|
51
51
|
`tls_profile` or `tls_profile_ref`. The fields are mutually exclusive and TLS
|
|
52
52
|
verification cannot be disabled.
|
|
53
53
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Architecture overview
|
|
2
2
|
|
|
3
|
-
Microsoft Agent is a governed Microsoft Graph provider for the
|
|
3
|
+
Microsoft Agent is a governed Microsoft Graph provider for the Scion SDK and
|
|
4
4
|
Epistemic Graph ecosystem. It contributes one MCP server, one modular Graph client,
|
|
5
5
|
one authentication authority, optional integration adapters, a consolidated skill,
|
|
6
6
|
and a provider-owned connector capability bundle.
|
|
@@ -9,12 +9,12 @@ and a provider-owned connector capability bundle.
|
|
|
9
9
|
|
|
10
10
|
| Boundary | Authority |
|
|
11
11
|
|---|---|
|
|
12
|
-
| MCP server and session |
|
|
12
|
+
| MCP server and session | Scion SDK server factory and checked caller session |
|
|
13
13
|
| Microsoft Graph client | `MicrosoftGraphApi` composed from `microsoft_agent/api/` |
|
|
14
14
|
| Microsoft authentication | `microsoft_agent/auth.py` and validated `MicrosoftSettings` |
|
|
15
15
|
| Action authorization | `MicrosoftToolPolicy` applied to the routed action |
|
|
16
16
|
| Knowledge ingestion | governed connector manifest, ontology, mapping, and quarantine |
|
|
17
|
-
| Observability | deployment-configured metadata-only
|
|
17
|
+
| Observability | deployment-configured metadata-only Scion SDK telemetry |
|
|
18
18
|
|
|
19
19
|
There is no second API wrapper, raw-token fallback, plaintext token cache, bundled
|
|
20
20
|
database, bundled MCP profile, or alternate agent execution plane.
|
|
@@ -23,7 +23,7 @@ database, bundled MCP profile, or alternate agent execution plane.
|
|
|
23
23
|
|
|
24
24
|
1. The deployment supplies Microsoft identity, MCP caller identity, TLS trust, and
|
|
25
25
|
an explicit optional-capability profile.
|
|
26
|
-
2. The MCP server creates a checked
|
|
26
|
+
2. The MCP server creates a checked Scion SDK session and exposes the
|
|
27
27
|
configured action families through the selected tool mode.
|
|
28
28
|
3. The tool policy classifies the routed action. Reads are allowed by default;
|
|
29
29
|
writes and destructive actions require separate explicit approvals.
|
|
@@ -5,7 +5,7 @@ The Python client is available for trusted in-process extensions.
|
|
|
5
5
|
|
|
6
6
|
## MCP surface
|
|
7
7
|
|
|
8
|
-
`MCP_TOOL_MODE=intent` exposes the compact
|
|
8
|
+
`MCP_TOOL_MODE=intent` exposes the compact Scion SDK intent and control
|
|
9
9
|
surface. It discovers the installed Microsoft action schemas at runtime and routes
|
|
10
10
|
requests while preserving caller identity, approval, policy, and trace context.
|
|
11
11
|
Use MCP discovery as the authority for exact schemas; do not copy generated action
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Microsoft Agent.
|
|
2
|
+
|
|
3
|
+
CONCEPT:AU-ECO.mcp.fastmcp-middleware
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from scion_sdk.connector import Connector
|
|
7
|
+
from scion_sdk.connector_hooks import RegistrationContext
|
|
8
|
+
|
|
9
|
+
from microsoft_agent._version import __version__
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _register_kg_tools(context: RegistrationContext) -> None:
|
|
13
|
+
"""Register the knowledge-graph ingestion tool through the SDK's shared hook."""
|
|
14
|
+
from microsoft_agent.mcp_server import register_kg_tools
|
|
15
|
+
|
|
16
|
+
register_kg_tools(context.server)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
connector = Connector(
|
|
20
|
+
instructions="microsoft-agent MCP Server — Condensed Action-Routed Tools.",
|
|
21
|
+
extra_registrations=(_register_kg_tools,),
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
__all__ = ["__version__", "connector"]
|
|
@@ -2,17 +2,17 @@ from abc import ABC, abstractmethod
|
|
|
2
2
|
from urllib.parse import urlparse
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
|
-
from agent_connector_sdk.exceptions import AuthError
|
|
6
|
-
from agent_connector_sdk.http.client import create_async_http_client
|
|
7
|
-
from agent_connector_sdk.http.options import HttpClientOptions
|
|
8
|
-
from agent_connector_sdk.http.retry import RetryPolicy
|
|
9
|
-
from agent_connector_sdk.tls.profile import ResolvedTLSProfile
|
|
10
|
-
from agent_connector_sdk.tls.resolve import resolve_tls_profile
|
|
11
5
|
from kiota_authentication_azure.azure_identity_authentication_provider import (
|
|
12
6
|
AzureIdentityAuthenticationProvider,
|
|
13
7
|
)
|
|
14
8
|
from msgraph import GraphServiceClient
|
|
15
9
|
from msgraph.graph_request_adapter import GraphRequestAdapter
|
|
10
|
+
from scion_sdk.exceptions import AuthError
|
|
11
|
+
from scion_sdk.http.client import create_async_http_client
|
|
12
|
+
from scion_sdk.http.options import HttpClientOptions
|
|
13
|
+
from scion_sdk.http.retry import RetryPolicy
|
|
14
|
+
from scion_sdk.tls.profile import ResolvedTLSProfile
|
|
15
|
+
from scion_sdk.tls.resolve import resolve_tls_profile
|
|
16
16
|
|
|
17
17
|
from microsoft_agent.auth import AuthManager
|
|
18
18
|
from microsoft_agent.credential_adapter import AuthManagerCredential
|
|
@@ -14,8 +14,8 @@ from typing import Any
|
|
|
14
14
|
|
|
15
15
|
import keyring
|
|
16
16
|
import msal
|
|
17
|
-
from agent_connector_sdk.exceptions import AuthError, UnauthorizedError
|
|
18
17
|
from keyring.errors import KeyringError
|
|
18
|
+
from scion_sdk.exceptions import AuthError, UnauthorizedError
|
|
19
19
|
|
|
20
20
|
from microsoft_agent.settings import (
|
|
21
21
|
AuthenticationMode,
|
|
@@ -77,10 +77,10 @@ def _default_scope_audiences(scopes: Sequence[str]) -> frozenset[str]:
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
def _get_incoming_user_token() -> str | None:
|
|
80
|
-
"""Read the request token captured by
|
|
80
|
+
"""Read the request token captured by scion-sdk middleware."""
|
|
81
81
|
|
|
82
82
|
try:
|
|
83
|
-
from
|
|
83
|
+
from scion_sdk.auth.delegation import current_user_token
|
|
84
84
|
|
|
85
85
|
return current_user_token()
|
|
86
86
|
except (ImportError, AttributeError):
|
|
@@ -6,12 +6,13 @@ Served live as ``connector://resources``. Regenerate by editing the declarations
|
|
|
6
6
|
# ruff: noqa: E501
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
from
|
|
10
|
-
from agent_connector_sdk.ingest.sources import IngestSourceDeclaration, IngestSourceSpec
|
|
9
|
+
from typing import Any
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
from scion_sdk.ingest.live_declaration import source_meta
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
CONNECTOR: str = "microsoft-mcp"
|
|
14
|
+
|
|
15
|
+
SOURCES: tuple[Any, ...] = (
|
|
15
16
|
source_meta(
|
|
16
17
|
tool="list_microsoft_ingestion_projection",
|
|
17
18
|
source_id="microsoft-user-structure",
|
|
@@ -30,7 +31,7 @@ SOURCES = (
|
|
|
30
31
|
),
|
|
31
32
|
)
|
|
32
33
|
|
|
33
|
-
SCHEMA_MAPPINGS = {
|
|
34
|
+
SCHEMA_MAPPINGS: dict[str, Any] = {
|
|
34
35
|
"Event": {
|
|
35
36
|
"fields": {},
|
|
36
37
|
"ontology_class": "Event",
|
|
@@ -45,7 +46,7 @@ SCHEMA_MAPPINGS = {
|
|
|
45
46
|
},
|
|
46
47
|
}
|
|
47
48
|
|
|
48
|
-
RESOURCES = (
|
|
49
|
+
RESOURCES: tuple[dict[str, str], ...] = (
|
|
49
50
|
{
|
|
50
51
|
"id_prefix": "event",
|
|
51
52
|
"label": "Opaque Microsoft event reference",
|
|
@@ -62,22 +63,3 @@ RESOURCES = (
|
|
|
62
63
|
"name": "Message",
|
|
63
64
|
},
|
|
64
65
|
)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
def declaration() -> IngestSourceDeclaration:
|
|
68
|
-
"""The declaration the server assembles from this module."""
|
|
69
|
-
specs = []
|
|
70
|
-
for item in SOURCES:
|
|
71
|
-
for entry in item["connector_sources"]:
|
|
72
|
-
body = {k: v for k, v in entry.items() if k not in ("tool", "mapping")}
|
|
73
|
-
specs.append(
|
|
74
|
-
IngestSourceSpec.model_validate({**body, "tools": (entry["tool"],)})
|
|
75
|
-
)
|
|
76
|
-
return IngestSourceDeclaration.model_validate(
|
|
77
|
-
{
|
|
78
|
-
"connector": CONNECTOR,
|
|
79
|
-
"sources": specs,
|
|
80
|
-
"schema_mappings": SCHEMA_MAPPINGS,
|
|
81
|
-
"resources": RESOURCES,
|
|
82
|
-
}
|
|
83
|
-
)
|
|
@@ -15,8 +15,8 @@ from pathlib import PurePosixPath
|
|
|
15
15
|
from typing import Any
|
|
16
16
|
from urllib.parse import quote, urlparse
|
|
17
17
|
|
|
18
|
-
from agent_connector_sdk.http.egress import validate_base_url
|
|
19
18
|
from pydantic import BaseModel, ConfigDict, Field, HttpUrl, field_validator
|
|
19
|
+
from scion_sdk.http.egress import validate_base_url
|
|
20
20
|
|
|
21
21
|
from microsoft_agent.document_service import GeneratedArtifact
|
|
22
22
|
from microsoft_agent.power_platform import (
|
|
@@ -8,8 +8,8 @@ from functools import lru_cache
|
|
|
8
8
|
from pathlib import Path
|
|
9
9
|
from typing import Any
|
|
10
10
|
|
|
11
|
-
from agent_connector_sdk.config import setting
|
|
12
11
|
from pydantic import BaseModel, ConfigDict, Field, ValidationError
|
|
12
|
+
from scion_sdk.config import setting
|
|
13
13
|
|
|
14
14
|
from microsoft_agent.intune_service import IntuneServiceSettings
|
|
15
15
|
from microsoft_agent.power_platform import PowerPlatformSettings
|
|
@@ -7,9 +7,9 @@ from typing import Any, TypeAlias, TypeVar
|
|
|
7
7
|
from urllib.parse import urlparse
|
|
8
8
|
from uuid import UUID
|
|
9
9
|
|
|
10
|
-
from agent_connector_sdk.http.retry import RetryPolicy
|
|
11
10
|
from fastmcp import FastMCP
|
|
12
11
|
from pydantic import Field
|
|
12
|
+
from scion_sdk.http.retry import RetryPolicy
|
|
13
13
|
|
|
14
14
|
from microsoft_agent.document_service import (
|
|
15
15
|
ArtifactDelivery,
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Auto-generated from mcp_server.py during ecosystem standardization.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
from agent_connector_sdk.mcp.action_dispatch import resolve_action
|
|
7
|
-
from agent_connector_sdk.mcp.concurrency import invoke_client_method
|
|
8
6
|
from fastmcp import Context, FastMCP
|
|
9
7
|
from fastmcp.dependencies import Depends
|
|
10
8
|
from pydantic import Field
|
|
9
|
+
from scion_sdk.mcp.action_dispatch import resolve_action
|
|
10
|
+
from scion_sdk.mcp.concurrency import invoke_client_method
|
|
11
11
|
|
|
12
12
|
from microsoft_agent.auth import get_client_dependency
|
|
13
13
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Auto-generated from mcp_server.py during ecosystem standardization.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
from agent_connector_sdk.mcp.action_dispatch import resolve_action
|
|
7
|
-
from agent_connector_sdk.mcp.concurrency import invoke_client_method
|
|
8
6
|
from fastmcp import Context, FastMCP
|
|
9
7
|
from fastmcp.dependencies import Depends
|
|
10
8
|
from pydantic import Field
|
|
9
|
+
from scion_sdk.mcp.action_dispatch import resolve_action
|
|
10
|
+
from scion_sdk.mcp.concurrency import invoke_client_method
|
|
11
11
|
|
|
12
12
|
from microsoft_agent.auth import get_client_dependency
|
|
13
13
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Auto-generated from mcp_server.py during ecosystem standardization.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
from agent_connector_sdk.mcp.action_dispatch import resolve_action
|
|
7
|
-
from agent_connector_sdk.mcp.concurrency import invoke_client_method
|
|
8
6
|
from fastmcp import Context, FastMCP
|
|
9
7
|
from fastmcp.dependencies import Depends
|
|
10
8
|
from pydantic import Field
|
|
9
|
+
from scion_sdk.mcp.action_dispatch import resolve_action
|
|
10
|
+
from scion_sdk.mcp.concurrency import invoke_client_method
|
|
11
11
|
|
|
12
12
|
from microsoft_agent.auth import get_client_dependency
|
|
13
13
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Auto-generated from mcp_server.py during ecosystem standardization.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
from agent_connector_sdk.mcp.action_dispatch import resolve_action
|
|
7
|
-
from agent_connector_sdk.mcp.concurrency import invoke_client_method
|
|
8
6
|
from fastmcp import Context, FastMCP
|
|
9
7
|
from fastmcp.dependencies import Depends
|
|
10
8
|
from pydantic import Field
|
|
9
|
+
from scion_sdk.mcp.action_dispatch import resolve_action
|
|
10
|
+
from scion_sdk.mcp.concurrency import invoke_client_method
|
|
11
11
|
|
|
12
12
|
from microsoft_agent.auth import get_client_dependency
|
|
13
13
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Auto-generated from mcp_server.py during ecosystem standardization.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
from agent_connector_sdk.mcp.action_dispatch import resolve_action
|
|
7
|
-
from agent_connector_sdk.mcp.concurrency import invoke_client_method
|
|
8
6
|
from fastmcp import Context, FastMCP
|
|
9
7
|
from fastmcp.dependencies import Depends
|
|
10
8
|
from pydantic import Field
|
|
9
|
+
from scion_sdk.mcp.action_dispatch import resolve_action
|
|
10
|
+
from scion_sdk.mcp.concurrency import invoke_client_method
|
|
11
11
|
|
|
12
12
|
from microsoft_agent.auth import get_client_dependency
|
|
13
13
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Auto-generated from mcp_server.py during ecosystem standardization.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
from agent_connector_sdk.mcp.action_dispatch import resolve_action
|
|
7
|
-
from agent_connector_sdk.mcp.concurrency import invoke_client_method
|
|
8
6
|
from fastmcp import Context, FastMCP
|
|
9
7
|
from fastmcp.dependencies import Depends
|
|
10
8
|
from pydantic import Field
|
|
9
|
+
from scion_sdk.mcp.action_dispatch import resolve_action
|
|
10
|
+
from scion_sdk.mcp.concurrency import invoke_client_method
|
|
11
11
|
|
|
12
12
|
from microsoft_agent.auth import get_client_dependency
|
|
13
13
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Auto-generated from mcp_server.py during ecosystem standardization.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
from agent_connector_sdk.mcp.action_dispatch import resolve_action
|
|
7
|
-
from agent_connector_sdk.mcp.concurrency import invoke_client_method
|
|
8
6
|
from fastmcp import Context, FastMCP
|
|
9
7
|
from fastmcp.dependencies import Depends
|
|
10
8
|
from pydantic import Field
|
|
9
|
+
from scion_sdk.mcp.action_dispatch import resolve_action
|
|
10
|
+
from scion_sdk.mcp.concurrency import invoke_client_method
|
|
11
11
|
|
|
12
12
|
from microsoft_agent.auth import get_client_dependency
|
|
13
13
|
|