@ataraxy-labs/sem 0.3.23 → 0.4.0
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 +30 -2
- 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>
|
|
@@ -67,6 +71,25 @@ docker build -t sem .
|
|
|
67
71
|
docker run --rm -it -u "$(id -u):$(id -g)" -v "$(pwd):/repo" sem diff
|
|
68
72
|
```
|
|
69
73
|
|
|
74
|
+
## Name conflict with GNU Parallel
|
|
75
|
+
|
|
76
|
+
GNU Parallel ships a `sem` binary (`/usr/bin/sem`) as a symlink to `parallel`. If you have both installed, they'll collide. Run `sem --version` to check which one you're using. ([#77](https://github.com/Ataraxy-Labs/sem/issues/77))
|
|
77
|
+
|
|
78
|
+
**Quick fixes:**
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# Option 1: alias in your shell profile (~/.bashrc, ~/.zshrc)
|
|
82
|
+
alias sem="$HOME/.cargo/bin/sem"
|
|
83
|
+
|
|
84
|
+
# Option 2: make sure cargo bin comes first in PATH
|
|
85
|
+
export PATH="$HOME/.cargo/bin:$PATH"
|
|
86
|
+
|
|
87
|
+
# Option 3: if installed via Homebrew
|
|
88
|
+
export PATH="$(brew --prefix)/bin:$PATH"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
If you installed via npm/bun, the binary lives in `node_modules/.bin/sem` and is invoked through `npx sem` or `bunx sem`, which avoids the conflict entirely.
|
|
92
|
+
|
|
70
93
|
## Commands
|
|
71
94
|
|
|
72
95
|
Works in any Git repo. No setup required. Also works outside Git for arbitrary file comparison.
|
|
@@ -165,12 +188,17 @@ sem log authenticateUser --json
|
|
|
165
188
|
|
|
166
189
|
### sem entities
|
|
167
190
|
|
|
168
|
-
List all entities
|
|
191
|
+
List all entities under a file or directory path. No path is the same as `.`.
|
|
169
192
|
|
|
170
193
|
```bash
|
|
194
|
+
sem entities
|
|
195
|
+
|
|
196
|
+
sem entities .
|
|
197
|
+
|
|
171
198
|
sem entities src/auth.ts
|
|
172
199
|
|
|
173
200
|
# JSON output
|
|
201
|
+
sem entities --json
|
|
174
202
|
sem entities src/auth.ts --json
|
|
175
203
|
```
|
|
176
204
|
|
|
@@ -313,7 +341,7 @@ sem-core can be used as a Rust library dependency:
|
|
|
313
341
|
|
|
314
342
|
```toml
|
|
315
343
|
[dependencies]
|
|
316
|
-
sem-core = { git = "https://github.com/Ataraxy-Labs/sem", version = "0.
|
|
344
|
+
sem-core = { git = "https://github.com/Ataraxy-Labs/sem", version = "0.4" }
|
|
317
345
|
```
|
|
318
346
|
|
|
319
347
|
Used by [weave](https://github.com/Ataraxy-Labs/weave) (semantic merge driver) and [inspect](https://github.com/Ataraxy-Labs/inspect) (entity-level code review).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ataraxy-labs/sem",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
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",
|