Skip to content

Commit f122184

Browse files
committed
chore: update opam and dune-project metadata, refine deps and tags
1 parent 450c50a commit f122184

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

dune-ai-context.opam

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
33
synopsis:
4-
"Tool to extract vendor library dependencies from Dune files and generate .mli interface files from their .cmi files."
4+
"Extract dune external dependencies and generate interface context for AI tools"
55
description:
6-
"dune-ai-context parses the external library dependencies of an OCaml project using `dune describe external-lib-deps`, filters out `ppx_` packages, locates the corresponding `.cmi` files in the OPAM switch, and writes their interface signatures to `vendor_interfaces/<library>.mli`. This provides a convenient context for AIassisted coding tools."
6+
"dune-ai-context parses external library dependencies using `dune describe external-lib-deps`, finds their `.cmi` files, and writes interface signatures for AI-assisted coding tools."
77
maintainer: ["ZFY <zf.yuan.y@gmail.com>"]
88
authors: ["ZFY <zf.yuan.y@gmail.com>"]
99
license: "MIT"
10-
tags: ["ocaml" "dune" "vendor" "cmi" "interface" "AI tool" "LLM"]
10+
tags: ["ocaml" "dune" "cmi" "interfaces" "ai"]
1111
homepage: "https://github.com/zenfey/dune-ai-context"
1212
doc: "https://github.com/zenfey/dune-ai-context"
1313
bug-reports: "https://github.com/zenfey/dune-ai-context/issues"
1414
depends: [
15-
"ocaml"
16-
"dune" {>= "3.1"}
15+
"ocaml" {>= "4.14"}
16+
"dune" {>= "3.1" & >= "3.1"}
1717
"sexplib"
1818
"str"
1919
"unix"
20-
"compiler-libs" {= "common"}
2120
"odoc" {with-doc}
2221
]
2322
build: [

dune-project

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,21 @@
88
(github zenfey/dune-ai-context))
99

1010
(authors "ZFY <zf.yuan.y@gmail.com>")
11-
1211
(maintainers "ZFY <zf.yuan.y@gmail.com>")
1312

14-
(license "MIT")
13+
(license MIT)
1514

1615
(documentation "https://github.com/zenfey/dune-ai-context")
1716

1817
(package
1918
(name dune-ai-context)
20-
(synopsis "Tool to extract vendor library dependencies from Dune files and generate .mli interface files from their .cmi files")
21-
(description "dune-ai-context parses the external library dependencies of an OCaml project using `dune describe external-lib-deps`, filters out `ppx_` packages, locates the corresponding `.cmi` files in the OPAM switch, and writes their interface signatures to `vendor_interfaces/<library>.mli`. This provides a convenient context for AI‑assisted coding tools.")
22-
(depends ocaml dune sexplib str unix (compiler-libs (= common)))
19+
(synopsis "Extract dune external dependencies and generate interface context for AI tools")
20+
(description "dune-ai-context parses external library dependencies using `dune describe external-lib-deps`, finds their `.cmi` files, and writes interface signatures for AI-assisted coding tools.")
21+
(depends
22+
(ocaml (>= 4.14))
23+
(dune (>= 3.1))
24+
sexplib
25+
str
26+
unix)
2327
(tags
24-
("ocaml" "dune" "vendor" "cmi" "interface" "AI tool" "LLM")))
28+
("ocaml" "dune" "cmi" "interfaces" "ai")))

0 commit comments

Comments
 (0)