@zleap-ai/sag 0.1.5 → 0.1.7

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 CHANGED
@@ -3,21 +3,23 @@
3
3
  Search local project files with SAG. The desktop app is optional; both use the same search core and knowledge base.
4
4
 
5
5
  ```sh
6
- npm install -g @zleap-ai/sag@0.1.5
6
+ npm install -g @zleap-ai/sag
7
7
  sag
8
- sag add
8
+ sag add --types md,txt,html,py,js,ts,tsx,json,yaml
9
9
  sag "Where is permission checked?"
10
10
  sag -E -c '^(ERROR|WARN) [0-9]+' ./logs
11
11
  sag -F -c 'validatePermission(' ./src
12
12
  ```
13
13
 
14
+ The same unversioned install command updates an existing npm installation to the latest release. For Agent setup, follow https://github.com/Zleap-AI/SAG-Wiki/blob/main/cli/skills/sag/SKILL.md.
15
+
14
16
  You can also install with `pnpm add -g @zleap-ai/sag` or `bun add -g @zleap-ai/sag`.
15
17
 
16
18
  First use of semantic search guides you through the JEV endpoint, model and API key. The key is entered without echoing. Existing settings are reused. To configure noninteractively, use `sag config --key 'YOUR_KEY'` or `sag config --key-stdin`. Command arguments may be saved in shell history.
17
19
 
18
20
  The package includes precompiled native binaries. No Rust toolchain, desktop app, install script or extra binary download is required. Node.js 18 or later is required for the command launcher.
19
21
 
20
- Version 0.1.5 supports only these system/architecture pairs (Intel Macs, Windows ARM and Linux are not included): macOS Apple Silicon (`darwin-arm64`), Windows x64 (`win32-x64`).
22
+ Supported platforms in this package: macOS Apple Silicon (arm64), Windows x64.
21
23
 
22
24
  Search is scoped to indexed folders under the current directory. `sag add` indexes the current project, `sag remove` removes its knowledge-base records without deleting local files. `.gitignore` and `.sagignore` are respected. Use `sag -c "question"` for original passages, or `--json` for structured output.
23
25
 
package/bin/sag.cjs CHANGED
File without changes
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zleap-ai/sag",
3
- "version": "0.1.5",
4
- "description": "SAG Wiki CLI: search local project files. Desktop app optional.",
3
+ "version": "0.1.7",
4
+ "description": "Search local project files with SAG. Desktop app optional.",
5
5
  "bin": {
6
6
  "sag": "bin/sag.cjs"
7
7
  },
@@ -17,15 +17,6 @@
17
17
  "access": "public",
18
18
  "registry": "https://registry.npmjs.org/"
19
19
  },
20
- "license": "MIT",
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/Zleap-AI/SAG-Wiki.git"
24
- },
25
- "homepage": "https://github.com/Zleap-AI/SAG-Wiki#agent-guide",
26
- "bugs": {
27
- "url": "https://github.com/Zleap-AI/SAG-Wiki/issues"
28
- },
29
20
  "os": [
30
21
  "darwin",
31
22
  "win32"