@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.
- package/.claude-plugin/plugin.json +1 -1
- package/dist/hook-post-collab.cjs +3 -3
- package/dist/hook-post-collab.cjs.map +1 -1
- package/dist/hook-stop-collab.cjs +16 -4
- package/dist/hook-stop-collab.cjs.map +1 -1
- package/dist/hook-user-prompt.cjs +16 -4
- package/dist/hook-user-prompt.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/mcp-server.cjs +16 -4
- package/dist/mcp-server.cjs.map +1 -1
- package/package.json +3 -3
|
@@ -10696,7 +10696,7 @@ async function createPendingTurnState(params) {
|
|
|
10696
10696
|
// package.json
|
|
10697
10697
|
var package_default = {
|
|
10698
10698
|
name: "@remixhq/claude-plugin",
|
|
10699
|
-
version: "0.1.
|
|
10699
|
+
version: "0.1.32",
|
|
10700
10700
|
description: "Claude Code plugin for Remix collaboration workflows",
|
|
10701
10701
|
homepage: "https://github.com/RemixDotOne/remix-claude-plugin",
|
|
10702
10702
|
license: "MIT",
|
|
@@ -10734,8 +10734,8 @@ var package_default = {
|
|
|
10734
10734
|
prepack: "npm run build"
|
|
10735
10735
|
},
|
|
10736
10736
|
dependencies: {
|
|
10737
|
-
"@remixhq/core": "^0.1.
|
|
10738
|
-
"@remixhq/mcp": "^0.1.
|
|
10737
|
+
"@remixhq/core": "^0.1.25",
|
|
10738
|
+
"@remixhq/mcp": "^0.1.25",
|
|
10739
10739
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
10740
10740
|
zod: "^3.25.76"
|
|
10741
10741
|
},
|
|
@@ -11004,7 +11004,7 @@ function mergeOutcomeIntoMarker(existing, outcome) {
|
|
|
11004
11004
|
return existing;
|
|
11005
11005
|
}
|
|
11006
11006
|
|
|
11007
|
-
// node_modules/@remixhq/core/dist/chunk-
|
|
11007
|
+
// node_modules/@remixhq/core/dist/chunk-CQXJZ5EP.js
|
|
11008
11008
|
async function readJsonSafe(res) {
|
|
11009
11009
|
const ct = res.headers.get("content-type") ?? "";
|
|
11010
11010
|
if (!ct.toLowerCase().includes("application/json")) return null;
|
|
@@ -11202,6 +11202,14 @@ function createApiClient(config, opts) {
|
|
|
11202
11202
|
method: "POST",
|
|
11203
11203
|
body: JSON.stringify(payload ?? {})
|
|
11204
11204
|
}),
|
|
11205
|
+
getAppPreview: (appId, params) => {
|
|
11206
|
+
const qs = new URLSearchParams();
|
|
11207
|
+
if (params?.environment) qs.set("environment", params.environment);
|
|
11208
|
+
if (params?.autostart !== void 0) qs.set("autostart", params.autostart ? "true" : "false");
|
|
11209
|
+
if (params?.probe) qs.set("probe", params.probe);
|
|
11210
|
+
const suffix = qs.toString() ? `?${qs.toString()}` : "";
|
|
11211
|
+
return request(`/v1/apps/${encodeURIComponent(appId)}/preview${suffix}`, { method: "GET" });
|
|
11212
|
+
},
|
|
11205
11213
|
runAppSandboxCommand: (appId, payload) => request(`/v1/apps/${encodeURIComponent(appId)}/sandbox/commands/run`, {
|
|
11206
11214
|
method: "POST",
|
|
11207
11215
|
body: JSON.stringify(payload)
|
|
@@ -11292,6 +11300,10 @@ function createApiClient(config, opts) {
|
|
|
11292
11300
|
return request(`/v1/apps${suffix}`, { method: "GET" });
|
|
11293
11301
|
},
|
|
11294
11302
|
getApp: (appId) => request(`/v1/apps/${encodeURIComponent(appId)}`, { method: "GET" }),
|
|
11303
|
+
updateAppStatus: (appId, payload) => request(`/v1/apps/${encodeURIComponent(appId)}/status`, {
|
|
11304
|
+
method: "PATCH",
|
|
11305
|
+
body: JSON.stringify(payload)
|
|
11306
|
+
}),
|
|
11295
11307
|
openApp: (appId, payload) => request(`/v1/apps/${encodeURIComponent(appId)}/open`, { method: "POST", body: JSON.stringify(payload ?? {}) }),
|
|
11296
11308
|
getAppContext: (appId) => request(`/v1/apps/${encodeURIComponent(appId)}/context`, { method: "GET" }),
|
|
11297
11309
|
getAppOverview: (appId) => request(`/v1/apps/${encodeURIComponent(appId)}/overview`, { method: "GET" }),
|