replicas-cli 0.3.551 → 0.3.553

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.
Files changed (2) hide show
  1. package/dist/index.cjs +8 -5
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -25001,7 +25001,7 @@ replicas issue unlink-pr REP-42 https://github.com/acme/app/pull/12
25001
25001
  replicas issue relate REP-42 blocks REP-43 | duplicate_of REP-40
25002
25002
  \`\`\`
25003
25003
 
25004
- Name a person as \`user:<email>\`, an agent as \`workspace:<id>\`, and this workspace as \`me\`.
25004
+ Name a person as \`user:<email>\`, an agent as \`workspace:<id>\`, and this workspace as \`me\`. In comments and descriptions, \`@Name\` or \`@email\` mentions a person or workspace.
25005
25005
 
25006
25006
  Statuses: ${codeList(ISSUE_STATUSES)}. Priorities: ${codeList(ISSUE_PRIORITIES)}.
25007
25007
 
@@ -25033,7 +25033,7 @@ Keep every property true at all times: status, assignee, linked pull requests (l
25033
25033
 
25034
25034
  **Keep the description current**, the way a good PM does: when the scope or the plan changes, edit it rather than burying the change in comment 14. Comments are for progress, questions, and decisions.
25035
25035
 
25036
- **Ask a person** by assigning them and commenting with exactly what you need decided; mention them as \`@user:<email>\` in the comment. Their reply arrives as an \`<issue_event>\`. Once they've answered, unassign them so the issue only shows as theirs while it needs them; they stay subscribed.
25036
+ **Ask a person** by assigning them and commenting with exactly what you need decided, mentioning them by \`@Name\` or \`@email\`. Their reply arrives as an \`<issue_event>\`. Once they've answered, unassign them so the issue only shows as theirs while it needs them; they stay subscribed.
25037
25037
 
25038
25038
  **Split big work:** create sub-issues with \`--parent REP-42\`, one per pull request or separable piece, and link blockers with \`relate\`.
25039
25039
 
@@ -40393,12 +40393,15 @@ var init_worker_routes = __esm({
40393
40393
  harnessWorkerCredentialRequestSchema = external_exports.object({
40394
40394
  /** The credential the model rejected, so the monolith refreshes it or moves to the next one instead of handing it back. */
40395
40395
  failedCredential: agentCredentialSnapshotSchema.optional(),
40396
+ failure: external_exports.enum(["auth", "rate_limit", "quota"]).optional(),
40396
40397
  // A worker from before Claude models sends none, and only ever calls OpenAI.
40397
40398
  modelProvider: external_exports.enum(REPLICAS_MODEL_PROVIDERS).default("openai")
40398
40399
  });
40399
40400
  harnessWorkerCredentialResponseSchema = external_exports.discriminatedUnion("method", [
40400
40401
  external_exports.object({ method: external_exports.literal("oauth"), accessToken: external_exports.string(), expiresAt: external_exports.string(), credential: agentCredentialSnapshotSchema }),
40401
- external_exports.object({ method: external_exports.literal("api_key"), apiKey: external_exports.string(), credential: agentCredentialSnapshotSchema })
40402
+ external_exports.object({ method: external_exports.literal("api_key"), apiKey: external_exports.string(), credential: agentCredentialSnapshotSchema }),
40403
+ /** Run the call on our own key, which the worker reads from its environment; it's billed to the organization at cost. */
40404
+ external_exports.object({ method: external_exports.literal("replicas") })
40402
40405
  ]);
40403
40406
  harnessWorkerTurnCompleteRequestSchema = external_exports.object({ errors: external_exports.array(external_exports.string()) });
40404
40407
  }
@@ -40468,7 +40471,7 @@ var CLI_VERSION;
40468
40471
  var init_cli_version = __esm({
40469
40472
  "../shared/src/cli-version.ts"() {
40470
40473
  "use strict";
40471
- CLI_VERSION = "0.3.551";
40474
+ CLI_VERSION = "0.3.553";
40472
40475
  }
40473
40476
  });
40474
40477
 
@@ -58685,7 +58688,7 @@ var init_src2 = __esm({
58685
58688
  issue2.command("view <issue>").description("Show an issue with its comments, pull requests and sub-issues").action(run(issueViewCommand));
58686
58689
  issue2.command("list").description("List issues, newest first").option("-q, --query <text>", "Search titles and descriptions").option("-s, --status <statuses>", "Comma-separated statuses").option("-p, --priority <priorities>", "Comma-separated priorities").option("--mine", "Assigned to you (this workspace inside one)").option("--assignee <actor>", "user:<email>, workspace:<id> or me; comma-separate to match any").option("--manager <workspace>", "A Manager's issues, as workspace:<id>").option("--parent <issue>", "Sub-issues of this issue; 'none' for top-level only").option("--archived", "Include archived issues").option("-l, --limit <n>", "Page size (default 50, max 200)").action(run(issueListCommand));
58687
58690
  issue2.command("search <query>").description("Search issues by text or identifier").action(run((query) => issueListCommand({ query })));
58688
- issue2.command("comment <issue> [body]").description("Comment on an issue. Mention a person as @user:<email>, an agent as @workspace:<id>").option("-f, --file <path>", "Read the comment from a file (- for stdin)").option("--attach <file>", "Upload and embed a screenshot or recording (repeatable)", collect, []).action(run(issueCommentCommand));
58691
+ issue2.command("comment <issue> [body]").description("Comment on an issue. @Name or @email mentions a person or workspace").option("-f, --file <path>", "Read the comment from a file (- for stdin)").option("--attach <file>", "Upload and embed a screenshot or recording (repeatable)", collect, []).action(run(issueCommentCommand));
58689
58692
  issue2.command("assign <issue> <who>").description("Assign user:<email>, workspace:<id> or me").action(run(issueActorCommand(ISSUE_COMMANDS.assign, "Assigned")));
58690
58693
  issue2.command("unassign <issue> <who>").description("Remove an assignee: user:<email>, workspace:<id> or me (they stay subscribed)").action(run(issueActorCommand(ISSUE_COMMANDS.unassign, "Unassigned")));
58691
58694
  issue2.command("subscribe <issue> [who]").description("Follow an issue: user:<email>, workspace:<id> or me (default: you)").action(run(issueActorCommand(ISSUE_COMMANDS.subscribe, "Subscribed")));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.551",
3
+ "version": "0.3.553",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {