@north-light/cli 0.3.543 → 0.3.545
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/dist/builtin-memory/crouter-sdk/release-notes.md +6 -0
- package/dist/builtin-memory/northlight-apps/build-on-your-app.md +47 -0
- package/dist/builtin-memory/northlight-apps/cli.md +3 -3
- package/dist/builtin-memory/northlight-apps/coding-agents.md +16 -7
- package/dist/builtin-memory/northlight-apps/concepts/apps-and-sign-in.md +0 -4
- package/dist/builtin-memory/northlight-apps/concepts/connections.md +0 -4
- package/dist/builtin-memory/northlight-apps/concepts/providers.md +0 -4
- package/dist/builtin-memory/northlight-apps/concepts/runs.md +0 -4
- package/dist/builtin-memory/northlight-apps/concepts/scopes-and-grants.md +0 -4
- package/dist/builtin-memory/northlight-apps/concepts/testing-mode.md +0 -4
- package/dist/builtin-memory/northlight-apps/get-started.md +56 -0
- package/dist/builtin-memory/northlight-apps/guides/go-live.md +1 -1
- package/dist/builtin-memory/northlight-apps/guides/manage-your-app.md +4 -4
- package/dist/builtin-memory/northlight-apps/guides/watchable-objects.md +74 -0
- package/dist/builtin-memory/northlight-apps/how-it-fits.md +1 -1
- package/dist/builtin-memory/northlight-apps/know-the-person.md +29 -0
- package/dist/builtin-memory/northlight-apps/let-their-ai-use-your-app.md +67 -0
- package/dist/builtin-memory/northlight-apps/providers/README.md +1 -1
- package/dist/builtin-memory/northlight-apps/providers/context.md +2 -2
- package/dist/builtin-memory/northlight-apps/providers/device.md +3 -3
- package/dist/builtin-memory/northlight-apps/providers/integrations.md +1 -1
- package/dist/builtin-memory/northlight-apps/providers/search.md +1 -1
- package/dist/builtin-memory/northlight-apps/providers/sms.md +3 -3
- package/dist/builtin-memory/northlight-apps/quickstart.md +3 -17
- package/dist/builtin-memory/northlight-apps/reach-people-by-text.md +50 -0
- package/dist/builtin-memory/northlight-apps/use-our-ai.md +55 -0
- package/dist/builtin-memory/northlight-apps/use-our-apps.md +46 -0
- package/dist/core/command-plugins/transport/http-plan.d.ts +2 -0
- package/dist/core/command-plugins/transport/http-plan.js +1 -1
- package/dist/core/providers/call.js +1 -1
- package/dist/daemon/api/app-listener.d.ts +1 -1
- package/dist/daemon/api/app-listener.js +13 -13
- package/dist/daemon/api/handlers/providers.d.ts +3 -1
- package/dist/shared/traceparent.d.ts +6 -0
- package/dist/shared/traceparent.js +1 -0
- package/docs/apps/build-on-your-app.md +44 -0
- package/docs/apps/cli.md +3 -3
- package/docs/apps/coding-agents.md +16 -7
- package/docs/apps/concepts/apps-and-sign-in.md +0 -4
- package/docs/apps/concepts/connections.md +0 -4
- package/docs/apps/concepts/providers.md +0 -4
- package/docs/apps/concepts/runs.md +0 -4
- package/docs/apps/concepts/scopes-and-grants.md +0 -4
- package/docs/apps/concepts/testing-mode.md +0 -4
- package/docs/apps/get-started.md +47 -0
- package/docs/apps/guides/go-live.md +1 -1
- package/docs/apps/guides/manage-your-app.md +4 -4
- package/docs/apps/guides/watchable-objects.md +71 -0
- package/docs/apps/how-it-fits.md +1 -1
- package/docs/apps/know-the-person.md +27 -0
- package/docs/apps/let-their-ai-use-your-app.md +63 -0
- package/docs/apps/providers/README.md +1 -1
- package/docs/apps/providers/context.md +2 -2
- package/docs/apps/providers/device.md +3 -3
- package/docs/apps/providers/integrations.md +1 -1
- package/docs/apps/providers/search.md +1 -1
- package/docs/apps/providers/sms.md +3 -3
- package/docs/apps/quickstart.md +3 -17
- package/docs/apps/reach-people-by-text.md +47 -0
- package/docs/apps/use-our-ai.md +27 -0
- package/docs/apps/use-our-apps.md +32 -0
- package/docs/cli/join-northlight.md +1 -1
- package/docs/release-local.md +2 -2
- package/docs/sdk/release-notes.md +6 -0
- package/package.json +3 -3
- package/packages/crouter-identity/package.json +1 -1
- package/runtime.lock.json +13 -12
package/docs/apps/cli.md
CHANGED
|
@@ -5,7 +5,7 @@ description: The npx @north-light/sdk commands for scaffolding an app, logging i
|
|
|
5
5
|
|
|
6
6
|
# CLI reference
|
|
7
7
|
|
|
8
|
-
`npx @north-light/sdk <command>` runs the package's
|
|
8
|
+
`npx @north-light/sdk <command>` runs the command-line tool of [`@north-light/sdk`](https://www.npmjs.com/package/@north-light/sdk) on npm. (crouter's own CLI, `crtr`, is a different package: [`@north-light/cli`](https://www.npmjs.com/package/@north-light/cli). Tools you offer to agents are built with [`@north-light/plugin`](https://www.npmjs.com/package/@north-light/plugin).) Run it with no command, or with `--help`, to print the list below. `npx @north-light/sdk <command> --help` (or `-h`) prints that command's usage and exits 0. An unknown command, or a bad flag, prints the usage and exits 1.
|
|
9
9
|
|
|
10
10
|
With no dependencies installed, `npx` downloads the newest published release of the SDK (the one tagged latest on npm), not the version your project pins. Run `npm i` in the project first if the pinned version must run; `init` pins the version of the CLI that ran it.
|
|
11
11
|
|
|
@@ -21,7 +21,7 @@ With no dependencies installed, `npx` downloads the newest published release of
|
|
|
21
21
|
| `npx @north-light/sdk register [--name <text>] [--scope <scope>]... [--logo <url>] [--justification <text>] [--redirect-uri <uri>]... [--issuer <url>]` | Run in a project made by `init`, after `login`: registers the app with the public key from `local/app-key.json`, adds each `--scope` beyond `crtr:llm crtr:act`, and writes `CROUTER_CLIENT_ID` and `CROUTER_ISSUER` to `local/app.env`. | No |
|
|
22
22
|
| `npx @north-light/sdk apps <leaf> [--app <client id>] [--issuer <url>] [leaf flags] [--json]` | Call one app-management leaf with the login and print its answer as JSON. Leaves: `mine`, `get`, `update`, `set-logo --file <path>`, `set-brand-color --color <#rrggbb|none>`, `set-redirect-uris`, `asks`, `set-scopes`, `set-requires`, `set-run-notice-url`, `keys list\|add\|retire\|delete\|set-jwks-uri\|remove-jwks-uri`, `testers list\|add\|remove`. `--app` defaults to `CROUTER_CLIENT_ID` in `local/app.env`; `keys add` takes `--key-file <path>` and sends only the public half. Deleting an app, its marketplace listing, monthly spend cap, sharing and provider role are console-only: those leaves exit 1 and name the console page, with no request. | No |
|
|
23
23
|
|
|
24
|
-
`keygen` and `env` are the only commands that can call `crtr`, and only with `--app`. The
|
|
24
|
+
`keygen` and `env` are the only commands that can call `crtr`, and only with `--app`. The rest of this site never uses `--app`, so crtr is optional; to use it, see [Run `crtr cloud apps` yourself](/docs/get-started#run-crtr-cloud-apps-yourself). `login`, `logout`, `whoami`, `register` and `apps` call only the Northlight directory.
|
|
25
25
|
|
|
26
26
|
## Details
|
|
27
27
|
|
|
@@ -63,7 +63,7 @@ Writes the `northlight` Agent Skill that ships in the package, replacing an olde
|
|
|
63
63
|
|
|
64
64
|
### `keygen`
|
|
65
65
|
|
|
66
|
-
Writes a private signing key to `local/app-key.json` with mode `0600`, refuses to overwrite an existing file (pass `--out` for another path), and prints the public JWK on stdout. Register the JWK in the console with **Add key** on the app's **Sign-in** tab, or paste it under **Register an app**. With `--app <client id>`, it offers to add the key to your app through your own `crtr` (`crtr cloud apps keys add`); `--yes` skips the question. This needs a joined crtr
|
|
66
|
+
Writes a private signing key to `local/app-key.json` with mode `0600`, refuses to overwrite an existing file (pass `--out` for another path), and prints the public JWK on stdout. Register the JWK in the console with **Add key** on the app's **Sign-in** tab, or paste it under **Register an app**. With `--app <client id>`, it offers to add the key to your app through your own `crtr` (`crtr cloud apps keys add`); `--yes` skips the question. This needs a joined crtr.
|
|
67
67
|
|
|
68
68
|
### `env`
|
|
69
69
|
|
|
@@ -5,7 +5,7 @@ description: What npx @north-light/sdk init and skill install for Claude Code, C
|
|
|
5
5
|
|
|
6
6
|
# Use your coding agent
|
|
7
7
|
|
|
8
|
-
The `northlight` skill teaches a coding agent the whole path in the [quick setup](/docs/quickstart): the commands, the code patterns and the rules. With it, your agent signs you up, logs in, registers the app and runs it, and you choose **Allow** twice in your browser: once on the login page, once on the app's consent page. `npx @north-light/sdk init` installs it into your project. The skill needs no account and
|
|
8
|
+
The `northlight` skill teaches a coding agent the whole path in the [quick setup](/docs/quickstart): the commands, the code patterns and the rules. With it, your agent signs you up, logs in, registers the app and runs it, and you choose **Allow** twice in your browser: once on the login page, once on the app's consent page. `npx @north-light/sdk init` installs it into your project. The skill needs no account to install, and works whether or not crouter is on your machine.
|
|
9
9
|
|
|
10
10
|
## Install it
|
|
11
11
|
|
|
@@ -25,6 +25,17 @@ npx @north-light/sdk skill
|
|
|
25
25
|
|
|
26
26
|
`skill` always replaces the `northlight` skill it finds. `--print` writes the skill to stdout instead of to files.
|
|
27
27
|
|
|
28
|
+
## Install it once for every project (Claude Code)
|
|
29
|
+
|
|
30
|
+
If you build more than one app, install the Claude Code plugin instead of a copy in each project:
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
/plugin marketplace add Northlight-Systems/plugins
|
|
34
|
+
/plugin install northlight
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
It adds the `northlight` skill, one skill for each section of this site, and the commands `/northlight:new-app`, `/northlight:add-permission`, `/northlight:text-people`, `/northlight:become-a-provider` and `/northlight:go-live`. The plugin repository is generated from these docs and the skill at each release, so it matches the current SDK version.
|
|
38
|
+
|
|
28
39
|
## Where it goes
|
|
29
40
|
|
|
30
41
|
| Agent | In the project (default) | With `--global` |
|
|
@@ -36,7 +47,7 @@ npx @north-light/sdk skill
|
|
|
36
47
|
|
|
37
48
|
The project copy is the default so it is committed with the project, and teammates get it from git. It matches the SDK version your project pins.
|
|
38
49
|
|
|
39
|
-
|
|
50
|
+
In a directory that already has a `package.json`, `init` creates a `.gitignore` with `local/`, or adds `local/` to the one you have, so the key stays out of git.
|
|
40
51
|
|
|
41
52
|
## Without a project: the hosted skill
|
|
42
53
|
|
|
@@ -50,7 +61,7 @@ If the agent's shell call times out or is interrupted while you approve, it runs
|
|
|
50
61
|
|
|
51
62
|
The skill tells the agent to read the whole message `login` printed and its exit code before it tells you what happened.
|
|
52
63
|
|
|
53
|
-
|
|
64
|
+
Name what you want built in the prompt.
|
|
54
65
|
|
|
55
66
|
## What the login can do
|
|
56
67
|
|
|
@@ -65,13 +76,11 @@ Checked on production with Claude Code (an interactive session, no crtr on `PATH
|
|
|
65
76
|
| Change signing keys, redirect URIs and the run notice URL on an app in testing | Change those on a verified app: do it in the console |
|
|
66
77
|
| | Approve another login |
|
|
67
78
|
|
|
68
|
-
Deleting an app, its listing, spend cap and sharing stay in the console on purpose. The CLI refuses them without sending a request, and the directory refuses them (403 `provider_refused`) if a call is made by hand.
|
|
79
|
+
Deleting an app, its listing, spend cap and sharing stay in the console on purpose. The CLI refuses them without sending a request, and the directory refuses them (403 `provider_refused`) if a call is made by hand.
|
|
69
80
|
|
|
70
81
|
The login lives in `~/.config/northlight/credentials.json` (`$XDG_CONFIG_HOME/northlight/credentials.json` when set), mode `0600`, outside your project. The CLI refuses a file that other users can read. It lasts 30 days, or until it has gone 14 days unused, and then you run `login` again. An account holds at most 10 logins; an eleventh replaces the oldest. The Developer access page shows the date the login goes unused, "Expires Oct 31" for a login approved on Oct 17, not the 30-day date the CLI prints.
|
|
71
82
|
|
|
72
|
-
Revoke it on your account's Developer access page (`https://account.northlight.ai/account/developer`), or run `npx @north-light/sdk logout`, which revokes it on the server and removes it from the file. The file is not deleted: it is rewritten as `{"version":1,"issuers":{}}`, with no secret in it. A revoked login stops working at once: `whoami` and every other command fail with "This login was revoked" and ask for `login`, and a token minted before the revoke is refused with 401 `credential_revoked` even before it expires.
|
|
73
|
-
|
|
74
|
-
Not yet checked on production: the 10-login limit and the eleventh login replacing the oldest, and the 14-day and 30-day expiries.
|
|
83
|
+
Revoke it on your account's Developer access page (`https://account.northlight.ai/account/developer`), or run `npx @north-light/sdk logout`, which revokes it on the server and removes it from the file. The file is not deleted: it is rewritten as `{"version":1,"issuers":{}}`, with no secret in it. A revoked login stops working at once: `whoami` and every other command fail with "This login was revoked" and ask for `login`, and a token minted before the revoke is refused with 401 `credential_revoked` even before it expires.
|
|
75
84
|
|
|
76
85
|
## How it stays current
|
|
77
86
|
|
|
@@ -76,7 +76,3 @@ LoggerModule.forRoot({
|
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
Test it: send a callback with a recognizable fake code and assert that the code, the state and the cookie never appear in the log output.
|
|
79
|
-
|
|
80
|
-
## Checked and not checked
|
|
81
|
-
|
|
82
|
-
Checked on production: the discovery document lists `S256` and `private_key_jwt`, and the login route of the quickstart server redirects to `https://account.northlight.ai/authorize` with the PKCE challenge and nonce. The rest is from the SDK and directory source. A full sign-in as the account that owns the app, through the consent page and the callback, was run on production with the quickstart server. A sign-in by a second person, token refresh and the refusals are not yet checked on production.
|
|
@@ -117,7 +117,3 @@ It needs the app registered with the `app_token_for_user` operation, and an acti
|
|
|
117
117
|
## Signing in a visitor
|
|
118
118
|
|
|
119
119
|
A person who only needs to be recognized, not connected, signs in with identity only: request `openid`, optionally with `email` and `profile`, and no runtime scope. Finish with `exchangeIdentity`, not `exchangeCode`. An `Identity` is not a connection: no runtime URL, grant or refresh token (if the directory answers with one anyway, `exchangeIdentity` revokes the refresh token), nothing goes in the store, and you keep your own session. To act for that person later, send them through `authorizeUrl` again with the runtime scopes you need.
|
|
120
|
-
|
|
121
|
-
## Checked and not checked
|
|
122
|
-
|
|
123
|
-
From the SDK source and tests. The refresh and refusal paths against `account.northlight.ai` are not yet checked on production.
|
|
@@ -54,7 +54,3 @@ if (context?.state !== 'ready') {
|
|
|
54
54
|
| `unavailable` | The provider does not offer this to the person's account. `message` says so; there is nothing for them to do. |
|
|
55
55
|
|
|
56
56
|
`message` is the provider's own sentence, present for `pending`, `failed` and `unavailable`. `step` is present when the provider reports where things stand (for example `researching`); its values may grow, so ignore one you do not know. `next` is the absolute URL of the setup page for this provider and your app; `setupLink(dependency, {returnTo})` from `@north-light/sdk` adds a `return_to` with your app's registered origin so the person returns to you, and keeps the query `next` already carries. A key can contain a dot (`context.deep`). An entry is missing when the runtime has not synced the grant since the app began requiring the provider: treat that as `not_started`. The runtime does not block your calls for you, so refuse the dependent operation yourself. To act the moment a state turns `ready`, follow it with `oauth.watchGrants`; see [Grant changes](/docs/guides/grant-changes).
|
|
57
|
-
|
|
58
|
-
## Checked and not checked
|
|
59
|
-
|
|
60
|
-
From the SDK source (`providers.tools`, `providers.call`, `grant.get`) and the directory source. The sms limits come from the existing SDK guide. A real `providers.call` for `sms` on production returned a `message_id` for a text to the signed-in person. That the text arrived is not yet checked.
|
|
@@ -88,7 +88,3 @@ try {
|
|
|
88
88
|
## Learn when a background run ends
|
|
89
89
|
|
|
90
90
|
A run you start and do not wait on ends while nobody holds a request. `oauth.watchRuns(...)` follows those runs for you and calls `onEnded` for each one that comes to rest. See [Background runs](/docs/guides/background-runs).
|
|
91
|
-
|
|
92
|
-
## Checked and not checked
|
|
93
|
-
|
|
94
|
-
From the SDK source and its tests. On production, `runs.start` and `runs.wait` ran the quickstart's prompt and settled with status `idle`; the run's reply text and `activity` are not yet checked.
|
|
@@ -56,7 +56,3 @@ A run's list must stay inside the grant, and a child agent never regains a scope
|
|
|
56
56
|
## Your app's own space
|
|
57
57
|
|
|
58
58
|
Your app has its own space on each person's runtime: documents and files owned by your app. Your server and runs started without a `scopes` list read and write it freely. A run started with a `scopes` list needs `crtr:memory:read:app:<your client id>` or `crtr:memory:rw:app:<your client id>` to touch it. Another app's space is reachable only where that app allows it.
|
|
59
|
-
|
|
60
|
-
## Checked and not checked
|
|
61
|
-
|
|
62
|
-
From the SDK source, the directory console source and the existing SDK guide. `403 scope_missing` for a missing `crtr:act` and the consent page's behavior are not yet checked on production.
|
|
@@ -30,7 +30,3 @@ Email support@northlight.ai to have the app verified. Only Northlight staff can
|
|
|
30
30
|
## Test the refusal in code
|
|
31
31
|
|
|
32
32
|
`@north-light/sdk/testing` has a fake directory that can refuse a sign-in as an app in testing, so you can test this path without a second account. See [Test your app](/docs/guides/test-your-app).
|
|
33
|
-
|
|
34
|
-
## Checked and not checked
|
|
35
|
-
|
|
36
|
-
From the SDK source, the console source and the testing-mode specification. Adding a tester, a second person signing in, the `app_in_testing` redirect and removing a tester have not been run on production (not yet checked on production). Those steps need a second account.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Get started
|
|
3
|
+
description: What every Northlight app needs first — an account, a registered app, sign-in with Northlight, a stored connection per person, scopes, and testing mode — and where each is covered.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Get started
|
|
7
|
+
|
|
8
|
+
Every app on Northlight starts the same way: a person signs in with their Northlight account, your server stores a connection for them, and from then on it calls their runtime with `oauth.client(userId)`. The six sections of this site all build on that.
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npx @north-light/sdk@latest init my-app
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
`init` writes a Node server, a signing key and an env file. [Quick setup](/docs/quickstart) takes it from there to a running app in about ten minutes. Using a coding agent? Tell it: *Read https://sdk.docs.northlight.ai/SKILL.md and follow it.* See [Use your coding agent](/docs/coding-agents).
|
|
15
|
+
|
|
16
|
+
Once a person has signed in, this is all it takes to use their runtime:
|
|
17
|
+
|
|
18
|
+
<include lang="ts">../../examples/apps/quickstart-server.ts#run</include>
|
|
19
|
+
|
|
20
|
+
## What to read, in order
|
|
21
|
+
|
|
22
|
+
| Page | What it covers |
|
|
23
|
+
|---|---|
|
|
24
|
+
| [Quick setup](/docs/quickstart) | From no account to an app that signs you in, starts a run and texts your phone |
|
|
25
|
+
| [Use your coding agent](/docs/coding-agents) | The `northlight` skill that `init` installs for Claude Code, Codex, Cursor and Copilot |
|
|
26
|
+
| [Where your app runs](/docs/how-it-fits) | Your server, the directory at `account.northlight.ai`, and each person's runtime |
|
|
27
|
+
| [Apps and sign-in](/docs/concepts/apps-and-sign-in) | What registering creates, the key pair, and the sign-in flow `OAuth2Client` runs |
|
|
28
|
+
| [Connections](/docs/concepts/connections) | What you store per person, token refresh, and refused connections |
|
|
29
|
+
| [Scopes and grants](/docs/concepts/scopes-and-grants) | What your app may ask for, what a person allowed, and a run's own scopes |
|
|
30
|
+
| [Testing mode](/docs/concepts/testing-mode) | You and up to 100 testers can sign in until the app is verified |
|
|
31
|
+
| [Test your app](/docs/guides/test-your-app) | Test your server against `@north-light/sdk/testing` without a network |
|
|
32
|
+
| [Manage your app](/docs/guides/manage-your-app) | The console's tabs: sign-in, scopes, profile, sharing, testers and provider |
|
|
33
|
+
| [Go live](/docs/guides/go-live) | Persistent storage, a real host, verification and the marketplace |
|
|
34
|
+
|
|
35
|
+
Then pick what your app does from the sections in the sidebar: [use our AI](/docs/use-our-ai), [use our apps](/docs/use-our-apps), [know the person](/docs/know-the-person), [reach people by text](/docs/reach-people-by-text), [let the person's AI use your app](/docs/let-their-ai-use-your-app), or [let other apps build on yours](/docs/build-on-your-app).
|
|
36
|
+
|
|
37
|
+
## Run `crtr cloud apps` yourself
|
|
38
|
+
|
|
39
|
+
Everything on this site works with the SDK's own commands and the web console. If you also run crouter, the agent runtime Northlight is built on, you can join your machine to your Northlight account and manage your apps with `crtr cloud apps`, or let your own crouter agents build and manage them.
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npm install -g @north-light/cli
|
|
43
|
+
crtr sys join --directory https://account.northlight.ai --token <token>
|
|
44
|
+
crtr cloud apps mine
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
The token comes from **Create join token** at `https://account.northlight.ai/account/machines`. The full steps, and what joining changes on your machine, are in [Join a machine to your Northlight account](https://crouter.docs.northlight.ai/docs/cli/join-northlight). The CLI is [`@north-light/cli`](https://www.npmjs.com/package/@north-light/cli) on npm, and crouter's own docs are at [crouter.docs.northlight.ai](https://crouter.docs.northlight.ai).
|
|
@@ -30,7 +30,7 @@ Four variables configure an app built on the SDK:
|
|
|
30
30
|
|
|
31
31
|
A new app is in testing: only you and up to 100 testers can sign in. To open it to everyone, ask Northlight to verify it by email to support@northlight.ai. Include your app's name and client ID, where it runs, and what it asks for and why. Until then, anyone else is refused with `app_in_testing`. See [Testing mode](/docs/concepts/testing-mode).
|
|
32
32
|
|
|
33
|
-
This site does not state how long verification takes or what Northlight checks beyond that email address
|
|
33
|
+
This site does not state how long verification takes or what Northlight checks beyond that email address.
|
|
34
34
|
|
|
35
35
|
## Rotate the key later
|
|
36
36
|
|
|
@@ -5,7 +5,7 @@ description: What each tab of the Northlight console does for an app you have re
|
|
|
5
5
|
|
|
6
6
|
# Manage your app
|
|
7
7
|
|
|
8
|
-
You manage an app in the console at `https://account.northlight.ai/console`. Choose your app in the list to open its page. The tabs are Sign-in, What it asks for, Profile, Sharing, Testers and Provider.
|
|
8
|
+
You manage an app in the console at `https://account.northlight.ai/console`. Choose your app in the list to open its page. The tabs are Sign-in, What it asks for, Profile, Sharing, Testers and Provider. **Provider** is where an app offers its own tools to people's agents and to other apps: see [Let their AI use your app](/docs/let-their-ai-use-your-app).
|
|
9
9
|
|
|
10
10
|
Your **client ID** is shown on the app's page. `npx @north-light/sdk register` writes it to `local/app.env`; for an app registered in the browser, use `npx @north-light/sdk env --client-id <client id>`.
|
|
11
11
|
|
|
@@ -22,7 +22,7 @@ The login cannot do these, and the CLI refuses them without a request:
|
|
|
22
22
|
- The provider role.
|
|
23
23
|
- On a verified app: signing keys, the JWKS URL, redirect URIs and the run notice URL.
|
|
24
24
|
|
|
25
|
-
Everything below names its `apps` command when there is one.
|
|
25
|
+
Everything below names its `apps` command when there is one.
|
|
26
26
|
|
|
27
27
|
## Sign-in
|
|
28
28
|
|
|
@@ -46,7 +46,7 @@ Until you retire the old key it is your rollback. After you retire it, a sign-in
|
|
|
46
46
|
- **What your app asks for.** The scopes people are asked to approve. **Add permissions** searches the catalog; take scope strings from it and from `providers.tools`, and do not invent them. From the terminal: `apps asks` lists what the app can ask for, and `apps set-scopes --add <scope>` or `--remove <scope>` changes the list. `crtr:act` needs `crtr:llm`. See [Scopes and grants](/docs/concepts/scopes-and-grants).
|
|
47
47
|
- **What your app requires.** Providers the app cannot work without (`apps set-requires`). A person is taken through that provider's setup the first time they sign in. See [Grant changes](/docs/guides/grant-changes#wait-on-a-provider-your-app-requires).
|
|
48
48
|
- **Monthly spend cap.** The most your app may spend of each person's AI subscription per month, in whole US dollars.
|
|
49
|
-
- **Run notice URL.** Where Northlight posts a signed notice when one of your app's background runs ends. Type it in **Notice URL** and choose **Save**; empty it and save to turn notices off. From the terminal: `apps set-run-notice-url` (apps in testing). The URL must be `https`, at most 512 characters, with no `#fragment`. The directory refuses a plain `http` URL with `run_notice_url` as the field. The field's hint says `http://localhost` is accepted while developing, but the production directory refuses it
|
|
49
|
+
- **Run notice URL.** Where Northlight posts a signed notice when one of your app's background runs ends. Type it in **Notice URL** and choose **Save**; empty it and save to turn notices off. From the terminal: `apps set-run-notice-url` (apps in testing). The URL must be `https`, at most 512 characters, with no `#fragment`. The directory refuses a plain `http` URL with `run_notice_url` as the field. The field's hint says `http://localhost` is accepted while developing, but the production directory refuses it, so test notices with a tunnel that gives you an `https` URL. What your app does with a notice is in [Background runs](/docs/guides/background-runs#run-notices).
|
|
50
50
|
|
|
51
51
|
## Profile
|
|
52
52
|
|
|
@@ -75,6 +75,6 @@ Once your app is live you can keep developing on your laptop against production
|
|
|
75
75
|
|
|
76
76
|
On the **Profile** tab, the **Delete this app** card lists what goes: every person's connection to the app, yours included (each person's runtime deletes the app's runs, space and schedules), the app's sign-ins and keys, and its testers and marketplace listing. This cannot be undone, and the client ID is never reused.
|
|
77
77
|
|
|
78
|
-
To delete, type the app's full name in **Type the app's name, *name*, to confirm**. **Delete app** stays disabled until what you typed matches the name (surrounding spaces are ignored), and the directory checks the name again when you submit. After it deletes, the console returns to your app list.
|
|
78
|
+
To delete, type the app's full name in **Type the app's name, *name*, to confirm**. **Delete app** stays disabled until what you typed matches the name (surrounding spaces are ignored), and the directory checks the name again when you submit. After it deletes, the console returns to your app list. After that, `/authorize` with its client ID shows "We couldn't start that sign-in" (HTTP 400).
|
|
79
79
|
|
|
80
80
|
The card is not shown for a provider or a first-party app, and the directory refuses to delete a provider (`app_is_provider`). If you only want a clean slate for tests, changing the app's redirect URIs and keys is often simpler.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Watchable objects
|
|
3
|
+
description: Give each person a canvas object per thing in your app, let their agents watch it, and publish events to it reliably with the PostgreSQL object kit.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Watchable objects
|
|
7
|
+
|
|
8
|
+
`PostgresObjectStore` from `@north-light/sdk/stores/postgres` keeps one canvas object per person for each thing in your app (a problem, a ticket, a workspace), links the person's nodes to it, and delivers events to it from a database outbox. An agent that runs `crtr <your-plugin> thing watch T-12` then receives the events you publish for T-12.
|
|
9
|
+
|
|
10
|
+
Your app declares the object kinds and their events in its plugin with `definePlugin({objectKinds})` (see [Deploying a plugin](https://crouter.docs.northlight.ai/docs/plugin/deploying)). The store registers objects of those kinds. Install `pg` in your app.
|
|
11
|
+
|
|
12
|
+
## Create the tables
|
|
13
|
+
|
|
14
|
+
`objectKitSchemaSql()` returns the DDL. Put it in your migration; the store never creates tables.
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import {objectKitSchemaSql} from '@north-light/sdk/stores/postgres';
|
|
18
|
+
|
|
19
|
+
console.log(objectKitSchemaSql()); // or objectKitSchemaSql({object: 'app.watch_object', watcher: '…', publish: '…'})
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
It creates three tables (names default to `watch_object`, `watch_watcher`, `watch_publish`):
|
|
23
|
+
|
|
24
|
+
| Table | Holds |
|
|
25
|
+
|---|---|
|
|
26
|
+
| object | `object_id` (the runtime's id), `sub`, `kind`, `target`, `name`, `created_at`; unique on (`sub`, `kind`, `target`) |
|
|
27
|
+
| watcher | `object_id`, `node`, `machine` (`''` for the person's hosted runtime); one row per linked node |
|
|
28
|
+
| publish | the outbox: `id`, `object_id`, `event`, `summary`, `state` (jsonb), `status` (`pending`, `done`, `dropped`), `attempts`, `last_error`, `next_attempt_at`, `created_at` |
|
|
29
|
+
|
|
30
|
+
Table names are lowercase identifiers, optionally schema-qualified.
|
|
31
|
+
|
|
32
|
+
## Use it
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
import {Pool} from 'pg';
|
|
36
|
+
import {PostgresObjectStore} from '@north-light/sdk/stores/postgres';
|
|
37
|
+
|
|
38
|
+
const pool = new Pool({connectionString: process.env.DATABASE_URL});
|
|
39
|
+
const objects = new PostgresObjectStore(pool, {
|
|
40
|
+
providerId: process.env.CROUTER_CLIENT_ID!, // kinds register as `<providerId>.<kind>`
|
|
41
|
+
runtime: (sub) => oauth.appClient(sub), // the app's client on that person's runtime
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
// In a command: find or create the person's object, then link the calling node to it.
|
|
45
|
+
const object = await objects.instance(sub, 'problem', 'P-12', {name: 'problem/P-12', description: 'Problem P-12'});
|
|
46
|
+
await objects.watch(object.objectId, ctx.caller.crtr.node, ctx.caller.crtr.machine);
|
|
47
|
+
|
|
48
|
+
// In the transaction of the write the event records:
|
|
49
|
+
await client.query('BEGIN');
|
|
50
|
+
// … your writes …
|
|
51
|
+
await objects.enqueue(client, object.objectId, {event: 'recovered', summary: 'P-12 recovered', state: {id: 'P-12'}});
|
|
52
|
+
await client.query('COMMIT');
|
|
53
|
+
|
|
54
|
+
// Once per process:
|
|
55
|
+
const publisher = objects.startPublisher(); // every 5 s, up to 100 rows
|
|
56
|
+
// on shutdown: await publisher.stop();
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
- `instance(sub, kind, target, {name, description})` returns the existing object for that (person, kind, target), or registers a private object on the person's runtime and stores it. Two calls racing to create the same object each register one; the row that committed first is kept and the other registration is unregistered. Use `''` as `target` for a kind with one object per person.
|
|
60
|
+
- `watch(objectId, node, machine?)` links the node on the person's runtime (`canvas.watch` with `watcher`, plus `watcher_machine` when `machine` is set) and records the link. It is safe to repeat. A node the runtime does not know rejects with `NotFoundError`.
|
|
61
|
+
- `enqueue(client, objectId, {event, summary, state?})` inserts an outbox row with the client you pass. Pass the client of your open transaction and the row exists exactly when your write committed. `summary` is cut to 500 characters. The object must already exist (the outbox references it).
|
|
62
|
+
- `startPublisher({tick?, batch?})` delivers pending rows oldest first, every `tick` ms (default 5000), at most `batch` per tick (default 100). A Postgres advisory lock lets one process at a time deliver, so every instance of your app can run it. Delivery is at least once.
|
|
63
|
+
|
|
64
|
+
## Delivery rules
|
|
65
|
+
|
|
66
|
+
- A transient failure (network, 5xx, 429, `unknown_event`) keeps the row pending and retries after `min(2^attempts × 10 s, 15 min)`.
|
|
67
|
+
- A refusal the runtime will never accept (HTTP 400, 404 or 422, other than `unknown_event`) marks the row `dropped` with `last_error` set.
|
|
68
|
+
- A row still undelivered 24 hours after it was enqueued is marked `dropped`.
|
|
69
|
+
- Rows are never deleted; delete `done` and `dropped` rows from your own cleanup job.
|
|
70
|
+
|
|
71
|
+
`PostgresObjectStore.tick()` runs one delivery pass and answers `false` when another process holds the lock; `startPublisher` calls it on a timer, logging a failed tick and carrying on. Pass `log: {warn, error}` to route those messages.
|
package/docs/apps/how-it-fits.md
CHANGED
|
@@ -43,4 +43,4 @@ The person's AI subscription pays for model calls, and what your app may do on t
|
|
|
43
43
|
|
|
44
44
|
You operate your server, its sessions, its database and its `ConnectionStore`. You register the app in the console and keep its key pair. Northlight operates the directory and the runtimes; you do not run either, and there is no local Northlight to start. If you run crouter yourself and want a runtime of your own, that is a different path: see [crouter.docs.northlight.ai](https://crouter.docs.northlight.ai).
|
|
45
45
|
|
|
46
|
-
The directory's discovery document at `https://account.northlight.ai/.well-known/openid-configuration` lists the endpoints, the `S256` PKCE method and `private_key_jwt` as the only token authentication method
|
|
46
|
+
The directory's discovery document at `https://account.northlight.ai/.well-known/openid-configuration` lists the endpoints, the `S256` PKCE method and `private_key_jwt` as the only token authentication method.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Let your app know the person
|
|
3
|
+
description: Learn who the person is and what they care about from their first sign-in, with the context provider and their public documents.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Let your app know the person
|
|
7
|
+
|
|
8
|
+
A person who signs in to your app already has a Northlight agent that knows them. Your app can ask it about them from the first sign-in, so onboarding needs fewer questions and the product fits them sooner.
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
const runtime = await oauth.client(userId);
|
|
12
|
+
const advice = await runtime.providers.call({
|
|
13
|
+
provider: 'context',
|
|
14
|
+
tool: 'ask informed', // pass the name exactly as providers.tools('context') lists it
|
|
15
|
+
arguments: {request: 'Suggest the first three topics for this person\'s reading list.'},
|
|
16
|
+
});
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`ask informed` (scope `context:ask_informed`) answers from everything their agent knows, private memories included, without handing you private details. `ask public` (scope `context:ask_public`) answers from their public memories only.
|
|
20
|
+
|
|
21
|
+
## Guides
|
|
22
|
+
|
|
23
|
+
| Page | What it covers |
|
|
24
|
+
|---|---|
|
|
25
|
+
| [Context](/docs/providers/context) | The context provider's scopes, setup and tools, including public profile lookups |
|
|
26
|
+
| [Files and documents](/docs/guides/files-and-documents) | Read the documents the person made public with `memory.list` and `memory.get`, with no scope |
|
|
27
|
+
| [Providers](/docs/concepts/providers#providers-your-app-requires) | Require `context` so the person sets it up at first sign-in |
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Let the person's AI use your app
|
|
3
|
+
description: Make your app a provider so its tools show up in the person's chat and terminal agents. Define commands with @north-light/plugin, serve them over HTTP, and add the provider role in the console.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Let the person's AI use your app
|
|
7
|
+
|
|
8
|
+
Your app can be a provider: it offers tools, and once a person connects it, every agent they run (in Northlight chat, in their terminal, and in other apps that ask for it) can call them. You define the tools once with [`@north-light/plugin`](https://www.npmjs.com/package/@north-light/plugin) and serve them from your own server.
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
import {createFetchHandler, defineLeaf, definePlugin, field, param} from '@north-light/plugin';
|
|
12
|
+
|
|
13
|
+
export const plugin = definePlugin({
|
|
14
|
+
name: 'acme',
|
|
15
|
+
provider: true,
|
|
16
|
+
version: 1,
|
|
17
|
+
description: 'Manage Acme orders.',
|
|
18
|
+
whenToUse: 'you need to look up an Acme order.',
|
|
19
|
+
summary: 'Acme orders',
|
|
20
|
+
rootEntry: {concept: 'an Acme order', description: 'Look up orders.', whenToUse: 'the task is about an Acme order.'},
|
|
21
|
+
groups: {read: {consentLine: 'Read your Acme orders.'}},
|
|
22
|
+
commands: {
|
|
23
|
+
order: defineLeaf({
|
|
24
|
+
group: 'read',
|
|
25
|
+
description: 'Show one order.',
|
|
26
|
+
whenToUse: 'you have an order id.',
|
|
27
|
+
summary: 'show an order',
|
|
28
|
+
params: {id: param.positional('The order id.', {required: true})},
|
|
29
|
+
output: {status: field.string('The order status.')},
|
|
30
|
+
effects: ['Reads one order.'],
|
|
31
|
+
handler: (input, ctx) => ({status: 'shipped'}), // ctx.caller.sub is the person who connected
|
|
32
|
+
}),
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export default createFetchHandler(plugin, {
|
|
37
|
+
auth: {issuer: 'https://account.northlight.ai', audience: 'https://acme.example.com/crtr', providerId: process.env.CROUTER_CLIENT_ID!},
|
|
38
|
+
});
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Each group in `groups` is a scope named `<your client id>:<group>`, and its `consentLine` is what the consent page shows. Every request carries a token the directory minted for one person; the handler checks it and the group's scope before your code runs.
|
|
42
|
+
|
|
43
|
+
## The steps
|
|
44
|
+
|
|
45
|
+
1. **Define the tools** with `definePlugin({provider: true, version, groups, commands})`. Every leaf names its `group`.
|
|
46
|
+
2. **Serve them** at an HTTPS URL. `createFetchHandler` is a standard Fetch handler; `createNodeHandler` serves the same plugin from Node's `http` server.
|
|
47
|
+
3. **Add the provider role.** In the console, open your app's **Provider** tab, fill in **Offer tools to other apps** with your **Endpoint URL** (and an optional **Manage URL**, where people manage their connection), and choose **Add provider role**. The directory fetches your manifest and saves the groups it declares. After a change, choose **Refresh manifest**.
|
|
48
|
+
4. **Set a price**, if you charge, on the same tab: free, a price per unit, or the cost your provider reports, plus a free monthly allowance per person.
|
|
49
|
+
|
|
50
|
+
## Who may use a group
|
|
51
|
+
|
|
52
|
+
A group's `who` says who may be granted it: `own` (only your own app), `user` (the default), `allowlist` (the apps listed in `allowlist`), `any`, or `team:<id>`. The directory applies `own` and `team:<id>`; `user`, `allowlist` and `any` are stored but not yet enforced at consent.
|
|
53
|
+
|
|
54
|
+
## Guides
|
|
55
|
+
|
|
56
|
+
These live on the crouter docs site, because the same package also adds commands to a self-run crouter:
|
|
57
|
+
|
|
58
|
+
| Page | What it covers |
|
|
59
|
+
|---|---|
|
|
60
|
+
| [Plugin docs](https://crouter.docs.northlight.ai/docs/plugin) | What `@north-light/plugin` does and how a plugin is installed |
|
|
61
|
+
| [Commands](https://crouter.docs.northlight.ai/docs/plugin/commands) | Branches, leaves, parameters, outputs, groups and `who` |
|
|
62
|
+
| [Deploying](https://crouter.docs.northlight.ai/docs/plugin/deploying) | `auth: {issuer, audience, providerId}`, `ctx.caller`, versions and breaking changes |
|
|
63
|
+
| [Manage your app](/docs/guides/manage-your-app) | The console's **Provider** tab beside the others |
|
|
@@ -25,4 +25,4 @@ A provider is a service the person's runtime calls for your app. Your app asks t
|
|
|
25
25
|
|
|
26
26
|
<include lang="ts">../../../examples/apps/provider-tools.ts</include>
|
|
27
27
|
|
|
28
|
-
Each provider page below shows the tools of a provider as
|
|
28
|
+
Each provider page below shows the tools of a provider as listed on **2026-10-16** by a person's own Northlight runtime, so it shows the groups that person's own grant holds, not an app's view. What `providers.tools` answers for your app depends on the scopes your app was granted. Tools can change between releases, so treat a table as a starting point and list the tools at run time.
|
|
@@ -9,13 +9,13 @@ The `context` provider answers questions about the person from what their agent
|
|
|
9
9
|
|
|
10
10
|
## Scopes and setup
|
|
11
11
|
|
|
12
|
-
Scopes are `context:<group>`. The console's **Add permissions** list shows `context:ask_informed` and `context:ask_public` on 2026-10-16; the tool list also shows a `research` group (`context:research`)
|
|
12
|
+
Scopes are `context:<group>`. The console's **Add permissions** list shows `context:ask_informed` and `context:ask_public` on 2026-10-16; the tool list also shows a `research` group (`context:research`). It was not in that console list on that date, so check that **Add permissions** offers it before your app depends on it.
|
|
13
13
|
|
|
14
14
|
Context needs setup before it works: the person gives a profile URL on the provider's setup page, and its state stays `pending` for a few minutes afterwards. If your app depends on it, add `context` under **What your app requires** and follow the state with `grant.get().dependencies['context']`. See [Grant changes](/docs/guides/grant-changes#wait-on-a-provider-your-app-requires).
|
|
15
15
|
|
|
16
16
|
## Tools
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Tools as listed on 2026-10-16 (provider major version 1). `*` marks a required parameter. Tool names with a space are written as the provider lists them; pass a multi-word `tool` to `providers.call` exactly as your own `providers.tools` output lists it.
|
|
19
19
|
|
|
20
20
|
| Tool | Group | Parameters | What it does |
|
|
21
21
|
|---|---|---|---|
|
|
@@ -5,7 +5,7 @@ description: "Reach the person's Mac from your app: browser, files, Messages and
|
|
|
5
5
|
|
|
6
6
|
# Device
|
|
7
7
|
|
|
8
|
-
The `device` provider reaches the person's own Mac. Its tools run on the person's machine (the provider's transport is `machine`), and each group is its own scope, so ask only for the groups your app needs.
|
|
8
|
+
The `device` provider reaches the person's own Mac. Its tools run on the person's machine (the provider's transport is `machine`), and each group is its own scope, so ask only for the groups your app needs. When the person has more than one registered Mac, a call must name the one to use with `machine` (`providers.call({provider: 'device', tool, arguments, machine})`); without it the runtime refuses with `machine_required` (except `browser libs`, which uses the most recently seen Mac).
|
|
9
9
|
|
|
10
10
|
## Scopes
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ The `device` provider reaches the person's own Mac. Its tools run on the person'
|
|
|
13
13
|
|
|
14
14
|
## Tools
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Tools as listed on 2026-10-16 (provider major version 2, transport `machine`). `*` marks a required parameter.
|
|
17
17
|
|
|
18
18
|
| Group (scope) | Tools |
|
|
19
19
|
|---|---|
|
|
@@ -23,4 +23,4 @@ Captured 2026-10-16 from `GET /v1/providers/device/tools` on a joined runtime (p
|
|
|
23
23
|
| `messages_send` | `messages send` (`recipient`\*, `text`\*, `file`, `service`) |
|
|
24
24
|
| `shell` | `shell run` (`command`\*, `cwd`, `timeout`, `stdin`) |
|
|
25
25
|
|
|
26
|
-
Tool names with spaces are written as the provider lists them;
|
|
26
|
+
Tool names with spaces are written as the provider lists them; pass them to `providers.call` exactly as your own `providers.tools` output lists them. The table shows a person's own grant, not an app's. Run `runtime.providers.tools('device')` for the list your app can use.
|
|
@@ -16,7 +16,7 @@ Scope strings come from **What it asks for → Add permissions** (provider `inte
|
|
|
16
16
|
|
|
17
17
|
## Find the tool you need
|
|
18
18
|
|
|
19
|
-
The provider has thousands of tools: on 2026-10-16
|
|
19
|
+
The provider has thousands of tools: on 2026-10-16 one runtime listed 3,061 tools across 3,060 groups, one `_read` group and one `_write` group per service, plus `discover` and `link`. This page does not table them. List them from your app:
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
22
|
const integrations = await runtime.providers.tools('integrations');
|
|
@@ -13,7 +13,7 @@ Each scope is `search:<group>`: `search:search`, `search:answer`, `search:conten
|
|
|
13
13
|
|
|
14
14
|
## Tools
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Tools as listed on 2026-10-16 (provider major version 1). `*` marks a required parameter.
|
|
17
17
|
|
|
18
18
|
| Tool | Group (scope) | Parameters | What it does |
|
|
19
19
|
|---|---|---|---|
|
|
@@ -14,7 +14,7 @@ The `sms` provider sends a text from Northlight's number to the verified phone o
|
|
|
14
14
|
| Scope | Consent sentence | Gates |
|
|
15
15
|
|---|---|---|
|
|
16
16
|
| `sms:send` | Send you text messages from Northlight's number | `send`, `react` |
|
|
17
|
-
| `sms:status` | Not
|
|
17
|
+
| `sms:status` | Not listed | `status` |
|
|
18
18
|
|
|
19
19
|
Add them under **What it asks for → Add permissions** (provider `sms`). Without `sms:send` the consent page does not offer it and `providers.call` for `sms` is refused with `scope_missing`.
|
|
20
20
|
|
|
@@ -24,11 +24,11 @@ Add them under **What it asks for → Add permissions** (provider `sms`). Withou
|
|
|
24
24
|
await runtime.providers.call({provider: 'sms', tool: 'send', arguments: {body: 'Your summary is ready.'}});
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
`body` is required. The text goes from Northlight's number to the person's verified phone, and each person can receive at most 50 texts from your app per UTC day.
|
|
27
|
+
`body` is required. The text goes from Northlight's number to the person's verified phone, and each person can receive at most 50 texts from your app per UTC day.
|
|
28
28
|
|
|
29
29
|
## Tools
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Tools as listed on 2026-10-16 (provider major version 1). `*` marks a required parameter.
|
|
32
32
|
|
|
33
33
|
| Tool | Group (scope) | Parameters | What it does |
|
|
34
34
|
|---|---|---|---|
|