@sonisoft/now-sdk-ext-cli 5.4.0 → 5.6.0

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.
Files changed (35) hide show
  1. package/README.md +320 -230
  2. package/dist/commands/auth/browser-session.d.ts +13 -0
  3. package/dist/commands/auth/browser-session.d.ts.map +1 -0
  4. package/dist/commands/auth/browser-session.js +31 -0
  5. package/dist/commands/auth/browser-session.js.map +1 -0
  6. package/dist/commands/behavior/details.d.ts +16 -0
  7. package/dist/commands/behavior/details.d.ts.map +1 -0
  8. package/dist/commands/behavior/details.js +31 -0
  9. package/dist/commands/behavior/details.js.map +1 -0
  10. package/dist/commands/behavior/index.d.ts +23 -0
  11. package/dist/commands/behavior/index.d.ts.map +1 -0
  12. package/dist/commands/behavior/index.js +41 -0
  13. package/dist/commands/behavior/index.js.map +1 -0
  14. package/dist/commands/flow/definition.d.ts +1 -1
  15. package/dist/common/authenticated-command.d.ts.map +1 -1
  16. package/dist/common/authenticated-command.js +24 -4
  17. package/dist/common/authenticated-command.js.map +1 -1
  18. package/dist/common/behavior-flags.d.ts +17 -0
  19. package/dist/common/behavior-flags.d.ts.map +1 -0
  20. package/dist/common/behavior-flags.js +14 -0
  21. package/dist/common/behavior-flags.js.map +1 -0
  22. package/dist/services/behavior-display.service.d.ts +6 -0
  23. package/dist/services/behavior-display.service.d.ts.map +1 -0
  24. package/dist/services/behavior-display.service.js +50 -0
  25. package/dist/services/behavior-display.service.js.map +1 -0
  26. package/dist/services/browser-session-writer.d.ts +4 -0
  27. package/dist/services/browser-session-writer.d.ts.map +1 -0
  28. package/dist/services/browser-session-writer.js +52 -0
  29. package/dist/services/browser-session-writer.js.map +1 -0
  30. package/dist/services/flow-display.service.d.ts +9 -9
  31. package/dist/services/flow-display.service.d.ts.map +1 -1
  32. package/dist/services/flow-display.service.js +117 -117
  33. package/dist/services/flow-display.service.js.map +1 -1
  34. package/oclif.manifest.json +1397 -983
  35. package/package.json +6 -3
package/README.md CHANGED
@@ -41,6 +41,9 @@ Execute individual ATF tests or entire test suites with detailed results, perfec
41
41
  - **Syslog Reader**: Query system logs with filtering
42
42
  - **Code Search**: Search scripts across the platform
43
43
 
