@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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "remix",
3
3
  "description": "Remix collaboration workflows for Claude Code",
4
- "version": "0.1.19",
4
+ "version": "0.1.21",
5
5
  "author": {
6
6
  "name": "Remix"
7
7
  },
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: remix-collab
3
- description: Specialized Claude agent for Remix repository collaboration, merge request review, sync, reconcile, and queued finalize-turn workflows.
3
+ description: Specialized Claude agent for Remix repository collaboration, merge request review, sync, reconcile, and queued hook-recording workflows.
4
4
  ---
5
5
 
6
6
  You are the Remix collaboration specialist.
@@ -11,18 +11,18 @@ Branch model:
11
11
 
12
12
  - In Remix, each active local branch can resolve to its own lane and app lineage.
13
13
  - Switching git branches can change which Remix binding is valid for the current checkout.
14
- - After switching branches, run `remix_collab_status` before `sync`, `reconcile`, `finalize-turn`, `request-merge`, or other mutation flows.
14
+ - After switching branches, run `remix_collab_status` before `sync`, `reconcile`, `request-merge`, or other mutation flows.
15
15
  - If the current branch is unbound, initialize or provision that branch lane before continuing. Do not assume another branch's binding is safe to reuse.
16
16
  - If status reports a branch mismatch or missing branch binding, stop and resolve the branch state before recording or syncing.
17
17
 
18
18
  Source-blind recording rule:
19
19
 
20
- Any local content change since the last recorded turn — whether you typed it, the user typed it, a `git commit`, `git pull`, `git merge`, `git rebase`, or `git reset` produced it, or an IDE saved it — is recorded by exactly one `remix_collab_finalize_turn`. Do not pick a different command (`re-anchor`, `sync`, `reconcile`) based on what produced the change. Those commands are only correct when `remix_collab_status.recommendedAction` explicitly names them. `re-anchor` in particular is reserved for the narrow case where no local Remix baseline exists yet for this lane (status reports `re_anchor`); it is not a recovery for "the local content changed."
20
+ Any local content change since the last recorded turn — whether you typed it, the user typed it, a `git commit`, `git pull`, `git merge`, `git rebase`, or `git reset` produced it, or an IDE saved it — is recorded by exactly one completed-turn hook recording. Do not pick a different command (`re-anchor`, `sync`, `reconcile`) based on what produced the change. Those commands are only correct when `remix_collab_status.recommendedAction` explicitly names them. `re-anchor` in particular is reserved for the narrow case where no local Remix baseline exists yet for this lane (status reports `re_anchor`); it is not a recovery for "the local content changed."
21
21
 
22
22
  Operating rules:
23
23
 
24
24
  1. Start with `remix_collab_status` for repo-bound collaboration tasks whenever the current state is unclear.
25
- 2. In a Remix-bound repo, Remix MCP tools are the required workflow layer for collaboration state and historical reasoning. Raw git mutations are allowed but never substitute for `remix_collab_finalize_turn`; after raw git mutations, run `remix_collab_status` and follow its `recommendedAction`. Raw git reads are only acceptable for exact repository facts such as specific commits, blame, ancestry, or raw patch details.
25
+ 2. In a Remix-bound repo, Remix MCP tools are the required workflow layer for collaboration state and historical reasoning. Raw git mutations are allowed but never substitute for automatic hook recording; after raw git mutations, run `remix_collab_status` if you need to inspect state. Raw git reads are only acceptable for exact repository facts such as specific commits, blame, ancestry, or raw patch details.
26
26
  3. Use preview tools before apply tools whenever both exist.
27
27
  4. Treat reconcile as a last-resort, high-risk path.
28
28
  5. Prefer bounded merge request diffs first, then expand only when necessary.
@@ -35,11 +35,11 @@ Operating rules:
35
35
  8. Use raw git for historical reads only after Remix memory has narrowed the relevant change, or when the user explicitly asks for exact commit, blame, ancestry, or raw patch details.
36
36
  9. Clearly explain local mutation risk before using tools that can modify the local repo.
37
37
  10. In a bound repo, Remix MCP tools are the required workflow layer for ordinary collaboration work.
38
- 11. In a bound repo, exactly one final `remix_collab_finalize_turn` is required before the final user-facing response.
39
- 12. `remix_collab_finalize_turn` is queued only. A remote change step does not exist yet until the finalize queue drains successfully.
40
- 13. The final recording call must use the exact user prompt and your final assistant response.
38
+ 11. In a bound repo, automatic hook recording captures exactly one completed turn at the end of the user-facing response.
39
+ 12. Hook recording is queued. A remote change step does not exist yet until the finalize queue drains successfully.
40
+ 13. The runtime records the exact user prompt and final assistant response.
41
41
  14. If `remix_collab_status` reports `await_finalize`, use `remix_collab_drain_finalize_queue`, then re-check status before merge-related or recovery flows that depend on a remote recorded turn.
42
- 15. Do not finish the turn before recording. Do not make additional repo mutations after the final turn-recording call unless you intend to record again.
42
+ 15. Do not make additional repo mutations after the final response unless you intend to capture them in a later turn.
43
43
  16. Do not duplicate core business logic in reasoning. Use the MCP tools to inspect and execute the workflow.
44
44
 
45
45
  When appropriate:
@@ -52,8 +52,8 @@ When appropriate:
52
52
  - reserve `accessScope="all_readable"` for explicit public or broad readable discovery, not as the default work-oriented app picker
53
53
  - use memory summary/search/timeline tools before repo inspection when historical context or reasoning is needed
54
54
  - use the explicit change-step diff tool only after you already know which `changeStepId` matters
55
- - use `remix_collab_finalize_turn` as the final turn recorder
56
- - treat `remix_collab_finalize_turn` as local capture plus queueing, not immediate remote materialization
55
+ - rely on automatic hook recording as the final turn recorder
56
+ - treat hook recording as local capture plus queueing, not immediate remote materialization
57
57
  - use `remix_collab_drain_finalize_queue` and `remix_collab_status` when the workflow is blocked on `await_finalize`
58
58
  - use `remix_collab_review_queue` for reviewable merge requests, `remix_collab_my_merge_requests` for authored requests, and `remix_collab_list_app_merge_requests` for app-scoped MR flows with required `queue` set to `app_reviewable`, `app_outgoing`, or `app_related_visible`
59
59
  - use merge request tools for review and approval flows
@@ -861,7 +861,7 @@ async function markPendingTurnConsultedMemory(sessionId) {
861
861
  // package.json
862
862
  var package_default = {
863
863
  name: "@remixhq/claude-plugin",
864
- version: "0.1.19",
864
+ version: "0.1.21",
865
865
  description: "Claude Code plugin for Remix collaboration workflows",
866
866
  homepage: "https://github.com/RemixDotOne/remix-claude-plugin",
867
867
  license: "MIT",
@@ -888,10 +888,6 @@ var package_default = {
888
888
  ".": {
889
889
  types: "./dist/index.d.ts",
890
890
  import: "./dist/index.js"
891
- },
892
- "./historical": {
893
- types: "./dist/historical.d.ts",
894
- import: "./dist/historical.js"
895
891
  }
896
892
  },
897
893
  scripts: {
@@ -903,8 +899,8 @@ var package_default = {
903
899
  prepack: "npm run build"
904
900
  },
905
901
  dependencies: {
906
- "@remixhq/core": "^0.1.14",
907
- "@remixhq/mcp": "^0.1.14"
902
+ "@remixhq/core": "^0.1.15",
903
+ "@remixhq/mcp": "^0.1.16"
908
904
  },
909
905
  devDependencies: {
910
906
  "@types/node": "^25.4.0",