replicas-cli 0.2.598 → 0.2.599
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 +13 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -24299,13 +24299,14 @@ var SENTRY_ABILITY = {
|
|
|
24299
24299
|
|
|
24300
24300
|
// ../shared/src/default-skills/replicas-agent/abilities/slack.ts
|
|
24301
24301
|
var SECTION11 = `### Slack
|
|
24302
|
-
Send messages, read threads, search conversations, and
|
|
24302
|
+
Send messages, read threads, search conversations, and transfer files through the workspace-scoped TypeScript SDK.
|
|
24303
24303
|
|
|
24304
24304
|
**Reference:** \`references/SLACK.md\`
|
|
24305
24305
|
|
|
24306
24306
|
Use this when:
|
|
24307
24307
|
- You need to send a message to a Slack channel or thread
|
|
24308
24308
|
- You need to read or search Slack conversations
|
|
24309
|
+
- You need to download a file attached to a Slack message
|
|
24309
24310
|
- You encounter a Slack message link and need its full thread`;
|
|
24310
24311
|
var REFERENCE11 = `# Slack Integration
|
|
24311
24312
|
|
|
@@ -24332,6 +24333,15 @@ const thread = await replicas.slack.call('conversations.replies', {
|
|
|
24332
24333
|
});
|
|
24333
24334
|
\`\`\`
|
|
24334
24335
|
|
|
24336
|
+
## Download a file
|
|
24337
|
+
|
|
24338
|
+
Pass a Slack file object's \`url_private_download\` to the authenticated download helper. Provider credentials stay behind the workspace gateway.
|
|
24339
|
+
|
|
24340
|
+
\`\`\`ts
|
|
24341
|
+
const response = await replicas.slack.download(file.url_private_download);
|
|
24342
|
+
await Bun.write('/tmp/recording.mov', response);
|
|
24343
|
+
\`\`\`
|
|
24344
|
+
|
|
24335
24345
|
## Send and attach a message
|
|
24336
24346
|
|
|
24337
24347
|
\`\`\`ts
|
|
@@ -24380,7 +24390,7 @@ Supported methods cover conversations, messages, search, users, reactions, and S
|
|
|
24380
24390
|
`;
|
|
24381
24391
|
var SLACK_ABILITY = {
|
|
24382
24392
|
label: "Slack",
|
|
24383
|
-
description: "Send messages, read threads, and
|
|
24393
|
+
description: "Send messages, read threads, search, and transfer files through @replicas/sdk.",
|
|
24384
24394
|
bullet: "- Interacting with Slack (sending messages, reading threads, etc.)",
|
|
24385
24395
|
section: SECTION11,
|
|
24386
24396
|
referenceFile: { name: "SLACK.md", content: REFERENCE11 }
|
|
@@ -24556,7 +24566,7 @@ function isTransientErrorText(text, options = {}) {
|
|
|
24556
24566
|
}
|
|
24557
24567
|
|
|
24558
24568
|
// ../shared/src/cli-version.ts
|
|
24559
|
-
var CLI_VERSION = "0.2.
|
|
24569
|
+
var CLI_VERSION = "0.2.599";
|
|
24560
24570
|
|
|
24561
24571
|
// ../shared/src/version.ts
|
|
24562
24572
|
function compareVersions(v1, v2) {
|