-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmix.exs
More file actions
67 lines (59 loc) · 1.57 KB
/
mix.exs
File metadata and controls
67 lines (59 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
defmodule LangEx.MixProject do
use Mix.Project
@version "0.5.0"
@source_url "https://github.com/surgeventures/lang_ex"
def project do
[
app: :lang_ex,
version: @version,
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
name: "LangEx",
description: description(),
package: package(),
docs: docs(),
source_url: @source_url
]
end
def application do
[
mod: {LangEx.Application, []},
extra_applications: [:logger]
]
end
defp description do
"Graph-based agent orchestration for building stateful, multi-step LLM workflows " <>
"with nodes, edges, conditional routing, state reducers, human-in-the-loop interrupts, " <>
"and checkpointing. Inspired by LangGraph, built on BEAM primitives."
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => @source_url},
files: ~w(lib .formatter.exs mix.exs README.md LICENSE)
]
end
defp docs do
[
main: "readme",
extras: ["README.md"],
source_ref: "v#{@version}"
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:req, "~> 0.5"},
{:jason, "~> 1.4"},
{:telemetry, "~> 1.0"},
{:redix, "~> 1.5", optional: true},
{:postgrex, "~> 0.19", optional: true},
{:ecto_sql, "~> 3.12", optional: true},
{:ex_doc, "~> 0.35", only: :dev, runtime: false},
{:mimic, "~> 1.10", only: :test}
]
end
end