langfuse-agent 2.3.5__tar.gz → 2.3.7__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.
Files changed (79) hide show
  1. {langfuse_agent-2.3.5/langfuse_agent.egg-info → langfuse_agent-2.3.7}/PKG-INFO +13 -13
  2. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/README.md +11 -11
  3. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/__init__.py +1 -1
  4. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/__main__.py +1 -1
  5. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/api/api_client_base.py +2 -2
  6. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/auth.py +4 -4
  7. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/connector_sources.py +1 -1
  8. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/dependency-license-catalog.json +1 -1
  9. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/kg_ingest.py +12 -12
  10. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/ontology/__init__.py +1 -1
  11. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/ontology/certification.json +2 -2
  12. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/ontology/langfuse.ttl +1 -1
  13. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/runtime_posture.py +1 -1
  14. langfuse_agent-2.3.7/langfuse_agent/skills/langfuse-agent-development/SKILL.md +118 -0
  15. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/skills/langfuse-eval-datasets/SKILL.md +1 -1
  16. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/skills/langfuse-prompt-management/SKILL.md +1 -1
  17. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/skills/langfuse-trace-analytics/SKILL.md +1 -1
  18. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/tools/kg.py +1 -1
  19. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7/langfuse_agent.egg-info}/PKG-INFO +13 -13
  20. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent.egg-info/SOURCES.txt +3 -0
  21. langfuse_agent-2.3.7/langfuse_agent.egg-info/entry_points.txt +8 -0
  22. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent.egg-info/requires.txt +1 -1
  23. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/pyproject.toml +6 -6
  24. langfuse_agent-2.3.7/requirements.txt +3 -0
  25. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_api_parity_gate.py +1 -1
  26. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_fleet_name.py +2 -2
  27. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_kg_ingest.py +6 -4
  28. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_langfuse_api.py +1 -1
  29. langfuse_agent-2.3.7/tests/test_langfuse_development_skill.py +54 -0
  30. langfuse_agent-2.3.7/tests/test_pages_workflow.py +26 -0
  31. langfuse_agent-2.3.5/langfuse_agent.egg-info/entry_points.txt +0 -8
  32. langfuse_agent-2.3.5/requirements.txt +0 -3
  33. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/LICENSE +0 -0
  34. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/MANIFEST.in +0 -0
  35. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/build_backend.py +0 -0
  36. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/api/__init__.py +0 -0
  37. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/api/api_client_annotation_queues.py +0 -0
  38. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/api/api_client_datasets.py +0 -0
  39. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/api/api_client_management.py +0 -0
  40. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/api/api_client_observability.py +0 -0
  41. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/api/api_client_prompts_models.py +0 -0
  42. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/api_client.py +0 -0
  43. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/langfuse_models.py +0 -0
  44. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/main_agent.md +0 -0
  45. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/mcp/__init__.py +0 -0
  46. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/mcp_config.json +0 -0
  47. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/mcp_server.py +0 -0
  48. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/ontology/fixtures/records.json +0 -0
  49. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/ontology/mappings/source.yaml +0 -0
  50. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/ontology/migrations/manifest.json +0 -0
  51. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/ontology/shapes/connector.shacl.ttl +0 -0
  52. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/prompts/observability_specialist.json +0 -0
  53. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/skills/langfuse-agent-operations/SKILL.md +0 -0
  54. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/skills/langfuse-agent-operations/agents/openai.yaml +0 -0
  55. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/skills/langfuse-agent-operations/references/catalog.md +0 -0
  56. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/skills/langfuse-eval-datasets/WORKFLOW.md +0 -0
  57. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/skills/langfuse-prompt-management/WORKFLOW.md +0 -0
  58. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/skills/langfuse-trace-analytics/WORKFLOW.md +0 -0
  59. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/tools/__init__.py +0 -0
  60. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/tools/datasets.py +0 -0
  61. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/tools/management.py +0 -0
  62. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/tools/observability.py +0 -0
  63. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/tools/prompts.py +0 -0
  64. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent/trace_projection.py +0 -0
  65. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent.egg-info/dependency_links.txt +0 -0
  66. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/langfuse_agent.egg-info/top_level.txt +0 -0
  67. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/setup.cfg +0 -0
  68. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_auth.py +0 -0
  69. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_documentation_privacy.py +0 -0
  70. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_init.py +0 -0
  71. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_init_dynamics.py +0 -0
  72. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_kg_tool.py +0 -0
  73. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_langfuse_models.py +0 -0
  74. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_mcp_brute_force.py +0 -0
  75. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_placeholder.py +0 -0
  76. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_release_version.py +0 -0
  77. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_tools_dispatch_characterization.py +0 -0
  78. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_trace_projection.py +0 -0
  79. {langfuse_agent-2.3.5 → langfuse_agent-2.3.7}/tests/test_wheel_privacy.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langfuse-agent
3
- Version: 2.3.5
3
+ Version: 2.3.7
4
4
  Summary: Agent for interacting with Langfuse Observability API
5
5
  Author: Repository Maintainers
6
6
  License-Expression: MIT
@@ -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: agent-connector-sdk[mcp]<0.6.0,>=0.5.4
14
+ Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.3
15
15
  Requires-Dist: langfuse<5,>=4
16
16
  Requires-Dist: requests>=2.34.2
17
17
  Provides-Extra: test
@@ -215,7 +215,7 @@ When query strings or parameters are provided, an LLM-free **Knowledge Graph res
215
215
  <!-- MCP-CONFIG-EXAMPLES:START -->
216
216
 
217
217
  > **Install the connector-focused `[mcp]` extra.** Examples use `langfuse-agent[mcp]` to add
218
- > FastMCP / FastAPI through `agent-connector-sdk[mcp]`; the required Agent Utilities core
218
+ > FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
219
219
  > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
220
220
  > enables model orchestration.
221
221
 
@@ -360,7 +360,7 @@ Detailed graph node architecture explanations, custom skill configurations, and
360
360
 