44
+ #### Table Behavior
45
+ Discover business rules, UI actions, client scripts, UI/data policies, workflows, flow triggers and state models. Retrieve scripts, definitions and dependencies in the same call or in targeted batches. See [Table Behavior Discovery](#table-behavior-discovery).
46
+
44
47
  #### 📊 Aggregate & Analytics
45
48
  - **Record Counts**: Count records with optional filters
46
49
  - **Aggregate Statistics**: Run AVG, MIN, MAX, SUM across table fields
@@ -68,6 +71,7 @@ Execute individual ATF tests or entire test suites with detailed results, perfec
68
71
  - **Batch Operations**: Install multiple applications from JSON definitions or batch create/update records
69
72
  - **Progress Monitoring**: Real-time progress for long-running operations
70
73
  - **Schema Discovery**: Inspect table schemas and field definitions
74
+ - **[Table Behavior](docs/table-behavior.md)**: Inspect automation, field requirements, and related artifact details
71
75
  - **Script Sync**: Pull and push scripts between local files and ServiceNow
72
76
  - **Task Management**: Comment, assign, resolve, and close incidents and changes
73
77
  - **Update Sets**: Create, inspect, clone, and manage update sets
@@ -93,6 +97,7 @@ Execute individual ATF tests or entire test suites with detailed results, perfec
93
97
  - [Script Execution with REPL](#script-execution-with-repl)
94
98
  - [Company Repository](#company-repository-integration)
95
99
  - [Query & Search](#query--search)
100
+ - [Table Behavior Discovery](#table-behavior-discovery)
96
101
  - [Aggregate & Analytics](#aggregate--analytics)
97
102
  - [Instance Health Check](#instance-health-check)
98
103
  - [Cluster Transactions](#cluster-transactions)
@@ -126,9 +131,7 @@ Execute individual ATF tests or entire test suites with detailed results, perfec
126
131
  > npm install -g @servicenow/sdk@4.3.0
127
132
  >
128
133
  > # 2. Re-add each instance alias
129
- > snc configure profile set
130
- > # — or —
131
- > npx @servicenow/sdk auth --add <your-alias>
134
+ > npx @servicenow/sdk auth --add https://dev12345.service-now.com --alias dev --type oauth
132
135
  >
133
136
  > # 3. Verify your aliases work
134
137
  > npx @servicenow/sdk auth --list
@@ -173,7 +176,7 @@ Verify installation:
173
176
  now-sdk --version
174
177
  ```
175
178
 
176
- **Important**: The `now-sdk-ext-cli` does not manage credentials directly. It uses authentication credentials configured via the ServiceNow SDK (`now-sdk auth` command). This provides:
179
+ Create credentials with the ServiceNow SDK (`now-sdk auth`). Use `nex auth` commands to inspect aliases, diagnose credential access, and select a default alias. This provides:
177
180
  - Secure credential storage in your system's keychain
178
181
  - Centralized authentication management across ServiceNow tools
179
182
  - Support for multiple instance profiles
@@ -181,8 +184,7 @@ now-sdk --version
181
184
 
182
185
  ### Node.js
183
186
 
184
- - **Minimum Version**: Node.js 18.0.0 or higher
185
- - **Recommended**: Node.js 22.x (LTS) or later
187
+ - **Minimum Version**: Node.js 26.0.0 or higher
186
188
 
187
189
  ### ServiceNow Instance
188
190
 
@@ -492,6 +494,82 @@ nex transaction kill --transaction-id 8f9a1234567890abcdef1234567890c1 --confirm
492
494
 
493
495
  > **Warning:** A kill request aborts real work. Only pass an identifier you deliberately selected from a current `nex transaction list` result. Platform acceptance does not mean the transaction has cleared immediately; run a separate later list to confirm.
494
496
 
497
+ ### Table Behavior Discovery
498
+
499
+ Available in **nex 5.5.0**, using core **6.4.1**. Use `nex schema` for table structure and `nex behavior` for configuration that can affect records. Both behavior commands are read-only.
500
+
501
+ ```bash
502
+ nex behavior --table change_request --auth dev --read-only --json
503
+ ```
504
+
505
+ | Category | Functional context |
506
+ | --- | --- |
507
+ | `business_rules` | Operation flags, before/after/async timing, order, conditions and script availability |
508
+ | `ui_actions` | Form/list/workspace placement, roles, visibility conditions and scripts |
509
+ | `client_scripts` | Client events, target fields, views and inherited applicability |
510
+ | `ui_policies` | Conditions and mandatory, visible or read-only field actions |
511
+ | `data_policies` | Server field requirements and enforcement settings |
512
+ | `workflows` | Legacy workflow versions, start conditions, activities and transitions |
513
+ | `flows` | Record triggers, conditions and optional current flow definitions |
514
+ | `state_models` | State fields, transition gates and required fields in supported generic layouts |
515
+
516
+ Defaults include active configuration and applicable ancestors, all eight categories, 50 items per category and a 64 KiB JSON response budget. Conditions and declarative field actions are included in summaries; script bodies and full definitions are opt-in.
517
+
518
+ Request the detail needed for an investigation immediately:
519
+
520
+ ```bash
521
+ nex behavior --table change_request --category business_rules \
522
+ --details scripts --auth dev --read-only --json
523
+
524
+ nex behavior --table change_request --category flows \
525
+ --details definitions --details dependencies --dependency-depth 1 \
526
+ --max-bytes 262144 --auth dev --read-only --json
527
+ ```
528
+
529
+ Retrieve 1–50 known artifacts without repeating table discovery. Repeat `--reference` with `kind:sourceTable:sysId` values from results. Replace these example IDs with real source IDs:
530
+
531
+ ```bash
532
+ nex behavior details \
533
+ --reference flows:sys_hub_flow:0123456789abcdef0123456789abcdef \
534
+ --reference business_rules:sys_script:abcdef0123456789abcdef0123456789 \
535
+ --details scripts --details definitions --details dependencies \
536
+ --dependency-depth 1 --max-bytes 262144 --auth dev --read-only --json
537
+ ```
538
+
539
+ Known subflows, actions, Script Includes and decision tables are also supported. Preserve references returned by discovery: a flow inventory reference can identify its trigger record. For a known flow ID, use `flows:sys_hub_flow:<sys_id>`.
540
+
541
+ | Control | Use |
542
+ | --- | --- |
543
+ | `--category` | Repeat to select categories; default all eight |
544
+ | `--include-inactive` | Include inactive/draft candidates where discoverable |
545
+ | `--no-include-inherited` | Restrict table associations to the requested table |
546
+ | `--name`, `--sys-id` | Filter metadata names or up to 50 source IDs; repeat `--sys-id` |
547
+ | `--limit` | Items per category, 1–200; default 50 |
548
+ | `--cursor` | Continue exactly one selected category with unchanged table and filters |
549
+ | `--details` | Repeat for `scripts`, `definitions`, or `dependencies`; available on both commands |
550
+ | `--dependency-depth` | 0 by default; 1 expands at most 50 unique dependency references and requires `--details dependencies` |
551
+ | `--max-bytes` | JSON budget, 4,096–1,048,576 bytes; default 65,536 |
552
+ | `--scope` | Transaction scope for flow definition reads |
553
+
554
+ Continue a category using its returned `nextCursor`, retaining the original filters and detail selection:
555
+
556
+ ```bash
557
+ nex behavior --table change_request --category business_rules \
558
+ --auth dev --read-only --json
559
+
560
+ nex behavior --table change_request --category business_rules \
561
+ --cursor '<nextCursor from the previous response>' \
562
+ --auth dev --read-only --json
563
+ ```
564
+
565
+ **Read completeness before drawing conclusions.** Each category has `status` (`complete`, `partial`, `unavailable`, or `failed`), `items`, `warnings`, and an optional `nextCursor`. Detail batches return `remainingReferences`; oversized details are omitted whole with `omittedDetails` and warnings, never cut mid-script. Increase `--max-bytes`, narrow the batch, or follow the cursor. Even an empty designer-scan page can require continuation. Visibility is limited to configuration accessible to the authenticated account.
566
+
567
+ For Change Management ATF planning, combine schema choices with behavior conditions, required fields, state transitions and dependent artifacts. Keep client UI requirements separate from server enforcement. Build assertions from that configuration, then validate execution with ATF results, logs and flow contexts. Discovery does not evaluate conditions or predict execution order; runtime trigger metadata and current design definitions have separate provenance and can differ.
568
+
569
+ `--json` prints one JSON document. SDK diagnostics pass through the shared redacting logger to stderr; core 6.4.1 waits for pending file-log writes during bounded shutdown flushing. Live behavior validation used an Australia instance; Zurich validation remains outstanding.
570
+
571
+ See the [behavior guide](docs/table-behavior.md) and [core API reference](https://github.com/sonisoft-cnanda/now-sdk-ext-core/blob/main/docs/TableBehaviorDiscovery.md) for source tables, dependency limits and recovery details.
572
+
495
573
  ### Flow Designer Operations
496
574
 
497
575
  Execute and manage Flow Designer flows, subflows, and actions from the CLI.
@@ -576,152 +654,6 @@ nex bulk update --table incident --query "state=7" --data '{"active":"false"}' -
576
654
 
577
655
  ## 📖 Commands
578
656
 
579
- <!-- toc -->
580
- * [@sonisoft/now-sdk-ext-cli](#sonisoftnow-sdk-ext-cli)
581
- * [Add credentials (interactive - will prompt for username/password)](#add-credentials-interactive---will-prompt-for-usernamepassword)
582
- * [Set as default (optional)](#set-as-default-optional)
583
- * [List configured authentication profiles](#list-configured-authentication-profiles)
584
- * [One-time migration of existing keyring credentials.](#one-time-migration-of-existing-keyring-credentials)
585
- * [Run this from a desktop session — the keyring will prompt to unlock.](#run-this-from-a-desktop-session--the-keyring-will-prompt-to-unlock)
586
- * [Start interactive REPL](#start-interactive-repl)
587
- * [Execute an ATF test](#execute-an-atf-test)
588
- * [List repository applications](#list-repository-applications)
589
- * [Install from repository](#install-from-repository)
590
- * [Execute a single test](#execute-a-single-test)
591
- * [Execute a test suite by ID](#execute-a-test-suite-by-id)
592
- * [Execute by name with JSON output (perfect for CI/CD)](#execute-by-name-with-json-output-perfect-for-cicd)
593
- * [Configure browser and performance settings](#configure-browser-and-performance-settings)
594
- * [Install applications from batch definition](#install-applications-from-batch-definition)
595
- * [Uninstall an application](#uninstall-an-application)
596
- * [List repository applications (what's available to install)](#list-repository-applications-whats-available-to-install)
597
- * [Install from company repository](#install-from-company-repository)
598
- * [List installed repository apps](#list-installed-repository-apps)
599
- * [Script with placeholders: {username}, {table}](#script-with-placeholders-username-table)
600
- * [See what's available](#see-whats-available)
601
- * [Filter for installable apps](#filter-for-installable-apps)
602
- * [Install by scope (automatic lookup)](#install-by-scope-automatic-lookup)
603
- * [Install specific version](#install-specific-version)
604
- * [Background installation](#background-installation)
605
- * [Query any table with encoded queries](#query-any-table-with-encoded-queries)
606
- * [Search applications by name](#search-applications-by-name)
607
- * [List columns for a table](#list-columns-for-a-table)
608
- * [Query system logs](#query-system-logs)
609
- * [Search platform code](#search-platform-code)
610
- * [Count records](#count-records)
611
- * [Run aggregate statistics (AVG, MIN, MAX, SUM)](#run-aggregate-statistics-avg-min-max-sum)
612
- * [Grouped aggregation with display values](#grouped-aggregation-with-display-values)
613
- * [Multiple group-by fields with HAVING clause](#multiple-group-by-fields-with-having-clause)
614
- * [Full health check](#full-health-check)
615
- * [Check only version and stuck jobs](#check-only-version-and-stuck-jobs)
616
- * [Health check with custom stuck job threshold (60 minutes)](#health-check-with-custom-stuck-job-threshold-60-minutes)
617
- * [JSON output for monitoring/alerting](#json-output-for-monitoringalerting)
618
- * [List active transactions](#list-active-transactions)
619
- * [Return complete, untruncated records as JSON](#return-complete-untruncated-records-as-json)
620
- * [Submit a kill request for one deliberately selected transaction](#submit-a-kill-request-for-one-deliberately-selected-transaction)
621
- * [Execute a flow in foreground (waits for completion)](#execute-a-flow-in-foreground-waits-for-completion)
622
- * [Execute with inputs](#execute-with-inputs)
623
- * [Execute a subflow](#execute-a-subflow)
624
- * [Execute an action](#execute-an-action)
625
- * [Check flow status](#check-flow-status)
626
- * [Retrieve flow outputs](#retrieve-flow-outputs)
627
- * [Check for errors](#check-for-errors)
628
- * [Cancel a running flow](#cancel-a-running-flow)
629
- * [Send a message to a waiting flow (e.g., approval)](#send-a-message-to-a-waiting-flow-eg-approval)
630
- * [Read a flow's design-time definition (nothing is executed; no context is created)](#read-a-flows-design-time-definition-nothing-is-executed-no-context-is-created)
631
- * [Read a subflow definition](#read-a-subflow-definition)
632
- * [Read a custom action definition with its ordered steps](#read-a-custom-action-definition-with-its-ordered-steps)
633
- * [Redirect the full JSON definition to a file, or pipe it into another tool](#redirect-the-full-json-definition-to-a-file-or-pipe-it-into-another-tool)
634
- * [Dry-run: preview which records would be updated (safe default)](#dry-run-preview-which-records-would-be-updated-safe-default)
635
- * [Confirm bulk update (actually modifies records)](#confirm-bulk-update-actually-modifies-records)
636
- * [Dry-run: preview which records would be deleted](#dry-run-preview-which-records-would-be-deleted)
637
- * [Confirm bulk delete with limit](#confirm-bulk-delete-with-limit)
638
- * [JSON output for scripting](#json-output-for-scripting)
639
- * [Usage](#usage)
640
- * [Commands](#commands)
641
- * [Global scope](#global-scope)
642
- * [Custom application scope](#custom-application-scope)
643
- * [Development](#development)
644
- * [Production](#production)
645
- * [GitHub Actions](#github-actions)
646
- * [1. Enable autocomplete](#1-enable-autocomplete)
647
- * [2. Follow shell-specific instructions (bash/zsh/fish)](#2-follow-shell-specific-instructions-bashzshfish)
648
- * [3. Reload shell](#3-reload-shell)
649
- * [4. Start using it!](#4-start-using-it)
650
- * [Autocomplete queries ServiceNow and shows:](#autocomplete-queries-servicenow-and-shows)
651
- * [Ready to execute!](#ready-to-execute)
652
- * [Add credentials interactively (will prompt for username/password)](#add-credentials-interactively-will-prompt-for-usernamepassword)
653
- * [For OAuth authentication](#for-oauth-authentication)
654
- * [List all configured authentication profiles](#list-all-configured-authentication-profiles)
655
- * [Set default authentication profile (optional)](#set-default-authentication-profile-optional)
656
- * [Delete an authentication profile](#delete-an-authentication-profile)
657
- * [Use specific authentication profile via --auth flag](#use-specific-authentication-profile-via---auth-flag)
658
- * [Use default profile (if set with --use)](#use-default-profile-if-set-with---use)
659
- * [All commands support the --auth flag](#all-commands-support-the---auth-flag)
660
- * [Set credentials in environment](#set-credentials-in-environment)
661
- * [Add authentication profile (will use environment variables)](#add-authentication-profile-will-use-environment-variables)
662
- * [1. List available repository apps](#1-list-available-repository-apps)
663
- * [2. Install application from repository](#2-install-application-from-repository)
664
- * [3. Configure using REPL](#3-configure-using-repl)
665
- * [4. Run tests](#4-run-tests)
666
- * [5. Deploy to production with parameterized script](#5-deploy-to-production-with-parameterized-script)
667
- * [6. Verify deployment](#6-verify-deployment)
668
- * [Execute a single test](#execute-a-single-test)
669
- * [Execute a test suite and wait for results](#execute-a-test-suite-and-wait-for-results)
670
- * [Execute by name (no need to look up sys_id)](#execute-by-name-no-need-to-look-up-sys_id)
671
- * [Performance test with specific browser](#performance-test-with-specific-browser)
672
- * [CI/CD integration with JSON output](#cicd-integration-with-json-output)
673
- * [Custom polling for long tests](#custom-polling-for-long-tests)
674
- * [Browse company repository](#browse-company-repository)
675
- * [Install from repository](#install-from-repository)
676
- * [Batch install multiple apps](#batch-install-multiple-apps)
677
- * [Uninstall application](#uninstall-application)
678
- * [Execute script file](#execute-script-file)
679
- * [Execute in custom scope](#execute-in-custom-scope)
680
- * [Pipe output](#pipe-output)
681
- * [Start REPL](#start-repl)
682
- * [Execute multi-line scripts interactively](#execute-multi-line-scripts-interactively)
683
- * [Single parameter](#single-parameter)
684
- * [Multiple parameters](#multiple-parameters)
685
- * [From environment variables](#from-environment-variables)
686
- * [daily-tests.sh](#daily-testssh)
687
- * [setup-environment.sh](#setup-environmentsh)
688
- * [Install required apps from repository](#install-required-apps-from-repository)
689
- * [Configure via parameterized script](#configure-via-parameterized-script)
690
- * [Validate with ATF](#validate-with-atf)
691
- * [migrate-data.sh](#migrate-datash)
692
- * [Export from source](#export-from-source)
693
- * [Transform data](#transform-data)
694
- * [Import to target with parameters](#import-to-target-with-parameters)
695
- * [Validate](#validate)
696
- * [List all configured authentication profiles](#list-all-configured-authentication-profiles)
697
- * [Delete and re-add credentials if needed](#delete-and-re-add-credentials-if-needed)
698
- * [Set as default](#set-as-default)
699
- * [Verify installation](#verify-installation)
700
- * [Reinstall if needed](#reinstall-if-needed)
701
- * [Check PATH includes npm global binaries](#check-path-includes-npm-global-binaries)
702
- * [Increase poll interval](#increase-poll-interval)
703
- * [Check instance performance](#check-instance-performance)
704
- * [Check test suite complexity](#check-test-suite-complexity)
705
- * [Review ServiceNow logs](#review-servicenow-logs)
706
- * [Verify user has required roles:](#verify-user-has-required-roles)
707
- * [- atf_test_runner for ATF operations](#--atf_test_runner-for-atf-operations)
708
- * [- admin for app management](#--admin-for-app-management)
709
- * [- appropriate scope access for scripts](#--appropriate-scope-access-for-scripts)
710
- * [General help](#general-help)
711
- * [Command-specific help](#command-specific-help)
712
- * [Command-specific help](#command-specific-help)
713
- * [Enable autocomplete](#enable-autocomplete)
714
- * [Clone the repository](#clone-the-repository)
715
- * [Install dependencies](#install-dependencies)
716
- * [Build](#build)
717
- * [Run tests (960+ tests)](#run-tests-960-tests)
718
- * [Run linter](#run-linter)
719
- * [Test locally](#test-locally)
720
- * [All tests](#all-tests)
721
- * [Specific test file](#specific-test-file)
722
- * [With coverage](#with-coverage)
723
- <!-- tocstop -->
724
-
725
657
  # Usage
726
658
  <!-- usage -->
727
659
  ```sh-session
@@ -729,7 +661,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
729
661
  $ nex COMMAND
730
662
  running command...
731
663
  $ nex (--version)
732
- @sonisoft/now-sdk-ext-cli/5.4.0 linux-x64 node-v26.5.0
664
+ @sonisoft/now-sdk-ext-cli/5.6.0 linux-x64 node-v26.5.0
733
665
  $ nex --help [COMMAND]
734
666
  USAGE
735
667
  $ nex COMMAND
@@ -776,6 +708,7 @@ rather than silently denying nothing.
776
708
  * [`nex attachment get`](#nex-attachment-get)
777
709
  * [`nex attachment list`](#nex-attachment-list)
778
710
  * [`nex attachment upload`](#nex-attachment-upload)
711
+ * [`nex auth browser-session`](#nex-auth-browser-session)
779
712
  * [`nex auth delete [ALIAS]`](#nex-auth-delete-alias)
780
713
  * [`nex auth doctor`](#nex-auth-doctor)
781
714
  * [`nex auth list`](#nex-auth-list)
@@ -783,6 +716,8 @@ rather than silently denying nothing.
783
716
  * [`nex autocomplete [SHELL]`](#nex-autocomplete-shell)
784
717
  * [`nex batch create`](#nex-batch-create)
785
718
  * [`nex batch update`](#nex-batch-update)
719
+ * [`nex behavior`](#nex-behavior)
720
+ * [`nex behavior details`](#nex-behavior-details)
786
721
  * [`nex bulk delete`](#nex-bulk-delete)
787
722
  * [`nex bulk update`](#nex-bulk-update)
788
723
  * [`nex exec SCOPE [FILE]`](#nex-exec-scope-file)
@@ -905,7 +840,7 @@ EXAMPLES
905
840
  $ nex aggregate count --table incident --query "active=true" --json --auth dev
906
841
  ```
907
842
 
908
- _See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/aggregate/count.ts)_
843
+ _See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/aggregate/count.ts)_
909
844
 
910
845
  ## `nex aggregate group`
911
846
 
@@ -973,7 +908,7 @@ EXAMPLES
973
908
  $ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
974
909
  ```
975
910
 
976
- _See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/aggregate/group.ts)_
911
+ _See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/aggregate/group.ts)_
977
912
 
978
913
  ## `nex aggregate query`
979
914
 
@@ -1036,7 +971,7 @@ EXAMPLES
1036
971
  $ nex aggregate query --table incident --sum reassignment_count --json --auth dev
1037
972
  ```
1038
973
 
1039
- _See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/aggregate/query.ts)_
974
+ _See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/aggregate/query.ts)_
1040
975
 
1041
976
  ## `nex app`
1042
977
 
@@ -1099,7 +1034,7 @@ EXAMPLES
1099
1034
  $ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
1100
1035
  ```
1101
1036
 
1102
- _See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/index.ts)_
1037
+ _See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/app/index.ts)_
1103
1038
 
1104
1039
  ## `nex app install`
1105
1040
 
@@ -1167,7 +1102,7 @@ EXAMPLES
1167
1102
  $ nex app install -b -d ./apps.json -a dev-instance --log-level debug
1168
1103
  ```
1169
1104
 
1170
- _See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/install.ts)_
1105
+ _See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/app/install.ts)_
1171
1106
 
1172
1107
  ## `nex app repo-install`
1173
1108
 
@@ -1252,7 +1187,7 @@ EXAMPLES
1252
1187
  $ nex app repo-install -s x_my_app -a dev-instance --log-level debug
1253
1188
  ```
1254
1189
 
1255
- _See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/repo-install.ts)_
1190
+ _See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/app/repo-install.ts)_
1256
1191
 
1257
1192
  ## `nex app repo-list`
1258
1193
 
@@ -1327,7 +1262,7 @@ EXAMPLES
1327
1262
  $ nex app repo-list -a dev-instance
1328
1263
  ```
1329
1264
 
1330
- _See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/repo-list.ts)_
1265
+ _See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/app/repo-list.ts)_
1331
1266
 
1332
1267
  ## `nex app uninstall`
1333
1268
 
@@ -1389,7 +1324,7 @@ EXAMPLES
1389
1324
  $ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
1390
1325
  ```
1391
1326
 
1392
- _See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/app/uninstall.ts)_
1327
+ _See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/app/uninstall.ts)_
1393
1328
 
1394
1329
  ## `nex atf`
1395
1330
 
@@ -1472,7 +1407,7 @@ EXAMPLES
1472
1407
  $ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
1473
1408
  ```
1474
1409
 
1475
- _See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/atf/index.ts)_
1410
+ _See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/atf/index.ts)_
1476
1411
 
1477
1412
  ## `nex attachment get`
1478
1413
 
@@ -1515,7 +1450,7 @@ EXAMPLES
1515
1450
  $ nex attachment get -s att123 --json --auth dev
1516
1451
  ```
1517
1452
 
1518
- _See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/attachment/get.ts)_
1453
+ _See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/attachment/get.ts)_
1519
1454
 
1520
1455
  ## `nex attachment list`
1521
1456
 
@@ -1560,7 +1495,7 @@ EXAMPLES
1560
1495
  $ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
1561
1496
  ```
1562
1497
 
1563
- _See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/attachment/list.ts)_
1498
+ _See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/attachment/list.ts)_
1564
1499
 
1565
1500
  ## `nex attachment upload`
1566
1501
 
@@ -1607,7 +1542,30 @@ EXAMPLES
1607
1542
  $ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
1608
1543
  ```
1609
1544
 
1610
- _See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/attachment/upload.ts)_
1545
+ _See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/attachment/upload.ts)_
1546
+
1547
+ ## `nex auth browser-session`
1548
+
1549
+ Create a verified Playwright cookie session using a stored SDK alias.
1550
+
1551
+ ```
1552
+ USAGE
1553
+ $ nex auth browser-session -a <value> --output <value> [--json] [--cred-store] [--force]
1554
+
1555
+ FLAGS
1556
+ -a, --auth=<value> (required) Stored SDK credential alias.
1557
+ --cred-store Use the headless credential store.
1558
+ --force Replace an existing regular output file.
1559
+ --output=<value> (required) Owner-only Playwright storage-state file.
1560
+
1561
+ GLOBAL FLAGS
1562
+ --json Format output as json.
1563
+
1564
+ DESCRIPTION
1565
+ Create a verified Playwright cookie session using a stored SDK alias.
1566
+ ```
1567
+
1568
+ _See code: [src/commands/auth/browser-session.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/auth/browser-session.ts)_
1611
1569
 
1612
1570
  ## `nex auth delete [ALIAS]`
1613
1571
 
@@ -1642,7 +1600,7 @@ EXAMPLES
1642
1600
  $ nex auth delete --all
1643
1601
  ```
1644
1602
 
1645
- _See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/auth/delete.ts)_
1603
+ _See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/auth/delete.ts)_
1646
1604
 
1647
1605
  ## `nex auth doctor`
1648
1606
 
@@ -1670,7 +1628,7 @@ EXAMPLES
1670
1628
  $ nex auth doctor --json
1671
1629
  ```
1672
1630
 
1673
- _See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/auth/doctor.ts)_
1631
+ _See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/auth/doctor.ts)_
1674
1632
 
1675
1633
  ## `nex auth list`
1676
1634
 
@@ -1703,7 +1661,7 @@ EXAMPLES
1703
1661
  $ nex auth list --json
1704
1662
  ```
1705
1663
 
1706
- _See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/auth/list.ts)_
1664
+ _See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/auth/list.ts)_
1707
1665
 
1708
1666
  ## `nex auth use ALIAS`
1709
1667
 
@@ -1731,7 +1689,7 @@ EXAMPLES
1731
1689
  $ nex auth use dev206299
1732
1690
  ```
1733
1691
 
1734
- _See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/auth/use.ts)_
1692
+ _See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/auth/use.ts)_
1735
1693
 
1736
1694
  ## `nex autocomplete [SHELL]`
1737
1695
 
@@ -1806,7 +1764,7 @@ EXAMPLES
1806
1764
  $ nex batch create --file ./records.json --no-transaction --auth dev
1807
1765
  ```
1808
1766
 
1809
- _See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/batch/create.ts)_
1767
+ _See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/batch/create.ts)_
1810
1768
 
1811
1769
  ## `nex batch update`
1812
1770
 
@@ -1850,7 +1808,110 @@ EXAMPLES
1850
1808
  $ nex batch update --file ./updates.json --stop-on-error --auth dev
1851
1809
  ```
1852
1810
 
1853
- _See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/batch/update.ts)_
1811
+ _See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/batch/update.ts)_
1812
+
1813
+ ## `nex behavior`
1814
+
1815
+ Discover table behavior: rules, UI actions/scripts, UI/data policies, workflows, flows and state models. Active and applicable inherited behavior is included by default. Conditions describe configuration, not a prediction of execution. Select categories and details to control output size.
1816
+
1817
+ ```
1818
+ USAGE
1819
+ $ nex behavior -t <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
1820
+ <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--dependency-depth <value>]
1821
+ [--details scripts|definitions|dependencies...] [--max-bytes <value>] [--scope <value>] [--category
1822
+ business_rules|ui_actions|client_scripts|ui_policies|data_policies|workflows|flows|state_models...] [--cursor
1823
+ <value>] [--include-inactive] [--include-inherited] [--limit <value>] [--name <value>] [--sys-id <value>...]
1824
+
1825
+ FLAGS
1826
+ -a, --auth=<value> Auth alias to use.
1827
+ -t, --table=<value> (required) Target table name
1828
+ --category=<option>... Category to inspect; repeat to select several, default all
1829
+ <options: business_rules|ui_actions|client_scripts|ui_policies|data_policies|workflows
1830
+ |flows|state_models>
1831
+ --cursor=<value> Continuation token; requires exactly one --category and the same filters
1832
+ --dependency-depth=<value> Expand one dependency level; requires --details dependencies
1833
+ --details=<option>... Include selected detail now; repeat for multiple kinds
1834
+ <options: scripts|definitions|dependencies>
1835
+ --include-inactive Include inactive/published and draft candidates when discoverable
1836
+ --[no-]include-inherited Include applicable ancestor behavior
1837
+ --json Emit one JSON document
1838
+ --limit=<value> [default: 50] Maximum items per category
1839
+ --max-bytes=<value> [default: 65536] Maximum JSON response bytes; omissions include retrieval references
1840
+ --name=<value> Metadata name contains this text
1841
+ --scope=<value> Transaction scope for flow definition reads
1842
+ --sys-id=<value>... Metadata source sys_id to include; repeat for multiple records
1843
+
1844
+ GLOBAL FLAGS
1845
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1846
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1847
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1848
+ --deny-write Refuse any change to instance data for this invocation.
1849
+ --log-dir=<value> Directory to write log files to. Implies --log-file.
1850
+ --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
1851
+ (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
1852
+ stderr only.
1853
+ --log-level=<option> [default: info] Specify level for logging.
1854
+ <options: debug|warn|error|info|trace>
1855
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1856
+ unaffected.
1857
+
1858
+ DESCRIPTION
1859
+ Discover table behavior: rules, UI actions/scripts, UI/data policies, workflows, flows and state models. Active and
1860
+ applicable inherited behavior is included by default. Conditions describe configuration, not a prediction of
1861
+ execution. Select categories and details to control output size.
1862
+
1863
+ EXAMPLES
1864
+ $ nex behavior --table incident --auth dev --json
1865
+
1866
+ $ nex behavior --table change_request --category business_rules --details scripts --auth dev --json
1867
+ ```
1868
+
1869
+ _See code: [src/commands/behavior/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/behavior/index.ts)_
1870
+
1871
+ ## `nex behavior details`
1872
+
1873
+ Retrieve known behavior artifacts without rediscovery. Repeat --reference kind:source_table:sys_id for up to 50 records. Add --details scripts, --details definitions or --details dependencies to include bodies immediately. Source references are returned by behavior discovery; flows also accept flows:sys_hub_flow:<sys_id>.
1874
+
1875
+ ```
1876
+ USAGE
1877
+ $ nex behavior details --reference <value>... [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
1878
+ [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--dependency-depth
1879
+ <value>] [--details scripts|definitions|dependencies...] [--max-bytes <value>] [--scope <value>]
1880
+
1881
+ FLAGS
1882
+ -a, --auth=<value> Auth alias to use.
1883
+ --dependency-depth=<value> Expand one dependency level; requires --details dependencies
1884
+ --details=<option>... Include selected detail now; repeat for multiple kinds
1885
+ <options: scripts|definitions|dependencies>
1886
+ --json Emit one JSON document
1887
+ --max-bytes=<value> [default: 65536] Maximum JSON response bytes; omissions include retrieval references
1888
+ --reference=<value>... (required) kind:source_table:sys_id; repeat for a batch
1889
+ --scope=<value> Transaction scope for flow definition reads
1890
+
1891
+ GLOBAL FLAGS
1892
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1893
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1894
+ --deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
1895
+ --deny-write Refuse any change to instance data for this invocation.
1896
+ --log-dir=<value> Directory to write log files to. Implies --log-file.
1897
+ --log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
1898
+ (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
1899
+ stderr only.
1900
+ --log-level=<option> [default: info] Specify level for logging.
1901
+ <options: debug|warn|error|info|trace>
1902
+ --read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
1903
+ unaffected.
1904
+
1905
+ DESCRIPTION
1906
+ Retrieve known behavior artifacts without rediscovery. Repeat --reference kind:source_table:sys_id for up to 50
1907
+ records. Add --details scripts, --details definitions or --details dependencies to include bodies immediately. Source
1908
+ references are returned by behavior discovery; flows also accept flows:sys_hub_flow:<sys_id>.
1909
+
1910
+ EXAMPLES
1911
+ $ nex behavior details --reference business_rules:sys_script:0123456789abcdef0123456789abcdef --details scripts --auth dev --json
1912
+ ```
1913
+
1914
+ _See code: [src/commands/behavior/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/behavior/details.ts)_
1854
1915
 
1855
1916
  ## `nex bulk delete`
1856
1917
 
@@ -1914,7 +1975,7 @@ EXAMPLES
1914
1975
  $ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
1915
1976
  ```
1916
1977
 
1917
- _See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/bulk/delete.ts)_
1978
+ _See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/bulk/delete.ts)_
1918
1979
 
1919
1980
  ## `nex bulk update`
1920
1981
 
@@ -1983,7 +2044,7 @@ EXAMPLES
1983
2044
  $ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
1984
2045
  ```
1985
2046
 
1986
- _See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/bulk/update.ts)_
2047
+ _See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/bulk/update.ts)_
1987
2048
 
1988
2049
  ## `nex exec SCOPE [FILE]`
1989
2050
 
@@ -2113,7 +2174,7 @@ EXAMPLES
2113
2174
  $ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
2114
2175
  ```
2115
2176
 
2116
- _See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/exec/index.ts)_
2177
+ _See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/exec/index.ts)_
2117
2178
 
2118
2179
  ## `nex flow action`
2119
2180
 
@@ -2167,7 +2228,7 @@ EXAMPLES
2167
2228
  '{"table":"incident","values":{"short_description":"Test"}}' --auth dev
2168
2229
  ```
2169
2230
 
2170
- _See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/action.ts)_
2231
+ _See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/action.ts)_
2171
2232
 
2172
2233
  ## `nex flow cancel`
2173
2234
 
@@ -2214,7 +2275,7 @@ EXAMPLES
2214
2275
  $ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
2215
2276
  ```
2216
2277
 
2217
- _See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/cancel.ts)_
2278
+ _See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/cancel.ts)_
2218
2279
 
2219
2280
  ## `nex flow copy`
2220
2281
 
@@ -2279,7 +2340,7 @@ EXAMPLES
2279
2340
  dev
2280
2341
  ```
2281
2342
 
2282
- _See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/copy.ts)_
2343
+ _See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/copy.ts)_
2283
2344
 
