replicas-cli 0.3.8 → 0.3.9
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/dist/index.cjs +18 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -24740,7 +24740,7 @@ Create tickets, fetch issues, update state, add comments, and search through \`r
|
|
|
24740
24740
|
|
|
24741
24741
|
Use this when:
|
|
24742
24742
|
- You need to create a Linear ticket or issue
|
|
24743
|
-
- You encounter a
|
|
24743
|
+
- You encounter a linear.app issue link and need to understand the task
|
|
24744
24744
|
- You need to update an issue's state or add a comment
|
|
24745
24745
|
- You need to search Linear issues
|
|
24746
24746
|
- A Linear request failed with an authentication error`;
|
|
@@ -24798,6 +24798,8 @@ const issue = await replicas.linear.graphql({
|
|
|
24798
24798
|
});
|
|
24799
24799
|
\`\`\`
|
|
24800
24800
|
|
|
24801
|
+
For a link such as \`https://linear.app/acme/issue/ENG-123/fix-login\`, the identifier is the path segment after \`/issue/\` (\`ENG-123\`).
|
|
24802
|
+
|
|
24801
24803
|
## Update and comment in one script
|
|
24802
24804
|
|
|
24803
24805
|
\`\`\`ts
|
|
@@ -24834,7 +24836,7 @@ For screenshots, recordings, diagrams, or other media, read \`references/MEDIA.m
|
|
|
24834
24836
|
var LINEAR_ABILITY = {
|
|
24835
24837
|
label: "Linear",
|
|
24836
24838
|
description: "Create tickets, fetch issues, comment, and update state through @replicas/sdk.",
|
|
24837
|
-
bullet: "- Interacting with Linear (creating tickets, fetching issues, updating state, commenting, or troubleshooting authentication): use replicas.linear.graphql from @replicas/sdk, which refreshes tokens automatically and needs no Linear MCP server. Read references/LINEAR.md before treating a rejected workspace token as a disconnected integration.",
|
|
24839
|
+
bullet: "- Interacting with Linear (creating tickets, fetching issues including any linear.app link the user shares, updating state, commenting, or troubleshooting authentication): use replicas.linear.graphql from @replicas/sdk, which refreshes tokens automatically and needs no Linear MCP server. Read references/LINEAR.md before treating a rejected workspace token as a disconnected integration.",
|
|
24838
24840
|
section: SECTION6,
|
|
24839
24841
|
referenceFile: { name: "LINEAR.md", content: REFERENCE6 }
|
|
24840
24842
|
};
|
|
@@ -25758,6 +25760,7 @@ Read issues and project data through the workspace-scoped TypeScript SDK.
|
|
|
25758
25760
|
**Reference:** \`references/SENTRY.md\`
|
|
25759
25761
|
|
|
25760
25762
|
Use this when:
|
|
25763
|
+
- A user shares a sentry.io link
|
|
25761
25764
|
- You need to inspect Sentry projects or issues
|
|
25762
25765
|
- A user asks for error-monitoring context outside a webhook-triggered task`;
|
|
25763
25766
|
var REFERENCE11 = `# Sentry Integration
|
|
@@ -25772,12 +25775,23 @@ import { replicas } from '@replicas/sdk';
|
|
|
25772
25775
|
const issues = await replicas.sentry.request('/organizations/acme/issues/?query=is:unresolved');
|
|
25773
25776
|
\`\`\`
|
|
25774
25777
|
|
|
25778
|
+
## Read a pasted issue link
|
|
25779
|
+
|
|
25780
|
+
Map the link to API paths instead of fetching the page. For \`https://acme.sentry.io/issues/4512345678/?project=123\` or \`https://sentry.io/organizations/acme/issues/4512345678/\`, the organization slug is \`acme\` and the issue ID is \`4512345678\`:
|
|
25781
|
+
|
|
25782
|
+
\`\`\`ts
|
|
25783
|
+
const issue = await replicas.sentry.request('/organizations/acme/issues/4512345678/');
|
|
25784
|
+
const latest = await replicas.sentry.request('/organizations/acme/issues/4512345678/events/latest/');
|
|
25785
|
+
\`\`\`
|
|
25786
|
+
|
|
25787
|
+
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.
|
|
25788
|
+
|
|
25775
25789
|
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.
|
|
25776
25790
|
`;
|
|
25777
25791
|
var SENTRY_ABILITY = {
|
|
25778
25792
|
label: "Sentry",
|
|
25779
25793
|
description: "Read Sentry projects and issues through @replicas/sdk.",
|
|
25780
|
-
bullet: "- Interacting with Sentry (reading projects, issues, and error context)",
|
|
25794
|
+
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.",
|
|
25781
25795
|
section: SECTION11,
|
|
25782
25796
|
referenceFile: { name: "SENTRY.md", content: REFERENCE11 }
|
|
25783
25797
|
};
|
|
@@ -28343,7 +28357,7 @@ var headlessAgentRequestSchema = external_exports.object({
|
|
|
28343
28357
|
});
|
|
28344
28358
|
|
|
28345
28359
|
// ../shared/src/cli-version.ts
|
|
28346
|
-
var CLI_VERSION = "0.3.
|
|
28360
|
+
var CLI_VERSION = "0.3.9";
|
|
28347
28361
|
|
|
28348
28362
|
// ../shared/src/version.ts
|
|
28349
28363
|
function compareVersions(v1, v2) {
|