Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 28 additions & 28 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"python/frameworks/agentscope": "0.1.0",
"python/frameworks/agno": "0.2.3",
"python/frameworks/anthropic": "0.1.14",
"python/frameworks/autogen": "0.2.2",
"python/frameworks/autogen": "0.2.3",
"python/frameworks/bedrock": "0.1.13",
"python/frameworks/beeai": "0.1.0",
"python/frameworks/cerebras": "0.1.2",
Expand All @@ -18,7 +18,7 @@
"python/frameworks/deepseek": "0.1.4",
"python/frameworks/discoveryengine": "0.1.1",
"python/frameworks/dspy": "0.1.11",
"python/frameworks/elevenlabs-agents": "0.1.1",
"python/frameworks/elevenlabs-agents": "0.1.2",
"python/frameworks/exa": "0.1.0",
"python/frameworks/firecrawl": "0.1.1",
"python/frameworks/fireworks": "0.1.4",
Expand All @@ -36,7 +36,7 @@
"python/frameworks/lancedb": "0.1.2",
"python/frameworks/langchain": "0.2.4",
"python/frameworks/litellm": "0.1.12",
"python/frameworks/livekit": "0.2.1",
"python/frameworks/livekit": "0.2.2",
"python/frameworks/llama_index": "0.1.12",
"python/frameworks/mcp": "0.1.4",
"python/frameworks/mcp-use": "0.1.1",
Expand All @@ -52,7 +52,7 @@
"python/frameworks/parallel": "0.1.1",
"python/frameworks/pgvector": "0.1.1",
"python/frameworks/pinecone": "0.1.1",
"python/frameworks/pipecat": "0.1.3",
"python/frameworks/pipecat": "0.1.4",
"python/frameworks/portkey": "0.1.4",
"python/frameworks/pydantic-ai": "0.2.0",
"python/frameworks/qdrant": "0.1.1",
Expand All @@ -61,37 +61,37 @@
"python/frameworks/semantic-kernel": "0.1.2",
"python/frameworks/smolagents": "0.1.8",
"python/frameworks/strands": "0.1.2",
"python/frameworks/tavily": "0.1.1",
"python/frameworks/tavily": "0.1.2",
"python/frameworks/temporal": "0.1.1",
"python/frameworks/together": "0.1.3",
"python/frameworks/typesafe": "0.1.0",
"python/frameworks/vertexai": "0.1.12",
"python/frameworks/vertexai": "0.1.13",
"python/frameworks/vllm": "0.1.2",
"python/frameworks/voyage": "0.1.2",
"python/frameworks/weaviate": "0.1.2",
"python/frameworks/xai": "0.1.3",
"python/traceai": "0.1.0",
"typescript/packages/fi-core": "1.4.2",
"typescript/packages/fi-semantic-conventions": "1.3.0",
"typescript/packages/traceai_anthropic": "0.1.6",
"typescript/packages/fi-semantic-conventions": "1.4.0",
"typescript/packages/traceai_anthropic": "0.1.7",
"typescript/packages/traceai_auto": "0.4.2",
"typescript/packages/traceai_bedrock": "0.2.1",
"typescript/packages/traceai_beeai": "0.1.2",
"typescript/packages/traceai_cerebras": "0.1.2",
"typescript/packages/traceai_chromadb": "0.1.2",
"typescript/packages/traceai_claude_agent_sdk": "0.1.0",
"typescript/packages/traceai_codex_sdk": "0.1.1",
"typescript/packages/traceai_cohere": "0.1.2",
"typescript/packages/traceai_cohere": "0.1.3",
"typescript/packages/traceai_cursor_sdk": "0.1.1",
"typescript/packages/traceai_deepseek": "0.1.2",
"typescript/packages/traceai_fireworks": "0.1.2",
"typescript/packages/traceai_genkit": "0.1.2",
"typescript/packages/traceai_google_adk": "0.1.3",
"typescript/packages/traceai_google_genai": "0.1.1",
"typescript/packages/traceai_google_genai": "0.1.2",
"typescript/packages/traceai_google_genai_sdk": "0.1.0",
"typescript/packages/traceai_groq": "0.1.1",
"typescript/packages/traceai_guardrails": "0.1.2",
"typescript/packages/traceai_huggingface": "0.1.1",
"typescript/packages/traceai_groq": "0.1.2",
"typescript/packages/traceai_guardrails": "0.1.3",
"typescript/packages/traceai_huggingface": "0.1.2",
"typescript/packages/traceai_instructor": "0.1.2",
"typescript/packages/traceai_lancedb": "0.1.2",
"typescript/packages/traceai_langchain": "0.1.8",
Expand All @@ -103,37 +103,37 @@
"typescript/packages/traceai_mistral": "0.1.1",
"typescript/packages/traceai_mongodb": "0.1.2",
"typescript/packages/traceai_ollama": "0.1.2",
"typescript/packages/traceai_openai": "0.1.18",
"typescript/packages/traceai_openai_agents": "0.2.1",
"typescript/packages/traceai_openai": "0.1.19",
"typescript/packages/traceai_openai_agents": "0.2.2",
"typescript/packages/traceai_pgvector": "0.1.1",
"typescript/packages/traceai_pi_coding_agent": "0.2.0",
"typescript/packages/traceai_pinecone": "0.1.1",
"typescript/packages/traceai_pipecat": "0.1.2",
"typescript/packages/traceai_portkey": "0.1.2",
"typescript/packages/traceai_portkey": "0.1.3",
"typescript/packages/traceai_qdrant": "0.1.1",
"typescript/packages/traceai_redis": "0.1.3",
"typescript/packages/traceai_sagemaker": "0.1.0",
"typescript/packages/traceai_strands": "0.1.3",
"typescript/packages/traceai_together": "0.1.1",
"typescript/packages/traceai_together": "0.1.2",
"typescript/packages/traceai_typesafe": "0.1.0",
"typescript/packages/traceai_vercel": "0.1.6",
"typescript/packages/traceai_vertexai": "0.1.1",
"typescript/packages/traceai_vllm": "0.1.3",
"typescript/packages/traceai_voltagent": "0.1.1",
"typescript/packages/traceai_weaviate": "0.1.3",
"typescript/packages/traceai_xai": "0.1.1",
"java": "1.4.1",
"java": "1.5.0",
"go/a2a": "0.1.1",
"go/anthropic": "0.1.0",
"go/auto": "0.2.0",
"go/eino": "0.1.0",
"go/auto": "0.2.1",
"go/eino": "0.1.1",
"go/genai": "0.1.1",
"go/lambda": "0.1.1",
"go/openai": "0.1.0",
"csharp/src/FIInstrumentation": "1.0.1",
"csharp/src/TraceAI.AutoInstrumentation": "1.0.1",
"csharp/src/FIInstrumentation": "1.1.0",
"csharp/src/TraceAI.AutoInstrumentation": "1.1.0",
"python": "1.5.2",
"typescript/packages/traceai_elevenlabs": "0.1.1",
"typescript/packages/traceai_elevenlabs": "0.1.2",
"go/bedrock": "0.1.1",
"typescript/packages/traceai_huggingface_transformers": "0.1.0",
"python/frameworks/transformers": "0.1.0",
Expand All @@ -159,18 +159,18 @@
"typescript/packages/traceai_pi_plugin": "0.1.0",
"typescript/packages/traceai_vscode_extension": "0.1.0",
"typescript/packages/traceai_openrouter": "0.1.1",
"typescript/packages/traceai_vitest_evals": "0.1.1",
"typescript/packages/traceai_vitest_evals": "0.1.2",
"python/frameworks/openrouter": "0.1.0",
"python/frameworks/sagemaker": "0.1.0",
"python/frameworks/elasticsearch": "0.1.0",
"python/frameworks/marqo": "0.1.0",
"python/frameworks/watsonx": "0.1.0",
"python/frameworks/writer": "0.1.0",
"python/frameworks/alephalpha": "0.1.0",
"python/frameworks/writer": "0.1.1",
"python/frameworks/alephalpha": "0.1.1",
"python/frameworks/agentspec": "0.1.0",
"python/frameworks/promptflow": "0.1.0",
"python/frameworks/promptflow": "0.1.1",
"go/langchaingo": "0.1.0",
"ruby": "0.1.0",
"ruby": "0.1.1",
"ruby/roast": "0.1.0",
"typescript/packages/traceai_n8n": "0.1.1"
}
14 changes: 14 additions & 0 deletions csharp/src/FIInstrumentation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
- `TraceAI.Register` also refuses, with `FiKeyRefusedException` (`FI_AMBIENT_KEY_HEADERS`), `OTEL_EXPORTER_OTLP_HEADERS` or `OTEL_EXPORTER_OTLP_TRACES_HEADERS` that carries an `x-api-key` or `x-secret-key` header, or a value that contains one of the Future AGI keys it uses. The text is checked as written and with every percent escape resolved, as the exporter resolves it.
- A request that carries the keys never follows a redirect, and a plaintext one (loopback or opted in) is never sent through a proxy; an https request keeps the normal proxy behaviour. The export client keeps the exporter's timeout (`OTEL_EXPORTER_OTLP_TIMEOUT`, default 10 seconds).