2284
2345
  ## `nex flow definition`
2285
2346
 
@@ -2352,7 +2413,7 @@ EXAMPLES
2352
2413
  $ nex flow definition -i 887dda5583237210fdb8f7b6feaad32c --type action --json --auth dev | jq .summary.steps
2353
2414
  ```
2354
2415
 
2355
- _See code: [src/commands/flow/definition.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/definition.ts)_
2416
+ _See code: [src/commands/flow/definition.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/definition.ts)_
2356
2417
 
2357
2418
  ## `nex flow details`
2358
2419
 
@@ -2413,7 +2474,7 @@ EXAMPLES
2413
2474
  $ nex flow details -c d4e5f6789012345678abcdef01234567 --json --auth dev
2414
2475
  ```
2415
2476
 
2416
- _See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/details.ts)_
2477
+ _See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/details.ts)_
2417
2478
 
2418
2479
  ## `nex flow error`
2419
2480
 
@@ -2455,7 +2516,7 @@ EXAMPLES
2455
2516
  $ nex flow error --context-id abc123def456 --auth dev
2456
2517
  ```
2457
2518
 
2458
- _See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/error.ts)_
2519
+ _See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/error.ts)_
2459
2520
 
2460
2521
  ## `nex flow logs`
2461
2522
 
@@ -2513,7 +2574,7 @@ EXAMPLES
2513
2574
  $ nex flow logs -c d4e5f6789012345678abcdef01234567 --json --auth dev
2514
2575
  ```
