@north-light/sdk 0.3.466 → 0.3.468

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
@@ -10,7 +10,7 @@
10
10
 
11
11
  It is a client, not a runtime. It never runs an agent itself, and it does not bundle a model: the daemon it talks to does, using the provider that daemon is signed in to. In Node, `new Crouter()` connects to the local daemon over its unix socket and starts it on the first request if it is not running. In a browser or from another machine it needs the daemon's TCP URL and a bearer token. The lower-level contract it is built on is [`@north-light/api`](https://www.npmjs.com/package/@north-light/api); most applications should install this package instead.
12
12
 
13
- [Docs](https://docs.crouter.ai/docs/sdk) · [Client construction](https://docs.crouter.ai/docs/sdk/client) · [Resource map](https://docs.crouter.ai/docs/sdk/resources) · [Recipes](https://docs.crouter.ai/docs/sdk/guides) · [crouter repository](https://github.com/Northlight-Systems/crouter)
13
+ [Docs](https://docs.northlight.ai/docs/sdk) · [Client construction](https://docs.northlight.ai/docs/sdk/client) · [Resource map](https://docs.northlight.ai/docs/sdk/resources) · [Recipes](https://docs.northlight.ai/docs/sdk/guides) · [crouter repository](https://github.com/Northlight-Systems/crouter)
14
14
 
15
15
  ## Install
16
16
 
@@ -174,7 +174,7 @@ See the complete [localhost SDK demo](https://github.com/Northlight-Systems/crou
174
174
 
175
175
  ## Reference
176
176
 
177
- The [SDK guide](https://docs.crouter.ai/docs/sdk) covers [client construction](https://docs.crouter.ai/docs/sdk/client), [nodes and scopes](https://docs.crouter.ai/docs/sdk/nodes), [streaming](https://docs.crouter.ai/docs/sdk/streaming), [files](https://docs.crouter.ai/docs/sdk/files), [bash](https://docs.crouter.ai/docs/sdk/bash), [Docker](https://docs.crouter.ai/docs/sdk/docker), [errors](https://docs.crouter.ai/docs/sdk/errors), and the complete [resource map](https://docs.crouter.ai/docs/sdk/resources).
177
+ The [SDK guide](https://docs.northlight.ai/docs/sdk) covers [client construction](https://docs.northlight.ai/docs/sdk/client), [nodes and scopes](https://docs.northlight.ai/docs/sdk/nodes), [streaming](https://docs.northlight.ai/docs/sdk/streaming), [files](https://docs.northlight.ai/docs/sdk/files), [bash](https://docs.northlight.ai/docs/sdk/bash), [Docker](https://docs.northlight.ai/docs/sdk/docker), [errors](https://docs.northlight.ai/docs/sdk/errors), and the complete [resource map](https://docs.northlight.ai/docs/sdk/resources).
178
178
 
179
179
  `@north-light/sdk/errors` exports `errorCodes`/`ErrorCode` (the daemon's codes), `sdkErrorCodes`/`SdkErrorCode` (the codes the SDK raises itself, such as `oauth_state_mismatch`; `CrouterError.code` is typed with them), and `mapError`, which turns a plain `APIError` into its status class (`NotFoundError`, …) for app tests.
180
180
 
package/dist/version.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** This SDK's release version. Informational only: compatibility is the contract level, not this number. */
2
- export declare const SDK_VERSION = "0.3.466";
2
+ export declare const SDK_VERSION = "0.3.468";
3
3
  /** The release sent in `Crouter-Minimum-Runtime-Version` on every request. It is frozen, so a runtime from before the
4
4
  * contract level existed (which only knows this header) refuses this SDK, while every later runtime accepts it. */
5
5
  export declare const LEGACY_FLOOR = "0.3.423";
package/dist/version.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // SDK_VERSION is written by scripts/release-version.mjs on every release; do not edit by hand.
2
2
  /** This SDK's release version. Informational only: compatibility is the contract level, not this number. */
3
- export const SDK_VERSION = '0.3.466';
3
+ export const SDK_VERSION = '0.3.468';
4
4
  // LEGACY_FLOOR is written once by `scripts/contract.mjs release`, at the first release that carries the contract level
5
5
  // (the `0.0.0` placeholder is replaced there and never again); do not edit by hand.
6
6
  /** The release sent in `Crouter-Minimum-Runtime-Version` on every request. It is frozen, so a runtime from before the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@north-light/sdk",
3
- "version": "0.3.466",
3
+ "version": "0.3.468",
4
4
  "crouterContract": "1.6",
5
5
  "description": "Typed Node and browser client for running crouter agents through the crtrd /v1 API.",
6
6
  "type": "module",
@@ -41,8 +41,8 @@
41
41
  "prepublishOnly": "node -e \"if (process.env.npm_config_tag !== 'next') { console.error('@north-light/sdk publishes only with --tag next; scripts/promote-sdk.mjs is the only mover of latest.'); process.exit(1); }\""
42
42
  },
43
43
  "dependencies": {
44
- "@north-light/api": "0.3.466",
45
- "@north-light/identity": "0.3.466",
44
+ "@north-light/api": "0.3.468",
45
+ "@north-light/identity": "0.3.468",
46
46
  "jose": "^6.2.1"
47
47
  },
48
48
  "peerDependencies": {