## [1.1.0](https://github.com/future-agi/traceAI/compare/nuget-fi-instrumentation-otel-v1.0.1...nuget-fi-instrumentation-otel-v1.1.0) (2026-11-28)


### Features

* **csharp:** one decision for every key-carrying request: TLS to Future AGI, plaintext opt-in, no proxy for plaintext, no redirects, ambient headers ([b1946b3](https://github.com/future-agi/traceAI/commit/b1946b3b4f89b54af6a7c176db2f1b02a789adea))
* **csharp:** send Future AGI keys only to allowed destinations ([a42d045](https://github.com/future-agi/traceAI/commit/a42d0456321975e3f490058d0313feed595d451b))


### Bug Fixes

* **csharp:** no proxy for any plaintext key send, keep the exporter timeout, narrow the known-secret scope ([9673151](https://github.com/future-agi/traceAI/commit/967315165a26bdfc2046d33f3ffea260b8d96032))
* **csharp:** screen ambient exporter headers on the unescaped text and at Register, refuse hosts whose Host and IdnHost differ, keep registered secrets in the shared state in recency order, exact messages and CHANGELOG ([61e8a7c](https://github.com/future-agi/traceAI/commit/61e8a7cb965061d78b4134e2a98e82aa4f40b39a))

## [1.0.1](https://github.com/future-agi/traceAI/compare/nuget-fi-instrumentation-otel-v1.0.0...nuget-fi-instrumentation-otel-v1.0.1) (2026-11-05)


Expand Down
2 changes: 1 addition & 1 deletion csharp/src/FIInstrumentation/FIInstrumentation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<RootNamespace>FIInstrumentation</RootNamespace>
<AssemblyName>FIInstrumentation</AssemblyName>
<PackageId>fi-instrumentation-otel</PackageId>
<Version>1.0.1</Version>
<Version>1.1.0</Version>
<Authors>Future AGI</Authors>
<Company>Future AGI</Company>
<Description>OpenTelemetry tracing for .NET AI applications: typed spans, context propagation, privacy controls, and OTLP export to Future AGI.</Description>
Expand Down
35 changes: 34 additions & 1 deletion csharp/src/TraceAI.AutoInstrumentation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

## [1.1.0](https://github.com/future-agi/traceAI/compare/nuget-TraceAI.AutoInstrumentation-v1.0.1...nuget-TraceAI.AutoInstrumentation-v1.1.0) (2026-11-28)


### Features

* **csharp-auto:** trace ASP.NET Core chat clients, embeddings and agents with no code changes ([6f3ccbd](https://github.com/future-agi/traceAI/commit/6f3ccbd3ec964e5c5325ee6d4bc637864588a1bf))
* **csharp:** one decision for every key-carrying request: TLS to Future AGI, plaintext opt-in, no proxy for plaintext, no redirects, ambient headers ([b1946b3](https://github.com/future-agi/traceAI/commit/b1946b3b4f89b54af6a7c176db2f1b02a789adea))
* **csharp:** record prompt and response content by default in ASP.NET Core hosts ([99a2714](https://github.com/future-agi/traceAI/commit/99a27142a4f61cf83783808a00236411c70eaa73))
* **csharp:** record prompt and response content by default in ASP.NET Core hosts ([0d82a1e](https://github.com/future-agi/traceAI/commit/0d82a1eb0315b766d1dc8b9f80aa06ee705dedbd))
* **csharp:** replace known secrets on both span copies ([0f87245](https://github.com/future-agi/traceAI/commit/0f872453996f31c6307b3c70a7120c8dc77d5336))
* **csharp:** send Future AGI keys only to allowed destinations ([a42d045](https://github.com/future-agi/traceAI/commit/a42d0456321975e3f490058d0313feed595d451b))


### Bug Fixes

* **csharp-auto:** factory registrations use the same ownership path as type registrations; free an unused wrapper; no generated types without dynamic code ([f5c76ce](https://github.com/future-agi/traceAI/commit/f5c76cee715e464c8619c7f68354f2c279a3a5de))
* **csharp-auto:** hosting startup skips open generics, leaves owned instances alone, keeps content off by default; wire its tests into the solution and CI ([66310aa](https://github.com/future-agi/traceAI/commit/66310aa287d0cc96371730cad81e4cfe81ea326f))
* **csharp-auto:** type registrations are built with ActivatorUtilities, no keyed or extra descriptors; the content variable counts as true only when it says true ([f1943b1](https://github.com/future-agi/traceAI/commit/f1943b10183accb496627d1cd918613e4875a1bc))
* **csharp-auto:** type registrations hand the container an owner that releases the wrapper and the implementation once, async when possible ([09e8154](https://github.com/future-agi/traceAI/commit/09e815444a1f26629a4b502376c7307f34c92c0a))
* **csharp-auto:** type registrations resolve a private keyed implementation with the original lifetime; the standard content variable is not overridden to true ([4576bc6](https://github.com/future-agi/traceAI/commit/4576bc6ff7ca4778023ca0b01b4eec36e42731be))
* **csharp:** a blank FI_* env value never overrides the file; keep TOML literal content switch; warn on unrecognised value; note content only for kept registrations; exact hide wording ([8936fd7](https://github.com/future-agi/traceAI/commit/8936fd708959e1a0cf30f50252dbbb0bcb163b5b))
* **csharp:** a blank FI_BASE_URL stops the agent, a blank FI_CONFIG_FILE reads no file and a blank FI_WIRE_CAPTURE is off; per-key table and exact docs ([6e1d540](https://github.com/future-agi/traceAI/commit/6e1d5405d9fd656388142da6090f6ebb535a92ba))
* **csharp:** FI keys and credential values stay pinned without a bound, the Future AGI copy's operation name is replaced from the unreplaced name, exact README and CHANGELOG ([f2eb482](https://github.com/future-agi/traceAI/commit/f2eb482a8c032e5258714608b29627cefaf15555))
* **csharp:** keep the most recent RegisterSecret values when the registry is full ([700781d](https://github.com/future-agi/traceAI/commit/700781dbd1999ca61339b341ec95ad8b134d40e8))
* **csharp:** keep wire-span values unreplaced for the Future AGI copy, replace overlapping known secrets as one span, take one snapshot per copy ([e060b09](https://github.com/future-agi/traceAI/commit/e060b09714b2f5cc94d0d2f9437fd2250317bdf4))
* **csharp:** no proxy for any plaintext key send, keep the exporter timeout, narrow the known-secret scope ([9673151](https://github.com/future-agi/traceAI/commit/967315165a26bdfc2046d33f3ffea260b8d96032))
* **csharp:** replace every secret the agent knows in request-context values on the spans the application's own providers see ([820c693](https://github.com/future-agi/traceAI/commit/820c693471a3a8a5fb5de5db7298291b8914ae56))
* **csharp:** replace known secrets before value shapes and caps, pin FI keys outside the LRU, keep unreplaced wire values off the Activity ([b81a3bb](https://github.com/future-agi/traceAI/commit/b81a3bb43f794e618efd65b36dc0aa741980ddac))
* **csharp:** screen ambient exporter headers on the unescaped text and at Register, refuse hosts whose Host and IdnHost differ, keep registered secrets in the shared state in recency order, exact messages and CHANGELOG ([61e8a7c](https://github.com/future-agi/traceAI/commit/61e8a7cb965061d78b4134e2a98e82aa4f40b39a))
* **privacy:** credential value shapes scan in linear time in every SDK, tokens replaced whole ([607ee0c](https://github.com/future-agi/traceAI/commit/607ee0c7658118db01601772a9d233bec59bbcbc))
* **privacy:** credential value shapes scan in linear time in every SDK, tokens replaced whole ([5defddd](https://github.com/future-agi/traceAI/commit/5defddd0dd3531d2e76d47c34075c14875ab8c22))

## Changelog

This package is versioned together with FIInstrumentation (`fi-instrumentation-otel`): the
startup hook embeds the SDK sources, so a change to either one releases both at one version.
Release notes are added here by the release process.
Expand All @@ -24,4 +58,3 @@ Release notes are added here by the release process.
- The spans the agent creates for HTTP model calls carry the same known-secret replacement for the application's own providers, listeners and exporters as on the Future AGI copy: secrets in the process-wide registry (registered secrets and credentials discovered in requests) are replaced in request-context values as well as the FI keys, whether or not any `FI_HIDE_*` setting is on. Spans a library creates are not changed by the agent.
- Prompt and response content is recorded by default in ASP.NET Core hosts, like in every other language. Set `FI_AUTO_CAPTURE_CONTENT=false`, or any of `FI_HIDE_INPUTS`, `FI_HIDE_OUTPUTS`, `FI_HIDE_INPUT_MESSAGES`, `FI_HIDE_OUTPUT_MESSAGES`, `FI_HIDE_INPUT_TEXT`, `FI_HIDE_OUTPUT_TEXT` or `FI_HIDE_INPUT_IMAGES` set to `true`, to keep it off; a `TraceConfig` supplied to the agent with any of those hides keeps it off too, and is used instead of the variables. `FI_AUTO_CAPTURE_CONTENT` also accepts `'false'` as a TOML literal string in the config file, and an unrecognised value keeps content off with one warning that names only the setting. The libraries' switch puts content on their spans for every listener in the application, not only this agent; the agent prints one line when it first turns the switch on for a service it keeps (factory and type registrations print it on first resolve).
- A blank (empty or whitespace) `FI_*` environment value counts as not set, so the config file's value or the default applies, except where that would be the less cautious reading: a blank `FI_BASE_URL` stops the agent (one line names `FI_BASE_URL` and says traces are off; the application keeps running untraced), a blank `FI_CONFIG_FILE` reads no config file, and a blank `FI_WIRE_CAPTURE` is off. A blank `FI_SAMPLE_RATE` leaves `OTEL_TRACES_SAMPLER` in charge and a blank `FI_AUTO_DEBUG` lets the file decide. The README lists every key.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Nullable>enable</Nullable>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<PackageId>TraceAI.AutoInstrumentation</PackageId>
<Version>1.0.1</Version>
<Version>1.1.0</Version>
<PackageReadmeFile>README.md</PackageReadmeFile>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<Description>Fail-open startup hook and ActivitySource/HttpClient tracing for traceAI</Description>
Expand All @@ -31,23 +31,23 @@
</PropertyGroup>
<ItemGroup>
<!-- Only this BCL-only type enters the application's default load context. -->
<Compile Include="StartupHook.cs" />
<ProjectReference Include="AgentRuntime/TraceAI.AutoInstrumentation.Runtime.csproj" />
<Compile Include="StartupHook.cs"/>
<ProjectReference Include="AgentRuntime/TraceAI.AutoInstrumentation.Runtime.csproj"/>
<!-- Shipped beside the hook; loaded only by an ASP.NET Core host, by name, when the hook enables it. It is built
first and copied as a file: referencing it normally would pull its ASP.NET Core framework reference into
this project and prune the Microsoft.Extensions assemblies the private runtime needs from the output. -->
<ProjectReference Include="HostingStartup/TraceAI.AutoInstrumentation.HostingStartup.csproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" />
<Content Include="HostingStartup/bin/$(Configuration)/net8.0/TraceAI.AutoInstrumentation.HostingStartup.dll" Link="TraceAI.AutoInstrumentation.HostingStartup.dll" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
<None Include="README.md" Pack="true" PackagePath="/" />
<ProjectReference Include="HostingStartup/TraceAI.AutoInstrumentation.HostingStartup.csproj" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true"/>
<Content Include="HostingStartup/bin/$(Configuration)/net8.0/TraceAI.AutoInstrumentation.HostingStartup.dll" Link="TraceAI.AutoInstrumentation.HostingStartup.dll" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest"/>
<None Include="README.md" Pack="true" PackagePath="/"/>
</ItemGroup>
<!-- Pack runs the same publish the README's build-from-source route runs, then puts the whole
published directory under tools/net8.0/any/. The hook DLL, the private runtime DLL and the
pinned OpenTelemetry files stay together there; one directory serves .NET 8 and .NET 10. -->
<Target Name="CollectHookPayload">
<RemoveDir Directories="$(HookPayloadDir)" />
<MSBuild Projects="$(MSBuildProjectFullPath)" Targets="Publish" Properties="NoBuild=true;PublishDir=$(HookPayloadDir)" />
<RemoveDir Directories="$(HookPayloadDir)"/>
<MSBuild Projects="$(MSBuildProjectFullPath)" Targets="Publish" Properties="NoBuild=true;PublishDir=$(HookPayloadDir)"/>
<ItemGroup>
<TfmSpecificPackageFile Include="$(HookPayloadDir)**" PackagePath="tools/net8.0/any/%(RecursiveDir)%(Filename)%(Extension)" />
<TfmSpecificPackageFile Include="$(HookPayloadDir)**" PackagePath="tools/net8.0/any/%(RecursiveDir)%(Filename)%(Extension)"/>
</ItemGroup>
</Target>
</Project>
Loading
Loading