2515
2576
 
2516
- _See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/logs.ts)_
2577
+ _See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/logs.ts)_
2517
2578
 
2518
2579
  ## `nex flow message`
2519
2580
 
@@ -2563,7 +2624,7 @@ EXAMPLES
2563
2624
  $ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
2564
2625
  ```
2565
2626
 
2566
- _See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/message.ts)_
2627
+ _See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/message.ts)_
2567
2628
 
2568
2629
  ## `nex flow outputs`
2569
2630
 
@@ -2609,7 +2670,7 @@ EXAMPLES
2609
2670
  $ nex flow outputs --context-id abc123def456 --json --auth dev
2610
2671
  ```
2611
2672
 
2612
- _See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/outputs.ts)_
2673
+ _See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/outputs.ts)_
2613
2674
 
2614
2675
  ## `nex flow run`
2615
2676
 
@@ -2675,7 +2736,7 @@ EXAMPLES
2675
2736
  $ nex flow run --name global.my_flow --mode background --auth dev
2676
2737
  ```
2677
2738
 
2678
- _See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/run.ts)_
2739
+ _See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/run.ts)_
2679
2740
 
2680
2741
  ## `nex flow status`
2681
2742
 
@@ -2719,7 +2780,7 @@ EXAMPLES
2719
2780
  $ nex flow status --context-id abc123def456 --auth dev
2720
2781
  ```
