Packages
openai_sse_guard
0.1.0
Bounded, dependency-free SSE observer for conservative replay decisions in OpenAI-compatible Elixir clients.
Current section
Files
Jump to
Current section
Files
openai_sse_guard
mix.exs
mix.exs
defmodule OpenaiSseGuard.MixProject do
use Mix.Project
def project do
[
app: :openai_sse_guard,
version: "0.1.0",
elixir: "~> 1.12",
name: "openai_sse_guard",
description:
"Bounded, dependency-free SSE observer for conservative replay decisions in OpenAI-compatible Elixir clients.",
source_url: "https://github.com/airouter-dev/openai-sse-guard-elixir",
homepage_url: "https://ai-router.dev/",
docs: [
main: "readme",
extras: [
"README.md",
"guides/stream-replay-safety.md",
"CONTRIBUTING.md",
"SECURITY.md"
],
source_ref: "v0.1.0"
],
package: package(),
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {OpenaiSseGuard.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.34.0", only: :dev, runtime: false},
# Keep local ExDoc generation compatible with the Elixir/OTP toolchain
# used by the package CI matrix; this is a documentation-only dependency.
{:earmark_parser, "1.4.39", only: :dev, runtime: false}
]
end
defp package do
[
licenses: ["MIT"],
links: %{
"Homepage" => "https://ai-router.dev/",
"GitHub" => "https://github.com/airouter-dev/openai-sse-guard-elixir",
"SSE guide" =>
"https://github.com/airouter-dev/openai-sse-guard-elixir/blob/main/guides/stream-replay-safety.md"
},
files:
~w(lib .formatter.exs mix.exs README.md CHANGELOG.md LICENSE SECURITY.md CONTRIBUTING.md guides examples)
]
end
end