361
361
  ## Security & Governance
362
362
 
363
- Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.com/Knuckles-Team/agent-connector-sdk) core, standard security parameters are fully supported:
363
+ Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
364
364
 
365
365
  ### Access Control & Policy Enforcement
366
366
  - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
@@ -426,8 +426,8 @@ Pick the extra that matches what the operator want to run:
426
426
 
427
427
  | Extra | Installs | Use when |
428
428
  |-------|----------|----------|
429
- | `langfuse-agent[mcp]` | Connector-focused MCP server (`agent-connector-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
430
- | `langfuse-agent[agent]` | Agent runtime (`agent-connector-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
429
+ | `langfuse-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
430
+ | `langfuse-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
431
431
  | `langfuse-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
432
432
 
433
433
  ```bash
@@ -508,15 +508,15 @@ Contributions are welcome! Please ensure code quality by running local checks be
508
508
  - Ran test suites using `pytest`
509
509
 
510
510
 
511
- <!-- BEGIN agent-connector-sdk-deployment (generated; do not edit between markers) -->
511
+ <!-- BEGIN scion-sdk-deployment (generated; do not edit between markers) -->
512
512
 
513
- ## Deploy with `agent-connector-sdk-deployment`
513
+ ## Deploy with `scion-sdk-deployment`
514
514
 
515
- Provision this package with the consolidated **`agent-connector-sdk-deployment`**
515
+ Provision this package with the consolidated **`scion-sdk-deployment`**
516
516
  workflow. It selects an installed-package, editable-source, or immutable-container
517
517
  path; records only runtime secret and TLS-profile references in `AgentConfig`; and
518
518
  runs doctor, registration, policy, observability, and rollback gates. Ask your agent
519
- to **"deploy `langfuse-agent` with agent-connector-sdk-deployment"**.
519
+ to **"deploy `langfuse-agent` with scion-sdk-deployment"**.
520
520
 
521
521
  | Install mode | Command |
522
522
  |------|---------|
@@ -528,7 +528,7 @@ The repository embeds no deployment profile, credential value, certificate path,
528
528
  environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
529
529
  configured secret provider.
530
530
 
531
- <!-- END agent-connector-sdk-deployment -->
531
+ <!-- END scion-sdk-deployment -->
532
532
 
533
533
  ## Environment Variables
534
534
 
@@ -572,7 +572,7 @@ configured secret provider.
572
572
  | `LANGFUSE_MANAGEMENTTOOL` | `True` | |
573
573
  | `LANGFUSE_KGTOOL` | `True` | |
574
574
 
575
- #### Inherited agent-connector-sdk variables (apply to every connector)
575
+ #### Inherited scion-sdk variables (apply to every connector)
576
576
 
577
577
  | Variable | Example | Description |
578
578
  |----------|---------|-------------|
@@ -592,7 +592,7 @@ configured secret provider.
592
592
  | `MODEL_ID` | `gpt-4o` | Model id for the agent |
593
593
  | `ENABLE_WEB_UI` | `True` | Serve the AG-UI web interface |
594
594
 
595
- _33 package + 15 inherited variable(s). Auto-generated from `.env.example` + the shared agent-connector-sdk set — do not edit._
595
+ _33 package + 15 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
596
596
  <!-- ENV-VARS-TABLE:END -->
597
597
 
598
598
  <!-- GOVERNED-CAPABILITY:START -->
@@ -189,7 +189,7 @@ When query strings or parameters are provided, an LLM-free **Knowledge Graph res
189
189
  <!-- MCP-CONFIG-EXAMPLES:START -->
190
190
 
191
191
  > **Install the connector-focused `[mcp]` extra.** Examples use `langfuse-agent[mcp]` to add
192
- > FastMCP / FastAPI through `agent-connector-sdk[mcp]`; the required Agent Utilities core
192
+ > FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
193
193
  > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
194
194
  > enables model orchestration.
195
195
 
@@ -334,7 +334,7 @@ Detailed graph node architecture explanations, custom skill configurations, and
334
334
 
335
335
  ## Security & Governance
336
336
 
337
- Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.com/Knuckles-Team/agent-connector-sdk) core, standard security parameters are fully supported:
337
+ Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
338
338
 
339
339
  ### Access Control & Policy Enforcement
340
340
  - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
@@ -400,8 +400,8 @@ Pick the extra that matches what the operator want to run:
400
400
 
401
401
  | Extra | Installs | Use when |
402
402
  |-------|----------|----------|
