@f-o-h/cli 0.1.81 → 0.1.82

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 (2) hide show
  1. package/dist/foh.js +2 -2
  2. package/package.json +7 -7
package/dist/foh.js CHANGED
@@ -14681,7 +14681,7 @@ function registerAgent(program3) {
14681
14681
  format(data, { json: opts.json ?? false });
14682
14682
  }));
14683
14683
  agent.command("rollback").description("Roll back an agent to a previous version").requiredOption("--agent <id>", "Agent ID").option("--version <versionId>", "Target version ID (defaults to previous)").option("--org <id>", "Org ID (default: stored org from foh org use)").option("--api-url <url>", "API base URL override").option("--json", "Output as JSON").action(async (opts) => withCommandErrorHandling(async () => {
14684
- const body = opts.version ? { version_id: opts.version } : {};
14684
+ const body = opts.version ? { version: Number(opts.version) } : {};
14685
14685
  const data = await apiFetch(`/v1/console/agents/${opts.agent}/rollback`, {
14686
14686
  method: "POST",
14687
14687
  body: JSON.stringify(body),
@@ -32992,7 +32992,7 @@ var StdioServerTransport = class {
32992
32992
  };
32993
32993
 
32994
32994
  // src/lib/cli-version.ts
32995
- var CLI_VERSION = "0.1.81";
32995
+ var CLI_VERSION = "0.1.82";
32996
32996
 
32997
32997
  // src/commands/mcp-serve.ts
32998
32998
  var DEFAULT_TIMEOUT_MS = 12e4;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@f-o-h/cli",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "description": "FOH CLI - AI-operator provisioning tool for Front Of House",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -20,11 +20,6 @@
20
20
  "engines": {
21
21
  "node": ">=18"
22
22
  },
23
- "scripts": {
24
- "build": "node build.mjs",
25
- "test": "vitest run",
26
- "typecheck": "tsc --noEmit"
27
- },
28
23
  "dependencies": {
29
24
  "@modelcontextprotocol/sdk": "^1.29.0",
30
25
  "commander": "^12.1.0",
@@ -37,5 +32,10 @@
37
32
  "@types/node": "^22.0.0",
38
33
  "esbuild": "^0.24.0",
39
34
  "vitest": "^2.0.0"
35
+ },
36
+ "scripts": {
37
+ "build": "node build.mjs",
38
+ "test": "vitest run",
39
+ "typecheck": "tsc --noEmit"
40
40
  }
41
- }
41
+ }