@cybernetyx1/atlasflow-cli 0.1.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 ADDED
@@ -0,0 +1,18 @@
1
+ PROPRIETARY SOFTWARE LICENSE
2
+
3
+ Copyright (c) 2026 Cybernetyx. All rights reserved.
4
+
5
+ This software and its source code are the proprietary and confidential property
6
+ of the copyright holder. The software is original work authored independently.
7
+
8
+ No part of this software may be copied, reproduced, modified, published,
9
+ distributed, sublicensed, or sold in any form or by any means without the prior
10
+ written permission of the copyright holder, except as expressly permitted by a
11
+ separate written agreement.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15
+ FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT
16
+ HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION
17
+ OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE
18
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # @cybernetyx1/atlasflow-cli
2
+
3
+ The `atlasflow` command-line tool for scaffolding, running, building, testing, and deploying AtlasFlow agent folders.
4
+
5
+ ## Install
6
+
7
+ ```sh
8
+ pnpm add @cybernetyx1/atlasflow-cli
9
+ ```
10
+
11
+ Part of the AtlasFlow monorepo. Proprietary.
12
+
13
+ ## Usage
14
+
15
+ Scaffold a workspace and run it locally:
16
+
17
+ ```sh
18
+ atlasflow init # scaffold a new agent workspace
19
+ pnpm install
20
+ atlasflow dev --console # watch + serve locally with an operator console
21
+ ```
22
+
23
+ Commands:
24
+
25
+ - `init` — scaffold a new agent workspace (`--target node|cloudflare`).
26
+ - `dev` — watch and serve locally; `--console` opens the operator console.
27
+ - `build` — bundle a deployable Node server.
28
+ - `deploy` — build and deploy a Worker (`--dry-run` to preview).
29
+ - `info` — inspect or verify the discovered agent graph (`--json`, `--check`).
30
+ - `run` — invoke an agent once, CI-style (`--message`, `--payload`).
31
+ - `connect` — open an interactive local session.
32
+ - `eval` — run `agent/evals/*.eval.ts` checks.
33
+ - `logs` — print or follow a run's event log.
34
+ - `add` — scaffold a persona, channel, schedule, mcp, or connection, or install a connector.
35
+ - `export` — export the visible agent folder.
36
+ - `import` — import an agent-folder bundle.
37
+ - `docs` — browse or search the bundled docs.
38
+
39
+ The package also exports `defineConfig` and the `UserAtlasFlowConfig` type for typed `atlasflow.config.ts` files.
40
+
41
+ ## License
42
+
43
+ Proprietary. © 2026 Cybernetyx. See LICENSE.
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ import { main } from "../dist/index.js";
3
+ main(process.argv.slice(2)).catch((err) => {
4
+ console.error(err instanceof Error ? err.message : String(err));
5
+ process.exit(1);
6
+ });
@@ -0,0 +1,16 @@
1
+ interface UserAtlasFlowConfig {
2
+ target?: "node" | "cloudflare";
3
+ cloudflareRuntime?: "worker" | "agents";
4
+ root?: string;
5
+ output?: string;
6
+ port?: number;
7
+ durable?: boolean;
8
+ }
9
+ /** Type-checked config helper for atlasflow.config.ts. */
10
+ declare function defineConfig(config: UserAtlasFlowConfig): UserAtlasFlowConfig;
11
+
12
+ /** @cybernetyx1/atlasflow-cli — entrypoint and arg parsing. */
13
+
14
+ declare function main(argv: string[]): Promise<void>;
15
+
16
+ export { type UserAtlasFlowConfig, defineConfig, main };