@layerarc/agent-sdk-cli 0.1.0 → 0.1.1-next.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/LICENSE +21 -0
- package/README.md +11 -10
- package/dist/index.js +0 -0
- package/package.json +4 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 LayerArc
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -7,10 +7,11 @@ The CLI is designed for coding agents and power users that need stable JSON outp
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx -y @layerarc/agent-sdk-cli projects list
|
|
10
|
+
npx -y @layerarc/agent-sdk-cli@next projects list
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
The package exposes the `layerarc` binary.
|
|
14
|
+
LayerArc is in early access, so `@next` is the recommended install channel. Use the untagged package only after a release is promoted to `latest`.
|
|
14
15
|
|
|
15
16
|
## Environment
|
|
16
17
|
|
|
@@ -25,20 +26,20 @@ export LAYERARC_PROJECT_ID=<optional default project id>
|
|
|
25
26
|
## Examples
|
|
26
27
|
|
|
27
28
|
```bash
|
|
28
|
-
npx -y @layerarc/agent-sdk-cli projects list
|
|
29
|
-
npx -y @layerarc/agent-sdk-cli pages list
|
|
30
|
-
npx -y @layerarc/agent-sdk-cli pages create --body page.json
|
|
31
|
-
npx -y @layerarc/agent-sdk-cli pages content put --page-id 123 --file page.html
|
|
32
|
-
npx -y @layerarc/agent-sdk-cli gsc url-inspection inspect --inspection-url https://example.com/page
|
|
29
|
+
npx -y @layerarc/agent-sdk-cli@next projects list
|
|
30
|
+
npx -y @layerarc/agent-sdk-cli@next pages list
|
|
31
|
+
npx -y @layerarc/agent-sdk-cli@next pages create --body page.json
|
|
32
|
+
npx -y @layerarc/agent-sdk-cli@next pages content put --page-id 123 --file page.html
|
|
33
|
+
npx -y @layerarc/agent-sdk-cli@next gsc url-inspection inspect --inspection-url https://example.com/page
|
|
33
34
|
```
|
|
34
35
|
|
|
35
36
|
## Docs And Skills
|
|
36
37
|
|
|
37
38
|
```bash
|
|
38
|
-
npx -y @layerarc/agent-sdk-cli docs list
|
|
39
|
-
npx -y @layerarc/agent-sdk-cli docs show pages
|
|
40
|
-
npx -y @layerarc/agent-sdk-cli skills list
|
|
41
|
-
npx -y @layerarc/agent-sdk-cli skills show create-page
|
|
39
|
+
npx -y @layerarc/agent-sdk-cli@next docs list
|
|
40
|
+
npx -y @layerarc/agent-sdk-cli@next docs show pages
|
|
41
|
+
npx -y @layerarc/agent-sdk-cli@next skills list
|
|
42
|
+
npx -y @layerarc/agent-sdk-cli@next skills show create-page
|
|
42
43
|
```
|
|
43
44
|
|
|
44
45
|
## Output Contract
|
package/dist/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerarc/agent-sdk-cli",
|
|
3
|
-
"version": "0.1.0",
|
|
3
|
+
"version": "0.1.1-next.0",
|
|
4
4
|
"description": "Agent-friendly command line interface for the LayerArc Agent API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"bugs": {
|
|
16
16
|
"url": "https://github.com/capgoai/capgo-v1/issues"
|
|
17
17
|
},
|
|
18
|
-
"license": "
|
|
18
|
+
"license": "MIT",
|
|
19
19
|
"keywords": [
|
|
20
20
|
"layerarc",
|
|
21
21
|
"agent",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"dist",
|
|
31
|
-
"README.md"
|
|
31
|
+
"README.md",
|
|
32
|
+
"LICENSE"
|
|
32
33
|
],
|
|
33
34
|
"publishConfig": {
|
|
34
35
|
"access": "public"
|