@remixhq/claude-plugin 0.1.31 → 0.1.32

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.
@@ -10642,7 +10642,7 @@ async function clearPendingTurnState(sessionId) {
10642
10642
  // package.json
10643
10643
  var package_default = {
10644
10644
  name: "@remixhq/claude-plugin",
10645
- version: "0.1.31",
10645
+ version: "0.1.32",
10646
10646
  description: "Claude Code plugin for Remix collaboration workflows",
10647
10647
  homepage: "https://github.com/RemixDotOne/remix-claude-plugin",
10648
10648
  license: "MIT",
@@ -10680,8 +10680,8 @@ var package_default = {
10680
10680
  prepack: "npm run build"
10681
10681
  },
10682
10682
  dependencies: {
10683
- "@remixhq/core": "^0.1.24",
10684
- "@remixhq/mcp": "^0.1.24",
10683
+ "@remixhq/core": "^0.1.25",
10684
+ "@remixhq/mcp": "^0.1.25",
10685
10685
  "@modelcontextprotocol/sdk": "^1.27.1",
10686
10686
  zod: "^3.25.76"
10687
10687
  },
@@ -11116,7 +11116,7 @@ var import_promises23 = __toESM(require("fs/promises"), 1);
11116
11116
  var import_node_path12 = __toESM(require("path"), 1);
11117
11117
  var import_node_crypto5 = require("crypto");
11118
11118
 
11119
- // node_modules/@remixhq/core/dist/chunk-BNY4BVH6.js
11119
+ // node_modules/@remixhq/core/dist/chunk-CQXJZ5EP.js
11120
11120
  async function readJsonSafe(res) {
11121
11121
  const ct = res.headers.get("content-type") ?? "";
11122
11122
  if (!ct.toLowerCase().includes("application/json")) return null;
@@ -11314,6 +11314,14 @@ function createApiClient(config, opts) {
11314
11314
  method: "POST",
11315
11315
  body: JSON.stringify(payload ?? {})
11316
11316
  }),
11317
+ getAppPreview: (appId, params) => {
11318
+ const qs = new URLSearchParams();
11319
+ if (params?.environment) qs.set("environment", params.environment);
11320
+ if (params?.autostart !== void 0) qs.set("autostart", params.autostart ? "true" : "false");
11321
+ if (params?.probe) qs.set("probe", params.probe);
11322
+ const suffix = qs.toString() ? `?${qs.toString()}` : "";
11323
+ return request(`/v1/apps/${encodeURIComponent(appId)}/preview${suffix}`, { method: "GET" });
11324
+ },
11317
11325
  runAppSandboxCommand: (appId, payload) => request(`/v1/apps/${encodeURIComponent(appId)}/sandbox/commands/run`, {
11318
11326
  method: "POST",
11319
11327
  body: JSON.stringify(payload)
@@ -11404,6 +11412,10 @@ function createApiClient(config, opts) {
11404
11412
  return request(`/v1/apps${suffix}`, { method: "GET" });
11405
11413
  },
11406
11414
  getApp: (appId) => request(`/v1/apps/${encodeURIComponent(appId)}`, { method: "GET" }),
11415
+ updateAppStatus: (appId, payload) => request(`/v1/apps/${encodeURIComponent(appId)}/status`, {
11416
+ method: "PATCH",
11417
+ body: JSON.stringify(payload)
11418
+ }),
11407
11419
  openApp: (appId, payload) => request(`/v1/apps/${encodeURIComponent(appId)}/open`, { method: "POST", body: JSON.stringify(payload ?? {}) }),
11408
11420
  getAppContext: (appId) => request(`/v1/apps/${encodeURIComponent(appId)}/context`, { method: "GET" }),
11409
11421
  getAppOverview: (appId) => request(`/v1/apps/${encodeURIComponent(appId)}/overview`, { method: "GET" }),