replicas-cli 0.2.620 → 0.2.621

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 +17 -5
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -23592,7 +23592,7 @@ var REFERENCE5 = `# Linear Integration
23592
23592
 
23593
23593
  Use \`@replicas/sdk\`; never request or handle a Linear OAuth token. Replicas refreshes the organization credential behind the gateway.
23594
23594
 
23595
- In gateway-enabled workspaces, Linear credentials stay on the Replicas server and the workspace receives only connection metadata. Older workspaces can still carry a legacy token snapshot, but should use the gateway when the SDK is available. A missing Linear MCP server does not prevent SDK access.
23595
+ In all new workspaces, Linear credentials stay on the Replicas server and the workspace receives only connection metadata. Older workspaces can still carry a legacy token snapshot, but should use the gateway when the SDK is available. A missing Linear MCP server does not prevent SDK access.
23596
23596
 
23597
23597
  Download protected attachments with \`await replicas.linear.download(url)\`; this returns a \`Response\` without exposing the provider token.
23598
23598
 
@@ -23662,9 +23662,9 @@ Search with \`containsIgnoreCase: $query\` filters, for example on both \`title\
23662
23662
  If \`@replicas/sdk\` cannot be imported, use the same refresh-capable gateway with workspace authentication. Send the GraphQL JSON request on stdin:
23663
23663
 
23664
23664
  \`\`\`bash
23665
- curl -sS --fail-with-body -X POST "$REPLICAS_MONOLITH_URL/v1/engine/linear/graphql" \\
23665
+ curl -sS --fail-with-body -X POST "\${REPLICAS_MONOLITH_URL:-$MONOLITH_URL}/v1/engine/linear/graphql" \\
23666
23666
  -H "Authorization: Bearer $REPLICAS_ENGINE_SECRET" \\
23667
- -H "X-Workspace-Id: $REPLICAS_WORKSPACE_ID" \\
23667
+ -H "X-Workspace-Id: \${REPLICAS_WORKSPACE_ID:-$WORKSPACE_ID}" \\
23668
23668
  -H "Content-Type: application/json" \\
23669
23669
  --data-binary @-
23670
23670
  \`\`\`
@@ -24691,11 +24691,23 @@ const [messages, users] = await Promise.all([
24691
24691
  \`\`\`
24692
24692
 
24693
24693
  Supported methods cover conversations, messages, search, users, reactions, and Slack's external file-upload flow. An unsupported method is rejected by Replicas before Slack is called.
24694
+
24695
+ ## Older workspaces without the SDK
24696
+
24697
+ If \`@replicas/sdk\` cannot be imported, use the gateway with workspace authentication. Send JSON containing \`method\` and \`arguments\` on stdin, for example \`{"method":"conversations.list","arguments":{"limit":3,"types":"public_channel"}}\`:
24698
+
24699
+ \`\`\`bash
24700
+ curl -sS --fail-with-body -X POST "\${REPLICAS_MONOLITH_URL:-$MONOLITH_URL}/v1/engine/slack/api" \\
24701
+ -H "Authorization: Bearer $REPLICAS_ENGINE_SECRET" \\
24702
+ -H "X-Workspace-Id: \${REPLICAS_WORKSPACE_ID:-$WORKSPACE_ID}" \\
24703
+ -H "Content-Type: application/json" \\
24704
+ --data-binary @-
24705
+ \`\`\`
24694
24706
  `;
24695
24707
  var SLACK_ABILITY = {
24696
24708
  label: "Slack",
24697
24709
  description: "Send messages, read threads, search, and transfer files through @replicas/sdk.",
24698
- bullet: "- Interacting with Slack (sending messages, reading threads, etc.)",
24710
+ bullet: "- Interacting with Slack (listing channels, sending messages, reading threads, or searching): use replicas.slack.call from @replicas/sdk. Read references/SLACK.md; no Slack MCP server or provider token in the VM is required.",
24699
24711
  section: SECTION12,
24700
24712
  referenceFile: { name: "SLACK.md", content: REFERENCE12 }
24701
24713
  };
@@ -27203,7 +27215,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
27203
27215
  });
27204
27216
 
27205
27217
  // ../shared/src/cli-version.ts
27206
- var CLI_VERSION = "0.2.620";
27218
+ var CLI_VERSION = "0.2.621";
27207
27219
 
27208
27220
  // ../shared/src/version.ts
27209
27221
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.620",
3
+ "version": "0.2.621",
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": {