2721
2782
 
2722
- _See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/status.ts)_
2783
+ _See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/status.ts)_
2723
2784
 
2724
2785
  ## `nex flow subflow`
2725
2786
 
@@ -2779,7 +2840,7 @@ EXAMPLES
2779
2840
  $ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
2780
2841
  ```
2781
2842
 
2782
- _See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/subflow.ts)_
2843
+ _See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/subflow.ts)_
2783
2844
 
2784
2845
  ## `nex flow test`
2785
2846
 
@@ -2842,7 +2903,7 @@ EXAMPLES
2842
2903
  $ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
2843
2904
  ```
2844
2905
 
2845
- _See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/flow/test.ts)_
2906
+ _See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/flow/test.ts)_
2846
2907
 
2847
2908
  ## `nex health check`
2848
2909
 
@@ -2912,7 +2973,7 @@ EXAMPLES
2912
2973
  $ nex health check --json --auth dev
2913
2974
  ```
2914
2975
 
2915
- _See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/health/check.ts)_
2976
+ _See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/health/check.ts)_
2916
2977
 
2917
2978
  ## `nex help [COMMAND]`
2918
2979
 
@@ -3048,7 +3109,7 @@ EXAMPLES
3048
3109
  $ nex log --no-color --auth dev-instance
3049
3110
  ```
