@ataraxy-labs/sem 0.5.0 → 0.5.3

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.
Files changed (2) hide show
  1. package/README.md +15 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -275,6 +275,20 @@ Plus structured data formats:
275
275
 
276
276
  Everything else falls back to chunk-based diffing.
277
277
 
278
+ ### Custom extensions and extensionless files
279
+
280
+ For files with non-standard extensions, create a `.semrc` in your project root:
281
+
282
+ ```
283
+ .xyz = cpp
284
+ .j = json
285
+ .mypy = python
286
+ ```
287
+
288
+ sem also reads `.gitattributes` patterns (`diff=` and `linguist-language=`) if you already have those set up. `.semrc` takes priority when both define the same extension.
289
+
290
+ For files with no extension at all, sem detects the language automatically from content (imports, declarations, shebang lines, vim modelines). This covers 19 languages with no config needed.
291
+
278
292
  ## How matching works
279
293
 
280
294
  Three-phase entity matching:
@@ -339,7 +353,7 @@ sem-core can be used as a Rust library dependency:
339
353
 
340
354
  ```toml
341
355
  [dependencies]
342
- sem-core = { git = "https://github.com/Ataraxy-Labs/sem", version = "0.4" }
356
+ sem-core = { git = "https://github.com/Ataraxy-Labs/sem", version = "0.5" }
343
357
  ```
344
358
 
345
359
  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.5.0",
3
+ "version": "0.5.3",
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",