@swarmcraftai/cli 0.1.0 → 0.1.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/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # SwarmCraft CLI
2
2
 
3
- Customer-facing command line tool for preparing a repository for a SwarmCraft project board and running packet-based one-shot work.
3
+ SwarmCraft CLI prepares a local repository for a SwarmCraft project board and runs packet-based agent workflows from the terminal.
4
4
 
5
- The CLI is separate from `apps/driver`. The driver remains internal scenario tooling for local operator runs, docs evidence, reports, and weekly validation. Customers should install and run the SwarmCraft CLI, not the internal driver scripts.
5
+ Use it to authenticate with SwarmCraft, list available projects, seed workspace guidance files, materialize ticket packets, run one-shot implementation passes, resume or inspect runs, and create support bundles.
6
6
 
7
7
  ## Package Shape
8
8
 
package/dist/main.cjs CHANGED
@@ -2977,6 +2977,49 @@ var import_promises5 = require("node:readline/promises");
2977
2977
  var import_node_process = require("node:process");
2978
2978
  var import_packet_workflow3 = __toESM(require_dist(), 1);
2979
2979
 
2980
+ // package.json
2981
+ var package_default = {
2982
+ name: "@swarmcraftai/cli",
2983
+ version: "0.1.1",
2984
+ description: "Prepare repositories and run packet-based SwarmCraft agent workflows from the terminal.",
2985
+ license: "SEE LICENSE IN LICENSE.txt",
2986
+ type: "module",
2987
+ homepage: "https://swarmcraft.ai",
2988
+ bugs: {
2989
+ url: "https://swarmcraft.ai/login?next=%2Fapp%2Fsupport"
2990
+ },
2991
+ bin: {
2992
+ swarmcraft: "dist/main.cjs"
2993
+ },
2994
+ files: [
2995
+ "dist",
2996
+ "README.md",
2997
+ "LICENSE.txt"
2998
+ ],
2999
+ publishConfig: {
3000
+ access: "public"
3001
+ },
3002
+ engines: {
3003
+ node: ">=20.19.0"
3004
+ },
3005
+ scripts: {
3006
+ clean: `node -e "require('node:fs').rmSync('dist',{recursive:true,force:true})"`,
3007
+ typecheck: "tsc --noEmit -p tsconfig.json",
3008
+ build: "pnpm --filter @swarmcraft/repo-seed build && pnpm run typecheck && pnpm run clean && esbuild src/main.ts --bundle --platform=node --format=cjs --target=node20.19 --outfile=dist/main.cjs",
3009
+ check: "pnpm --filter @swarmcraft/repo-seed build && pnpm run typecheck && vitest run && pnpm run build && node ./dist/main.cjs --help",
3010
+ dev: "pnpm run build && node ./dist/main.cjs",
3011
+ "release:smoke": "pnpm run build && node ./scripts/smoke-packed-cli.mjs"
3012
+ },
3013
+ devDependencies: {
3014
+ "@swarmcraft/packet-workflow": "workspace:*",
3015
+ "@swarmcraft/repo-seed": "workspace:*",
3016
+ "@types/node": "^24.10.1",
3017
+ esbuild: "^0.25.11",
3018
+ typescript: "^5.9.3",
3019
+ vitest: "^3.2.4"
3020
+ }
3021
+ };
3022
+
2980
3023
  // src/apiClient.ts
2981
3024
  var API_REQUEST_TIMEOUT_MS = 15e3;
2982
3025
  var CLIENT_SOURCE_HEADER = "X-SwarmCraft-Client";
@@ -3823,7 +3866,7 @@ function sessionExpiresSoon(session) {
3823
3866
  }
3824
3867
 
3825
3868
  // src/main.ts
3826
- var VERSION = "0.1.0";
3869
+ var VERSION = package_default.version;
3827
3870
  var DEFAULT_API_BASE_URL = "https://swarmcraft.ai/api";
3828
3871
  var AGENT_PROVIDER_USAGE = import_packet_workflow3.EXTERNAL_AGENT_PROVIDERS.join("|");
3829
3872
  var COMMANDS = [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@swarmcraftai/cli",
3
- "version": "0.1.0",
4
- "description": "Customer-facing SwarmCraft command line tool.",
3
+ "version": "0.1.1",
4
+ "description": "Prepare repositories and run packet-based SwarmCraft agent workflows from the terminal.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "type": "module",
7
7
  "homepage": "https://swarmcraft.ai",