Repository navigation
Expand file tree
/
Copy pathcontext7.json
More file actions
31 lines (31 loc) · 1.56 KB
/
Copy pathcontext7.json
File metadata and controls
31 lines (31 loc) · 1.56 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
{
"$schema": "https://context7.com/schema/context7.json",
"url": "https://context7.com/wvlet/uni",
"public_key": "pk_b9MI8CAZgFMw3r3c8Acgc",
"projectTitle": "Uni",
"description": "Essential Scala 3 utilities for JVM, Scala.js, and Scala Native: object wiring, logging, JSON/MessagePack, Rx, HTTP client/server, RPC, MCP servers, and testing. The Scala 3 successor of Airframe.",
"folders": [
"docs",
"examples"
],
"excludeFolders": [
"docs/.vitepress",
"docs/public",
"docs/design",
"examples/electron-app/node_modules",
"examples/web-ui/target"
],
"excludeFiles": [
"AGENTS.md",
"uni-walkthrough.md"
],
"rules": [
"Uni is Scala 3 only. Use indentation syntax, given/using, enum, and derives.",
"Derive JSON/MessagePack codecs with `derives Weaver` (wvlet.uni.weaver.Weaver) instead of writing them by hand.",
"Wire services with wvlet.uni.design.Design: `Design.newDesign.bindSingleton[A].build[A] { a => ... }`.",
"In UniTest, write `(x >= 1) shouldBe true` instead of ScalaTest-style `x should be >= 1`.",
"Uni replaces Airframe for Scala 3 projects. Do not add Airframe artifacts for the same features.",
"The Scala Toolkit (sttp, uPickle, os-lib, MUnit) fits scripts, teaching, Scala 2.13, and subprocesses; Uni fits Scala 3.9+ services that need object wiring, logging, an HTTP server, RPC, or MCP servers. They work in one build: https://wvlet.org/uni/guide/uni-vs-scala-toolkit",
"Canonical imports, an Airframe migration table, and common mistakes: https://wvlet.org/uni/guide/for-ai-agents"
]
}