@ngosangns/ns-bridge 0.1.25 → 0.1.26

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/NOTICE CHANGED
@@ -13,6 +13,15 @@ The bundled sources include:
13
13
  - `packages/devin-core`, ported from oh-my-pi
14
14
  (https://github.com/can1357/oh-my-pi), MIT.
15
15
 
16
+ The host bundles in `dist/hosts/**` additionally embed two npm dependencies,
17
+ bundled so that compiled-bun hosts can resolve them (see issue #18):
18
+
19
+ - `@smithy/core` (submodule `event-streams`) —
20
+ https://github.com/smithy-lang/smithy-typescript, Apache License 2.0,
21
+ Copyright Amazon.com, Inc. or its affiliates.
22
+ - `js-tiktoken` (ranks `cl100k_base` + `lite`) —
23
+ https://github.com/dqbd/tiktoken, MIT.
24
+
16
25
  `packages/pi-provider` carries its own NOTICE for the upstream projects it
17
26
  adapts:
18
27
 
package/README.md CHANGED
@@ -75,7 +75,7 @@ then install the npm package you want with the host's own command.
75
75
 
76
76
  ## Providers
77
77
 
78
- `providers enable` and `providers disable` turn one of `kiro`, `devin`, `grok`, `arnict`, or `qoder` on or off. Pi and OMP share `~/.ns-bridge/providers.json` (`NS_BRIDGE_PROVIDERS` overrides the path); the extension reads it at launch. With no file, all five are on. OMP only takes `kiro`, `arnict`, and `qoder` from it: `providers enable omp devin|grok` is refused with the reason, `providers disable omp devin|grok` changes nothing, `providers status omp` shows them as `not provided`, and `devin` or `grok` in the file or in an env list are ignored by the OMP plugin (they still apply to Pi). `NS_OMP_PROVIDERS` replaces the file, `NS_OMP_PROVIDER_ENABLE` adds, and `NS_OMP_PROVIDER_DISABLE` removes. DSH writes `disabled: true` on that plugin's id in the profile's `cordis.patch.yml`. In OMP, `kiro` stays with the old `ns-omp-provider-kiro` plugin while it is installed, but install/update remove it. Only the key you change is written; defaults never land in the file.
78
+ `providers enable` and `providers disable` turn one of `kiro`, `devin`, `grok`, `arnict`, or `qoder` on or off. Pi and OMP share `~/.ns-bridge/providers.json` (`NS_BRIDGE_PROVIDERS` overrides the path); the extension reads it at launch. With no file, all five are on. OMP only takes `kiro`, `arnict`, and `qoder` from it: `providers enable omp devin|grok` is refused with the reason, `providers disable omp devin|grok` changes nothing, `providers status omp` shows them as `not provided`, and `devin` or `grok` in the file or in an env list are ignored by the OMP plugin (they still apply to Pi). `NS_OMP_PROVIDERS` replaces the file, `NS_OMP_PROVIDER_ENABLE` adds, and `NS_OMP_PROVIDER_DISABLE` removes. DSH writes `disabled: true` on that plugin's id in the profile's `cordis.patch.yml`. Install and update remove the old `ns-omp-provider-kiro` plugin from OMP before registering the bundle, so the bundle owns `kiro` there. Only the key you change is written; defaults never land in the file.
79
79
 
80
80
  `usage` reads the ledger the plugins write while they work in Pi, OMP, and DSH. Each model response appends one JSON line to `~/.ns-bridge/usage/<day>/<vendor>/<session>.jsonl` (`NS_BRIDGE_USAGE_DIR` moves the root). A response with no session id goes to `_no-session.jsonl`. Plugins record unless `NS_BRIDGE_USAGE=0`. The command makes no network call and writes nothing.
81
81
 
package/dist/cli.js CHANGED
@@ -17,7 +17,7 @@ import { currentVersion, PACKAGE_NAME, parseNpmVersion, planSelfUpdate } from ".
17
17
  import { runServe } from "./serve.js";
18
18
  import { formatSession, formatSummary, localDay, readUsage, summarize, usageRoot } from "./usage.js";
19
19
  import { runZcode } from "./zcode.js";
20
- const HELP = `ns-bridge — install, update, and refresh providers outside Pi, OMP, and DSH.
20
+ const HELP = `ns-bridge — install ns-bridge providers into Pi, OMP, and DSH from prebuilt local bundles.
21
21
 
22
22
  Mutating commands apply by default. Pass --dry-run to preview them without
23
23
  spawning.
@@ -1,4 +1,4 @@
1
- // @ngosangns/ns-bridge 0.1.25 — prebuilt host bundle.
1
+ // @ngosangns/ns-bridge 0.1.26 — prebuilt host bundle.
2
2
  import { createRequire as __nsBridgeCreateRequire } from 'node:module';
3
3
  const require = __nsBridgeCreateRequire(import.meta.url);
4
4
 
@@ -1,4 +1,4 @@
1
- // @ngosangns/ns-bridge 0.1.25 — prebuilt host bundle.
1
+ // @ngosangns/ns-bridge 0.1.26 — prebuilt host bundle.
2
2
  import { createRequire as __nsBridgeCreateRequire } from 'node:module';
3
3
  const require = __nsBridgeCreateRequire(import.meta.url);
4
4
 
@@ -1,4 +1,4 @@
1
- // @ngosangns/ns-bridge 0.1.25 — prebuilt host bundle.
1
+ // @ngosangns/ns-bridge 0.1.26 — prebuilt host bundle.
2
2
  import { createRequire as __nsBridgeCreateRequire } from 'node:module';
3
3
  const require = __nsBridgeCreateRequire(import.meta.url);
4
4