403
- | `langfuse-agent[mcp]` | Connector-focused MCP server (`agent-connector-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
404
- | `langfuse-agent[agent]` | Agent runtime (`agent-connector-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
403
+ | `langfuse-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
404
+ | `langfuse-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
405
405
  | `langfuse-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
406
406
 
407
407
  ```bash
@@ -482,15 +482,15 @@ Contributions are welcome! Please ensure code quality by running local checks be
482
482
  - Ran test suites using `pytest`
483
483
 
484
484
 
485
- <!-- BEGIN agent-connector-sdk-deployment (generated; do not edit between markers) -->
485
+ <!-- BEGIN scion-sdk-deployment (generated; do not edit between markers) -->
486
486
 
487
- ## Deploy with `agent-connector-sdk-deployment`
487
+ ## Deploy with `scion-sdk-deployment`
488
488
 
489
- Provision this package with the consolidated **`agent-connector-sdk-deployment`**
489
+ Provision this package with the consolidated **`scion-sdk-deployment`**
490
490
  workflow. It selects an installed-package, editable-source, or immutable-container
491
491
  path; records only runtime secret and TLS-profile references in `AgentConfig`; and
492
492
  runs doctor, registration, policy, observability, and rollback gates. Ask your agent
493
- to **"deploy `langfuse-agent` with agent-connector-sdk-deployment"**.
493
+ to **"deploy `langfuse-agent` with scion-sdk-deployment"**.
494
494
 
495
495
  | Install mode | Command |
496
496
  |------|---------|
@@ -502,7 +502,7 @@ The repository embeds no deployment profile, credential value, certificate path,
502
502
  environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
503
503
  configured secret provider.
504
504
 
505
- <!-- END agent-connector-sdk-deployment -->
505
+ <!-- END scion-sdk-deployment -->
506
506
 
507
507
  ## Environment Variables
508
508
 
@@ -546,7 +546,7 @@ configured secret provider.
546
546
  | `LANGFUSE_MANAGEMENTTOOL` | `True` | |
547
547
  | `LANGFUSE_KGTOOL` | `True` | |
548
548
 
549
- #### Inherited agent-connector-sdk variables (apply to every connector)
549
+ #### Inherited scion-sdk variables (apply to every connector)
550
550
 
551
551
  | Variable | Example | Description |
552
552
  |----------|---------|-------------|
@@ -566,7 +566,7 @@ configured secret provider.
566
566
  | `MODEL_ID` | `gpt-4o` | Model id for the agent |
567
567
  | `ENABLE_WEB_UI` | `True` | Serve the AG-UI web interface |
568
568
 
569
- _33 package + 15 inherited variable(s). Auto-generated from `.env.example` + the shared agent-connector-sdk set — do not edit._
569
+ _33 package + 15 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
570
570
  <!-- ENV-VARS-TABLE:END -->
571
571
 
572
572
  <!-- GOVERNED-CAPABILITY:START -->
@@ -93,7 +93,7 @@ def __dir__() -> list[str]:
93
93
  return sorted(list(globals().keys()) + __all__)
94
94
 
95
95
 
96
- from agent_connector_sdk.connector import Connector
96
+ from scion_sdk.connector import Connector
97
97
 
98
98
  from langfuse_agent.api_client import LangfuseApi
99
99
  from langfuse_agent.auth import get_client
@@ -1,4 +1,4 @@
1
- from agent_connector_sdk import run
1
+ from scion_sdk import run
2
2
 
3
3
  if __name__ == "__main__":
4
4
  run()
@@ -5,8 +5,8 @@ from collections.abc import Mapping
5
5
  from typing import Any
6
6
 
7
7
  import requests
8
- from agent_connector_sdk.config import setting
9
- from agent_connector_sdk.exceptions import ApiError, AuthError
8
+ from scion_sdk.config import setting
9
+ from scion_sdk.exceptions import ApiError, AuthError
10
10
 
11
11
  logger = logging.getLogger(__name__)
12
12
 
@@ -7,7 +7,7 @@ import logging
7
7
  import threading
8
8
  from typing import Any
9
9
 
10
- from agent_connector_sdk.config import setting
10
+ from scion_sdk.config import setting
11
11
 
12
12
  from .api_client import LangfuseApi
13
13
 
@@ -30,7 +30,7 @@ def resolve_langfuse_host() -> str:
30
30
 
31
31
  def resolve_langfuse_requests_transport() -> dict[str, Any]:
32
32
  """Resolve the fail-closed Requests transport (TLS verify/cert) for Langfuse."""
33
- from agent_connector_sdk.tls.resolve import resolve_tls_profile
33
+ from scion_sdk.tls.resolve import resolve_tls_profile
34
34
 
35
35
  profile = resolve_tls_profile("langfuse")
36
36
  return profile.requests_kwargs()
@@ -40,10 +40,10 @@ def is_delegation_enabled() -> bool:
40
40
  """Whether the OIDC delegation path is configured.
41
41
 
42
42
  Follows the proven pattern from onetrust-api's ``auth.py`` (PR #5):
43
- ``agent_connector_sdk.auth.delegation`` now has an end-to-end proof, so
43
+ ``scion_sdk.auth.delegation`` now has an end-to-end proof, so
44
44
  this no longer needs to stay on the SDK delegation module.
45
45
  """
46
- from agent_connector_sdk.auth.delegation import DelegationSettings
46
+ from scion_sdk.auth.delegation import DelegationSettings
47
47
 
48
48
  return DelegationSettings.from_settings().enabled
49
49
 
@@ -8,7 +8,7 @@ from __future__ import annotations
8
8
 
9
9
  from typing import Any
10
10
 
11
- from agent_connector_sdk.ingest.live_declaration import source_meta
11
+ from scion_sdk.ingest.live_declaration import source_meta
12
12
 
13
13
  SOURCES: tuple[Any, ...] = (
14
14
  source_meta(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 1,
3
3
  "licenses": {
4
- "agent-connector-sdk": "MIT",
4
+ "scion-sdk": "MIT",
5
5
  "langfuse": "MIT",
6
6
  "langfuse-agent": "MIT",
7
7
  "mkdocs": "BSD-2-Clause",
@@ -3,7 +3,7 @@
3
3
  CONCEPT:AU-KG.ingest.enterprise-source-extractor. The langfuse-agent connector natively
4
4
  pushes its observability data into the ONE epistemic-graph knowledge graph as **typed OWL
5
5
  nodes** (``:Trace``, ``:Observation``, ``:Generation``, ``:Session``, ``:Score``,
6
- ``:Dataset``, ``:Prompt``, ``:Model``) plus links through ``agent_connector_sdk.ingest`` --
6
+ ``:Dataset``, ``:Prompt``, ``:Model``) plus links through ``scion_sdk.ingest`` --
7
7
  the generated ``SourceIngest`` client, not a local ingestion helper. Node ids follow
8
8
  ``langfuse:<class>:<externalId>``; ``node_type`` on each entity
9
9
  matches a class federated by ``langfuse_agent.ontology``.
@@ -18,20 +18,20 @@ import re
18
18
  from datetime import date, datetime
19
19
  from typing import Any
20
20
 
21
- from agent_connector_sdk.config import setting
21
+ from scion_sdk.config import setting
22
22
 
23
- # SDK gap: agent_connector_sdk has no equivalent of agent_connector_sdk.protocols
23
+ # SDK gap: scion_sdk has no equivalent of scion_sdk.protocols
24
24
  # .source_connectors.base.ExternalAccess (a per-record ACL stamped onto every
25
25
  # ingested node's payload). The SDK's manifest-level PermissionsSpec.read_roles
26
- # (agent_connector_sdk/manifest/model.py) is a *static, connector-wide*
26
+ # (scion_sdk/manifest/model.py) is a *static, connector-wide*
27
27
  # declaration, not a *per-record* runtime ACL the write path can stamp -- a
28
28
  # materially different mechanism, not a drop-in replacement. Kept on
29
- # agent_connector_sdk pending an SDK-side per-record ACL primitive.
30
- from agent_connector_sdk.contracts import ExternalAccess
31
- from agent_connector_sdk.credentials.references import SecretReferenceError
32
- from agent_connector_sdk.credentials.resolution import resolve_secret_reference
33
- from agent_connector_sdk.credentials.resolver import CredentialUnavailableError
34
- from agent_connector_sdk.ingest import (
29
+ # scion_sdk pending an SDK-side per-record ACL primitive.
30
+ from scion_sdk.contracts import ExternalAccess
31
+ from scion_sdk.credentials.references import SecretReferenceError
32
+ from scion_sdk.credentials.resolution import resolve_secret_reference
33
+ from scion_sdk.credentials.resolver import CredentialUnavailableError
34
+ from scion_sdk.ingest import (
35
35
  ChangeSet,
36
36
  Entity,
37
37
  IngestBinding,
@@ -40,7 +40,7 @@ from agent_connector_sdk.ingest import (
40
40
  Relationship,
41
41
  current_ingest,
42
42
  )
43
- from agent_connector_sdk.privacy import PersistencePrivacyGuard
43
+ from scion_sdk.privacy import PersistencePrivacyGuard
44
44
 
45
45
  _UNSAFE_ID_FIELDS = frozenset(
46
46
  {
@@ -356,7 +356,7 @@ async def ingest_entities(
356
356
  if not prepared:
357
357
  raise IngestError("ingest_entities needs at least one entity")
358
358
  # The SDK's own request builder only requires a node_type be present -- it does
359
- # not reject a lingering retired "type" alias the way agent_connector_sdk' native
359
+ # not reject a lingering retired "type" alias the way scion_sdk' native
360
360
  # ingest did. Keep that fail-closed canonical-key contract here explicitly.
361
361
  for entity in prepared:
362
362
  if "type" in entity or not entity.get("node_type"):
@@ -2,6 +2,6 @@
2
2
 
3
3
  Data-only subpackage: it carries ``langfuse.ttl`` (the ``owl:Ontology``
4
4
  ``http://knuckles.team/kg/langfuse`` module) which the Arbora hub federates in via
5
- the ``agent_connector_sdk.ontology_providers`` entry-point. It holds no business logic
5
+ the ``scion_sdk.ontology_providers`` entry-point. It holds no business logic
6
6
  and no heavy imports so the hub can resolve it cheaply.
7
7
  """
@@ -2,7 +2,7 @@
2
2
  "api_version": "graphos.io/v1",
3
3
  "artifacts": {
4
4
  "langfuse_agent/ontology/fixtures/records.json": "45426db59590ddb6e6f72b2296ceefd87236209488199ca4ab36f700f5e08df2",
5
- "langfuse_agent/ontology/langfuse.ttl": "ccf067bee1e910b709617779e3e99313f30e3573b9c2a6f5df5e760565f6727e",
5
+ "langfuse_agent/ontology/langfuse.ttl": "741e6fd3c96003f16f898cbfce1a5b6fc3643da931f22e9eadc7183378071bda",
6
6
  "langfuse_agent/ontology/mappings/source.yaml": "d9345cdf9d901dc3163519aff275d8fcb04168bd860b118f98ccdfc30d4877b6",
7
7
  "langfuse_agent/ontology/migrations/manifest.json": "abb14bd6b4428d8365cc71c06dd61cb9ece43f0153d2a59b9b2285328bcf66b5",
8
8
  "langfuse_agent/ontology/shapes/connector.shacl.ttl": "ca61d94426ce3e3e7d773f1dcb7f3086b0f9e5694f444721df1798e147a9ba01"
@@ -29,5 +29,5 @@
29
29
  "signer": "UNSIGNED-PREVIEW",
30
30
  "signing_public_key": "",
31
31
  "status": "source-validated",
32
- "validated_at": "2026-10-24T13:49:07Z"
32
+ "validated_at": "2026-10-30T23:04:49Z"
33
33
  }
@@ -182,5 +182,5 @@
182
182
  rdfs:comment """Langfuse LLM-observability model — traces, observations, generations,
183
183
  sessions, scores and score configs, datasets and dataset runs, prompts and models,
184
184
  with their tree, attribution, evaluation and cost relationships — federated into the
185
- agent-connector-sdk knowledge-graph hub. Reuses the shared :Person class for the end-user
185
+ scion-sdk knowledge-graph hub. Reuses the shared :Person class for the end-user
186
186
  a trace is attributed to.""" .
@@ -1,6 +1,6 @@
1
1
  """Privacy-safe runtime posture shared by Langfuse tool surfaces."""
2
2
 
3
- from agent_connector_sdk.config import setting
3
+ from scion_sdk.config import setting
4
4
 
5
5
 
6
6
  def observability_runtime_posture() -> dict[str, bool]:
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: langfuse-agent-development
3
+ skill_type: skill
4
+ domain: development
5
+ description: >-
6
+ Develop, test, gate, and release the langfuse-agent connector. Use this skill
7
+ when changing Langfuse API mappings, governed MCP tools, authentication,
8
+ knowledge-graph ingestion, packaged content, or repository gates.
9
+ license: MIT
10
+ tags: [langfuse, observability, development, connector, test, gates]
11
+ tier: repository
12
+ metadata:
13
+ author: Knuckles-Team
14
+ version: '0.1.0'
15
+ ---
16
+
17
+ # langfuse-agent development
18
+
19
+ This repository owns the Langfuse API facade, the governed MCP tool surface,
20
+ authentication boundary, typed graph-ingestion mappings, and packaged connector
21
+ content. Shared connector contracts, transports, TLS profiles, and credential
22
+ helpers belong to `scion-sdk`; admission, serving, and durable graph
23
+ state belong to their owning repositories. Read `AGENTS.md` before changing
24
+ code. Keep credentials, private endpoints, tenant data, and customer records out
25
+ of source, logs, fixtures, and skill content.
26
+
27
+ ## Rapid delivery: the 5-minute contract
28
+
29
+ Specs are already designed. Deliver small, reviewable slices and cite the
30
+ owning spec row in the commit trailer.
31
+
32
+ - Find the owning row first with `git grep -n "<term>" -- specs` and extend the
33
+ existing spec before adding requirement text. Generated `specs/*/status.json`
34
+ files come from the shared hooks; never hand-edit them.
35
+ - Reuse the `Connector` in `langfuse_agent/__init__.py`, the `LangfuseApi`
36
+ facade in `langfuse_agent/api_client.py`, the API modules under
37
+ `langfuse_agent/api/`, and the registered tools in `langfuse_agent/tools/`
38
+ plus `langfuse_agent/mcp_server.py`. Do not create a second API, MCP,
39
+ authentication, or transport plane.
40
+ - Preserve `LANGFUSE_BASE_URL`, `LANGFUSE_HOST`, `LANGFUSE_PUBLIC_KEY`,
41
+ `LANGFUSE_SECRET_KEY`, the `LANGFUSE_*_REF` credential and TLS settings,
42
+ and `LANGFUSE_PERSISTENCE_HMAC_KEY_REF` handling at the existing
43
+ `langfuse_agent/auth.py` and `langfuse_agent/kg_ingest.py` boundaries. Use
44
+ the SDK TLS and credential resolvers; never print credentials or add a
45
+ verification bypass.
46
+ - Keep the `MCP_TOOL_MODE` surface and the existing Langfuse tool toggle
47
+ settings aligned with `langfuse_agent/mcp_server.py` and the generated README
48
+ inventory. Mock provider HTTP responses in tests; never call a live Langfuse
49
+ project or use live credentials in a gate.
50
+ - Preserve typed, privacy-bounded ingestion through
51
+ `scion_sdk.ingest`, source declarations in
52
+ `langfuse_agent/connector_sources.py`, and neutral ontology assets under
53
+ `langfuse_agent/ontology/`. Do not bypass the shared ingestion facade.
54
+ - Keep `skills/**`, `ontology/**`, `connectors/**`, prompts, and
55
+ `mcp_config.json` coherent with the `langfuse_agent` package data and the
56
+ `langfuse-mcp` project script. Every delivered
57
+ requirement needs a bound focused test.
58
+
59
+ ## Setup and gates
60
+
61
+ Use the pinned environment from `uv sync --locked`, then run the shared gates:
62
+
63
+ ```bash
64
+ uv sync --locked
65
+ uvx pre-commit run --all-files
66
+ uvx pre-commit run --all-files --hook-stage pre-push
67
+ ```
68
+
69
+ For focused feedback, run the smallest affected tests with the locked
70
+ environment, for example:
71
+
72
+ ```bash
73
+ uv run --locked --extra test pytest -q tests/test_langfuse_development_skill.py
74
+ uv run --locked --extra test pytest -q tests/test_pages_workflow.py
75
+ ```
76
+
77
+ The canonical `.pre-commit-config.yaml` delegates connector-standard, secrets,
78
+ spec, tests-fast, and dependency-readiness to `Knuckles-Team/pipelines` at
79
+ `rev: main`. Do not copy those hooks locally or bypass a failing check.
80
+
81
+ ## Connector-specific checks
82
+
83
+ - Keep Langfuse API operation names, request models, pagination, and response
84
+ projections stable when changing `langfuse_agent/api/`; add a focused mocked
85
+ request test for a changed provider path.
86
+ - Preserve the validated host, SDK TLS profile, credential-reference, and OIDC
87
+ delegation behavior in `langfuse_agent/auth.py`. Translate provider failures
88
+ through the existing client boundary and keep raw inputs out of persisted
89
+ graph records.
90
+ - Keep observability, dataset, prompt/model, management, and KG tools registered
91
+ through the existing modules under `langfuse_agent/tools/`. Keep source
92
+ metadata tenant-neutral and ingestion best-effort only where the current
93
+ implementation already defines that behavior.
94
+ - Keep `langfuse_agent/skills/`, `langfuse_agent/ontology/`,
95
+ `langfuse_agent/connectors/`, prompts, and `langfuse_agent/mcp_config.json`
96
+ in package data. Documentation is published by the existing Pages workflow
97
+ with its checked-in spec dashboard configuration and
98
+ `pages_pipeline.yml@main` caller.
99
+
100
+ ## Packaging and publication
101
+
102
+ `pyproject.toml` packages `skills/**`, `ontology/**`, `connectors/**`, prompts,
103
+ and `mcp_config.json` and exposes the `langfuse-mcp` project script. When
104
+ packaged content changes, inspect the build output for
105
+ `langfuse_agent/skills/langfuse-agent-development/SKILL.md`; leave the current
106
+ package version and lock entry unchanged unless an existing release contract
107
+ requires a release. Do not commit generated Docker artifacts or claim package,
108
+ container, or Pages publication from a local build; require exact hosted
109
+ evidence for those claims.
110
+
111
+ ## Delivery discipline
112
+
113
+ Work in a real Git worktree based on `origin/main`. Inspect the complete diff,
114
+ stage only reviewed paths, and verify `git status --short` after every gate. Do
115
+ not use `git stash`, `git add -A`, or `git add .`; preserve unrelated working
116
+ tree changes. Keep runtime, ontology, status, and generated artifacts outside a
117
+ bounded documentation or skill slice unless the owning requirement explicitly
118
+ requires them.
@@ -12,7 +12,7 @@ description: >-
12
12
  license: MIT
13
13
  tags: [langfuse, evaluation, datasets, scores, llm, mcp]
14
14
  metadata:
15
- author: Genius
15
+ author: Knuckles-Team
16
16
  version: '0.1.0'
17
17
  ---
18
18
  # Langfuse Eval Datasets
@@ -12,7 +12,7 @@ description: >-
12
12
  license: MIT
13
13
  tags: [langfuse, prompts, models, registry, llm, mcp]
14
14
  metadata:
15
- author: Genius
15
+ author: Knuckles-Team
16
16
  version: '0.1.0'
17
17
  ---
18
18
  # Langfuse Prompt Management
@@ -14,7 +14,7 @@ description: >-
14
14
  license: MIT
15
15
  tags: [langfuse, observability, tracing, llm, metrics, mcp]
16
16
  metadata:
17
- author: Genius
17
+ author: Knuckles-Team
18
18
  version: '0.1.0'
19
19
  ---
20
20
  # Langfuse Trace Analytics
@@ -9,9 +9,9 @@ epistemic-graph knowledge graph as typed OWL nodes (:Trace / :Observation / :Gen
9
9
  from collections.abc import Awaitable, Callable
10
10
  from typing import Any
11
11
 
12
- from agent_connector_sdk.mcp.action_dispatch import parse_json_object
13
12
  from fastmcp import FastMCP
14
13
  from pydantic import Field
14
+ from scion_sdk.mcp.action_dispatch import parse_json_object
15
15
 
16
16
  from langfuse_agent.auth import get_client
17
17
  from langfuse_agent.kg_ingest import (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langfuse-agent
3
- Version: 2.3.5
3
+ Version: 2.3.7
4
4
  Summary: Agent for interacting with Langfuse Observability API
5
5
  Author: Repository Maintainers
6
6
  License-Expression: MIT
@@ -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: agent-connector-sdk[mcp]<0.6.0,>=0.5.4
14
+ Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.3
15
15
  Requires-Dist: langfuse<5,>=4
16
16
  Requires-Dist: requests>=2.34.2
17
17
  Provides-Extra: test
@@ -215,7 +215,7 @@ When query strings or parameters are provided, an LLM-free **Knowledge Graph res
215
215
  <!-- MCP-CONFIG-EXAMPLES:START -->
216
216
 
217
217
  > **Install the connector-focused `[mcp]` extra.** Examples use `langfuse-agent[mcp]` to add
218
- > FastMCP / FastAPI through `agent-connector-sdk[mcp]`; the required Agent Utilities core
218
+ > FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
219
219
  > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
220
220
  > enables model orchestration.
221
221
 
@@ -360,7 +360,7 @@ Detailed graph node architecture explanations, custom skill configurations, and
360
360
 
361
361
  ## Security & Governance
362
362
 
363
- Built directly upon the enterprise-ready [`agent-connector-sdk`](https://github.com/Knuckles-Team/agent-connector-sdk) core, standard security parameters are fully supported:
363
+ Built directly upon the enterprise-ready [`scion-sdk`](https://github.com/Knuckles-Team/scion-sdk) core, standard security parameters are fully supported:
364
364
 
365
365
  ### Access Control & Policy Enforcement
366
366
  - **Eunomia Policies:** Fine-grained, policy-driven tool authorization. Supports `none`, local `embedded` (`mcp_policies.json`), or centralized `remote` modes.
@@ -426,8 +426,8 @@ Pick the extra that matches what the operator want to run:
426
426
 
427
427
  | Extra | Installs | Use when |
428
428
  |-------|----------|----------|
429
- | `langfuse-agent[mcp]` | Connector-focused MCP server (`agent-connector-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
430
- | `langfuse-agent[agent]` | Agent runtime (`agent-connector-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
429
+ | `langfuse-agent[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
430
+ | `langfuse-agent[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
431
431
  | `langfuse-agent[all]` | Everything (`mcp` + `agent` + `logfire`) | Development / both surfaces |
432
432
 
433
433
  ```bash
@@ -508,15 +508,15 @@ Contributions are welcome! Please ensure code quality by running local checks be
508
508
  - Ran test suites using `pytest`
509
509
 
510
510
 
511
- <!-- BEGIN agent-connector-sdk-deployment (generated; do not edit between markers) -->
511
+ <!-- BEGIN scion-sdk-deployment (generated; do not edit between markers) -->
512
512
 
513
- ## Deploy with `agent-connector-sdk-deployment`
513
+ ## Deploy with `scion-sdk-deployment`
514
514
 
515
- Provision this package with the consolidated **`agent-connector-sdk-deployment`**
515
+ Provision this package with the consolidated **`scion-sdk-deployment`**
516
516
  workflow. It selects an installed-package, editable-source, or immutable-container
517
517
  path; records only runtime secret and TLS-profile references in `AgentConfig`; and
518
518
  runs doctor, registration, policy, observability, and rollback gates. Ask your agent
519
- to **"deploy `langfuse-agent` with agent-connector-sdk-deployment"**.
519
+ to **"deploy `langfuse-agent` with scion-sdk-deployment"**.
520
520
 
521
521
  | Install mode | Command |
522
522
  |------|---------|
@@ -528,7 +528,7 @@ The repository embeds no deployment profile, credential value, certificate path,
528
528
  environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
529
529
  configured secret provider.
530
530
 
531
- <!-- END agent-connector-sdk-deployment -->
531
+ <!-- END scion-sdk-deployment -->
532
532
 
533
533
  ## Environment Variables
534
534
 
@@ -572,7 +572,7 @@ configured secret provider.
572
572
  | `LANGFUSE_MANAGEMENTTOOL` | `True` | |
573
573
  | `LANGFUSE_KGTOOL` | `True` | |
574
574
 
575
- #### Inherited agent-connector-sdk variables (apply to every connector)
575
+ #### Inherited scion-sdk variables (apply to every connector)
576
576
 
577
577
  | Variable | Example | Description |
578
578
  |----------|---------|-------------|
@@ -592,7 +592,7 @@ configured secret provider.
592
592
  | `MODEL_ID` | `gpt-4o` | Model id for the agent |
593
593
  | `ENABLE_WEB_UI` | `True` | Serve the AG-UI web interface |
594
594
 
595
- _33 package + 15 inherited variable(s). Auto-generated from `.env.example` + the shared agent-connector-sdk set — do not edit._
595
+ _33 package + 15 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
596
596
  <!-- ENV-VARS-TABLE:END -->
597
597
 
598
598
  <!-- GOVERNED-CAPABILITY:START -->
@@ -39,6 +39,7 @@ langfuse_agent/ontology/mappings/source.yaml
39
39
  langfuse_agent/ontology/migrations/manifest.json
40
40
  langfuse_agent/ontology/shapes/connector.shacl.ttl
41
41
  langfuse_agent/prompts/observability_specialist.json
42
+ langfuse_agent/skills/langfuse-agent-development/SKILL.md
42
43
  langfuse_agent/skills/langfuse-agent-operations/SKILL.md
43
44
  langfuse_agent/skills/langfuse-agent-operations/agents/openai.yaml
44
45
  langfuse_agent/skills/langfuse-agent-operations/references/catalog.md
@@ -63,8 +64,10 @@ tests/test_init_dynamics.py
63
64
  tests/test_kg_ingest.py
64
65
  tests/test_kg_tool.py
65
66
  tests/test_langfuse_api.py
67
+ tests/test_langfuse_development_skill.py
66
68
  tests/test_langfuse_models.py
67
69
  tests/test_mcp_brute_force.py
70
+ tests/test_pages_workflow.py
68
71
  tests/test_placeholder.py
69
72
  tests/test_release_version.py
70
73
  tests/test_tools_dispatch_characterization.py
@@ -0,0 +1,8 @@
1
+ [console_scripts]
2
+ langfuse-mcp = scion_sdk.cli:serve
3
+
4
+ [scion_sdk.connector]
5
+ langfuse-mcp = langfuse_agent:connector
6
+
7
+ [scion_sdk.prompt_providers]
8
+ langfuse-agent = langfuse_agent.prompts
@@ -1,4 +1,4 @@
1
- agent-connector-sdk[mcp]<0.6.0,>=0.5.4
1
+ scion-sdk[mcp]<0.7.0,>=0.6.3
2
2
  langfuse<5,>=4
3
3
  requests>=2.34.2
4
4
 
@@ -5,12 +5,12 @@ backend-path = ["."]
5
5
 
6
6
  [project]
7
7
  name = "langfuse-agent"
8
- version = "2.3.5"
8
+ version = "2.3.7"
9
9
  description = "Agent for interacting with Langfuse Observability API"
10
10
  readme = "README.md"
11
11
  classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
12
12
  requires-python = ">=3.12"
13
- dependencies = [ "agent-connector-sdk[mcp]>=0.5.4,<0.6.0", "langfuse>=4,<5", "requests>=2.34.2",]
13
+ dependencies = [ "scion-sdk[mcp]>=0.6.3,<0.7.0", "langfuse>=4,<5", "requests>=2.34.2",]
14
14
  license = "MIT"
15
15
  [[project.authors]]
16
16
  name = "Repository Maintainers"
@@ -24,13 +24,13 @@ docs = [
24
24
  ]
25
25
 
26
26
  [project.scripts]
27
- langfuse-mcp = "agent_connector_sdk.cli:serve"
27
+ langfuse-mcp = "scion_sdk.cli:serve"
28
28
 
29
- [project.entry-points."agent_connector_sdk.prompt_providers"]
29
+ [project.entry-points."scion_sdk.prompt_providers"]
30
30
  langfuse-agent = "langfuse_agent.prompts"
31
31
 
32
- # The one declared connector identity: the fleet name (SDK-CONNECTOR-CONTROL-R071).
33
- [project.entry-points."agent_connector_sdk.connector"]
32
+ # The one declared connector identity: the fleet name (SCION-CONNECTOR-CONTROL-R071).
33
+ [project.entry-points."scion_sdk.connector"]
34
34
  langfuse-mcp = "langfuse_agent:connector"
35
35
 
36
36
  [tool.uv.workspace]
@@ -0,0 +1,3 @@
1
+ scion-sdk[mcp]>=0.6.3,<0.7.0
2
+ langfuse>=4,<5
3
+ requests>=2.34.2
@@ -10,7 +10,7 @@ import asyncio
10
10
  import inspect
11
11
 
12
12
  import pytest
13
- from agent_connector_sdk.connector import build_server
13
+ from scion_sdk.connector import build_server
14
14
  from fastmcp import Client
15
15
 
16
16
  from langfuse_agent.api_client import LangfuseApi
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from agent_connector_sdk.connector_identity import connector_name
5
+ from scion_sdk.connector_identity import connector_name
6
6
  import ast
7
7
  import tomllib
8
8
  from pathlib import Path
@@ -34,7 +34,7 @@ def _call_connectors(path: Path) -> list[str]:
34
34
  @pytest.mark.spec("CONN-LANGFUSE-AGENT-TRACE-INGEST-R005")
35
35
  def test_connector_name_is_the_fleet_name() -> None:
36
36
  pyproject = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))
37
- assert pyproject["project"]["entry-points"]["agent_connector_sdk.connector"] == {
37
+ assert pyproject["project"]["entry-points"]["scion_sdk.connector"] == {
38
38
  FLEET: "langfuse_agent:connector"
39
39
  }
40
40
  assert connector_name("langfuse_agent") == FLEET
@@ -2,8 +2,8 @@
2
2
 
3
3
  Exercises the real ``ingest_entities`` + record mappers (``ingest_traces`` /
4
4
  ``ingest_observations`` / ``ingest_sessions`` / ``ingest_scores``) against a fake
5
- ``agent_connector_sdk.ingest`` transport (no engine required). The real SDK request
6
- builder (``agent_connector_sdk.ingest.request.build_request``) still runs, so a
5
+ ``scion_sdk.ingest`` transport (no engine required). The real SDK request
6
+ builder (``scion_sdk.ingest.request.build_request``) still runs, so a
7
7
  malformed change set is still caught by the SDK's own contract, not re-derived here;
8
8
  only the final network commit is faked. Privacy-critical: asserts that every raw
9
9
  Langfuse id, free-text label, host/path, and other PII the connector's own
@@ -17,7 +17,7 @@ from types import SimpleNamespace
17
17
  from typing import Any
18
18
 
19
19
  import pytest
20
- from agent_connector_sdk.ingest import IngestError, KnowledgeIngest
20
+ from scion_sdk.ingest import IngestError, KnowledgeIngest
21
21
  from epistemic_graph.generated.source_ingestion import SourceIngestionRequest
22
22
 
23
23
  import langfuse_agent.kg_ingest as kg_ingest
@@ -54,7 +54,9 @@ class _FakeTransport:
54
54
  self.requests: list[SourceIngestionRequest] = []
55
55
 
56
56
  async def source_status(self, _connector: str, _stream: str) -> Any:
57
- return SimpleNamespace(accepted_checkpoint=None)
57
+ return SimpleNamespace(
58
+ connector=_connector, stream=_stream, accepted_checkpoint=None
59
+ )
58
60
 
59
61
  async def submit(self, request: SourceIngestionRequest) -> Any:
60
62
  self.requests.append(request)
@@ -1,7 +1,7 @@
1
1
  """Tests for langfuse_api.py - Langfuse API client."""
2
2
 
3
3
  import pytest
4
- from agent_connector_sdk.exceptions import ApiError, AuthError
4
+ from scion_sdk.exceptions import ApiError, AuthError
5
5
 
6
6
  from langfuse_agent.api_client import LangfuseApi
7
7
 
@@ -0,0 +1,54 @@
1
+ """PIPE-CONNSPEC-R134.4: the Langfuse development skill is packaged."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import re
6
+ import tomllib
7
+ from pathlib import Path
8
+
9
+ import pytest
10
+
11
+ ROOT = Path(__file__).resolve().parents[1]
12
+ SKILL = ROOT / "langfuse_agent" / "skills" / "langfuse-agent-development" / "SKILL.md"
13
+
14
+ pytestmark = pytest.mark.spec("PIPE-CONNSPEC-R134.4")
15
+
16
+
17
+ def test_development_skill_has_rapid_contract_and_package_binding() -> None:
18
+ text = SKILL.read_text(encoding="utf-8")
19
+ frontmatter = text.split("---", 2)[1]
20
+ project = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))
21
+
22
+ assert SKILL.is_file()
23
+ assert re.search(r"^name:\s*langfuse-agent-development\s*$", frontmatter, re.M)
24
+ assert re.search(r"^skill_type:\s*skill\s*$", frontmatter, re.M)
25
+ assert "## Rapid delivery: the 5-minute contract" in text
26
+ for term in (
27
+ "langfuse_agent/__init__.py",
28
+ "langfuse_agent/api_client.py",
29
+ "langfuse_agent/api/",
30
+ "langfuse_agent/auth.py",
31
+ "langfuse_agent/tools/",
32
+ "langfuse_agent/mcp_server.py",
33
+ "langfuse_agent/kg_ingest.py",
34
+ "langfuse_agent/connector_sources.py",
35
+ "langfuse_agent/ontology/",
36
+ "LANGFUSE_BASE_URL",
37
+ "LANGFUSE_HOST",
38
+ "LANGFUSE_PUBLIC_KEY",
39
+ "LANGFUSE_SECRET_KEY",
40
+ "LANGFUSE_PERSISTENCE_HMAC_KEY_REF",
41
+ "MCP_TOOL_MODE",
42
+ "skills/**",
43
+ "pages_pipeline.yml@main",
44
+ "uv run --locked --extra test pytest",
45
+ ):
46
+ assert term in text
47
+
48
+ assert "verify=False" not in text
49
+ assert "--no-verify" not in text
50
+ package_data = project["tool"]["setuptools"]["package-data"]["langfuse_agent"]
51
+ assert "skills/**" in package_data
52
+ assert project["project"]["scripts"] == {
53
+ "langfuse-mcp": "scion_sdk.cli:serve",
54
+ }
@@ -0,0 +1,26 @@
1
+ """PIPE-CONNSPEC-R134.3: Langfuse Pages calls the shared dashboard workflow."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import json
6
+ from pathlib import Path
7
+
8
+ import pytest
9
+
10
+ ROOT = Path(__file__).resolve().parents[1]
11
+ DASHBOARD = ROOT / ".github" / "spec-dashboard.json"
12
+
13
+ pytestmark = pytest.mark.spec("PIPE-CONNSPEC-R134.3")
14
+
15
+
16
+ def test_pages_dashboard_declares_generated_spec_status_source() -> None:
17
+ dashboard = json.loads(DASHBOARD.read_text(encoding="utf-8"))
18
+
19
+ assert dashboard == {
20
+ "version": 1,
21
+ "sources": [{"glob": "specs/*/status.json", "kind": "spec"}],
22
+ }
23
+
24
+
25
+ def test_legacy_mkdocs_publisher_is_absent() -> None:
26
+ assert not (ROOT / ".github/workflows/docs.yml").exists()
@@ -1,8 +0,0 @@
1
- [agent_connector_sdk.connector]
2
- langfuse-mcp = langfuse_agent:connector
3
-
4
- [agent_connector_sdk.prompt_providers]
5
- langfuse-agent = langfuse_agent.prompts
6
-
7
- [console_scripts]
8
- langfuse-mcp = agent_connector_sdk.cli:serve
@@ -1,3 +0,0 @@
1
- agent-connector-sdk[mcp]>=0.4.1,<1.0.0
2
- langfuse>=4,<5
3
- requests>=2.34.2
File without changes
File without changes