@ataraxy-labs/sem 0.3.22 → 0.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
> **Part of the [Ataraxy Labs](https://ataraxy-labs.com) stack** — agent-native infrastructure for software development. See also: [weave](https://ataraxy-labs.com/weave) (entity-level git merge driver) · [inspect](https://github.com/Ataraxy-Labs/inspect) (semantic code review) · [opensessions](https://github.com/Ataraxy-Labs/opensessions) (tmux sidebar for coding agents).
|
|
2
|
+
>
|
|
3
|
+
> Read the manifesto: https://ataraxy-labs.com/#thesis · Essays: https://ataraxy-labs.com/blogs · LLMs: https://ataraxy-labs.com/llms.txt
|
|
4
|
+
|
|
1
5
|
<p align="center">
|
|
2
6
|
<img src="assets/banner.svg" alt="sem" width="600" />
|
|
3
7
|
</p>
|
|
@@ -20,7 +24,7 @@
|
|
|
20
24
|
<img src="https://img.shields.io/badge/rust-stable-orange" alt="Rust">
|
|
21
25
|
<img src="https://img.shields.io/badge/tests-133_passing-brightgreen" alt="Tests">
|
|
22
26
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-yellow" alt="License"></a>
|
|
23
|
-
<img src="https://img.shields.io/badge/languages-
|
|
27
|
+
<img src="https://img.shields.io/badge/languages-26-blue" alt="Languages">
|
|
24
28
|
</p>
|
|
25
29
|
|
|
26
30
|
sem is a semantic version control tool that works on top of Git. It parses your code with tree-sitter, extracts every function, class, and method as an entity, and diffs at the entity level instead of lines. This means you see "function `blahh` was modified" instead of "lines x-y changed."
|
|
@@ -165,12 +169,17 @@ sem log authenticateUser --json
|
|
|
165
169
|
|
|
166
170
|
### sem entities
|
|
167
171
|
|
|
168
|
-
List all entities
|
|
172
|
+
List all entities under a file or directory path. No path is the same as `.`.
|
|
169
173
|
|
|
170
174
|
```bash
|
|
175
|
+
sem entities
|
|
176
|
+
|
|
177
|
+
sem entities .
|
|
178
|
+
|
|
171
179
|
sem entities src/auth.ts
|
|
172
180
|
|
|
173
181
|
# JSON output
|
|
182
|
+
sem entities --json
|
|
174
183
|
sem entities src/auth.ts --json
|
|
175
184
|
```
|
|
176
185
|
|
|
@@ -206,7 +215,7 @@ sem unsetup
|
|
|
206
215
|
|
|
207
216
|
## What it parses
|
|
208
217
|
|
|
209
|
-
|
|
218
|
+
26 programming languages with full entity extraction via tree-sitter:
|
|
210
219
|
|
|
211
220
|
| Language | Extensions | Entities |
|
|
212
221
|
|----------|-----------|----------|
|
|
@@ -233,6 +242,9 @@ sem unsetup
|
|
|
233
242
|
| Svelte | `.svelte` `.svelte.js` `.svelte.ts` | component blocks + rune JS/TS modules |
|
|
234
243
|
| Perl | `.pl` `.pm` `.t` | subroutines, packages |
|
|
235
244
|
| Dart | `.dart` | classes, mixins, extensions, enums, type aliases, functions |
|
|
245
|
+
| OCaml | `.ml` `.mli` | values, modules, types, classes, externals |
|
|
246
|
+
| Scala | `.scala` `.sc` `.sbt` | classes, objects, traits, enums, functions, vals, extensions |
|
|
247
|
+
| Zig | `.zig` | functions, tests, variables |
|
|
236
248
|
|
|
237
249
|
Plus structured data formats:
|
|
238
250
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ataraxy-labs/sem",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.24",
|
|
4
4
|
"description": "npm wrapper for the sem CLI. Downloads the matching release binary and exposes the sem command in node_modules/.bin.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"type": "module",
|