@native-engagement/cli 0.9.1 → 0.11.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.
- package/README.md +41 -0
- package/THIRD_PARTY_LICENSES.txt +117 -0
- package/dist/index.js +43 -5
- package/dist/skills/native-engagement-node-installation/SKILL.md +31 -0
- package/package.json +2 -1
- package/release.json +22 -3
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Native Engagement CLI
|
|
2
|
+
|
|
3
|
+
Command-line access to Native Engagement for people and existing Agent Runtimes. Requires Node.js 24.22.1 or later in the Node.js 24 line.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install --global @native-engagement/cli@0.11.0
|
|
7
|
+
native-engagement --help
|
|
8
|
+
native-engagement login
|
|
9
|
+
native-engagement auth status
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Use the trusted HTTPS service URL supplied by your administrator. `NATIVE_ENGAGEMENT_API_URL` selects another authorized service. Account credentials and MFA are entered on the browser sign-in page. For a browser opened separately on macOS or Linux, use `native-engagement login --no-open` and follow the private local handoff file.
|
|
13
|
+
|
|
14
|
+
The CLI saves login grants in a protected current-user directory. `native-engagement logout` revokes and removes the saved grant. Existing automation hosts may supply an authorized short-lived token through their protected environment. Password and token arguments are not supported.
|
|
15
|
+
|
|
16
|
+
## Discover and call capabilities
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
native-engagement contracts list
|
|
20
|
+
native-engagement schema get execution.device.list
|
|
21
|
+
native-engagement query <contract-name> --input @request.json
|
|
22
|
+
native-engagement command <contract-name> --input @command.json
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Inputs follow the current schema. Commands require a stable `idempotencyKey`. Keep original requests and receipts; inspect an unknown external outcome before retrying. Business permissions and any required Human approval apply to every operation.
|
|
26
|
+
|
|
27
|
+
Results are structured JSON. Exit codes: 0 for success, 2 for rejected input or access, 1 for an unavailable operation.
|
|
28
|
+
|
|
29
|
+
## Prepare an execution environment
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
native-engagement skill installation
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
This offline guide explains prerequisites and dependency reuse. The CLI is a remote client, so installing it does not register a local execution node or install another Agent Runtime. Reuse an existing authorized execution environment when available.
|
|
36
|
+
|
|
37
|
+
For a new environment, discover the environment request capabilities and follow their authenticated installation handoff. The host Agent can install trusted local execution programs and selected authorized dependencies. Reuse compatible programs and caches; preserve identity, credentials, task journals and recovery state when updating. A Desktop application is optional.
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
Apache-2.0. Bundled third-party notices are included in `THIRD_PARTY_LICENSES.txt`.
|
package/THIRD_PARTY_LICENSES.txt
CHANGED
|
@@ -1,3 +1,120 @@
|
|
|
1
|
+
ajv@8.20.0
|
|
2
|
+
|
|
3
|
+
The MIT License (MIT)
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2015-2021 Evgeny Poberezkin
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
fast-deep-equal@3.1.3
|
|
30
|
+
|
|
31
|
+
MIT License
|
|
32
|
+
|
|
33
|
+
Copyright (c) 2017 Evgeny Poberezkin
|
|
34
|
+
|
|
35
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
36
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
37
|
+
in the Software without restriction, including without limitation the rights
|
|
38
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
39
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
40
|
+
furnished to do so, subject to the following conditions:
|
|
41
|
+
|
|
42
|
+
The above copyright notice and this permission notice shall be included in all
|
|
43
|
+
copies or substantial portions of the Software.
|
|
44
|
+
|
|
45
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
46
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
47
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
48
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
49
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
50
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
51
|
+
SOFTWARE.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
json-schema-traverse@1.0.0
|
|
57
|
+
|
|
58
|
+
MIT License
|
|
59
|
+
|
|
60
|
+
Copyright (c) 2017 Evgeny Poberezkin
|
|
61
|
+
|
|
62
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
63
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
64
|
+
in the Software without restriction, including without limitation the rights
|
|
65
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
66
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
67
|
+
furnished to do so, subject to the following conditions:
|
|
68
|
+
|
|
69
|
+
The above copyright notice and this permission notice shall be included in all
|
|
70
|
+
copies or substantial portions of the Software.
|
|
71
|
+
|
|
72
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
73
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
74
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
75
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
76
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
77
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
78
|
+
SOFTWARE.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
fast-uri@3.1.9
|
|
84
|
+
|
|
85
|
+
Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
|
|
86
|
+
Copyright (c) 2021-present The Fastify team <https://github.com/fastify/fastify#team>
|
|
87
|
+
All rights reserved.
|
|
88
|
+
|
|
89
|
+
Redistribution and use in source and binary forms, with or without
|
|
90
|
+
modification, are permitted provided that the following conditions are met:
|
|
91
|
+
* Redistributions of source code must retain the above copyright
|
|
92
|
+
notice, this list of conditions and the following disclaimer.
|
|
93
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
94
|
+
notice, this list of conditions and the following disclaimer in the
|
|
95
|
+
documentation and/or other materials provided with the distribution.
|
|
96
|
+
* The names of any contributors may not be used to endorse or promote
|
|
97
|
+
products derived from this software without specific prior written
|
|
98
|
+
permission.
|
|
99
|
+
|
|
100
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
101
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
102
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
103
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY
|
|
104
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
105
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
106
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
107
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
108
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
109
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
110
|
+
|
|
111
|
+
* * *
|
|
112
|
+
|
|
113
|
+
The complete list of contributors can be found at:
|
|
114
|
+
- https://github.com/garycourt/uri-js/graphs/contributors
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
1
118
|
oauth4webapi@3.8.8
|
|
2
119
|
|
|
3
120
|
The MIT License (MIT)
|