3050
3111
 
3051
- _See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/log/index.ts)_
3112
+ _See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/log/index.ts)_
3052
3113
 
3053
3114
  ## `nex plugins`
3054
3115
 
@@ -3370,7 +3431,7 @@ EXAMPLES
3370
3431
  NEX_POLICY_DENY=all nex policy status
3371
3432
  ```
3372
3433
 
3373
- _See code: [src/commands/policy/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/policy/status.ts)_
3434
+ _See code: [src/commands/policy/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/policy/status.ts)_
3374
3435
 
3375
3436
  ## `nex query`
3376
3437
 
@@ -3433,7 +3494,7 @@ EXAMPLES
3433
3494
  $ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
3434
3495
  ```
3435
3496
 
3436
- _See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/query/index.ts)_
3497
+ _See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/query/index.ts)_
3437
3498
 
3438
3499
  ## `nex query app`
3439
3500
 
@@ -3486,7 +3547,7 @@ EXAMPLES
3486
3547
  $ nex query app --search "HR" --active --auth dev
3487
3548
  ```
3488
3549
 
3489
- _See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/query/app.ts)_
3550
+ _See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/query/app.ts)_
3490
3551
 
3491
3552
  ## `nex query columns`
3492
3553
 
@@ -3541,7 +3602,7 @@ EXAMPLES
3541
3602
  $ nex query columns --table incident --json --auth dev
3542
3603
  ```
3543
3604
 
3544
- _See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/query/columns.ts)_
3605
+ _See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/query/columns.ts)_
3545
3606
 
3546
3607
  ## `nex query syslog`
