@retasc/cli 1.33.0 → 1.34.0

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/CHANGELOG.md CHANGED
@@ -6,6 +6,22 @@ release commits and the issues they reference.
6
6
 
7
7
  Dates are the npm publish date. Each entry names the RTSC issue behind it.
8
8
 
9
+ ## 1.34.0 (2026-08-24)
10
+
11
+ - **RTSC-731** — `bind` stops asking whether you want to join an org you are already in.
12
+ A teammate given access to a second project was shown "Join Retasc, or start your own
13
+ workspace?", with the second option one keystroke away from creating a duplicate
14
+ organization that cannot be deleted from the terminal. Invites that only add projects
15
+ to a membership you already have are no longer treated as onboarding, and no longer
16
+ suppress the single-org shortcut. Your agent still hears about them, and
17
+ `setup_status` now asks about them in its own words, naming the project and the
18
+ organization so "Retasc the org" and "Retasc the project" can't be confused.
19
+ - **RTSC-731** — the invite questions hand back a value your agent can actually use.
20
+ Both onboarding questions told the agent to pass the chosen answer to `accept_invite`'s
21
+ `org` flag, then offered "join" as that answer — so an agent doing exactly what it was
22
+ told got "no invite to join is waiting for you", while one that ignored the instruction
23
+ and read the prose succeeded. The accept option now carries the organization itself.
24
+
9
25
  ## 1.33.0 (2026-08-23)
10
26
 
11
27
  - **RTSC-722** — the setup questions arrive as a matrix your agent can actually render.
@@ -728,7 +728,17 @@ export async function bindAction(opts) {
728
728
  if (!orgId) {
729
729
  const me = (await api.me());
730
730
  const orgs = me.orgs ?? [];
731
- const pendingInvites = me.pendingInvites ?? [];
731
+ // RTSC-731 JOIN invites only. RTSC-730 widened what `me.pendingInvites` returns to
732
+ // include invites that merely add projects to a membership somebody already has, and
733
+ // this block asks "join this org, or start your own workspace?" — a question whose
734
+ // premise is false for an existing member, and whose second option creates a SECOND
735
+ // org on the billing rail with no CLI-callable delete (RTSC-297). A widening also
736
+ // must not suppress the single-org shortcut below.
737
+ //
738
+ // Widenings are NOT dropped from the product, only from THIS question: the notice
739
+ // rider still relays them, `whoami` still lists them, `setup_status` asks about them
740
+ // with its own wording, and `accept_invite` still takes them.
741
+ const pendingInvites = (me.pendingInvites ?? []).filter((i) => !i.widensExisting);
732
742
  if (isInteractive()) {
733
743
  const chosen = await pick("Select an org", orgs, (o) => `${o.name} (${o.slug})`);
734
744
  if (chosen) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retasc/cli",
3
- "version": "1.33.0",
3
+ "version": "1.34.0",
4
4
  "description": "Retasc CLI \u2014 the issue tracker AI agents pull work from. Sign in with GitHub or Google, create projects, mint agent API keys, and wire your agent to the Retasc MCP server in one command.",
5
5
  "type": "module",
6
6
  "bin": {