statelyai 0.0.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 (4) hide show
  1. package/LICENSE +10 -0
  2. package/README.md +26 -0
  3. package/cli.mjs +5 -0
  4. package/package.json +21 -0
package/LICENSE ADDED
@@ -0,0 +1,10 @@
1
+ Copyright (c) 2025 Stately Software, Inc.
2
+
3
+ All rights reserved.
4
+
5
+ This repository and the Stately Viz software are proprietary to Stately
6
+ Software, Inc. No rights are granted to use, copy, modify, distribute, host, or
7
+ sublicense this software except under a separate written agreement with Stately
8
+ Software, Inc.
9
+
10
+ For licensing inquiries, contact team@stately.ai.
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # statelyai
2
+
3
+ <!-- package.json#name and #description — top-level summary -->
4
+
5
+ Command-line tools for Stately.
6
+
7
+ ## Usage
8
+
9
+ <!-- package.json#bin and delegated SDK CLI commands from ../sdk/src/cli.ts#COMMANDS -->
10
+
11
+ Run the Stately CLI without installing it globally:
12
+
13
+ ```bash
14
+ npx statelyai open ./checkout.machine.ts
15
+ ```
16
+
17
+ The `statelyai` package delegates to the CLI implementation in `@statelyai/sdk`.
18
+
19
+ Available commands:
20
+
21
+ | Command | Description |
22
+ | --- | --- |
23
+ | `statelyai plan <source> <target>` | Print a semantic sync summary |
24
+ | `statelyai diff <source> <target>` | Diff two locators and optionally fail on changes |
25
+ | `statelyai pull <source> <target>` | Materialize a source into a local target file |
26
+ | `statelyai open <file>` | Open a local file in a browser-backed visual editor session |
package/cli.mjs ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { run } from '@statelyai/sdk/cli';
4
+
5
+ await run(process.argv.slice(2));
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "statelyai",
3
+ "version": "0.0.0",
4
+ "description": "Command-line tools for Stately",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "files": [
8
+ "cli.mjs",
9
+ "README.md"
10
+ ],
11
+ "bin": {
12
+ "statelyai": "./cli.mjs"
13
+ },
14
+ "dependencies": {
15
+ "@statelyai/sdk": "0.4.1"
16
+ },
17
+ "scripts": {
18
+ "build": "node cli.mjs open --help",
19
+ "test": "node cli.mjs open --help"
20
+ }
21
+ }