@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 +9 -0
- package/README.md +1 -1
- package/dist/cli.js +1 -1
- package/dist/hosts/dsh/arnict/dist/index.js +1 -1
- package/dist/hosts/dsh/devin/dist/index.js +1 -1
- package/dist/hosts/dsh/grok/dist/index.js +1 -1
- package/dist/hosts/dsh/kiro/dist/index.js +1857 -16
- package/dist/hosts/dsh/qoder/dist/index.js +1 -1
- package/dist/hosts/omp/dist/index.js +1850 -23
- package/dist/hosts/omp/package.json +1 -1
- package/dist/hosts/pi/dist/index.js +1849 -8
- package/dist/hosts/pi/package.json +1 -1
- package/dist/hosts.js +1 -4
- package/dist/hosts.js.map +1 -1
- package/dist/providers.js +1 -1
- package/dist/providers.js.map +1 -1
- package/dist/refresh-entry.js +1 -1
- package/dist/selection.d.ts +2 -2
- package/dist/selection.js +2 -2
- package/dist/serve-entry.js +1 -1
- package/dist/zcode.d.ts +1 -1
- package/dist/zcode.js +1 -1
- package/package.json +1 -1
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`.
|
|
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
|
|
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.
|