@jevlinsearch/jevlin 0.7.0 → 0.8.1

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 (3) hide show
  1. package/README.md +53 -20
  2. package/install.js +8 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -12,25 +12,35 @@
12
12
  several search engines at once and returns a single merged list, with every result naming the
13
13
  engines that found it.
14
14
 
15
+ On the hosted service one call can ask multiple engines such as Exa, Brave, Parallel, Perplexity,
16
+ Serper and TinyFish among them, depending on the tier you choose. One account and one key cover
17
+ all of them: the router holds the engine keys, so you need none of your own.
18
+
15
19
  It works in Claude Code, Cursor, Codex, opencode, Pi and Hermes. It is one binary your agent
16
20
  calls, a skill that teaches the agent the call, and hooks where the agent has them. No daemon runs
17
- between searches; a hook or a search may start one short background job, such as the daily
18
- release check. Plans and prices are at [jevlin.ai](https://jevlin.ai).
21
+ between searches: a hook may start the daily release check, and a search may start a short check
22
+ that finishes your claim. Plans and prices are at [jevlin.ai](https://jevlin.ai).
19
23
 
20
24
  ## How do I install it?
21
25
  ```bash
22
26
  npm install -g @jevlinsearch/jevlin
23
27
  jevlin setup
24
28
  ```
25
- Install it globally, not with `npx`: setup writes the binary's path into your agents' skills and hooks, and npm throws an `npx` cache away.
26
-
29
+ Install it globally, not with `npx`: setup writes the binary's path into your agents' skills and
30
+ hooks, and npm throws an `npx` cache away.
27
31
 
28
32
  ```bash
29
- curl -fsSL https://jevlin.ai/install.sh | sh # on macOS and Linux
33
+ curl -fsSL https://jevlin.ai/install.sh | sh # macOS, Linux and WSL
30
34
 
31
- irm https://jevlin.ai/install.ps1 | iex # Windows PowerShell
35
+ irm https://jevlin.ai/install.ps1 | iex # Windows PowerShell
32
36
  ```
33
- This installs the latest release at `~/.jevlin/bin/jevlin`, checked against the release's checksums and, where a tool on the machine can, its signature, and runs setup when you ran it at a terminal.
37
+ This installs the latest release at `~/.jevlin/bin/jevlin` (on Windows,
38
+ `%USERPROFILE%\.jevlin\bin\jevlin.exe`), checked against the release's checksums and, where a tool
39
+ on the machine can, its signature, and runs setup when you ran it at a terminal. From CMD,
40
+ `install.cmd` runs the PowerShell installer. `JEVLIN_HOME` installs it elsewhere and
41
+ `JEVLIN_NO_SETUP=1` stops before setup ([options](https://github.com/jevlinai/jevlin-go/blob/main/docs/guide.md#installing-without-npm)).
42
+
43
+ It runs on macOS 13 or later, Linux and Windows, each on amd64 and arm64.
34
44
 
35
45
  ### Can I install it another way?
36
46
 
@@ -38,17 +48,19 @@ This installs the latest release at `~/.jevlin/bin/jevlin`, checked against the
38
48
  `checksums.txt` ([steps](https://github.com/jevlinai/jevlin-go/blob/main/docs/guide.md#installing-without-npm))
39
49
 
40
50
  - **From an agent marketplace:** Claude Code's and Codex's plugin marketplaces, and skills.sh,
41
- carry a setup skill that installs and sets up jevlin ([how](https://github.com/jevlinai/jevlin-go/blob/main/docs/guide.md#let-your-agent-install-it))
51
+ carry a setup skill that installs and sets up jevlin. With skills.sh that is
52
+ `npx skills add jevlinai/jevlin-go` ([the others](https://github.com/jevlinai/jevlin-go/blob/main/docs/guide.md#let-your-agent-install-it))
42
53
 
43
54
  - **From source:** `go install github.com/jevlinai/jevlin-go/cmd/jevlin@latest`, or `make build`
44
- in a clone ([details](https://github.com/jevlinai/jevlin-go/blob/main/docs/reference.md#building-from-source))
55
+ in a clone. It reports its version as `dev`, so `jevlin upgrade` and the daily check leave it
56
+ alone ([details](https://github.com/jevlinai/jevlin-go/blob/main/docs/reference.md#building-from-source))
45
57
 
46
58
  **`jevlin: command not found`?** Run setup by its full path. [The guide shows how](https://github.com/jevlinai/jevlin-go/blob/main/docs/guide.md#jevlin-command-not-found).
47
59
 
48
60
  ## What does setup do, and what is the claim?
49
61
 
50
62
  **Setup** sets up the coding agents it finds and adds `jevlin` to your PATH, asking before
51
- each. It also registers Jevlin on this machine with the search platform, stores its key (nothing
63
+ each. It also registers jevlin on this machine with the Jevlin platform, stores its key (nothing
52
64
  to copy or paste) and writes its config to `~/.jevlin`. Restart any agent that was already open.
53
65
 
54
66
  **Claiming** links jevlin on this machine to your Jevlin account. Setup prints a link: open it, sign in at
@@ -92,6 +104,18 @@ type these (in Codex, `$jevlin`):
92
104
 
93
105
  [Making it the default, or not](https://github.com/jevlinai/jevlin-go/blob/main/docs/guide.md#making-it-the-default-or-not) covers the rest.
94
106
 
107
+ The skill also teaches the agent to read a page from its results in full with `jevlin fetch --stdin`
108
+ ([reference, Reading a page in full](https://github.com/jevlinai/jevlin-go/blob/main/docs/reference.md#reading-a-page-in-full)).
109
+ `jevlin decide --stdin` asks a decision model typed questions about a state you give it, where the
110
+ router offers it ([reference, Asking a decision model](https://github.com/jevlinai/jevlin-go/blob/main/docs/reference.md#asking-a-decision-model));
111
+ the skill does not teach it yet.
112
+
113
+ An agent that takes MCP servers can call search, fetch and decide (where the router offers it) as
114
+ tools instead: register
115
+ `jevlin mcp` with it, as [reference, MCP server](https://github.com/jevlinai/jevlin-go/blob/main/docs/reference.md#mcp-server)
116
+ shows for Claude Code, Codex and Cursor. Setup does not register it, and it runs only while the
117
+ host holds it open.
118
+
95
119
  ## Which tier should I use?
96
120
 
97
121
  | tier | what it asks | choose it |
@@ -108,7 +132,7 @@ response reports what its search cost. [Choosing a tier](https://github.com/jevl
108
132
 
109
133
  | agent | after setup |
110
134
  |---|---|
111
- | [Claude Code](https://github.com/jevlinai/jevlin-go/blob/main/docs/agents.md#claude-code) | Ready. jevlin's hook approves exactly the search the skill renders. |
135
+ | [Claude Code](https://github.com/jevlinai/jevlin-go/blob/main/docs/agents.md#claude-code) | Ready. jevlin's hook approves exactly the search and fetch commands the skill renders. |
112
136
  | [Cursor](https://github.com/jevlinai/jevlin-go/blob/main/docs/agents.md#cursor) | Ready. |
113
137
  | [Codex](https://github.com/jevlinai/jevlin-go/blob/main/docs/agents.md#codex) | Approve jevlin's hooks in Codex once. Setup makes jevlin's permission profile Codex's default. On Windows there are neither, and Codex asks before a search reaches the network. Needs Codex 0.158.0 or newer. |
114
138
  | [opencode](https://github.com/jevlinai/jevlin-go/blob/main/docs/agents.md#opencode) | Paste the rules block setup prints into your `AGENTS.md`. |
@@ -122,13 +146,18 @@ For any other agent, [Agents](https://github.com/jevlinai/jevlin-go/blob/main/do
122
146
  Each search sends your query and a small trace to the search router at `api.jevlin.ai`. The trace
123
147
  carries hashed session ids and the assistant's text that led to the search, scrubbed of anything
124
148
  shaped like a secret: from Claude Code an earlier message of the turn, from Cursor its latest
125
- thought or reply, from opencode and Pi the text before the search, and from Codex and Hermes none.
126
- With `[search] turn_end = true`, a turn that searched also sends what you asked, the assistant's
149
+ reply, from opencode and Pi the text before the search, and from Codex and Hermes none. The model's
150
+ reasoning is never sent. On an installation setup creates, which writes `[search] turn_end = true`
151
+ into its config and says so, a turn that searched also sends what you asked, the assistant's
127
152
  text along the way and its final answer, its tool calls by name, duration and outcome (never their
128
- input or output), the model and the token counts. `export JEVLIN_TRACE=off` sends neither.
153
+ input or output), the model and the token counts (less from Cursor and Codex, nothing from Hermes;
154
+ [Privacy](https://github.com/jevlinai/jevlin-go/blob/main/docs/privacy.md) has the table per agent).
155
+ A config without that line, which is every config an earlier version wrote, sends no turn end.
156
+ `turn_end = false` under `[search]` stops the turn end alone; `trace = false` there, or
157
+ `export JEVLIN_TRACE=off`, sends neither.
129
158
 
130
159
  The query is not among jevlin's arguments: your agent hands it over on standard input, from a
131
- here-string in the shell command it runs (`jevlin search --stdin <<< '…'`), or in Claude Code from
160
+ here-string in the shell command it runs (`<<<` in bash, `@'…'@` in PowerShell), or in Claude Code from
132
161
  a file when the request holds a `'` or a `$`. A search you type, `jevlin search "<query words>"`,
133
162
  puts it on jevlin's command line. [Privacy](https://github.com/jevlinai/jevlin-go/blob/main/docs/privacy.md) has every field and scrub rule;
134
163
  what the service keeps is in its [privacy policy](https://platform.jevlin.ai/privacy).
@@ -136,7 +165,7 @@ what the service keeps is in its [privacy policy](https://platform.jevlin.ai/pri
136
165
  ## How do I update or remove it?
137
166
 
138
167
  ```bash
139
- jevlin upgrade # an install from a release archive: the latest, verified before it runs
168
+ jevlin upgrade # a native install: the latest, verified before it runs
140
169
  jevlin uninstall # remove the skills, hooks and profile lines; keep your registration and key
141
170
  jevlin uninstall -binary # also remove this installation's binary
142
171
  jevlin uninstall -purge-state # also delete the registration, key and config, confirmed at a terminal
@@ -145,9 +174,11 @@ npm uninstall -g @jevlinsearch/jevlin # then remove an npm install
145
174
 
146
175
  An npm install is updated with `npm install -g @jevlinsearch/jevlin@latest`. Once a day, when
147
176
  Claude Code, Cursor, Codex, opencode or Pi starts a session or, in all but Pi, finishes a turn,
148
- jevlin checks for a newer release. An install from a release archive installs a patch release (0.7.0 to 0.7.1) itself and
149
- leaves a new minor release for `jevlin upgrade`; for an npm install the release is recorded, for
150
- `jevlin status` and `jevlin doctor` to report. [Upgrading](https://github.com/jevlinai/jevlin-go/blob/main/docs/guide.md#upgrading) and
177
+ jevlin checks for a newer release. A native install (the install script or a release archive)
178
+ installs a patch release (0.8.0 to 0.8.1) itself and leaves a new minor release for
179
+ `jevlin upgrade`; for an npm install the release is recorded, for `jevlin status` and
180
+ `jevlin doctor` to report. `[update] mode = "notify"` or `"off"` in the config changes that.
181
+ [Upgrading](https://github.com/jevlinai/jevlin-go/blob/main/docs/guide.md#upgrading) and
151
182
  [removing it and coming back](https://github.com/jevlinai/jevlin-go/blob/main/docs/guide.md#removing-it-and-coming-back) have the details.
152
183
 
153
184
  ## Where is the rest?
@@ -157,6 +188,8 @@ leaves a new minor release for `jevlin upgrade`; for an npm install the release
157
188
  - [Privacy](https://github.com/jevlinai/jevlin-go/blob/main/docs/privacy.md): what jevlin sends, per agent, and how to switch it off.
158
189
  - [Reference](https://github.com/jevlinai/jevlin-go/blob/main/docs/reference.md): every command and flag, tiers and providers, the `--stdin`
159
190
  request and its envelope, config, files.
191
+ - [Web search router vs Supersearch](https://jevlin.ai/web-search-router/): what asking every engine finds that a web search
192
+ router sending each query to one engine does not, measured on 485 questions.
160
193
  - [CHANGELOG.md](https://github.com/jevlinai/jevlin-go/blob/main/CHANGELOG.md): what changed in each release.
161
194
  - [SECURITY.md](https://github.com/jevlinai/jevlin-go/blob/main/SECURITY.md): how to report a vulnerability.
162
195
  - [CONTRIBUTING.md](https://github.com/jevlinai/jevlin-go/blob/main/CONTRIBUTING.md): how to propose a change.
@@ -167,7 +200,7 @@ Apache-2.0.
167
200
 
168
201
  ## The npm wrapper
169
202
 
170
- This package downloads the release binary for your platform on install, verifies it against the release checksums, and forwards every argument to it. The package version is the release tag it fetches.
203
+ This package downloads the release binary for your platform on install, checks the release's signature and verifies the binary against its checksums, and forwards every argument to it. The package version is the release tag it fetches.
171
204
 
172
205
  - `JEVLIN_BINARY=/path` use a binary already on the machine
173
206
  - `JEVLIN_SKIP_DOWNLOAD=1` install the wrapper without fetching
package/install.js CHANGED
@@ -122,7 +122,14 @@ async function main() {
122
122
  const archivePath = path.join(tmp, name)
123
123
  fs.writeFileSync(archivePath, archive)
124
124
  if (ext === "zip") {
125
- execFileSync("powershell", ["-NoProfile", "-Command", `Expand-Archive -Path '${archivePath}' -DestinationPath '${tmp}' -Force`], { stdio: "inherit" })
125
+ // Windows PowerShell must find its own modules. Started under PowerShell 7
126
+ // it inherits a PSModulePath that lists PowerShell 7's modules first, and
127
+ // that Expand-Archive does not run on Windows PowerShell's .NET.
128
+ const env = { ...process.env }
129
+ for (const key of Object.keys(env)) {
130
+ if (key.toLowerCase() === "psmodulepath") delete env[key]
131
+ }
132
+ execFileSync("powershell", ["-NoProfile", "-Command", `Expand-Archive -Path '${archivePath}' -DestinationPath '${tmp}' -Force`], { stdio: "inherit", env })
126
133
  } else {
127
134
  execFileSync("tar", ["-xzf", archivePath, "-C", tmp], { stdio: "inherit" })
128
135
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jevlinsearch/jevlin",
3
- "version": "0.7.0",
4
- "description": "Supersearch for coding agents: one call asks several search engines at once, every result names the engines that found it, with a receipt per engine. npm wrapper around the jevlin Go binary.",
3
+ "version": "0.8.1",
4
+ "description": "Jevlin, supersearch for coding agents: one web search that asks several search engines at once and returns a single merged list, with every result naming the engines that found it. Plans and prices are at jevlin.ai. npm wrapper around the jevlin Go binary.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",