replicas-cli 0.3.297 → 0.3.298

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 +12 -3
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -19916,7 +19916,7 @@ Read issues and project data through the workspace-scoped TypeScript SDK.
19916
19916
  **Reference:** \`references/SENTRY.md\`
19917
19917
 
19918
19918
  Use this when:
19919
- - A user shares a sentry.io link
19919
+ - A user shares a Sentry link (sentry.io or a self-hosted Sentry server)
19920
19920
  - You need to inspect Sentry projects or issues
19921
19921
  - A user asks for error-monitoring context outside a webhook-triggered task`;
19922
19922
  REFERENCE12 = `# Sentry Integration
@@ -19940,6 +19940,8 @@ const issue = await replicas.sentry.request('/organizations/acme/issues/45123456
19940
19940
  const latest = await replicas.sentry.request('/organizations/acme/issues/4512345678/events/latest/');
19941
19941
  \`\`\`
19942
19942
 
19943
+ Self-hosted Sentry links work the same way: for \`https://sentry.example.com/organizations/acme/issues/4512345678/\`, request \`/organizations/acme/issues/4512345678/\`. The gateway sends it to the organization's connected Sentry server.
19944
+
19943
19945
  A link ending in \`/events/<eventId>/\` names a specific event: \`/organizations/acme/issues/4512345678/events/<eventId>/\`. Resolve a short ID such as \`BACKEND-1A2\` with \`/organizations/acme/shortids/BACKEND-1A2/\`. The event's \`entries\` hold the stack trace and breadcrumbs.
19944
19946
 
19945
19947
  Pass only a relative Sentry API path. The Replicas gateway selects the connected organization credential and rejects writes, absolute URLs, oversized responses, and long-running requests.
@@ -19947,7 +19949,7 @@ Pass only a relative Sentry API path. The Replicas gateway selects the connected
19947
19949
  SENTRY_ABILITY = {
19948
19950
  label: "Sentry",
19949
19951
  description: "Read Sentry projects and issues through @replicas/sdk.",
19950
- bullet: "- Interacting with Sentry (reading projects, issues, and error context, including any sentry.io link the user shares): use replicas.sentry.request from @replicas/sdk. Read references/SENTRY.md to turn an issue link into API paths.",
19952
+ bullet: "- Interacting with Sentry (reading projects, issues, and error context, including any Sentry issue link the user shares): use replicas.sentry.request from @replicas/sdk. Read references/SENTRY.md to turn an issue link into API paths.",
19951
19953
  section: SECTION12,
19952
19954
  referenceFile: { name: "SENTRY.md", content: REFERENCE12 }
19953
19955
  };
@@ -31721,7 +31723,7 @@ var CLI_VERSION;
31721
31723
  var init_cli_version = __esm({
31722
31724
  "../shared/src/cli-version.ts"() {
31723
31725
  "use strict";
31724
- CLI_VERSION = "0.3.297";
31726
+ CLI_VERSION = "0.3.298";
31725
31727
  }
31726
31728
  });
31727
31729
 
@@ -32439,9 +32441,16 @@ var init_plugins2 = __esm({
32439
32441
  });
32440
32442
 
32441
32443
  // ../shared/src/routes/sentry.ts
32444
+ var sentrySelfHostedConnectRequestSchema;
32442
32445
  var init_sentry2 = __esm({
32443
32446
  "../shared/src/routes/sentry.ts"() {
32444
32447
  "use strict";
32448
+ init_zod();
32449
+ sentrySelfHostedConnectRequestSchema = external_exports.object({
32450
+ baseUrl: external_exports.string().min(1),
32451
+ token: external_exports.string().trim().min(1),
32452
+ webhookSecret: external_exports.string().trim().optional()
32453
+ });
32445
32454
  }
32446
32455
  });
32447
32456
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.297",
3
+ "version": "0.3.298",
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": {