@starkscan/cli 0.0.0 → 0.0.1

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Starkscan contributors
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
@@ -1,10 +1,36 @@
1
1
  # @starkscan/cli
2
2
 
3
- The stable Starkscan CLI channel is not released yet.
3
+ Stable channel placeholder for the Starkscan CLI.
4
4
 
5
- Use the beta explicitly:
5
+ The production `latest` channel is not released yet. This package exists so
6
+ `npm install -g @starkscan/cli` and `npx @starkscan/cli` fail closed instead of
7
+ running a moving alpha.
8
+
9
+ ## Current beta
10
+
11
+ Run the alpha channel explicitly:
12
+
13
+ ```bash
14
+ npx -y @starkscan/cli@alpha doctor
15
+ npx -y @starkscan/cli@alpha status
16
+ ```
17
+
18
+ For unattended agents or production services, pin an exact smoked version:
6
19
 
7
20
  ```bash
8
- npx -y @starkscan/cli@alpha
21
+ npx -y @starkscan/cli@0.1.0-alpha.2 doctor
9
22
  ```
10
23
 
24
+ ## Environment
25
+
26
+ ```bash
27
+ export STARKSCAN_BASE_URL="https://starkscan.co/api"
28
+ export STARKSCAN_API_KEY="<store this in your shell or agent secret store>"
29
+ export STARKSCAN_CHAIN="SN_MAIN"
30
+ ```
31
+
32
+ ## Trust links
33
+
34
+ - Package trust: <https://starkscan.co/docs/build/package-trust>
35
+ - CLI docs: <https://starkscan.co/docs/ai/agent-cli>
36
+ - npm alpha: <https://www.npmjs.com/package/@starkscan/cli?activeTab=versions>
package/bin/starkscan.js CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
- console.error("The stable @starkscan/cli channel is not released yet.");
3
- console.error("Use the beta explicitly: npx -y @starkscan/cli@alpha");
4
- process.exit(1);
5
2
 
3
+ console.error(
4
+ "@starkscan/cli stable channel is not released yet. Use npx -y @starkscan/cli@alpha or pin an exact 0.1.0-alpha.x version.",
5
+ );
6
+ process.exit(1);
package/package.json CHANGED
@@ -1,16 +1,41 @@
1
1
  {
2
2
  "name": "@starkscan/cli",
3
- "version": "0.0.0",
3
+ "private": false,
4
+ "version": "0.0.1",
4
5
  "description": "Stable placeholder for the Starkscan CLI. Use @starkscan/cli@alpha for the current beta.",
6
+ "license": "MIT",
5
7
  "type": "module",
6
- "bin": {
7
- "starkscan": "./bin/starkscan.js"
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "homepage": "https://starkscan.co/docs/ai/agent-cli",
12
+ "bugs": {
13
+ "url": "https://starkscan.co/docs/build/package-trust"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/starknet-innovation/mezcal",
18
+ "directory": "webapp/packages/stable-placeholders/cli"
8
19
  },
20
+ "keywords": [
21
+ "starkscan",
22
+ "starknet",
23
+ "block-explorer",
24
+ "cairo",
25
+ "web3",
26
+ "cli",
27
+ "agent",
28
+ "npx"
29
+ ],
9
30
  "files": [
31
+ "bin",
10
32
  "README.md",
11
- "bin"
33
+ "LICENSE"
12
34
  ],
13
- "publishConfig": {
14
- "access": "public"
35
+ "bin": {
36
+ "starkscan": "./bin/starkscan.js"
37
+ },
38
+ "engines": {
39
+ "node": ">=18"
15
40
  }
16
41
  }