@nocobase/plugin-ai 2.1.0-alpha.31 → 2.1.0-alpha.33
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/ai/docs/nocobase/api/cli/api/dynamic.md +7 -0
- package/dist/ai/docs/nocobase/api/cli/api/resource/index.md +3 -0
- package/dist/ai/docs/nocobase/api/cli/app/down.md +7 -3
- package/dist/ai/docs/nocobase/api/cli/app/index.md +1 -1
- package/dist/ai/docs/nocobase/api/cli/app/logs.md +3 -0
- package/dist/ai/docs/nocobase/api/cli/app/restart.md +4 -0
- package/dist/ai/docs/nocobase/api/cli/app/start.md +4 -0
- package/dist/ai/docs/nocobase/api/cli/app/stop.md +3 -0
- package/dist/ai/docs/nocobase/api/cli/app/upgrade.md +5 -0
- package/dist/ai/docs/nocobase/api/cli/env/add.md +11 -3
- package/dist/ai/docs/nocobase/api/cli/env/auth.md +1 -1
- package/dist/ai/docs/nocobase/api/cli/env/current.md +29 -0
- package/dist/ai/docs/nocobase/api/cli/env/index.md +22 -4
- package/dist/ai/docs/nocobase/api/cli/env/info.md +1 -5
- package/dist/ai/docs/nocobase/api/cli/env/list.md +11 -6
- package/dist/ai/docs/nocobase/api/cli/env/remove.md +4 -1
- package/dist/ai/docs/nocobase/api/cli/env/status.md +52 -0
- package/dist/ai/docs/nocobase/api/cli/env/update.md +1 -1
- package/dist/ai/docs/nocobase/api/cli/env/use.md +11 -1
- package/dist/ai/docs/nocobase/api/cli/index.md +13 -1
- package/dist/ai/docs/nocobase/api/cli/license/activate.md +4 -1
- package/dist/ai/docs/nocobase/api/cli/license/id.md +4 -0
- package/dist/ai/docs/nocobase/api/cli/license/plugins/clean.md +5 -1
- package/dist/ai/docs/nocobase/api/cli/license/plugins/list.md +4 -0
- package/dist/ai/docs/nocobase/api/cli/license/plugins/sync.md +5 -1
- package/dist/ai/docs/nocobase/api/cli/license/status.md +4 -0
- package/dist/ai/docs/nocobase/api/cli/plugin/disable.md +4 -0
- package/dist/ai/docs/nocobase/api/cli/plugin/enable.md +4 -0
- package/dist/ai/docs/nocobase/api/cli/plugin/list.md +4 -0
- package/dist/ai/docs/nocobase/api/cli/session/id.md +28 -0
- package/dist/ai/docs/nocobase/api/cli/session/index.md +41 -0
- package/dist/ai/docs/nocobase/api/cli/session/remove.md +35 -0
- package/dist/ai/docs/nocobase/api/cli/session/setup.md +47 -0
- package/dist/externalVersion.js +15 -15
- package/dist/node_modules/@langchain/xai/package.json +1 -1
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/node_modules/jsonrepair/package.json +1 -1
- package/dist/node_modules/just-bash/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/node_modules/openai/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/package.json +2 -2
|
@@ -41,6 +41,13 @@ Dynamic commands with request bodies support:
|
|
|
41
41
|
|
|
42
42
|
`--body` and `--body-file` are mutually exclusive.
|
|
43
43
|
|
|
44
|
+
Dynamic API commands also support:
|
|
45
|
+
|
|
46
|
+
- `--env`, `-e`: CLI env name to send the request to; when omitted, the current env is used
|
|
47
|
+
- `--yes`, `-y`: When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt
|
|
48
|
+
|
|
49
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
50
|
+
|
|
44
51
|
## Related Commands
|
|
45
52
|
|
|
46
53
|
- [`nb env update`](../env/update.md)
|
|
@@ -32,6 +32,7 @@ nb api resource <command>
|
|
|
32
32
|
| `--api-base-url` | string | NocoBase API URL, for example `http://localhost:13000/api` |
|
|
33
33
|
| `--verbose` | boolean | Show detailed progress |
|
|
34
34
|
| `--env`, `-e` | string | Env name |
|
|
35
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
35
36
|
| `--role` | string | Role override sent as the `X-Role` request header |
|
|
36
37
|
| `--token`, `-t` | string | API key override |
|
|
37
38
|
| `--json-output`, `-j` / `--no-json-output` | boolean | Whether to output raw JSON; enabled by default |
|
|
@@ -49,6 +50,8 @@ nb api resource create --resource users --values '{"nickname":"Ada"}'
|
|
|
49
50
|
nb api resource list --resource posts.comments --source-id 1 --fields id --fields content
|
|
50
51
|
```
|
|
51
52
|
|
|
53
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
54
|
+
|
|
52
55
|
## Related Commands
|
|
53
56
|
|
|
54
57
|
- [`nb api`](../index.md)
|
|
@@ -6,7 +6,7 @@ keywords: "nb app down,NocoBase CLI,cleanup,remove containers,storage"
|
|
|
6
6
|
|
|
7
7
|
# nb app down
|
|
8
8
|
|
|
9
|
-
Stop and clean up local runtime resources for a selected env. Storage data and env configuration are kept by default; pass `--all --
|
|
9
|
+
Stop and clean up local runtime resources for a selected env. Storage data and env configuration are kept by default; pass `--all --force` explicitly to delete everything.
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
@@ -20,16 +20,20 @@ nb app down [flags]
|
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name to clean up; uses the current env if omitted |
|
|
22
22
|
| `--all` | boolean | Delete all content for the env, including storage data and saved env configuration |
|
|
23
|
-
| `--yes`, `-y` | boolean |
|
|
23
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
24
|
+
| `--force`, `-f` | boolean | Force destructive cleanup, such as `--all` or other high-risk cleanup in non-interactive mode |
|
|
24
25
|
| `--verbose` | boolean | Show underlying stop and cleanup command output |
|
|
25
26
|
|
|
26
27
|
## Examples
|
|
27
28
|
|
|
28
29
|
```bash
|
|
29
30
|
nb app down --env app1
|
|
30
|
-
nb app down --env app1 --all --
|
|
31
|
+
nb app down --env app1 --all --force
|
|
32
|
+
nb app down --env app1 --force
|
|
31
33
|
```
|
|
32
34
|
|
|
35
|
+
`--yes` only skips the interactive confirmation when an explicitly passed `--env` targets a different env than the current env. `--force` is for actually forcing destructive cleanup, such as `--all` or other high-risk cleanup in non-interactive mode.
|
|
36
|
+
|
|
33
37
|
## Related Commands
|
|
34
38
|
|
|
35
39
|
- [`nb app stop`](./stop.md)
|
|
@@ -19,6 +19,7 @@ nb app logs [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name to view logs for; uses the current env if omitted |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--tail` | integer | Number of recent log lines to show before following, default `100` |
|
|
23
24
|
| `--follow`, `-f` / `--no-follow` | boolean | Whether to keep following new log output |
|
|
24
25
|
|
|
@@ -31,6 +32,8 @@ nb app logs --env app1 --tail 200
|
|
|
31
32
|
nb app logs --env app1 --no-follow
|
|
32
33
|
```
|
|
33
34
|
|
|
35
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
36
|
+
|
|
34
37
|
## Related Commands
|
|
35
38
|
|
|
36
39
|
- [`nb app start`](./start.md)
|
|
@@ -19,6 +19,7 @@ nb app restart [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name to restart; uses the current env if omitted |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--quickstart` | boolean | Start the app in quickstart mode after stopping |
|
|
23
24
|
| `--port`, `-p` | string | Override the `appPort` saved in env config |
|
|
24
25
|
| `--daemon`, `-d` / `--no-daemon` | boolean | Whether to run in daemon mode after stopping; enabled by default |
|
|
@@ -36,9 +37,12 @@ nb app restart --env local --port 12000
|
|
|
36
37
|
nb app restart --env local --no-daemon
|
|
37
38
|
nb app restart --env local --instances 2
|
|
38
39
|
nb app restart --env local --launch-mode pm2
|
|
40
|
+
nb app restart --env local --verbose
|
|
39
41
|
nb app restart --env local-docker
|
|
40
42
|
```
|
|
41
43
|
|
|
44
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
45
|
+
|
|
42
46
|
## Related Commands
|
|
43
47
|
|
|
44
48
|
- [`nb app start`](./start.md)
|
|
@@ -19,6 +19,7 @@ nb app start [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name to start; uses the current env if omitted |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--quickstart` | boolean | Start the app in quickstart mode |
|
|
23
24
|
| `--port`, `-p` | string | Override the `appPort` saved in env config |
|
|
24
25
|
| `--daemon`, `-d` / `--no-daemon` | boolean | Whether to run in daemon mode; enabled by default |
|
|
@@ -37,9 +38,12 @@ nb app start --env local --daemon
|
|
|
37
38
|
nb app start --env local --no-daemon
|
|
38
39
|
nb app start --env local --instances 2
|
|
39
40
|
nb app start --env local --launch-mode pm2
|
|
41
|
+
nb app start --env local --verbose
|
|
40
42
|
nb app start --env local-docker
|
|
41
43
|
```
|
|
42
44
|
|
|
45
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
46
|
+
|
|
43
47
|
## Related Commands
|
|
44
48
|
|
|
45
49
|
- [`nb app stop`](./stop.md)
|
|
@@ -19,6 +19,7 @@ nb app stop [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name to stop; uses the current env if omitted |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--verbose` | boolean | Show underlying local or Docker command output |
|
|
23
24
|
|
|
24
25
|
## Examples
|
|
@@ -30,6 +31,8 @@ nb app stop --env local --verbose
|
|
|
30
31
|
nb app stop --env local-docker
|
|
31
32
|
```
|
|
32
33
|
|
|
34
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
35
|
+
|
|
33
36
|
## Related Commands
|
|
34
37
|
|
|
35
38
|
- [`nb app start`](./start.md)
|
|
@@ -19,7 +19,9 @@ nb app upgrade [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name to upgrade; uses the current env if omitted |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--skip-code-update`, `-s` | boolean | Restart from the saved local source or Docker image without downloading updates |
|
|
24
|
+
| `--version` | string | Override the saved `downloadVersion`; when the upgrade succeeds, the new version is written back to the env config |
|
|
23
25
|
| `--verbose` | boolean | Show underlying update and restart command output |
|
|
24
26
|
|
|
25
27
|
## Examples
|
|
@@ -28,10 +30,13 @@ nb app upgrade [flags]
|
|
|
28
30
|
nb app upgrade
|
|
29
31
|
nb app upgrade --env local
|
|
30
32
|
nb app upgrade --env local -s
|
|
33
|
+
nb app upgrade --env local --version beta
|
|
31
34
|
nb app upgrade --env local --verbose
|
|
32
35
|
nb app upgrade --env local-docker -s
|
|
33
36
|
```
|
|
34
37
|
|
|
38
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
39
|
+
|
|
35
40
|
## Related Commands
|
|
36
41
|
|
|
37
42
|
- [`nb source download`](../source/download.md)
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "nb env add"
|
|
3
|
-
description: "nb env add command reference: save a NocoBase API URL and authentication method, then switch to
|
|
4
|
-
keywords: "nb env add,NocoBase CLI,add environment,API URL,authentication"
|
|
3
|
+
description: "nb env add command reference: save a NocoBase API URL and authentication method, then switch to that env."
|
|
4
|
+
keywords: "nb env add,NocoBase CLI,add environment,API Base URL,authentication"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# nb env add
|
|
8
8
|
|
|
9
9
|
Save a named NocoBase API endpoint and switch the CLI to use that env. When `oauth` authentication is selected, [`nb env auth`](./auth.md) is started automatically.
|
|
10
10
|
|
|
11
|
+
This command does two things:
|
|
12
|
+
|
|
13
|
+
- Save the env configuration
|
|
14
|
+
- Switch the current env to the newly added env
|
|
15
|
+
|
|
16
|
+
When session mode is enabled for the current shell or runtime, it updates the session `current env`. It also updates the global `last env` as the fallback for shells or runtimes without session mode.
|
|
17
|
+
|
|
11
18
|
## Usage
|
|
12
19
|
|
|
13
20
|
```bash
|
|
@@ -18,7 +25,7 @@ nb env add [name] [flags]
|
|
|
18
25
|
|
|
19
26
|
| Parameter | Type | Description |
|
|
20
27
|
| --- | --- | --- |
|
|
21
|
-
| `[name]` | string |
|
|
28
|
+
| `[name]` | string | Environment name to save; prompted in TTY when omitted, required in non-TTY mode |
|
|
22
29
|
| `--verbose` | boolean | Show detailed progress when writing config |
|
|
23
30
|
| `--locale` | string | CLI prompt language: `en-US` or `zh-CN` |
|
|
24
31
|
| `--api-base-url`, `-u` | string | NocoBase API URL, including the `/api` prefix |
|
|
@@ -37,5 +44,6 @@ nb env add local --api-base-url http://localhost:13000/api --auth-type token --a
|
|
|
37
44
|
## Related Commands
|
|
38
45
|
|
|
39
46
|
- [`nb env auth`](./auth.md)
|
|
47
|
+
- [`nb env current`](./current.md)
|
|
40
48
|
- [`nb env update`](./update.md)
|
|
41
49
|
- [`nb env list`](./list.md)
|
|
@@ -18,7 +18,7 @@ nb env auth [name]
|
|
|
18
18
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
|
-
| `[name]` | string |
|
|
21
|
+
| `[name]` | string | Configured environment name to sign in to; uses the current env if omitted |
|
|
22
22
|
|
|
23
23
|
## Notes
|
|
24
24
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "nb env current"
|
|
3
|
+
description: "nb env current command reference: show the currently effective NocoBase CLI env."
|
|
4
|
+
keywords: "nb env current,NocoBase CLI,current env,session env"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# nb env current
|
|
8
|
+
|
|
9
|
+
Show the name of the currently effective env.
|
|
10
|
+
|
|
11
|
+
By default, this command first reads the session env for the current `NB_SESSION_ID`. If session mode is not enabled for the current shell or runtime, it falls back to the global `last env`.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
nb env current
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Examples
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
nb env current
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Related Commands
|
|
26
|
+
|
|
27
|
+
- [`nb env use`](./use.md)
|
|
28
|
+
- [`nb env status`](./status.md)
|
|
29
|
+
- [`nb session setup`](../session/setup.md)
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "nb env"
|
|
3
|
-
description: "nb env command reference: manage NocoBase CLI envs, including add,
|
|
4
|
-
keywords: "nb env,NocoBase CLI,environment management,env,authentication,OpenAPI"
|
|
3
|
+
description: "nb env command reference: manage NocoBase CLI envs, including add, inspect current env, check status, switch, authenticate, and remove."
|
|
4
|
+
keywords: "nb env,NocoBase CLI,environment management,env,current env,authentication,OpenAPI"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# nb env
|
|
8
8
|
|
|
9
9
|
Manage saved NocoBase CLI envs. An env stores API URL, authentication info, local app paths, database config, and runtime command cache.
|
|
10
10
|
|
|
11
|
+
In the current model, the CLI separates two concepts:
|
|
12
|
+
|
|
13
|
+
- `current env`: the env currently used by the active shell or agent runtime, isolated by `NB_SESSION_ID` when available
|
|
14
|
+
- `last env`: the globally last-used env, used as a fallback when session mode is not enabled
|
|
15
|
+
|
|
11
16
|
## Usage
|
|
12
17
|
|
|
13
18
|
```bash
|
|
@@ -18,9 +23,11 @@ nb env <command>
|
|
|
18
23
|
|
|
19
24
|
| Command | Description |
|
|
20
25
|
| --- | --- |
|
|
21
|
-
| [`nb env add`](./add.md) | Save a NocoBase API endpoint and switch to
|
|
26
|
+
| [`nb env add`](./add.md) | Save a NocoBase API endpoint and switch to that env |
|
|
27
|
+
| [`nb env current`](./current.md) | Show the currently effective env |
|
|
22
28
|
| [`nb env update`](./update.md) | Refresh OpenAPI Schema and runtime command cache from the app |
|
|
23
|
-
| [`nb env list`](./list.md) | List configured envs
|
|
29
|
+
| [`nb env list`](./list.md) | List configured envs |
|
|
30
|
+
| [`nb env status`](./status.md) | Show status for the current env, one env, or all envs |
|
|
24
31
|
| [`nb env info`](./info.md) | Show details for a single env |
|
|
25
32
|
| [`nb env remove`](./remove.md) | Remove env configuration |
|
|
26
33
|
| [`nb env auth`](./auth.md) | Run OAuth login for a saved env |
|
|
@@ -30,15 +37,26 @@ nb env <command>
|
|
|
30
37
|
|
|
31
38
|
```bash
|
|
32
39
|
nb env add app1 --api-base-url http://localhost:13000/api
|
|
40
|
+
nb env current
|
|
33
41
|
nb env list
|
|
42
|
+
nb env status
|
|
34
43
|
nb env info app1
|
|
35
44
|
nb env update app1
|
|
36
45
|
nb env use app1
|
|
37
46
|
nb env auth app1
|
|
38
47
|
```
|
|
39
48
|
|
|
49
|
+
## Session mode
|
|
50
|
+
|
|
51
|
+
Session mode is the default recommendation. It keeps `current env` isolated across different terminals, shells, and agent runtimes, so parallel work does not affect each other.
|
|
52
|
+
|
|
53
|
+
When session mode is not enabled, `nb env use` updates the global `last env`, and other sessions without isolation may also be affected.
|
|
54
|
+
|
|
55
|
+
See [`nb session setup`](../session/setup.md) to enable it.
|
|
56
|
+
|
|
40
57
|
## Related Commands
|
|
41
58
|
|
|
42
59
|
- [`nb init`](../init.md)
|
|
43
60
|
- [`nb api`](../api/index.md)
|
|
44
61
|
- [`nb app`](../app/index.md)
|
|
62
|
+
- [`nb session`](../session/index.md)
|
|
@@ -18,20 +18,16 @@ nb env info [name] [flags]
|
|
|
18
18
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
|
-
| `[name]` | string |
|
|
22
|
-
| `--env`, `-e` | string | CLI env name to inspect; alternative to the positional argument |
|
|
21
|
+
| `[name]` | string | Configured environment name to inspect; uses the current env if omitted |
|
|
23
22
|
| `--json` | boolean | Output JSON |
|
|
24
23
|
| `--show-secrets` | boolean | Show tokens, passwords, and other secrets in plain text |
|
|
25
24
|
|
|
26
|
-
If both `[name]` and `--env` are passed, they must match.
|
|
27
|
-
|
|
28
25
|
## Examples
|
|
29
26
|
|
|
30
27
|
```bash
|
|
31
28
|
nb env info app1
|
|
32
29
|
nb env info app1 --json
|
|
33
30
|
nb env info app1 --show-secrets
|
|
34
|
-
nb env info --env app1
|
|
35
31
|
```
|
|
36
32
|
|
|
37
33
|
## Related Commands
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "nb env list"
|
|
3
|
-
description: "nb env list command reference: list configured NocoBase CLI envs
|
|
4
|
-
keywords: "nb env list,NocoBase CLI,environment list,
|
|
3
|
+
description: "nb env list command reference: list configured NocoBase CLI envs."
|
|
4
|
+
keywords: "nb env list,NocoBase CLI,environment list,API Base URL"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# nb env list
|
|
8
8
|
|
|
9
|
-
List all configured envs
|
|
9
|
+
List all configured envs.
|
|
10
|
+
|
|
11
|
+
This command only shows saved configuration. Use [`nb env status`](./status.md) when you want to check current runtime or API status.
|
|
10
12
|
|
|
11
13
|
## Usage
|
|
12
14
|
|
|
@@ -16,9 +18,11 @@ nb env list
|
|
|
16
18
|
|
|
17
19
|
## Output
|
|
18
20
|
|
|
19
|
-
The output table includes the current env marker, name, type,
|
|
21
|
+
The output table includes the current env marker, name, type, `API Base URL`, authentication type, and runtime version.
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
- `Current` marks the currently effective env with `*`
|
|
24
|
+
- `API Base URL` shows the saved raw API address
|
|
25
|
+
- `Runtime` shows cached runtime version information
|
|
22
26
|
|
|
23
27
|
## Examples
|
|
24
28
|
|
|
@@ -28,6 +32,7 @@ nb env list
|
|
|
28
32
|
|
|
29
33
|
## Related Commands
|
|
30
34
|
|
|
35
|
+
- [`nb env current`](./current.md)
|
|
36
|
+
- [`nb env status`](./status.md)
|
|
31
37
|
- [`nb env info`](./info.md)
|
|
32
38
|
- [`nb env use`](./use.md)
|
|
33
|
-
- [`nb db ps`](../db/ps.md)
|
|
@@ -8,6 +8,8 @@ keywords: "nb env remove,NocoBase CLI,delete environment,remove config"
|
|
|
8
8
|
|
|
9
9
|
Remove a configured env. This command only deletes CLI env configuration; use [`nb app down`](../app/down.md) to clean up local apps, containers, and storage.
|
|
10
10
|
|
|
11
|
+
If the removed env is also the current env, the CLI automatically selects a new current env from the remaining envs. If no envs remain, the current env is cleared.
|
|
12
|
+
|
|
11
13
|
## Usage
|
|
12
14
|
|
|
13
15
|
```bash
|
|
@@ -18,7 +20,7 @@ nb env remove <name> [flags]
|
|
|
18
20
|
|
|
19
21
|
| Parameter | Type | Description |
|
|
20
22
|
| --- | --- | --- |
|
|
21
|
-
| `<name>` | string |
|
|
23
|
+
| `<name>` | string | Configured environment name to remove |
|
|
22
24
|
| `--force`, `-f` | boolean | Skip confirmation and delete directly |
|
|
23
25
|
| `--verbose` | boolean | Show detailed progress |
|
|
24
26
|
|
|
@@ -32,4 +34,5 @@ nb env remove staging -f
|
|
|
32
34
|
## Related Commands
|
|
33
35
|
|
|
34
36
|
- [`nb app down`](../app/down.md)
|
|
37
|
+
- [`nb env current`](./current.md)
|
|
35
38
|
- [`nb env list`](./list.md)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "nb env status"
|
|
3
|
+
description: "nb env status command reference: show status for the current env, one env, or all envs."
|
|
4
|
+
keywords: "nb env status,NocoBase CLI,environment status,API Base URL"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# nb env status
|
|
8
|
+
|
|
9
|
+
Show env status. By default it inspects the current env. You can also inspect one named env, or use `--all` to inspect all envs.
|
|
10
|
+
|
|
11
|
+
This command prints a simplified status table with `Env`, `Status`, and `API Base URL`.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
nb env status [name] [flags]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
| Parameter | Type | Description |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| `[name]` | string | Configured environment name to inspect; uses the current env if omitted; cannot be used with `--all` |
|
|
24
|
+
| `--all` | boolean | Show status for all configured envs |
|
|
25
|
+
| `--json-output` | boolean | Output the result as JSON |
|
|
26
|
+
|
|
27
|
+
`[name]` and `--all` cannot be used together.
|
|
28
|
+
|
|
29
|
+
## Status values
|
|
30
|
+
|
|
31
|
+
`Status` is the result returned after the CLI checks the target env. Typical values include:
|
|
32
|
+
|
|
33
|
+
- `ok`: the env is reachable and authenticated
|
|
34
|
+
- `auth failed`: the API is reachable but authentication failed
|
|
35
|
+
- `unreachable`: the target address could not be reached
|
|
36
|
+
- `unconfigured`: the env configuration is incomplete
|
|
37
|
+
- `missing`: the managed app for this env no longer exists
|
|
38
|
+
|
|
39
|
+
## Examples
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
nb env status
|
|
43
|
+
nb env status app1
|
|
44
|
+
nb env status --all
|
|
45
|
+
nb env status --all --json-output
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Related Commands
|
|
49
|
+
|
|
50
|
+
- [`nb env current`](./current.md)
|
|
51
|
+
- [`nb env list`](./list.md)
|
|
52
|
+
- [`nb env info`](./info.md)
|
|
@@ -18,7 +18,7 @@ nb env update [name] [flags]
|
|
|
18
18
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
|
-
| `[name]` | string |
|
|
21
|
+
| `[name]` | string | Configured environment name to refresh; uses the current env if omitted |
|
|
22
22
|
| `--verbose` | boolean | Show detailed progress |
|
|
23
23
|
| `--api-base-url` | string | Override the NocoBase API URL and persist it to the target env |
|
|
24
24
|
| `--role` | string | Role override sent as the `X-Role` request header |
|
|
@@ -8,6 +8,10 @@ keywords: "nb env use,NocoBase CLI,switch environment,current env"
|
|
|
8
8
|
|
|
9
9
|
Switch the current CLI env. Commands that omit `--env` will use this env by default afterward.
|
|
10
10
|
|
|
11
|
+
When session mode is enabled for the current shell or runtime, this change only affects the current session.
|
|
12
|
+
|
|
13
|
+
When session mode is not enabled, this falls back to updating the global `last env`. In that case, other terminals or agent runtimes without session isolation may also be affected.
|
|
14
|
+
|
|
11
15
|
## Usage
|
|
12
16
|
|
|
13
17
|
```bash
|
|
@@ -18,7 +22,7 @@ nb env use <name>
|
|
|
18
22
|
|
|
19
23
|
| Parameter | Type | Description |
|
|
20
24
|
| --- | --- | --- |
|
|
21
|
-
| `<name>` | string | Configured
|
|
25
|
+
| `<name>` | string | Configured environment name to switch to |
|
|
22
26
|
|
|
23
27
|
## Examples
|
|
24
28
|
|
|
@@ -26,7 +30,13 @@ nb env use <name>
|
|
|
26
30
|
nb env use local
|
|
27
31
|
```
|
|
28
32
|
|
|
33
|
+
## Recommendation
|
|
34
|
+
|
|
35
|
+
The default recommendation is to run [`nb session setup`](../session/setup.md) once first. That makes `nb env use` behave more like `use dbname` in a database client: switch the current session context first, then run follow-up commands that depend on that env.
|
|
36
|
+
|
|
29
37
|
## Related Commands
|
|
30
38
|
|
|
39
|
+
- [`nb env current`](./current.md)
|
|
40
|
+
- [`nb env status`](./status.md)
|
|
31
41
|
- [`nb env list`](./list.md)
|
|
32
42
|
- [`nb env info`](./info.md)
|
|
@@ -35,11 +35,12 @@ The root command mainly displays help and dispatches execution to command groups
|
|
|
35
35
|
| [`nb app`](./app/index.md) | Manage NocoBase app runtimes: start, stop, restart, logs, and upgrades. |
|
|
36
36
|
| [`nb config`](./config/index.md) | Manage CLI configuration defaults. |
|
|
37
37
|
| [`nb db`](./db/index.md) | Manage the built-in database for the selected env. |
|
|
38
|
-
| [`nb env`](./env/index.md) | Manage NocoBase project environments, status, details, and command runtimes. |
|
|
38
|
+
| [`nb env`](./env/index.md) | Manage NocoBase project environments, current env, status, details, and command runtimes. |
|
|
39
39
|
| [`nb license`](./license/index.md) | Manage commercial licensing and licensed plugins. |
|
|
40
40
|
| [`nb plugin`](./plugin/index.md) | Manage plugins in the selected NocoBase env. |
|
|
41
41
|
| [`nb scaffold`](./scaffold/index.md) | Generate NocoBase plugin development scaffolds. |
|
|
42
42
|
| [`nb self`](./self/index.md) | Inspect or update the NocoBase CLI itself. |
|
|
43
|
+
| [`nb session`](./session/index.md) | Configure `NB_SESSION_ID` so current env is isolated per shell or agent runtime. |
|
|
43
44
|
| [`nb skills`](./skills/index.md) | Inspect or synchronize NocoBase AI coding skills for the current workspace. |
|
|
44
45
|
| [`nb source`](./source/index.md) | Work with the local NocoBase source project: download, develop, build, and test. |
|
|
45
46
|
|
|
@@ -93,6 +94,8 @@ Connect an existing app:
|
|
|
93
94
|
|
|
94
95
|
```bash
|
|
95
96
|
nb env add app1 --api-base-url http://localhost:13000/api
|
|
97
|
+
nb env current
|
|
98
|
+
nb env status
|
|
96
99
|
```
|
|
97
100
|
|
|
98
101
|
Start the app and refresh runtime commands:
|
|
@@ -130,6 +133,7 @@ The following environment variables affect CLI behavior:
|
|
|
130
133
|
| --- | --- |
|
|
131
134
|
| `NB_CLI_ROOT` | Root directory where the CLI stores `.nocobase` config and local app files. Defaults to the current user's home directory. |
|
|
132
135
|
| `NB_LOCALE` | Language for CLI prompts and the local setup UI. Supported values are `en-US` and `zh-CN`. |
|
|
136
|
+
| `NB_SESSION_ID` | Session ID for the current shell or agent runtime. When set, `nb env use` and `nb env current` are isolated per session. |
|
|
133
137
|
|
|
134
138
|
Example:
|
|
135
139
|
|
|
@@ -154,6 +158,14 @@ After setting `NB_CLI_ROOT=/your/workspace`, the config file path becomes:
|
|
|
154
158
|
|
|
155
159
|
The CLI also keeps compatibility with legacy project config under the current working directory.
|
|
156
160
|
|
|
161
|
+
Current env session cache is stored in:
|
|
162
|
+
|
|
163
|
+
```text
|
|
164
|
+
.nocobase/sessions/<NB_SESSION_ID>.json
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
The globally last-used env is stored in the `lastEnv` field in `config.json`. When `NB_SESSION_ID` is not set, the CLI falls back to that global value.
|
|
168
|
+
|
|
157
169
|
Runtime command cache is stored in:
|
|
158
170
|
|
|
159
171
|
```text
|
|
@@ -25,7 +25,7 @@ nb license activate [flags]
|
|
|
25
25
|
| `--account` | string | License service account for online activation |
|
|
26
26
|
| `--password` | string | License service password for online activation |
|
|
27
27
|
| `--desc` | string | Application name submitted for online activation |
|
|
28
|
-
| `--yes` | boolean |
|
|
28
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
29
29
|
| `--json` | boolean | Output JSON |
|
|
30
30
|
|
|
31
31
|
## Examples
|
|
@@ -34,6 +34,7 @@ nb license activate [flags]
|
|
|
34
34
|
nb license activate --env app1 --key <licenseKey>
|
|
35
35
|
nb license activate --env app1 --key-file ./license.txt
|
|
36
36
|
nb license activate --env app1 --online
|
|
37
|
+
nb license activate --env app1 --online --account aa --password bb --desc test24
|
|
37
38
|
nb license activate --env app1 --online --account aa --password bb --desc test24 --yes
|
|
38
39
|
nb license activate --env app1 --json --key-file ./license.txt
|
|
39
40
|
```
|
|
@@ -42,6 +43,8 @@ nb license activate --env app1 --json --key-file ./license.txt
|
|
|
42
43
|
|
|
43
44
|
When online activation is used, the CLI requests a license key from the license service with the current env's instance ID and app URL.
|
|
44
45
|
|
|
46
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
47
|
+
|
|
45
48
|
## Related Commands
|
|
46
49
|
|
|
47
50
|
- [`nb license id`](./id.md)
|
|
@@ -19,6 +19,7 @@ nb license id [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name; when omitted, the current env is used |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--force` | boolean | Regenerate the instance ID even when one is already saved |
|
|
23
24
|
| `--json` | boolean | Output JSON |
|
|
24
25
|
|
|
@@ -27,10 +28,13 @@ nb license id [flags]
|
|
|
27
28
|
```bash
|
|
28
29
|
nb license id
|
|
29
30
|
nb license id --env app1
|
|
31
|
+
nb license id --env app1 --yes
|
|
30
32
|
nb license id --env app1 --force
|
|
31
33
|
nb license id --env app1 --json
|
|
32
34
|
```
|
|
33
35
|
|
|
36
|
+
`--force` only forces regeneration of the instance ID. It does not replace cross-env confirmation; if an explicitly passed `--env` targets a non-current env, you still need confirmation or `--yes`.
|
|
37
|
+
|
|
34
38
|
## Related Commands
|
|
35
39
|
|
|
36
40
|
- [`nb license activate`](./activate.md)
|
|
@@ -19,8 +19,9 @@ nb license plugins clean [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name; when omitted, the current env is used |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--dry-run` | boolean | Preview which plugins would be removed without deleting anything |
|
|
23
|
-
| `--verbose
|
|
24
|
+
| `--verbose` | boolean | Show detailed per-plugin clean logs |
|
|
24
25
|
| `--json` | boolean | Output JSON |
|
|
25
26
|
|
|
26
27
|
## Examples
|
|
@@ -28,11 +29,14 @@ nb license plugins clean [flags]
|
|
|
28
29
|
```bash
|
|
29
30
|
nb license plugins clean
|
|
30
31
|
nb license plugins clean --env app1
|
|
32
|
+
nb license plugins clean --env app1 --yes
|
|
31
33
|
nb license plugins clean --env app1 --dry-run
|
|
32
34
|
nb license plugins clean --env app1 --verbose
|
|
33
35
|
nb license plugins clean --env app1 --json
|
|
34
36
|
```
|
|
35
37
|
|
|
38
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
39
|
+
|
|
36
40
|
## Related Commands
|
|
37
41
|
|
|
38
42
|
- [`nb license plugins sync`](./sync.md)
|
|
@@ -19,6 +19,7 @@ nb license plugins list [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name; when omitted, the current env is used |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--json` | boolean | Output JSON |
|
|
23
24
|
|
|
24
25
|
## Examples
|
|
@@ -26,9 +27,12 @@ nb license plugins list [flags]
|
|
|
26
27
|
```bash
|
|
27
28
|
nb license plugins list
|
|
28
29
|
nb license plugins list --env app1
|
|
30
|
+
nb license plugins list --env app1 --yes
|
|
29
31
|
nb license plugins list --env app1 --json
|
|
30
32
|
```
|
|
31
33
|
|
|
34
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
35
|
+
|
|
32
36
|
## Related Commands
|
|
33
37
|
|
|
34
38
|
- [`nb license plugins sync`](./sync.md)
|
|
@@ -19,9 +19,10 @@ nb license plugins sync [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name; when omitted, the current env is used |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--dry-run` | boolean | Preview changes without installing, upgrading, or removing plugins |
|
|
23
24
|
| `--version` | string | Registry version or dist-tag to synchronize; defaults to the current workspace version |
|
|
24
|
-
| `--verbose
|
|
25
|
+
| `--verbose` | boolean | Show detailed per-plugin sync logs |
|
|
25
26
|
| `--json` | boolean | Output JSON |
|
|
26
27
|
|
|
27
28
|
## Examples
|
|
@@ -29,6 +30,7 @@ nb license plugins sync [flags]
|
|
|
29
30
|
```bash
|
|
30
31
|
nb license plugins sync
|
|
31
32
|
nb license plugins sync --env app1
|
|
33
|
+
nb license plugins sync --env app1 --yes
|
|
32
34
|
nb license plugins sync --env app1 --dry-run
|
|
33
35
|
nb license plugins sync --env app1 --json
|
|
34
36
|
```
|
|
@@ -37,6 +39,8 @@ nb license plugins sync --env app1 --json
|
|
|
37
39
|
|
|
38
40
|
When `--version` is omitted, the CLI detects the current app version automatically and uses that to decide which registry version of commercial plugins should be downloaded.
|
|
39
41
|
|
|
42
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
43
|
+
|
|
40
44
|
## Related Commands
|
|
41
45
|
|
|
42
46
|
- [`nb license plugins list`](./list.md)
|
|
@@ -19,6 +19,7 @@ nb license status [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name; when omitted, the current env is used |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
| `--doctor` | boolean | Run extra diagnostic checks and suggestions |
|
|
23
24
|
| `--json` | boolean | Output JSON |
|
|
24
25
|
|
|
@@ -27,6 +28,7 @@ nb license status [flags]
|
|
|
27
28
|
```bash
|
|
28
29
|
nb license status
|
|
29
30
|
nb license status --env app1
|
|
31
|
+
nb license status --env app1 --yes
|
|
30
32
|
nb license status --env app1 --doctor
|
|
31
33
|
nb license status --env app1 --json
|
|
32
34
|
```
|
|
@@ -35,6 +37,8 @@ nb license status --env app1 --json
|
|
|
35
37
|
|
|
36
38
|
The new CLI does not fully implement backend license status checks yet. The command can still return basic context and diagnostic placeholders, but not a complete license verdict.
|
|
37
39
|
|
|
40
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
41
|
+
|
|
38
42
|
## Related Commands
|
|
39
43
|
|
|
40
44
|
- [`nb license activate`](./activate.md)
|
|
@@ -20,6 +20,7 @@ nb plugin disable <packages...> [flags]
|
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `<packages...>` | string[] | Plugin package names, required; supports multiple values |
|
|
22
22
|
| `--env`, `-e` | string | CLI env name; uses the current env if omitted |
|
|
23
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
23
24
|
|
|
24
25
|
## Examples
|
|
25
26
|
|
|
@@ -27,8 +28,11 @@ nb plugin disable <packages...> [flags]
|
|
|
27
28
|
nb plugin disable @nocobase/plugin-sample
|
|
28
29
|
nb plugin disable @nocobase/plugin-a @nocobase/plugin-b
|
|
29
30
|
nb plugin disable -e local @nocobase/plugin-sample
|
|
31
|
+
nb plugin disable -e local --yes @nocobase/plugin-sample
|
|
30
32
|
```
|
|
31
33
|
|
|
34
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
35
|
+
|
|
32
36
|
## Related Commands
|
|
33
37
|
|
|
34
38
|
- [`nb plugin list`](./list.md)
|
|
@@ -20,6 +20,7 @@ nb plugin enable <packages...> [flags]
|
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `<packages...>` | string[] | Plugin package names, required; supports multiple values |
|
|
22
22
|
| `--env`, `-e` | string | CLI env name; uses the current env if omitted |
|
|
23
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
23
24
|
|
|
24
25
|
## Examples
|
|
25
26
|
|
|
@@ -27,8 +28,11 @@ nb plugin enable <packages...> [flags]
|
|
|
27
28
|
nb plugin enable @nocobase/plugin-sample
|
|
28
29
|
nb plugin enable @nocobase/plugin-a @nocobase/plugin-b
|
|
29
30
|
nb plugin enable -e local @nocobase/plugin-sample
|
|
31
|
+
nb plugin enable -e local --yes @nocobase/plugin-sample
|
|
30
32
|
```
|
|
31
33
|
|
|
34
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
35
|
+
|
|
32
36
|
## Related Commands
|
|
33
37
|
|
|
34
38
|
- [`nb plugin list`](./list.md)
|
|
@@ -19,15 +19,19 @@ nb plugin list [flags]
|
|
|
19
19
|
| Parameter | Type | Description |
|
|
20
20
|
| --- | --- | --- |
|
|
21
21
|
| `--env`, `-e` | string | CLI env name; uses the current env if omitted |
|
|
22
|
+
| `--yes`, `-y` | boolean | When an explicitly passed `--env` targets a different env than the current env, skip the interactive confirmation prompt |
|
|
22
23
|
|
|
23
24
|
## Examples
|
|
24
25
|
|
|
25
26
|
```bash
|
|
26
27
|
nb plugin list
|
|
27
28
|
nb plugin list -e local
|
|
29
|
+
nb plugin list -e local --yes
|
|
28
30
|
nb plugin list -e local-docker
|
|
29
31
|
```
|
|
30
32
|
|
|
33
|
+
If you explicitly pass `--env` and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add `--yes` yourself or run `nb env use <name>` first and try again.
|
|
34
|
+
|
|
31
35
|
## Related Commands
|
|
32
36
|
|
|
33
37
|
- [`nb plugin enable`](./enable.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "nb session id"
|
|
3
|
+
description: "nb session id command reference: show the current effective NB_SESSION_ID."
|
|
4
|
+
keywords: "nb session id,NocoBase CLI,NB_SESSION_ID,session id"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# nb session id
|
|
8
|
+
|
|
9
|
+
Show the current effective session id.
|
|
10
|
+
|
|
11
|
+
If no usable `NB_SESSION_ID` is available in the current shell or runtime, the command tells you to run [`nb session setup`](./setup.md) first, then open a new shell session or runtime.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
nb session id
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Examples
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
nb session id
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Related Commands
|
|
26
|
+
|
|
27
|
+
- [`nb session setup`](./setup.md)
|
|
28
|
+
- [`nb env current`](../env/current.md)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "nb session"
|
|
3
|
+
description: "nb session command reference: configure and inspect NB_SESSION_ID so current env is isolated per shell or agent runtime."
|
|
4
|
+
keywords: "nb session,NocoBase CLI,NB_SESSION_ID,session mode"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# nb session
|
|
8
|
+
|
|
9
|
+
Manage session mode for `NB_SESSION_ID`.
|
|
10
|
+
|
|
11
|
+
After session mode is enabled, `nb env use` and `nb env current` use the current shell or agent runtime context first, instead of directly sharing a single global current env.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
nb session <command>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Subcommands
|
|
20
|
+
|
|
21
|
+
| Command | Description |
|
|
22
|
+
| --- | --- |
|
|
23
|
+
| [`nb session setup`](./setup.md) | Install shell or runtime integration for `NB_SESSION_ID` |
|
|
24
|
+
| [`nb session id`](./id.md) | Show the current effective session id |
|
|
25
|
+
| [`nb session remove`](./remove.md) | Remove shell or runtime integration for `NB_SESSION_ID` |
|
|
26
|
+
|
|
27
|
+
## When you need it
|
|
28
|
+
|
|
29
|
+
The default recommendation is to run `nb session setup` once when you first start using the CLI. With it enabled:
|
|
30
|
+
|
|
31
|
+
- terminal 1 can use `env1`
|
|
32
|
+
- terminal 2 can use `env2` at the same time
|
|
33
|
+
- an agent runtime can keep its own current env too
|
|
34
|
+
|
|
35
|
+
Without session mode, different sessions fall back to sharing the global `last env`, which makes parallel work more likely to affect each other.
|
|
36
|
+
|
|
37
|
+
## Related Commands
|
|
38
|
+
|
|
39
|
+
- [`nb env current`](../env/current.md)
|
|
40
|
+
- [`nb env use`](../env/use.md)
|
|
41
|
+
- [`nb env status`](../env/status.md)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "nb session remove"
|
|
3
|
+
description: "nb session remove command reference: remove shell or runtime integration for NB_SESSION_ID."
|
|
4
|
+
keywords: "nb session remove,NocoBase CLI,NB_SESSION_ID,remove session integration"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# nb session remove
|
|
8
|
+
|
|
9
|
+
Remove session integration for `NB_SESSION_ID`.
|
|
10
|
+
|
|
11
|
+
This command cleans up shell configuration previously written by [`nb session setup`](./setup.md). If opencode plugin integration is detected, it removes that integration too.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
nb session remove [flags]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Parameters
|
|
20
|
+
|
|
21
|
+
| Parameter | Type | Description |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| `--shell` | string | Target shell. Supported values: `bash`, `zsh`, `fish`, `powershell`, `cmd` |
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
nb session remove
|
|
29
|
+
nb session remove --shell zsh
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Related Commands
|
|
33
|
+
|
|
34
|
+
- [`nb session setup`](./setup.md)
|
|
35
|
+
- [`nb session id`](./id.md)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "nb session setup"
|
|
3
|
+
description: "nb session setup command reference: install shell or runtime integration for NB_SESSION_ID."
|
|
4
|
+
keywords: "nb session setup,NocoBase CLI,NB_SESSION_ID,shell integration"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# nb session setup
|
|
8
|
+
|
|
9
|
+
Install session integration for `NB_SESSION_ID`.
|
|
10
|
+
|
|
11
|
+
This command detects the current shell, or uses the shell you pass with `--shell`, and writes the matching initialization file so new shell sessions automatically get `NB_SESSION_ID`.
|
|
12
|
+
|
|
13
|
+
If opencode configuration is detected on the machine, it also writes the related plugin integration so the agent runtime can inject its own `NB_SESSION_ID`.
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
nb session setup [flags]
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Parameters
|
|
22
|
+
|
|
23
|
+
| Parameter | Type | Description |
|
|
24
|
+
| --- | --- | --- |
|
|
25
|
+
| `--shell` | string | Target shell. Supported values: `bash`, `zsh`, `fish`, `powershell`, `cmd` |
|
|
26
|
+
|
|
27
|
+
## Notes
|
|
28
|
+
|
|
29
|
+
In most cases, you only need to run this once.
|
|
30
|
+
|
|
31
|
+
After it finishes, open a new shell session or reload your profile so `NB_SESSION_ID` is initialized automatically.
|
|
32
|
+
|
|
33
|
+
In agent runtimes such as Codex, if the runtime already injects a context variable such as `CODEX_THREAD_ID`, the CLI reuses that value first.
|
|
34
|
+
|
|
35
|
+
## Examples
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
nb session setup
|
|
39
|
+
nb session setup --shell zsh
|
|
40
|
+
nb session setup --shell powershell
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Related Commands
|
|
44
|
+
|
|
45
|
+
- [`nb session id`](./id.md)
|
|
46
|
+
- [`nb session remove`](./remove.md)
|
|
47
|
+
- [`nb env use`](../env/use.md)
|
package/dist/externalVersion.js
CHANGED
|
@@ -8,26 +8,26 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/plugin-acl": "2.1.0-alpha.
|
|
12
|
-
"@nocobase/plugin-workflow": "2.1.0-alpha.
|
|
13
|
-
"@nocobase/client": "2.1.0-alpha.
|
|
14
|
-
"@nocobase/utils": "2.1.0-alpha.
|
|
15
|
-
"@nocobase/database": "2.1.0-alpha.
|
|
16
|
-
"@nocobase/server": "2.1.0-alpha.
|
|
17
|
-
"@nocobase/plugin-file-manager": "2.1.0-alpha.
|
|
18
|
-
"@nocobase/actions": "2.1.0-alpha.
|
|
19
|
-
"@nocobase/ai": "2.1.0-alpha.
|
|
11
|
+
"@nocobase/plugin-acl": "2.1.0-alpha.33",
|
|
12
|
+
"@nocobase/plugin-workflow": "2.1.0-alpha.33",
|
|
13
|
+
"@nocobase/client": "2.1.0-alpha.33",
|
|
14
|
+
"@nocobase/utils": "2.1.0-alpha.33",
|
|
15
|
+
"@nocobase/database": "2.1.0-alpha.33",
|
|
16
|
+
"@nocobase/server": "2.1.0-alpha.33",
|
|
17
|
+
"@nocobase/plugin-file-manager": "2.1.0-alpha.33",
|
|
18
|
+
"@nocobase/actions": "2.1.0-alpha.33",
|
|
19
|
+
"@nocobase/ai": "2.1.0-alpha.33",
|
|
20
20
|
"langchain": "1.2.24",
|
|
21
21
|
"react": "18.2.0",
|
|
22
22
|
"antd": "5.24.2",
|
|
23
23
|
"@formily/core": "2.3.7",
|
|
24
24
|
"@formily/react": "2.3.7",
|
|
25
|
-
"@nocobase/flow-engine": "2.1.0-alpha.
|
|
25
|
+
"@nocobase/flow-engine": "2.1.0-alpha.33",
|
|
26
26
|
"@ant-design/icons": "5.6.1",
|
|
27
27
|
"@formily/antd-v5": "1.2.3",
|
|
28
28
|
"react-router-dom": "6.30.1",
|
|
29
29
|
"@formily/shared": "2.3.7",
|
|
30
|
-
"@nocobase/client-v2": "2.1.0-alpha.
|
|
30
|
+
"@nocobase/client-v2": "2.1.0-alpha.33",
|
|
31
31
|
"@formily/reactive": "2.3.7",
|
|
32
32
|
"lodash": "4.18.1",
|
|
33
33
|
"@langchain/core": "1.1.24",
|
|
@@ -38,14 +38,14 @@ module.exports = {
|
|
|
38
38
|
"@langchain/deepseek": "1.0.11",
|
|
39
39
|
"@langchain/google-genai": "2.1.18",
|
|
40
40
|
"@langchain/ollama": "1.2.2",
|
|
41
|
-
"@nocobase/acl": "2.1.0-alpha.
|
|
42
|
-
"@nocobase/resourcer": "2.1.0-alpha.
|
|
41
|
+
"@nocobase/acl": "2.1.0-alpha.33",
|
|
42
|
+
"@nocobase/resourcer": "2.1.0-alpha.33",
|
|
43
43
|
"@emotion/css": "11.13.0",
|
|
44
44
|
"dayjs": "1.11.13",
|
|
45
45
|
"react-i18next": "11.18.6",
|
|
46
|
-
"@nocobase/plugin-data-source-manager": "2.1.0-alpha.
|
|
46
|
+
"@nocobase/plugin-data-source-manager": "2.1.0-alpha.33",
|
|
47
47
|
"ahooks": "3.7.8",
|
|
48
48
|
"@langchain/langgraph-checkpoint": "1.0.0",
|
|
49
|
-
"@nocobase/data-source-manager": "2.1.0-alpha.
|
|
49
|
+
"@nocobase/data-source-manager": "2.1.0-alpha.33",
|
|
50
50
|
"react-dom": "18.2.0"
|
|
51
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@langchain/xai","version":"1.3.3","description":"xAI integration for LangChain.js","author":"LangChain","license":"MIT","type":"module","engines":{"node":">=20"},"repository":{"type":"git","url":"git@github.com:langchain-ai/langchainjs.git"},"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-xai/","dependencies":{"@langchain/openai":"1.2.7"},"peerDependencies":{"@langchain/core":"^1.0.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.3","@types/uuid":"^9","@vitest/coverage-v8":"^3.2.4","dotenv":"^16.3.1","dpdm":"^3.14.0","eslint":"^9.34.0","prettier":"^3.5.0","typescript":"~5.8.3","vitest":"^3.2.4","zod":"^3.25.76","@langchain/core":"^1.1.21","@langchain/eslint":"0.1.1","@langchain/openai":"^1.2.7","@langchain/tsconfig":"0.0.1","@langchain/standard-tests":"0.0.23"},"publishConfig":{"access":"public"},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"input":"./src/index.ts","require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"files":["dist/","CHANGELOG.md","README.md","LICENSE"],"module":"./dist/index.js","scripts":{"build":"turbo build:compile --filter @langchain/xai --output-logs new-only","build:compile":"tsdown","lint:eslint":"eslint --cache src/","lint:dpdm":"dpdm --skip-dynamic-imports circular --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint":"pnpm lint:eslint && pnpm lint:dpdm","lint:fix":"pnpm lint:eslint --fix && pnpm lint:dpdm","clean":"rm -rf .turbo dist/","test":"vitest run","test:watch":"vitest --watch","test:int":"vitest --mode int","test:standard:unit":"vitest --mode standard-unit","test:standard:int":"vitest --mode standard-int","test:standard":"pnpm test:standard:unit && pnpm test:standard:int","format":"prettier --write \"src\"","format:check":"prettier --check \"src\"","typegen":"pnpm run typegen:profiles","typegen:profiles":"pnpm --filter @langchain/model-profiles make --config profiles.toml"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"@langchain/xai","version":"1.3.3","description":"xAI integration for LangChain.js","author":"LangChain","license":"MIT","type":"module","engines":{"node":">=20"},"repository":{"type":"git","url":"git@github.com:langchain-ai/langchainjs.git"},"homepage":"https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-xai/","dependencies":{"@langchain/openai":"1.2.7"},"peerDependencies":{"@langchain/core":"^1.0.0"},"devDependencies":{"@tsconfig/recommended":"^1.0.3","@types/uuid":"^9","@vitest/coverage-v8":"^3.2.4","dotenv":"^16.3.1","dpdm":"^3.14.0","eslint":"^9.34.0","prettier":"^3.5.0","typescript":"~5.8.3","vitest":"^3.2.4","zod":"^3.25.76","@langchain/core":"^1.1.21","@langchain/eslint":"0.1.1","@langchain/openai":"^1.2.7","@langchain/tsconfig":"0.0.1","@langchain/standard-tests":"0.0.23"},"publishConfig":{"access":"public"},"main":"./dist/index.cjs","types":"./dist/index.d.cts","exports":{".":{"input":"./src/index.ts","require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"files":["dist/","CHANGELOG.md","README.md","LICENSE"],"module":"./dist/index.js","scripts":{"build":"turbo build:compile --filter @langchain/xai --output-logs new-only","build:compile":"tsdown","lint:eslint":"eslint --cache src/","lint:dpdm":"dpdm --skip-dynamic-imports circular --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts","lint":"pnpm lint:eslint && pnpm lint:dpdm","lint:fix":"pnpm lint:eslint --fix && pnpm lint:dpdm","clean":"rm -rf .turbo dist/","test":"vitest run","test:watch":"vitest --watch","test:int":"vitest --mode int","test:standard:unit":"vitest --mode standard-unit","test:standard:int":"vitest --mode standard-int","test:standard":"pnpm test:standard:unit && pnpm test:standard:int","format":"prettier --write \"src\"","format:check":"prettier --check \"src\"","typegen":"pnpm run typegen:profiles","typegen:profiles":"pnpm --filter @langchain/model-profiles make --config profiles.toml"},"_lastModified":"2026-05-11T11:30:24.288Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-05-11T11:30:24.446Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"jsonrepair","version":"3.13.1","description":"Repair broken JSON documents","repository":{"type":"git","url":"https://github.com/josdejong/jsonrepair.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/jsonrepair.min.js","types":"lib/types/index.d.ts","sideEffects":false,"exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js","types":"./lib/types/index.d.ts"},"./stream":{"import":"./lib/esm/stream.js","require":"./lib/cjs/stream.js","types":"./lib/types/stream.d.ts"}},"keywords":["simple","json","repair","fix","invalid","stream","streaming"],"bin":{"jsonrepair":"./bin/cli.js"},"scripts":{"test":"vitest watch src","test:it":"vitest run src","build":"npm-run-all build:**","build:clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name JSONRepair --sourcemap --output.file lib/umd/jsonrepair.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/jsonrepair.min.js -- lib/umd/jsonrepair.js","build:types":"tsc --project tsconfig-types.json","build:validate":"vitest run test-lib","lint":"biome check","format":"biome check --write","benchmark":"npm run build:esm && node tools/benchmark/run.mjs","build-and-test":"npm run lint && npm run test:it && npm run build","release":"npm-run-all release:**","release:build-and-test":"npm run build-and-test","release:version":"standard-version","release:push":"git push && git push --tag","release:publish":"npm publish","release-dry-run":"npm run build-and-test && standard-version --dry-run","prepare":"husky"},"files":["README.md","LICENSE.md","lib"],"author":"Jos de Jong","license":"ISC","devDependencies":{"@babel/cli":"7.28.3","@babel/core":"7.28.4","@babel/plugin-transform-typescript":"7.28.0","@babel/preset-env":"7.28.3","@babel/preset-typescript":"7.27.1","@biomejs/biome":"2.2.4","@commitlint/cli":"19.8.1","@commitlint/config-conventional":"19.8.1","@types/node":"24.5.2","cpy-cli":"6.0.0","del-cli":"7.0.0","husky":"9.1.7","npm-run-all":"4.1.5","rollup":"4.51.0","standard-version":"9.5.0","tinybench":"5.0.1","ts-node":"10.9.2","typescript":"5.9.2","uglify-js":"3.19.3","vitest":"3.2.4"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"jsonrepair","version":"3.13.1","description":"Repair broken JSON documents","repository":{"type":"git","url":"https://github.com/josdejong/jsonrepair.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/jsonrepair.min.js","types":"lib/types/index.d.ts","sideEffects":false,"exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js","types":"./lib/types/index.d.ts"},"./stream":{"import":"./lib/esm/stream.js","require":"./lib/cjs/stream.js","types":"./lib/types/stream.d.ts"}},"keywords":["simple","json","repair","fix","invalid","stream","streaming"],"bin":{"jsonrepair":"./bin/cli.js"},"scripts":{"test":"vitest watch src","test:it":"vitest run src","build":"npm-run-all build:**","build:clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name JSONRepair --sourcemap --output.file lib/umd/jsonrepair.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/jsonrepair.min.js -- lib/umd/jsonrepair.js","build:types":"tsc --project tsconfig-types.json","build:validate":"vitest run test-lib","lint":"biome check","format":"biome check --write","benchmark":"npm run build:esm && node tools/benchmark/run.mjs","build-and-test":"npm run lint && npm run test:it && npm run build","release":"npm-run-all release:**","release:build-and-test":"npm run build-and-test","release:version":"standard-version","release:push":"git push && git push --tag","release:publish":"npm publish","release-dry-run":"npm run build-and-test && standard-version --dry-run","prepare":"husky"},"files":["README.md","LICENSE.md","lib"],"author":"Jos de Jong","license":"ISC","devDependencies":{"@babel/cli":"7.28.3","@babel/core":"7.28.4","@babel/plugin-transform-typescript":"7.28.0","@babel/preset-env":"7.28.3","@babel/preset-typescript":"7.27.1","@biomejs/biome":"2.2.4","@commitlint/cli":"19.8.1","@commitlint/config-conventional":"19.8.1","@types/node":"24.5.2","cpy-cli":"6.0.0","del-cli":"7.0.0","husky":"9.1.7","npm-run-all":"4.1.5","rollup":"4.51.0","standard-version":"9.5.0","tinybench":"5.0.1","ts-node":"10.9.2","typescript":"5.9.2","uglify-js":"3.19.3","vitest":"3.2.4"},"_lastModified":"2026-05-11T11:30:30.890Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"just-bash","version":"2.14.3","description":"A simulated bash environment with virtual filesystem","repository":{"type":"git","url":"git+https://github.com/vercel-labs/just-bash.git"},"homepage":"https://github.com/vercel-labs/just-bash#readme","bugs":{"url":"https://github.com/vercel-labs/just-bash/issues"},"type":"module","main":"dist/bundle/index.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/bundle/browser.js","require":{"types":"./dist/index.d.cts","default":"./dist/bundle/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/bundle/index.js"}},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/bundle/browser.js"}},"files":["dist/bundle/","dist/bin/","dist/*.d.ts","dist/*.d.cts","dist/ast/*.d.ts","dist/commands/**/*.d.ts","dist/fs/**/*.d.ts","dist/interpreter/**/*.d.ts","dist/network/**/*.d.ts","dist/parser/*.d.ts","dist/sandbox/*.d.ts","dist/utils/*.d.ts","vendor/cpython-emscripten/","README.md","CHANGELOG.md","dist/AGENTS.md"],"bin":{"just-bash":"./dist/bin/just-bash.js","just-bash-shell":"./dist/bin/shell/shell.js"},"publishConfig":{"access":"public"},"keywords":[],"author":"Malte and Claude","license":"Apache-2.0","devDependencies":{"@types/ini":"^4.1.1","@types/node":"^25.0.3","@types/papaparse":"^5.5.2","@types/sprintf-js":"^1.1.4","@types/sql.js":"^1.4.9","@types/turndown":"^5.0.6","@vitest/coverage-v8":"^4.0.18","esbuild":"^0.27.2","fast-check":"^3.23.2","knip":"^5.41.1","typescript":"^5.9.3","vitest":"^4.0.16"},"dependencies":{"seek-bzip":"^2.0.0","diff":"^8.0.2","fast-xml-parser":"5.3.3","file-type":"^21.2.0","ini":"^6.0.0","minimatch":"^10.1.1","modern-tar":"^0.7.3","papaparse":"^5.5.3","quickjs-emscripten":"^0.32.0","re2js":"^1.2.1","smol-toml":"^1.6.0","sprintf-js":"^1.1.3","sql.js":"^1.13.0","turndown":"^7.2.2","yaml":"^2.8.2"},"optionalDependencies":{"@mongodb-js/zstd":"^7.0.0","node-liblzma":"^2.0.3"},"scripts":{"build":"rm -rf dist && tsc && pnpm build:lib && pnpm build:lib:cjs && pnpm build:browser && pnpm build:cli && pnpm build:shell && pnpm build:worker && pnpm build:clean && cp dist/index.d.ts dist/index.d.cts && sed '1,/^-->/d' AGENTS.npm.md > dist/AGENTS.md","build:clean":"find dist -name '*.test.js' -delete && find dist -name '*.test.d.ts' -delete","build:worker":"esbuild src/commands/python3/worker.ts --bundle --platform=node --format=esm --outfile=src/commands/python3/worker.js --external:../../../vendor/cpython-emscripten/* && cp src/commands/python3/worker.js dist/commands/python3/worker.js && mkdir -p dist/bin/chunks && cp src/commands/python3/worker.js dist/bin/chunks/worker.js && mkdir -p dist/bundle/chunks && cp src/commands/python3/worker.js dist/bundle/chunks/worker.js && esbuild src/commands/js-exec/js-exec-worker.ts --bundle --platform=node --format=esm --outfile=src/commands/js-exec/js-exec-worker.js --external:quickjs-emscripten && cp src/commands/js-exec/js-exec-worker.js dist/commands/js-exec/js-exec-worker.js && cp src/commands/js-exec/js-exec-worker.js dist/bin/chunks/js-exec-worker.js && cp src/commands/js-exec/js-exec-worker.js dist/bundle/chunks/js-exec-worker.js","build:lib":"esbuild dist/index.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bundle --chunk-names=chunks/[name]-[hash] --external:diff --external:minimatch --external:sprintf-js --external:turndown --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip","build:lib:cjs":"esbuild dist/index.js --bundle --platform=node --format=cjs --minify --outfile=dist/bundle/index.cjs --external:diff --external:minimatch --external:sprintf-js --external:turndown --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip","build:browser":"esbuild dist/browser.js --bundle --platform=browser --format=esm --minify --outfile=dist/bundle/browser.js --external:diff --external:minimatch --external:sprintf-js --external:turndown --external:node:zlib --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip --define:__BROWSER__=true --alias:node:dns=./src/shims/browser-unsupported.js","build:cli":"esbuild dist/cli/just-bash.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bin --entry-names=[name] --chunk-names=chunks/[name]-[hash] --banner:js='#!/usr/bin/env node' --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip","build:shell":"esbuild dist/cli/shell.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bin/shell --entry-names=[name] --chunk-names=chunks/[name]-[hash] --banner:js='#!/usr/bin/env node' --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip","validate":"pnpm lint && pnpm knip && pnpm typecheck && pnpm build && pnpm check:worker-sync && pnpm test:run && pnpm test:wasm && pnpm test:dist","typecheck":"tsc --noEmit","lint":"pnpm lint:banned","check:worker-sync":"node scripts/check-worker-sync.js","lint:banned":"node scripts/check-banned-patterns.js","lint:fix":"pnpm --workspace-root lint:fix","knip":"knip","test":"vitest","test:run":"vitest run --exclude src/security/fuzzing/ --exclude src/commands/python3/ --exclude src/commands/sqlite3/ --exclude src/commands/js-exec/ --exclude src/agent-examples/python-scripting.test.ts","test:dist":"vitest run src/cli/just-bash.bundle.test.ts","test:unit":"vitest run --config vitest.unit.config.ts","test:wasm":"vitest run --config vitest.wasm.config.ts","test:comparison":"vitest run --config vitest.comparison.config.ts","test:comparison:record":"RECORD_FIXTURES=1 vitest run --config vitest.comparison.config.ts","test:coverage":"vitest run --coverage","test:coverage:unit":"vitest run --config vitest.unit.config.ts --coverage","test:fuzz":"vitest run src/security/fuzzing/","test:fuzz:long":"FUZZ_RUNS=10000 vitest run src/security/fuzzing/","shell":"npx tsx src/cli/shell.ts","dev:exec":"npx tsx src/cli/exec.ts"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"just-bash","version":"2.14.3","description":"A simulated bash environment with virtual filesystem","repository":{"type":"git","url":"git+https://github.com/vercel-labs/just-bash.git"},"homepage":"https://github.com/vercel-labs/just-bash#readme","bugs":{"url":"https://github.com/vercel-labs/just-bash/issues"},"type":"module","main":"dist/bundle/index.js","types":"dist/index.d.ts","exports":{".":{"browser":"./dist/bundle/browser.js","require":{"types":"./dist/index.d.cts","default":"./dist/bundle/index.cjs"},"import":{"types":"./dist/index.d.ts","default":"./dist/bundle/index.js"}},"./browser":{"types":"./dist/browser.d.ts","import":"./dist/bundle/browser.js"}},"files":["dist/bundle/","dist/bin/","dist/*.d.ts","dist/*.d.cts","dist/ast/*.d.ts","dist/commands/**/*.d.ts","dist/fs/**/*.d.ts","dist/interpreter/**/*.d.ts","dist/network/**/*.d.ts","dist/parser/*.d.ts","dist/sandbox/*.d.ts","dist/utils/*.d.ts","vendor/cpython-emscripten/","README.md","CHANGELOG.md","dist/AGENTS.md"],"bin":{"just-bash":"./dist/bin/just-bash.js","just-bash-shell":"./dist/bin/shell/shell.js"},"publishConfig":{"access":"public"},"keywords":[],"author":"Malte and Claude","license":"Apache-2.0","devDependencies":{"@types/ini":"^4.1.1","@types/node":"^25.0.3","@types/papaparse":"^5.5.2","@types/sprintf-js":"^1.1.4","@types/sql.js":"^1.4.9","@types/turndown":"^5.0.6","@vitest/coverage-v8":"^4.0.18","esbuild":"^0.27.2","fast-check":"^3.23.2","knip":"^5.41.1","typescript":"^5.9.3","vitest":"^4.0.16"},"dependencies":{"seek-bzip":"^2.0.0","diff":"^8.0.2","fast-xml-parser":"5.3.3","file-type":"^21.2.0","ini":"^6.0.0","minimatch":"^10.1.1","modern-tar":"^0.7.3","papaparse":"^5.5.3","quickjs-emscripten":"^0.32.0","re2js":"^1.2.1","smol-toml":"^1.6.0","sprintf-js":"^1.1.3","sql.js":"^1.13.0","turndown":"^7.2.2","yaml":"^2.8.2"},"optionalDependencies":{"@mongodb-js/zstd":"^7.0.0","node-liblzma":"^2.0.3"},"scripts":{"build":"rm -rf dist && tsc && pnpm build:lib && pnpm build:lib:cjs && pnpm build:browser && pnpm build:cli && pnpm build:shell && pnpm build:worker && pnpm build:clean && cp dist/index.d.ts dist/index.d.cts && sed '1,/^-->/d' AGENTS.npm.md > dist/AGENTS.md","build:clean":"find dist -name '*.test.js' -delete && find dist -name '*.test.d.ts' -delete","build:worker":"esbuild src/commands/python3/worker.ts --bundle --platform=node --format=esm --outfile=src/commands/python3/worker.js --external:../../../vendor/cpython-emscripten/* && cp src/commands/python3/worker.js dist/commands/python3/worker.js && mkdir -p dist/bin/chunks && cp src/commands/python3/worker.js dist/bin/chunks/worker.js && mkdir -p dist/bundle/chunks && cp src/commands/python3/worker.js dist/bundle/chunks/worker.js && esbuild src/commands/js-exec/js-exec-worker.ts --bundle --platform=node --format=esm --outfile=src/commands/js-exec/js-exec-worker.js --external:quickjs-emscripten && cp src/commands/js-exec/js-exec-worker.js dist/commands/js-exec/js-exec-worker.js && cp src/commands/js-exec/js-exec-worker.js dist/bin/chunks/js-exec-worker.js && cp src/commands/js-exec/js-exec-worker.js dist/bundle/chunks/js-exec-worker.js","build:lib":"esbuild dist/index.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bundle --chunk-names=chunks/[name]-[hash] --external:diff --external:minimatch --external:sprintf-js --external:turndown --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip","build:lib:cjs":"esbuild dist/index.js --bundle --platform=node --format=cjs --minify --outfile=dist/bundle/index.cjs --external:diff --external:minimatch --external:sprintf-js --external:turndown --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip","build:browser":"esbuild dist/browser.js --bundle --platform=browser --format=esm --minify --outfile=dist/bundle/browser.js --external:diff --external:minimatch --external:sprintf-js --external:turndown --external:node:zlib --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip --define:__BROWSER__=true --alias:node:dns=./src/shims/browser-unsupported.js","build:cli":"esbuild dist/cli/just-bash.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bin --entry-names=[name] --chunk-names=chunks/[name]-[hash] --banner:js='#!/usr/bin/env node' --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip","build:shell":"esbuild dist/cli/shell.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bin/shell --entry-names=[name] --chunk-names=chunks/[name]-[hash] --banner:js='#!/usr/bin/env node' --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:seek-bzip","validate":"pnpm lint && pnpm knip && pnpm typecheck && pnpm build && pnpm check:worker-sync && pnpm test:run && pnpm test:wasm && pnpm test:dist","typecheck":"tsc --noEmit","lint":"pnpm lint:banned","check:worker-sync":"node scripts/check-worker-sync.js","lint:banned":"node scripts/check-banned-patterns.js","lint:fix":"pnpm --workspace-root lint:fix","knip":"knip","test":"vitest","test:run":"vitest run --exclude src/security/fuzzing/ --exclude src/commands/python3/ --exclude src/commands/sqlite3/ --exclude src/commands/js-exec/ --exclude src/agent-examples/python-scripting.test.ts","test:dist":"vitest run src/cli/just-bash.bundle.test.ts","test:unit":"vitest run --config vitest.unit.config.ts","test:wasm":"vitest run --config vitest.wasm.config.ts","test:comparison":"vitest run --config vitest.comparison.config.ts","test:comparison:record":"RECORD_FIXTURES=1 vitest run --config vitest.comparison.config.ts","test:coverage":"vitest run --coverage","test:coverage:unit":"vitest run --config vitest.unit.config.ts --coverage","test:fuzz":"vitest run src/security/fuzzing/","test:fuzz:long":"FUZZ_RUNS=10000 vitest run src/security/fuzzing/","shell":"npx tsx src/cli/shell.ts","dev:exec":"npx tsx src/cli/exec.ts"},"_lastModified":"2026-05-11T11:30:30.667Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-05-
|
|
1
|
+
{"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-05-11T11:30:19.544Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"openai","version":"6.22.0","description":"The official TypeScript library for the OpenAI API","author":"OpenAI <support@openai.com>","types":"./index.d.ts","main":"./index.js","type":"commonjs","repository":"github:openai/openai-node","license":"Apache-2.0","packageManager":"yarn@1.22.22","files":["**/*"],"private":false,"publishConfig":{"access":"public"},"scripts":{"test":"./scripts/test","build":"./scripts/build","format":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","fix":"./scripts/format"},"dependencies":{},"bin":{"openai":"bin/cli"},"exports":{".":{"require":{"types":"./index.d.ts","default":"./index.js"},"types":"./index.d.mts","default":"./index.mjs"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./api-promise.js":{"default":"./api-promise.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./azure.js":{"default":"./azure.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./client.js":{"default":"./client.js"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./core/*.js":{"default":"./core/*.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./error.js":{"default":"./error.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./helpers/*.js":{"default":"./helpers/*.js"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./index.js":{"default":"./index.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./lib/*.js":{"default":"./lib/*.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./pagination.js":{"default":"./pagination.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./realtime/*.js":{"default":"./realtime/*.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./resource.js":{"default":"./resource.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./resources.js":{"default":"./resources.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./streaming.js":{"default":"./streaming.js"},"./streaming.mjs":{"default":"./streaming.mjs"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./uploads.js":{"default":"./uploads.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version":{"import":"./version.mjs","require":"./version.js"},"./version.js":{"default":"./version.js"},"./version.mjs":{"default":"./version.mjs"}},"peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"openai","version":"6.22.0","description":"The official TypeScript library for the OpenAI API","author":"OpenAI <support@openai.com>","types":"./index.d.ts","main":"./index.js","type":"commonjs","repository":"github:openai/openai-node","license":"Apache-2.0","packageManager":"yarn@1.22.22","files":["**/*"],"private":false,"publishConfig":{"access":"public"},"scripts":{"test":"./scripts/test","build":"./scripts/build","format":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","fix":"./scripts/format"},"dependencies":{},"bin":{"openai":"bin/cli"},"exports":{".":{"require":{"types":"./index.d.ts","default":"./index.js"},"types":"./index.d.mts","default":"./index.mjs"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./api-promise.js":{"default":"./api-promise.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./azure.js":{"default":"./azure.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./client.js":{"default":"./client.js"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./core/*.js":{"default":"./core/*.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./error.js":{"default":"./error.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./helpers/*.js":{"default":"./helpers/*.js"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./index.js":{"default":"./index.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./lib/*.js":{"default":"./lib/*.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./pagination.js":{"default":"./pagination.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./realtime/*.js":{"default":"./realtime/*.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./resource.js":{"default":"./resource.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./resources.js":{"default":"./resources.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./streaming.js":{"default":"./streaming.js"},"./streaming.mjs":{"default":"./streaming.mjs"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./uploads.js":{"default":"./uploads.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version":{"import":"./version.mjs","require":"./version.js"},"./version.js":{"default":"./version.js"},"./version.mjs":{"default":"./version.mjs"}},"peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_lastModified":"2026-05-11T11:30:21.862Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"zod","version":"4.3.5","type":"module","license":"MIT","author":"Colin McDonnell <zod@colinhacks.com>","description":"TypeScript-first schema declaration and validation library with static type inference","homepage":"https://zod.dev","llms":"https://zod.dev/llms.txt","llmsFull":"https://zod.dev/llms-full.txt","mcpServer":"https://mcp.inkeep.com/zod/mcp","funding":"https://github.com/sponsors/colinhacks","sideEffects":false,"files":["src","**/*.js","**/*.mjs","**/*.cjs","**/*.d.ts","**/*.d.mts","**/*.d.cts","**/package.json"],"keywords":["typescript","schema","validation","type","inference"],"main":"./index.cjs","types":"./index.d.cts","module":"./index.js","zshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts","./mini":"./src/mini/index.ts","./locales":"./src/locales/index.ts","./v3":"./src/v3/index.ts","./v4":"./src/v4/index.ts","./v4-mini":"./src/v4-mini/index.ts","./v4/mini":"./src/v4/mini/index.ts","./v4/core":"./src/v4/core/index.ts","./v4/locales":"./src/v4/locales/index.ts","./v4/locales/*":"./src/v4/locales/*"},"conditions":{"@zod/source":"src"}},"exports":{"./package.json":"./package.json",".":{"@zod/source":"./src/index.ts","types":"./index.d.cts","import":"./index.js","require":"./index.cjs"},"./mini":{"@zod/source":"./src/mini/index.ts","types":"./mini/index.d.cts","import":"./mini/index.js","require":"./mini/index.cjs"},"./locales":{"@zod/source":"./src/locales/index.ts","types":"./locales/index.d.cts","import":"./locales/index.js","require":"./locales/index.cjs"},"./v3":{"@zod/source":"./src/v3/index.ts","types":"./v3/index.d.cts","import":"./v3/index.js","require":"./v3/index.cjs"},"./v4":{"@zod/source":"./src/v4/index.ts","types":"./v4/index.d.cts","import":"./v4/index.js","require":"./v4/index.cjs"},"./v4-mini":{"@zod/source":"./src/v4-mini/index.ts","types":"./v4-mini/index.d.cts","import":"./v4-mini/index.js","require":"./v4-mini/index.cjs"},"./v4/mini":{"@zod/source":"./src/v4/mini/index.ts","types":"./v4/mini/index.d.cts","import":"./v4/mini/index.js","require":"./v4/mini/index.cjs"},"./v4/core":{"@zod/source":"./src/v4/core/index.ts","types":"./v4/core/index.d.cts","import":"./v4/core/index.js","require":"./v4/core/index.cjs"},"./v4/locales":{"@zod/source":"./src/v4/locales/index.ts","types":"./v4/locales/index.d.cts","import":"./v4/locales/index.js","require":"./v4/locales/index.cjs"},"./v4/locales/*":{"@zod/source":"./src/v4/locales/*","types":"./v4/locales/*","import":"./v4/locales/*","require":"./v4/locales/*"}},"repository":{"type":"git","url":"git+https://github.com/colinhacks/zod.git"},"bugs":{"url":"https://github.com/colinhacks/zod/issues"},"support":{"backing":{"npm-funding":true}},"scripts":{"clean":"git clean -xdf . -e node_modules","build":"zshy --project tsconfig.build.json","postbuild":"tsx ../../scripts/write-stub-package-jsons.ts && pnpm biome check --write .","test:watch":"pnpm vitest","test":"pnpm vitest run","prepublishOnly":"tsx ../../scripts/check-versions.ts"},"_lastModified":"2026-05-
|
|
1
|
+
{"name":"zod","version":"4.3.5","type":"module","license":"MIT","author":"Colin McDonnell <zod@colinhacks.com>","description":"TypeScript-first schema declaration and validation library with static type inference","homepage":"https://zod.dev","llms":"https://zod.dev/llms.txt","llmsFull":"https://zod.dev/llms-full.txt","mcpServer":"https://mcp.inkeep.com/zod/mcp","funding":"https://github.com/sponsors/colinhacks","sideEffects":false,"files":["src","**/*.js","**/*.mjs","**/*.cjs","**/*.d.ts","**/*.d.mts","**/*.d.cts","**/package.json"],"keywords":["typescript","schema","validation","type","inference"],"main":"./index.cjs","types":"./index.d.cts","module":"./index.js","zshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts","./mini":"./src/mini/index.ts","./locales":"./src/locales/index.ts","./v3":"./src/v3/index.ts","./v4":"./src/v4/index.ts","./v4-mini":"./src/v4-mini/index.ts","./v4/mini":"./src/v4/mini/index.ts","./v4/core":"./src/v4/core/index.ts","./v4/locales":"./src/v4/locales/index.ts","./v4/locales/*":"./src/v4/locales/*"},"conditions":{"@zod/source":"src"}},"exports":{"./package.json":"./package.json",".":{"@zod/source":"./src/index.ts","types":"./index.d.cts","import":"./index.js","require":"./index.cjs"},"./mini":{"@zod/source":"./src/mini/index.ts","types":"./mini/index.d.cts","import":"./mini/index.js","require":"./mini/index.cjs"},"./locales":{"@zod/source":"./src/locales/index.ts","types":"./locales/index.d.cts","import":"./locales/index.js","require":"./locales/index.cjs"},"./v3":{"@zod/source":"./src/v3/index.ts","types":"./v3/index.d.cts","import":"./v3/index.js","require":"./v3/index.cjs"},"./v4":{"@zod/source":"./src/v4/index.ts","types":"./v4/index.d.cts","import":"./v4/index.js","require":"./v4/index.cjs"},"./v4-mini":{"@zod/source":"./src/v4-mini/index.ts","types":"./v4-mini/index.d.cts","import":"./v4-mini/index.js","require":"./v4-mini/index.cjs"},"./v4/mini":{"@zod/source":"./src/v4/mini/index.ts","types":"./v4/mini/index.d.cts","import":"./v4/mini/index.js","require":"./v4/mini/index.cjs"},"./v4/core":{"@zod/source":"./src/v4/core/index.ts","types":"./v4/core/index.d.cts","import":"./v4/core/index.js","require":"./v4/core/index.cjs"},"./v4/locales":{"@zod/source":"./src/v4/locales/index.ts","types":"./v4/locales/index.d.cts","import":"./v4/locales/index.js","require":"./v4/locales/index.cjs"},"./v4/locales/*":{"@zod/source":"./src/v4/locales/*","types":"./v4/locales/*","import":"./v4/locales/*","require":"./v4/locales/*"}},"repository":{"type":"git","url":"git+https://github.com/colinhacks/zod.git"},"bugs":{"url":"https://github.com/colinhacks/zod/issues"},"support":{"backing":{"npm-funding":true}},"scripts":{"clean":"git clean -xdf . -e node_modules","build":"zshy --project tsconfig.build.json","postbuild":"tsx ../../scripts/write-stub-package-jsons.ts && pnpm biome check --write .","test:watch":"pnpm vitest","test":"pnpm vitest run","prepublishOnly":"tsx ../../scripts/check-versions.ts"},"_lastModified":"2026-05-11T11:30:20.461Z"}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "Create AI employees with diverse skills to collaborate with humans, build systems, and handle business operations.",
|
|
7
7
|
"description.ru-RU": "Поддержка интеграции с AI-сервисами: предоставляются AI-узлы для рабочих процессов, расширяя возможности бизнес-обработки.",
|
|
8
8
|
"description.zh-CN": "创建各种技能的 AI 员工,与人类协同,搭建系统,处理业务。",
|
|
9
|
-
"version": "2.1.0-alpha.
|
|
9
|
+
"version": "2.1.0-alpha.33",
|
|
10
10
|
"main": "dist/server/index.js",
|
|
11
11
|
"homepage": "https://docs.nocobase.com/handbook/action-ai",
|
|
12
12
|
"homepage.ru-RU": "https://docs-ru.nocobase.com/handbook/action-ai",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"keywords": [
|
|
65
65
|
"AI"
|
|
66
66
|
],
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "64aaff11b9d9cab6890fb4835d7ae6933f2d3081"
|
|
68
68
|
}
|