@remixhq/claude-plugin 0.1.14 → 0.1.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remixhq/claude-plugin",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "Claude Code plugin for Remix collaboration workflows",
5
5
  "homepage": "https://github.com/RemixDotOne/remix-claude-plugin",
6
6
  "license": "MIT",
@@ -31,8 +31,8 @@
31
31
  "prepack": "npm run build"
32
32
  },
33
33
  "dependencies": {
34
- "@remixhq/core": "^0.1.9",
35
- "@remixhq/mcp": "^0.1.9"
34
+ "@remixhq/core": "^0.1.11",
35
+ "@remixhq/mcp": "^0.1.11"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^25.4.0",
@@ -21,6 +21,9 @@ Recommended sequence:
21
21
  - an explicit id was provided,
22
22
  - or app-grounded context shows those broader scopes are readable and relevant.
23
23
  4. When the user asks about a scope outside the current repo context, prefer explicit ids over cwd inference.
24
+ 5. When listing apps, prefer scoped or ownership-aware discovery before broad readable discovery:
25
+ - prefer `organizationId` or `projectId` when the relevant tenant scope is known,
26
+ - otherwise use `ownership` and `accessScope="explicit_member"` when the user means “apps I can actually work on.”
24
27
 
25
28
  Important rules:
26
29
 
@@ -29,3 +32,4 @@ Important rules:
29
32
  - Treat warnings on cwd-derived results as meaningful partial context, not as failure.
30
33
  - If cwd inference cannot safely resolve a broader scope, prefer the app-level answer and explain the boundary.
31
34
  - Use explicit ids when switching from "what is this repo?" to "tell me about that other org/project/app".
35
+ - Do not default to broad unscoped app listing when the task is work-oriented; reserve `accessScope="all_readable"` for explicit public or broad readable discovery.
@@ -23,9 +23,12 @@ Recommended sequence:
23
23
 
24
24
  1. If the current repo may already be bound, use `remix_collab_status` first.
25
25
  2. If the task is about the current local repo and it is unbound, prefer `remix_collab_init`.
26
- 3. If the task starts from an existing app id and the user wants a new fork, prefer `remix_collab_remix`.
27
- 4. If the task starts from an existing app id and the user wants the same app id locally, prefer `remix_collab_checkout`.
28
- 5. After init, remix, or checkout, use `remix_collab_status` in the resulting repo to inspect readiness.
26
+ 3. If the user needs help choosing an app id, prefer scoped discovery first:
27
+ - use `remix_directory_list_apps` with an explicit `organizationId` or `projectId` when the relevant scope is known,
28
+ - otherwise prefer `ownership` and `accessScope="explicit_member"` so discovery stays work-oriented instead of pulling in public readable apps by default.
29
+ 4. If the task starts from an existing app id and the user wants a new fork, prefer `remix_collab_remix`.
30
+ 5. If the task starts from an existing app id and the user wants the same app id locally, prefer `remix_collab_checkout`.
31
+ 6. After init, remix, or checkout, use `remix_collab_status` in the resulting repo to inspect readiness.
29
32
 
30
33
  Important note:
31
34
 
@@ -34,6 +37,8 @@ Important note:
34
37
  - `remix_collab_remix` creates a new bound checkout in a newly created directory under the provided or current working directory.
35
38
  - `remix_collab_checkout` creates a new bound checkout for the exact existing app id without creating a new fork.
36
39
  - Do not treat remix as binding the current repository in place.
40
+ - When app discovery is only about \"what can I actually work on?\", prefer membership-oriented listing (`accessScope=\"explicit_member\"`) over broad readable discovery.
41
+ - Use broad readable discovery only when the user explicitly wants public catalog-style exploration.
37
42
  - If the user wants to start from an existing Remix app lineage with a new fork, use `remix_collab_remix`.
38
43
  - If the user wants to continue work on the same existing app id, use `remix_collab_checkout`.
39
44
  - After init, remix, or checkout, run `remix_collab_status` in the resulting repo and then follow the normal bound-repo workflow there.
@@ -10,6 +10,7 @@ In a Remix-bound repo, treat Remix MCP tools as the authoritative workflow layer
10
10
  Canonical rules:
11
11
 
12
12
  - In a bound repo, Remix tools are the required workflow layer for collaboration work.
13
+ - In a bound repo, branch switches are collaboration-state transitions because each branch can resolve to its own Remix lane and app lineage.
13
14
  - Historical intent questions go to Remix memory before raw git history.
14
15
  - Raw git mutation is not the normal collaboration path in a bound repo.
15
16
  - Before the final response, you must record exactly one completed turn with `remix_collab_finalize_turn`.
@@ -36,6 +37,14 @@ Follow this order:
36
37
  7. Use raw git history only after Remix memory has narrowed the relevant change, or when the user explicitly asks for exact commit, blame, ancestry, or patch-level detail.
37
38
  8. Before the final response, call `remix_collab_finalize_turn`.
38
39
 
40
+ After switching branches:
41
+
42
+ 1. Run `remix_collab_status`.
43
+ 2. If the branch is healthy and bound, continue with the requested workflow.
44
+ 3. If the branch is unbound, initialize or provision that branch lane before mutation commands.
45
+ 4. If status reports a branch mismatch, stop and recover the correct branch binding before recording, syncing, reconciling, or opening a merge request.
46
+ 5. Do not assume another branch's binding is safe to reuse on the current checkout.
47
+
39
48
  Important rules:
40
49
 
41
50
  - If the repo is unbound, use `remix_collab_init` for the current repo, `remix_collab_remix` for a new fork from an existing app lineage, or `remix_collab_checkout` to materialize an existing app as-is.