3547
3608
 
@@ -3598,7 +3659,7 @@ EXAMPLES
3598
3659
  $ nex query syslog --query "sourceLIKEincident" --json --auth dev
3599
3660
  ```
3600
3661
 
3601
- _See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/query/syslog.ts)_
3662
+ _See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/query/syslog.ts)_
3602
3663
 
3603
3664
  ## `nex schema`
3604
3665
 
@@ -3657,7 +3718,7 @@ EXAMPLES
3657
3718
  $ nex schema --table incident --include-choices --include-relationships --auth dev
3658
3719
  ```
3659
3720
 
3660
- _See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/schema/index.ts)_
3721
+ _See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/schema/index.ts)_
3661
3722
 
3662
3723
  ## `nex schema field`
3663
3724
 
@@ -3704,7 +3765,7 @@ EXAMPLES
3704
3765
  $ nex schema field --table incident --field priority --json --auth dev
3705
3766
  ```
3706
3767
 
3707
- _See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/schema/field.ts)_
3768
+ _See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/schema/field.ts)_
3708
3769
 
3709
3770
  ## `nex schema validate-catalog`
3710
3771
 
@@ -3750,7 +3811,7 @@ EXAMPLES
3750
3811
  $ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
3751
3812
  ```
3752
3813
 
3753
- _See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/schema/validate-catalog.ts)_
3814
+ _See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/schema/validate-catalog.ts)_
3754
3815
 
3755
3816
  ## `nex scope`
3756
3817
 
@@ -3797,7 +3858,7 @@ EXAMPLES
3797
3858
  $ nex scope -l --json --auth dev
3798
3859
  ```
3799
3860
 
3800
- _See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/scope/index.ts)_
3861
+ _See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/scope/index.ts)_
3801
3862
 
3802
3863
  ## `nex scope set`
3803
3864
 
@@ -3840,7 +3901,7 @@ EXAMPLES
3840
3901
  $ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
3841
3902
  ```
3842
3903
 
3843
- _See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/scope/set.ts)_
3904
+ _See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/scope/set.ts)_
3844
3905
 
3845
3906
  ## `nex script-sync pull`
3846
3907
 
@@ -3900,7 +3961,7 @@ EXAMPLES
3900
3961
  $ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
3901
3962
  ```
3902
3963
 
3903
- _See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/script-sync/pull.ts)_
3964
+ _See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/script-sync/pull.ts)_
3904
3965
 
3905
3966
  ## `nex script-sync push`
3906
3967
 
@@ -3961,7 +4022,7 @@ EXAMPLES
3961
4022
  $ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
3962
4023
  ```
3963
4024
 
3964
- _See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/script-sync/push.ts)_
4025
+ _See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/script-sync/push.ts)_
3965
4026
 
3966
4027
  ## `nex script-sync sync`
3967
4028
 
@@ -4020,7 +4081,7 @@ EXAMPLES
4020
4081
  $ nex script-sync sync -d ./scripts --json --auth dev-instance
4021
4082
  ```
4022
4083
 
4023
- _See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/script-sync/sync.ts)_
4084
+ _See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/script-sync/sync.ts)_
4024
4085
 
4025
4086
  ## `nex search`
4026
4087
 
@@ -4087,7 +4148,7 @@ EXAMPLES
4087
4148
  $ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
4088
4149
  ```
4089
4150
 
4090
- _See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/search/index.ts)_
4151
+ _See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/search/index.ts)_
4091
4152
 
4092
4153
  ## `nex search add-table`
4093
4154
 
@@ -4147,7 +4208,7 @@ EXAMPLES
4147
4208
  dev-instance
4148
4209
  ```
4149
4210
 
4150
- _See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/search/add-table.ts)_
4211
+ _See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/search/add-table.ts)_
4151
4212
 
4152
4213
  ## `nex search groups`
4153
4214
 
@@ -4196,7 +4257,7 @@ EXAMPLES
4196
4257
  $ nex search groups --json --auth dev-instance
4197
4258
  ```
4198
4259
 
4199
- _See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/search/groups.ts)_
4260
+ _See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/search/groups.ts)_
4200
4261
 
4201
4262
  ## `nex search tables`
4202
4263
 
@@ -4247,7 +4308,7 @@ EXAMPLES
4247
4308
  $ nex search tables --search-group "Business Rules" --json --auth dev-instance
4248
4309
  ```
4249
4310
 
4250
- _See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/search/tables.ts)_
4311
+ _See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/search/tables.ts)_
4251
4312
 
4252
4313
  ## `nex store install`
4253
4314
 
@@ -4300,7 +4361,7 @@ EXAMPLES
4300
4361
  $ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
4301
4362
  ```
4302
4363
 
4303
- _See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/store/install.ts)_
4364
+ _See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/store/install.ts)_
4304
4365
 
4305
4366
  ## `nex store search`
4306
4367
 
@@ -4351,7 +4412,7 @@ EXAMPLES
4351
4412
  $ nex store search --tab updates --limit 10 --auth dev
4352
4413
  ```
4353
4414
 
4354
- _See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/store/search.ts)_
4415
+ _See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/store/search.ts)_
4355
4416
 
4356
4417
  ## `nex store update`
4357
4418
 
@@ -4403,7 +4464,7 @@ EXAMPLES
4403
4464
  $ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
4404
4465
  ```
4405
4466
 
4406
- _See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/store/update.ts)_
4467
+ _See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/store/update.ts)_
4407
4468
 
4408
4469
  ## `nex store validate`
4409
4470
 
@@ -4442,7 +4503,7 @@ EXAMPLES
4442
4503
  $ nex store validate --file ./batch-definition.json --auth dev
4443
4504
  ```
4444
4505
 
4445
- _See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/store/validate.ts)_
4506
+ _See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/store/validate.ts)_
4446
4507
 
4447
4508
  ## `nex task approve`
4448
4509
 
@@ -4493,7 +4554,7 @@ EXAMPLES
4493
4554
  $ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
4494
4555
  ```
4495
4556
 
4496
- _See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/approve.ts)_
4557
+ _See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/task/approve.ts)_
4497
4558
 
4498
4559
  ## `nex task assign`
4499
4560
 
@@ -4554,7 +4615,7 @@ EXAMPLES
4554
4615
  $ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
4555
4616
  ```
4556
4617
 
4557
- _See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/assign.ts)_
4618
+ _See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/task/assign.ts)_
4558
4619
 
4559
4620
  ## `nex task close`
4560
4621
 
@@ -4608,7 +4669,7 @@ EXAMPLES
4608
4669
  $ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
4609
4670
  ```
4610
4671
 
4611
- _See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/close.ts)_
4672
+ _See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/task/close.ts)_
4612
4673
 
4613
4674
  ## `nex task comment`
4614
4675
 
@@ -4668,7 +4729,7 @@ EXAMPLES
4668
4729
  $ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
4669
4730
  ```
4670
4731
 
4671
- _See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/comment.ts)_
4732
+ _See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/task/comment.ts)_
4672
4733
 
4673
4734
  ## `nex task find`
4674
4735
 
@@ -4724,7 +4785,7 @@ EXAMPLES
4724
4785
  $ nex task find -n INC0010001 --json --auth dev
4725
4786
  ```
4726
4787
 
4727
- _See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/find.ts)_
4788
+ _See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/task/find.ts)_
4728
4789
 
4729
4790
  ## `nex task resolve`
