ollanet 0.4.0 → 0.4.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.
- package/README.md +3 -3
- package/dist/hosts.d.ts +1 -1
- package/dist/mcp.js +1 -1
- package/dist/scan.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Chat with **Ollama** servers on **any network you can reach** — LAN, localhost
|
|
|
10
10
|
|
|
11
11
|
Scan for models, fire prompts, and continue conversations later by a short hash. No browser UI required. **Node 20+ · zero runtime deps.**
|
|
12
12
|
|
|
13
|
-
**Site:** [ollanet.dev](https://ollanet.dev) —
|
|
13
|
+
**Site:** [ollanet.dev](https://ollanet.dev) — FilePress + Cloudflare Pages (`site/`).
|
|
14
14
|
|
|
15
15
|
## Origin
|
|
16
16
|
|
|
@@ -29,7 +29,7 @@ They share the same Ollama API; Finetuna shapes the models, ollanet finds and ch
|
|
|
29
29
|
|
|
30
30
|
## Features
|
|
31
31
|
|
|
32
|
-
- **Discover** Ollama hosts from localhost, `config.hosts`, `OLLANET_HOSTS`, optional Tailscale, and optional LAN scan
|
|
32
|
+
- **Discover** Ollama hosts from localhost, `config.hosts`, `OLLANET_HOSTS`, optional Tailscale, and optional LAN scan (`--lan`, off by default)
|
|
33
33
|
- **Prompt** any hostname/IP/model with streaming replies
|
|
34
34
|
- **Persist** chats as `responses/<hash>.json` with topic, machine, model, timestamps
|
|
35
35
|
- **Continue** any thread with `--chat <hash>`
|
|
@@ -145,7 +145,7 @@ for (const s of servers) {
|
|
|
145
145
|
| Call | What it does | When apps should use it |
|
|
146
146
|
|---|---|---|
|
|
147
147
|
| `scanNetwork()` | localhost + config + `OLLANET_HOSTS` + Tailscale | Button / first “find servers” |
|
|
148
|
-
| `scanNetwork({ lanScan: true })` | plus TCP sweep of local `/24`s | Checkbox, never on every health check |
|
|
148
|
+
| `scanNetwork({ lanScan: true })` | plus TCP sweep of local `/24`s on port 11434 | Checkbox; never the default scan, never on every health check |
|
|
149
149
|
| `discoverHosts()` then probe yourself | candidates only, no `/api/tags` | If the app already has its own Ollama client |
|
|
150
150
|
|
|
151
151
|
Pass `config` to skip the file (useful when the app already has its own config):
|
package/dist/hosts.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface DiscoverOptions {
|
|
|
39
39
|
discovery?: DiscoveryConfig;
|
|
40
40
|
/** Include Tailscale peers marked offline. */
|
|
41
41
|
includeOffline?: boolean;
|
|
42
|
-
/** Probe local LAN CIDRs for open Ollama ports. */
|
|
42
|
+
/** Probe local LAN CIDRs for open Ollama ports. Off unless true. */
|
|
43
43
|
lanScan?: boolean;
|
|
44
44
|
}
|
|
45
45
|
export declare function shortName(host: HostTarget): string;
|
package/dist/mcp.js
CHANGED
|
@@ -22,7 +22,7 @@ const TOOLS = [
|
|
|
22
22
|
name: "ollanet_scan",
|
|
23
23
|
description: "Discover reachable Ollama hosts and list their models. " +
|
|
24
24
|
"Use this before routing work to pick a host/model. " +
|
|
25
|
-
"Optional LAN TCP scan (
|
|
25
|
+
"Optional LAN TCP scan (off unless lan=true; equivalent to CLI --lan) and include offline Tailscale peers.",
|
|
26
26
|
inputSchema: {
|
|
27
27
|
type: "object",
|
|
28
28
|
properties: {
|
package/dist/scan.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { type AppConfig } from "./config.js";
|
|
7
7
|
export interface ScanOptions {
|
|
8
8
|
includeOffline?: boolean;
|
|
9
|
-
/** TCP-scan local /24s
|
|
9
|
+
/** TCP-scan local /24s for Ollama (port 11434 by default). Off unless set. */
|
|
10
10
|
lanScan?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* In-memory config. When set, the config file (`~/.ollanet` / `OLLANET_CONFIG`)
|