@remixhq/claude-plugin 0.1.19 → 0.1.21

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.
@@ -7824,7 +7824,7 @@ async function createPendingTurnState(params) {
7824
7824
  // package.json
7825
7825
  var package_default = {
7826
7826
  name: "@remixhq/claude-plugin",
7827
- version: "0.1.19",
7827
+ version: "0.1.21",
7828
7828
  description: "Claude Code plugin for Remix collaboration workflows",
7829
7829
  homepage: "https://github.com/RemixDotOne/remix-claude-plugin",
7830
7830
  license: "MIT",
@@ -7851,10 +7851,6 @@ var package_default = {
7851
7851
  ".": {
7852
7852
  types: "./dist/index.d.ts",
7853
7853
  import: "./dist/index.js"
7854
- },
7855
- "./historical": {
7856
- types: "./dist/historical.d.ts",
7857
- import: "./dist/historical.js"
7858
7854
  }
7859
7855
  },
7860
7856
  scripts: {
@@ -7866,8 +7862,8 @@ var package_default = {
7866
7862
  prepack: "npm run build"
7867
7863
  },
7868
7864
  dependencies: {
7869
- "@remixhq/core": "^0.1.14",
7870
- "@remixhq/mcp": "^0.1.14"
7865
+ "@remixhq/core": "^0.1.15",
7866
+ "@remixhq/mcp": "^0.1.16"
7871
7867
  },
7872
7868
  devDependencies: {
7873
7869
  "@types/node": "^25.4.0",
@@ -8014,18 +8010,18 @@ async function findBoundRepo(startPath) {
8014
8010
  function buildGlobalFinalRecordingReminder() {
8015
8011
  return [
8016
8012
  "Remix recording rule:",
8017
- "If you work in any Remix-bound repo during this turn, you must record exactly one final Remix turn before your final user-facing response.",
8018
- "Use `remix_collab_finalize_turn`. Include the exact user prompt and your final assistant response. If no Remix-bound repo is involved in this turn, ignore this reminder."
8013
+ "Completed turns in Remix-bound repos are recorded automatically by the Remix plugin hooks.",
8014
+ "Do not call a finalize MCP tool; no such MCP tool is exposed. If no Remix-bound repo is involved in this turn, ignore this reminder."
8019
8015
  ].join("\n");
8020
8016
  }
8021
8017
  function buildRuntimeStatusOverride() {
8022
8018
  return [
8023
8019
  "[Remix runtime status]:",
8024
8020
  "The Remix plugin's UserPromptSubmit hook fired for this turn, which proves the Remix hook system is active in this Claude Code session. The companion Stop hook will record this turn automatically when the assistant's response completes, including the prompt, the final response, and per-turn token usage.",
8025
- "Override for this turn:",
8026
- "- Do NOT call `remix_collab_finalize_turn`. The runtime is recording it. A manual call would create a duplicate record.",
8021
+ "Automatic recording for this turn:",
8022
+ "- Do NOT call a finalize MCP tool. The MCP surface no longer exposes one; the runtime is recording this turn.",
8027
8023
  "- Do NOT call `remix_collab_drain_finalize_queue` as a precondition for any other tool. The runtime drains the queue automatically in the background, and `remix_collab_request_merge` / `remix_collab_reconcile_apply` drain internally before they run.",
8028
- "This override is the sanctioned exception named in the `submit-change-step` and `safe-collab-workflow` skills and in the tool descriptions for `remix_collab_finalize_turn` and `remix_collab_drain_finalize_queue`. The mandate to call those tools still applies in error-recovery flows or any turn where this `[Remix runtime status]` note is absent."
8024
+ "Use `remix_collab_drain_finalize_queue` only for explicit recovery flows, such as status reporting `await_finalize` before a merge-related operation."
8029
8025
  ].join("\n");
8030
8026
  }
8031
8027
  function buildBranchUnboundAdvisory(params) {
@@ -8038,7 +8034,7 @@ function buildBranchUnboundAdvisory(params) {
8038
8034
  `Call \`remix_collab_init\` now. No arguments are required; the synchronous init creates the per-branch binding for ${branchLabel} (typically ~10s on the default branch, ~25s on a feature branch) and returns when the local baseline is on disk. After init returns, continue with whatever the user asked. Do this proactively \u2014 do NOT ask the user for permission first; the user opting Remix into this repo on other branches is the standing authorization.`,
8039
8035
  "Until init has been called this turn:",
8040
8036
  "- The Stop hook will NOT record this turn (the per-branch resolver returns null on this branch).",
8041
- "- Any other Remix tool call (finalize_turn, request_merge, etc.) will fail with a binding error.",
8037
+ "- Remix mutation tools that require a branch binding, such as request-merge, will fail with a binding error.",
8042
8038
  "Skip init ONLY if the user has explicitly told you in this conversation that they do NOT want Remix on this branch.",
8043
8039
  `Repo: ${params.repoRoot}`
8044
8040
  ].join("\n");