4730
4791
 
@@ -4778,7 +4839,7 @@ EXAMPLES
4778
4839
  $ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
4779
4840
  ```
4780
4841
 
4781
- _See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/task/resolve.ts)_
4842
+ _See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/task/resolve.ts)_
4782
4843
 
4783
4844
  ## `nex transaction kill`
4784
4845
 
@@ -4821,7 +4882,7 @@ EXAMPLES
4821
4882
  $ nex transaction kill --transaction-id 8f9a1234567890abcdef1234567890c1 --confirm --json --auth dev
4822
4883
  ```
4823
4884
 
4824
- _See code: [src/commands/transaction/kill.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/transaction/kill.ts)_
4885
+ _See code: [src/commands/transaction/kill.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/transaction/kill.ts)_
4825
4886
 
4826
4887
  ## `nex transaction list`
4827
4888
 
@@ -4868,7 +4929,7 @@ EXAMPLES
4868
4929
  $ nex transaction list --timeout-ms 120000 --poll-interval-ms 2000 --auth dev
4869
4930
  ```
4870
4931
 
4871
- _See code: [src/commands/transaction/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/transaction/list.ts)_
4932
+ _See code: [src/commands/transaction/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/transaction/list.ts)_
4872
4933
 
4873
4934
  ## `nex update-set`
4874
4935
 
@@ -4916,7 +4977,7 @@ EXAMPLES
4916
4977
  $ nex update-set --json --auth dev-instance
4917
4978
  ```
4918
4979
 
4919
- _See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/index.ts)_
4980
+ _See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/update-set/index.ts)_
4920
4981
 
4921
4982
  ## `nex update-set clone`
4922
4983
 
@@ -4960,7 +5021,7 @@ EXAMPLES
4960
5021
  $ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
4961
5022
  ```
4962
5023
 
4963
- _See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/clone.ts)_
5024
+ _See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/update-set/clone.ts)_
4964
5025
 
4965
5026
  ## `nex update-set create`
4966
5027
 
@@ -5009,7 +5070,7 @@ EXAMPLES
5009
5070
  $ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
5010
5071
  ```
5011
5072
 
5012
- _See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/create.ts)_
5073
+ _See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/update-set/create.ts)_
5013
5074
 
5014
5075
  ## `nex update-set current`
5015
5076
 
@@ -5056,7 +5117,7 @@ EXAMPLES
5056
5117
  $ nex update-set current --json --auth dev-instance
5057
5118
  ```
5058
5119
 
5059
- _See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/current.ts)_
5120
+ _See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/update-set/current.ts)_
5060
5121
 
5061
5122
  ## `nex update-set inspect`
5062
5123
 
@@ -5099,7 +5160,7 @@ EXAMPLES
5099
5160
  $ nex update-set inspect --sys-id us-001 --json --auth dev-instance
5100
5161
  ```
5101
5162
 
5102
- _See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/inspect.ts)_
5163
+ _See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/update-set/inspect.ts)_
5103
5164
 
5104
5165
  ## `nex update-set move`
5105
5166
 
@@ -5149,7 +5210,7 @@ EXAMPLES
5149
5210
  $ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
5150
5211
  ```
5151
5212
 
5152
- _See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/update-set/move.ts)_
5213
+ _See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/update-set/move.ts)_
5153
5214
 
5154
5215
  ## `nex workflow create`
5155
5216
 
@@ -5192,7 +5253,7 @@ EXAMPLES
5192
5253
  $ nex workflow create -s ./workflow.json --json --auth dev
5193
5254
  ```
5194
5255
 
5195
- _See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/workflow/create.ts)_
5256
+ _See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/workflow/create.ts)_
5196
5257
 
5197
5258
  ## `nex workflow publish`
5198
5259
 
@@ -5236,7 +5297,7 @@ EXAMPLES
5236
5297
  $ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
5237
5298
  ```
5238
5299
 
5239
- _See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/workflow/publish.ts)_
5300
+ _See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/workflow/publish.ts)_
5240
5301
 
5241
5302
  ## `nex xml export`
5242
5303
 
@@ -5294,7 +5355,7 @@ EXAMPLES
5294
5355
  $ nex xml export --table sys_script --sys-id abc123 --json --auth dev
5295
5356
  ```
5296
5357
 
5297
- _See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/xml/export.ts)_
5358
+ _See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/xml/export.ts)_
5298
5359
 
5299
5360
  ## `nex xml import`
5300
5361
 
@@ -5346,7 +5407,7 @@ EXAMPLES
5346
5407
  $ nex xml import --file ./records.xml --table incident --json --auth dev
5347
5408
  ```
5348
5409
 
5349
- _See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.4.0/src/commands/xml/import.ts)_
5410
+ _See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.6.0/src/commands/xml/import.ts)_
5350
5411
  <!-- commandsstop -->
5351
5412
 
5352
5413
  ---
@@ -5660,7 +5721,7 @@ jobs:
5660
5721
  - name: Setup Node.js
5661
5722
  uses: actions/setup-node@v3
5662
5723
  with:
5663
- node-version: '22'
5724
+ node-version: '26'
5664
5725
 
5665
5726
  - name: Install Dependencies
5666
5727
  run: |
@@ -5694,7 +5755,7 @@ jobs:
5694
5755
 
5695
5756
  ```yaml
5696
5757
  servicenow-tests:
5697
- image: node:22
5758
+ image: node:26
5698
5759
  stage: test
5699
5760
  before_script:
5700
5761
  - npm install -g @servicenow/sdk
@@ -6217,3 +6278,32 @@ MIT License - see [LICENSE](LICENSE) file for details.
6217
6278
  Made with ❤️ for the ServiceNow Developer Community
6218
6279
 
6219
6280
  **Ready to get started?** → [Jump to Quick Start](#-quick-start)
6281
+
6282
+ ## Playwright sessions from SDK aliases
6283
+
6284
+ ```bash
6285
+ nex auth browser-session -a dev206299 --cred-store --output playwright/.auth/dev.json --json
6286
+ ```
6287
+
6288
+ Uses SDK OAuth refresh and exports cookie-only Playwright storage state. Output is
6289
+ metadata/path only; the file contains secrets and is written atomically with mode
6290
+ 0600. Existing output requires `--force`; symlinks are refused. Ignore the auth
6291
+ directory in Git and exclude it from test artifacts.
6292
+
6293
+ Pass the file as Playwright's `storageState`. Remote Docker browsers receive the
6294
+ state over the Playwright connection; they need no credential-store mount.
6295
+ Generate a fresh session per test, especially when impersonating. For long tests,
6296
+ renew at an explicit safe checkpoint and open a new context; state files cannot
6297
+ refresh themselves.
6298
+
6299
+ Regular nex commands now pass an alias-bound provider to core so long-running
6300
+ operations can renew credentials. Read-only authentication failures can retry once;
6301
+ writes and stateful workflows are not automatically replayed. nex permission flags
6302
+ do not constrain actions performed later by Playwright.
6303
+
6304
+ Use the same backend/path for `now-sdk-x` and `nex --cred-store`. Plain now-sdk
6305
+ normally uses the keyring and does not synchronize a separate credential store.
6306
+
6307
+ When upgrading a shared store, stop all clients first, upgrade every client
6308
+ (including standalone `now-sdk-x`) to sn-credstore 1.1.1 or later, then restart.
6309
+ The new lock protocol cannot safely run alongside older clients.