amund 0.9.1__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.
- amund-0.9.1/.gitignore +118 -0
- amund-0.9.1/CHANGELOG.md +716 -0
- amund-0.9.1/LICENSE +21 -0
- amund-0.9.1/PKG-INFO +535 -0
- amund-0.9.1/README.md +474 -0
- amund-0.9.1/benchmarks/infra_capture_overhead.py +345 -0
- amund-0.9.1/dogfood-published/README.md +38 -0
- amund-0.9.1/dogfood-published/run.py +147 -0
- amund-0.9.1/package.json +12 -0
- amund-0.9.1/poetry.lock +2909 -0
- amund-0.9.1/pyproject.toml +115 -0
- amund-0.9.1/src/amund/__init__.py +845 -0
- amund-0.9.1/src/amund/_internal/__init__.py +0 -0
- amund-0.9.1/src/amund/_internal/active_framework.py +95 -0
- amund-0.9.1/src/amund/_internal/agent_name.py +131 -0
- amund-0.9.1/src/amund/_internal/attribution.py +190 -0
- amund-0.9.1/src/amund/_internal/auto_detect.py +346 -0
- amund-0.9.1/src/amund/_internal/diagnostics.py +847 -0
- amund-0.9.1/src/amund/_internal/env.py +345 -0
- amund-0.9.1/src/amund/_internal/errors.py +67 -0
- amund-0.9.1/src/amund/_internal/harness.py +293 -0
- amund-0.9.1/src/amund/_internal/json_default.py +94 -0
- amund-0.9.1/src/amund/_internal/redaction.py +429 -0
- amund-0.9.1/src/amund/_internal/span_ids.py +22 -0
- amund-0.9.1/src/amund/_version.py +20 -0
- amund-0.9.1/src/amund/adapters/__init__.py +30 -0
- amund-0.9.1/src/amund/adapters/_retrieval.py +90 -0
- amund-0.9.1/src/amund/adapters/anthropic.py +1919 -0
- amund-0.9.1/src/amund/adapters/base.py +142 -0
- amund-0.9.1/src/amund/adapters/claude_agent_sdk.py +1127 -0
- amund-0.9.1/src/amund/adapters/google_genai.py +767 -0
- amund-0.9.1/src/amund/adapters/langchain.py +1144 -0
- amund-0.9.1/src/amund/adapters/langgraph.py +1876 -0
- amund-0.9.1/src/amund/adapters/openai.py +1720 -0
- amund-0.9.1/src/amund/adapters/openai_agents.py +1237 -0
- amund-0.9.1/src/amund/adapters/strands.py +343 -0
- amund-0.9.1/src/amund/client.py +395 -0
- amund-0.9.1/src/amund/context/__init__.py +1 -0
- amund-0.9.1/src/amund/context/decomposer.py +345 -0
- amund-0.9.1/src/amund/data/__init__.py +1 -0
- amund-0.9.1/src/amund/data/compat.py +50 -0
- amund-0.9.1/src/amund/data/compat_manifest.json +145 -0
- amund-0.9.1/src/amund/data/pricing.json +374 -0
- amund-0.9.1/src/amund/infra_capture.py +876 -0
- amund-0.9.1/src/amund/instrumentation/__init__.py +0 -0
- amund-0.9.1/src/amund/instrumentation/http_classifier.py +53 -0
- amund-0.9.1/src/amund/instrumentation/imports.py +168 -0
- amund-0.9.1/src/amund/logging.py +308 -0
- amund-0.9.1/src/amund/otel_provider.py +1140 -0
- amund-0.9.1/src/amund/pricing.py +173 -0
- amund-0.9.1/src/amund/prompts.py +229 -0
- amund-0.9.1/src/amund/propagation.py +203 -0
- amund-0.9.1/src/amund/py.typed +0 -0
- amund-0.9.1/src/amund/queue.py +65 -0
- amund-0.9.1/src/amund/queue_capture.py +447 -0
- amund-0.9.1/src/amund/record.py +42 -0
- amund-0.9.1/src/amund/spans.py +109 -0
- amund-0.9.1/src/amund/tracing.py +1567 -0
- amund-0.9.1/src/amund/transport.py +536 -0
- amund-0.9.1/tests/__init__.py +0 -0
- amund-0.9.1/tests/_otlp_stub.py +65 -0
- amund-0.9.1/tests/conftest.py +115 -0
- amund-0.9.1/tests/contract/README.md +54 -0
- amund-0.9.1/tests/contract/test_adapter_contracts.py +216 -0
- amund-0.9.1/tests/fixtures/harness2/README.md +3 -0
- amund-0.9.1/tests/fixtures/harness2/harness-telemetry-v1.schema.json +122 -0
- amund-0.9.1/tests/fixtures/parity_corpus.json +255 -0
- amund-0.9.1/tests/integration/__init__.py +0 -0
- amund-0.9.1/tests/integration/test_anthropic_live.py +235 -0
- amund-0.9.1/tests/test_adapter_thread_id.py +134 -0
- amund-0.9.1/tests/test_adapters.py +92 -0
- amund-0.9.1/tests/test_age267_roundtrip.py +105 -0
- amund-0.9.1/tests/test_agent_identity_v2.py +453 -0
- amund-0.9.1/tests/test_agent_name_resolution.py +180 -0
- amund-0.9.1/tests/test_amund_attr_namespace.py +179 -0
- amund-0.9.1/tests/test_anthropic_context_segments.py +363 -0
- amund-0.9.1/tests/test_anthropic_streaming.py +438 -0
- amund-0.9.1/tests/test_anthropic_summarize.py +338 -0
- amund-0.9.1/tests/test_anthropic_wrap.py +456 -0
- amund-0.9.1/tests/test_attribution_capture.py +634 -0
- amund-0.9.1/tests/test_auto_detect.py +176 -0
- amund-0.9.1/tests/test_auto_detect_import_hook.py +175 -0
- amund-0.9.1/tests/test_claude_agent_sdk_adapter.py +1102 -0
- amund-0.9.1/tests/test_claude_agent_sdk_mhq1416.py +295 -0
- amund-0.9.1/tests/test_claude_agent_sdk_module_query.py +193 -0
- amund-0.9.1/tests/test_closed_trace_readers.py +211 -0
- amund-0.9.1/tests/test_coercion_never_escapes.py +109 -0
- amund-0.9.1/tests/test_compat_manifest.py +63 -0
- amund-0.9.1/tests/test_compat_morse_ai.py +289 -0
- amund-0.9.1/tests/test_context_decomposer.py +340 -0
- amund-0.9.1/tests/test_diagnostics.py +372 -0
- amund-0.9.1/tests/test_diagnostics_process_exit.py +319 -0
- amund-0.9.1/tests/test_diagnostics_shutdown_drain.py +186 -0
- amund-0.9.1/tests/test_env_amund_prefix.py +190 -0
- amund-0.9.1/tests/test_exception_type.py +60 -0
- amund-0.9.1/tests/test_get_prompt.py +356 -0
- amund-0.9.1/tests/test_get_prompt_link.py +205 -0
- amund-0.9.1/tests/test_google_genai_adapter.py +434 -0
- amund-0.9.1/tests/test_harness_telemetry.py +670 -0
- amund-0.9.1/tests/test_http_classifier.py +66 -0
- amund-0.9.1/tests/test_import_scanner.py +131 -0
- amund-0.9.1/tests/test_infra_capture.py +141 -0
- amund-0.9.1/tests/test_infra_capture_default_on.py +202 -0
- amund-0.9.1/tests/test_infra_capture_http.py +343 -0
- amund-0.9.1/tests/test_infra_capture_psycopg.py +82 -0
- amund-0.9.1/tests/test_infra_capture_streaming.py +107 -0
- amund-0.9.1/tests/test_infra_pii_audit.py +218 -0
- amund-0.9.1/tests/test_integration.py +69 -0
- amund-0.9.1/tests/test_langchain_adapter.py +642 -0
- amund-0.9.1/tests/test_langchain_state_capture.py +372 -0
- amund-0.9.1/tests/test_langgraph_async_dedup_controlflow.py +337 -0
- amund-0.9.1/tests/test_langgraph_context_segments.py +477 -0
- amund-0.9.1/tests/test_langgraph_memory_ops.py +880 -0
- amund-0.9.1/tests/test_langgraph_trace_context_bridges.py +571 -0
- amund-0.9.1/tests/test_launch_repro_anthropic.py +188 -0
- amund-0.9.1/tests/test_launch_repro_langchain.py +126 -0
- amund-0.9.1/tests/test_launch_repro_langgraph.py +245 -0
- amund-0.9.1/tests/test_launch_repro_openai.py +495 -0
- amund-0.9.1/tests/test_launch_repro_openai_agents.py +264 -0
- amund-0.9.1/tests/test_logging_handler.py +375 -0
- amund-0.9.1/tests/test_manual_tool_span_dedupe.py +148 -0
- amund-0.9.1/tests/test_openai_agents_adapter.py +651 -0
- amund-0.9.1/tests/test_openai_agents_closed_trace.py +111 -0
- amund-0.9.1/tests/test_openai_agents_failures.py +259 -0
- amund-0.9.1/tests/test_openai_agents_nested_run.py +163 -0
- amund-0.9.1/tests/test_openai_azure.py +447 -0
- amund-0.9.1/tests/test_openai_compat_providers.py +150 -0
- amund-0.9.1/tests/test_openai_context_segments.py +478 -0
- amund-0.9.1/tests/test_openai_responses.py +249 -0
- amund-0.9.1/tests/test_openai_summarize.py +251 -0
- amund-0.9.1/tests/test_otel_429_retry.py +347 -0
- amund-0.9.1/tests/test_otel_export_drops.py +126 -0
- amund-0.9.1/tests/test_otel_provider.py +493 -0
- amund-0.9.1/tests/test_otel_status_capture_mhq1922.py +209 -0
- amund-0.9.1/tests/test_performance.py +55 -0
- amund-0.9.1/tests/test_pricing.py +143 -0
- amund-0.9.1/tests/test_propagation.py +371 -0
- amund-0.9.1/tests/test_provider_reported_cost.py +266 -0
- amund-0.9.1/tests/test_queue.py +47 -0
- amund-0.9.1/tests/test_queue_capture.py +325 -0
- amund-0.9.1/tests/test_record.py +50 -0
- amund-0.9.1/tests/test_redaction.py +645 -0
- amund-0.9.1/tests/test_resilience.py +362 -0
- amund-0.9.1/tests/test_retriever_adapter.py +127 -0
- amund-0.9.1/tests/test_retriever_documents.py +80 -0
- amund-0.9.1/tests/test_sdk_error_reporting.py +437 -0
- amund-0.9.1/tests/test_set_context.py +83 -0
- amund-0.9.1/tests/test_setup_checklist_sdk.py +249 -0
- amund-0.9.1/tests/test_span_outside_trace_warning.py +80 -0
- amund-0.9.1/tests/test_strands_adapter.py +287 -0
- amund-0.9.1/tests/test_traceparent_propagation.py +401 -0
- amund-0.9.1/tests/test_tracing.py +568 -0
- amund-0.9.1/tests/test_track_payload.py +75 -0
- amund-0.9.1/tests/test_transport.py +101 -0
- amund-0.9.1/tests/test_transport_retry.py +485 -0
- amund-0.9.1/tests/test_unsent_runs_no_key.py +87 -0
- amund-0.9.1/tests/test_v2_api.py +174 -0
- amund-0.9.1/tests/test_v2_env_init.py +269 -0
- amund-0.9.1/tests/test_v2_framework_attr.py +283 -0
- amund-0.9.1/tests/test_v2_source_attr.py +201 -0
- amund-0.9.1/tests/test_v2_tracing_auto_init.py +63 -0
- amund-0.9.1/tests/test_wire_contract_after_rename.py +57 -0
- amund-0.9.1/uv.lock +2634 -0
amund-0.9.1/.gitignore
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# OS
|
|
2
|
+
.DS_Store
|
|
3
|
+
Thumbs.db
|
|
4
|
+
*.sw?
|
|
5
|
+
|
|
6
|
+
# Node / JS / TS
|
|
7
|
+
node_modules/
|
|
8
|
+
.pnpm-store/
|
|
9
|
+
.npm-cache/
|
|
10
|
+
dist/
|
|
11
|
+
build/
|
|
12
|
+
coverage/
|
|
13
|
+
.nyc_output/
|
|
14
|
+
.turbo/
|
|
15
|
+
.next/
|
|
16
|
+
out/
|
|
17
|
+
*.tsbuildinfo
|
|
18
|
+
pnpm-debug.log*
|
|
19
|
+
npm-debug.log*
|
|
20
|
+
yarn-debug.log*
|
|
21
|
+
yarn-error.log*
|
|
22
|
+
|
|
23
|
+
# Vite/Vitest
|
|
24
|
+
.vite/
|
|
25
|
+
vitest.config.ts.timestamp-*
|
|
26
|
+
|
|
27
|
+
# Expo / React Native
|
|
28
|
+
.expo/
|
|
29
|
+
.expo-shared/
|
|
30
|
+
ios/
|
|
31
|
+
android/
|
|
32
|
+
|
|
33
|
+
# Python
|
|
34
|
+
__pycache__/
|
|
35
|
+
*.py[cod]
|
|
36
|
+
*.pyo
|
|
37
|
+
*.pyd
|
|
38
|
+
*.so
|
|
39
|
+
*.egg-info/
|
|
40
|
+
.venv/
|
|
41
|
+
venv/
|
|
42
|
+
env/
|
|
43
|
+
.mypy_cache/
|
|
44
|
+
.pytest_cache/
|
|
45
|
+
.ruff_cache/
|
|
46
|
+
.coverage
|
|
47
|
+
htmlcov/
|
|
48
|
+
*.sqlite3
|
|
49
|
+
coverage.xml
|
|
50
|
+
.hypothesis/
|
|
51
|
+
|
|
52
|
+
# Django collected static files (built artifact — produced by collectstatic
|
|
53
|
+
# at Docker build time and at runtime; never checked in).
|
|
54
|
+
apps/api/staticfiles/
|
|
55
|
+
|
|
56
|
+
# User-uploaded media (feedback attachments, local FileSystemStorage default).
|
|
57
|
+
apps/api/media/
|
|
58
|
+
media/
|
|
59
|
+
|
|
60
|
+
# Env files
|
|
61
|
+
.env
|
|
62
|
+
.env.local
|
|
63
|
+
.env.*.local
|
|
64
|
+
.env.*
|
|
65
|
+
!.env.example
|
|
66
|
+
!.env.*.example
|
|
67
|
+
|
|
68
|
+
# GSD / planning backups
|
|
69
|
+
.planning/STATE.md.bak-*
|
|
70
|
+
|
|
71
|
+
# Test artifacts
|
|
72
|
+
test-results/
|
|
73
|
+
|
|
74
|
+
# Screen recordings (marketing video build artifacts — scripts/record-video.sh)
|
|
75
|
+
apps/web/recordings/
|
|
76
|
+
|
|
77
|
+
# Local agent/tool folders
|
|
78
|
+
.agent/
|
|
79
|
+
.agents/
|
|
80
|
+
.codex/
|
|
81
|
+
.gemini/
|
|
82
|
+
.openpackage/
|
|
83
|
+
.aider*
|
|
84
|
+
.claude/worktrees/
|
|
85
|
+
.claude/settings.local.json
|
|
86
|
+
.serena/
|
|
87
|
+
.remember/
|
|
88
|
+
apps/landing/playwright-report/
|
|
89
|
+
# orchestration env (covered by .env.* above, but kept explicit for clarity)
|
|
90
|
+
.env.orchestration
|
|
91
|
+
.env.orchestration.bak
|
|
92
|
+
|
|
93
|
+
# QA bot run artifacts (machine-generated, high churn, binaries)
|
|
94
|
+
qa/state/
|
|
95
|
+
|
|
96
|
+
# Local scratch worktrees (never tracked — a stray gitlink was committed 2026-07-25)
|
|
97
|
+
.worktrees/
|
|
98
|
+
|
|
99
|
+
# Post-deploy smoke reports (scripts/run-smoke.sh) — run artefacts, not source
|
|
100
|
+
test-results/SMOKE-*.md
|
|
101
|
+
# Saved smoke session (scripts/run-smoke.sh) — a real session token, never commit
|
|
102
|
+
apps/web/tests/smoke/.auth/
|
|
103
|
+
# Playwright E2E fixture sessions (MHQ-998) — live cookies, never committed.
|
|
104
|
+
apps/web/tests/e2e/.auth/
|
|
105
|
+
|
|
106
|
+
# Tinybird CLI workspace credentials (host, token, tokens, user_token).
|
|
107
|
+
# Untracked and unignored until 2026-08-08, when a routine `git add -A` staged
|
|
108
|
+
# it and the secret scan caught it. Never commit — rotate if it ever lands.
|
|
109
|
+
.tinyb
|
|
110
|
+
|
|
111
|
+
# MHQ-1138 load-harness output (scripts/load/run.sh) and seeded throwaway credentials
|
|
112
|
+
load-results/
|
|
113
|
+
|
|
114
|
+
# Local Redis snapshots
|
|
115
|
+
dump.rdb
|
|
116
|
+
|
|
117
|
+
# Design-review capture output (scripts/design-review/capture.mjs)
|
|
118
|
+
.design-review/
|