replicas-cli 0.3.297 → 0.3.299
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 +14 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -16450,7 +16450,8 @@ var init_types4 = __esm({
|
|
|
16450
16450
|
]);
|
|
16451
16451
|
withoutHiddenByDefault = (models) => models.filter((model2) => !HIDDEN_BY_DEFAULT_MODELS.has(model2));
|
|
16452
16452
|
DEFAULT_STATIC_AGENT_MODELS = {
|
|
16453
|
-
|
|
16453
|
+
// Haiku 5.5 replaces it for Claude Code; Cursor has no newer Haiku, so it keeps it.
|
|
16454
|
+
claude: withoutHiddenByDefault(AGENT_MODELS.claude).filter((model2) => model2 !== CLAUDE_HAIKU_4_5_MODEL),
|
|
16454
16455
|
codex: withoutHiddenByDefault(AGENT_MODELS.codex)
|
|
16455
16456
|
};
|
|
16456
16457
|
DEFAULT_CURSOR_MODELS = withoutHiddenByDefault(AGENT_MODELS.cursor);
|
|
@@ -19916,7 +19917,7 @@ Read issues and project data through the workspace-scoped TypeScript SDK.
|
|
|
19916
19917
|
**Reference:** \`references/SENTRY.md\`
|
|
19917
19918
|
|
|
19918
19919
|
Use this when:
|
|
19919
|
-
- A user shares a sentry.io
|
|
19920
|
+
- A user shares a Sentry link (sentry.io or a self-hosted Sentry server)
|
|
19920
19921
|
- You need to inspect Sentry projects or issues
|
|
19921
19922
|
- A user asks for error-monitoring context outside a webhook-triggered task`;
|
|
19922
19923
|
REFERENCE12 = `# Sentry Integration
|
|
@@ -19940,6 +19941,8 @@ const issue = await replicas.sentry.request('/organizations/acme/issues/45123456
|
|
|
19940
19941
|
const latest = await replicas.sentry.request('/organizations/acme/issues/4512345678/events/latest/');
|
|
19941
19942
|
\`\`\`
|
|
19942
19943
|
|
|
19944
|
+
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.
|
|
19945
|
+
|
|
19943
19946
|
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
19947
|
|
|
19945
19948
|
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 +19950,7 @@ Pass only a relative Sentry API path. The Replicas gateway selects the connected
|
|
|
19947
19950
|
SENTRY_ABILITY = {
|
|
19948
19951
|
label: "Sentry",
|
|
19949
19952
|
description: "Read Sentry projects and issues through @replicas/sdk.",
|
|
19950
|
-
bullet: "- Interacting with Sentry (reading projects, issues, and error context, including any
|
|
19953
|
+
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
19954
|
section: SECTION12,
|
|
19952
19955
|
referenceFile: { name: "SENTRY.md", content: REFERENCE12 }
|
|
19953
19956
|
};
|
|
@@ -31721,7 +31724,7 @@ var CLI_VERSION;
|
|
|
31721
31724
|
var init_cli_version = __esm({
|
|
31722
31725
|
"../shared/src/cli-version.ts"() {
|
|
31723
31726
|
"use strict";
|
|
31724
|
-
CLI_VERSION = "0.3.
|
|
31727
|
+
CLI_VERSION = "0.3.298";
|
|
31725
31728
|
}
|
|
31726
31729
|
});
|
|
31727
31730
|
|
|
@@ -32439,9 +32442,16 @@ var init_plugins2 = __esm({
|
|
|
32439
32442
|
});
|
|
32440
32443
|
|
|
32441
32444
|
// ../shared/src/routes/sentry.ts
|
|
32445
|
+
var sentrySelfHostedConnectRequestSchema;
|
|
32442
32446
|
var init_sentry2 = __esm({
|
|
32443
32447
|
"../shared/src/routes/sentry.ts"() {
|
|
32444
32448
|
"use strict";
|
|
32449
|
+
init_zod();
|
|
32450
|
+
sentrySelfHostedConnectRequestSchema = external_exports.object({
|
|
32451
|
+
baseUrl: external_exports.string().min(1),
|
|
32452
|
+
token: external_exports.string().trim().min(1),
|
|
32453
|
+
webhookSecret: external_exports.string().trim().optional()
|
|
32454
|
+
});
|
|
32445
32455
|
}
|
|
32446
32456
|
});
|
|
32447
32457
|
|