replicas-engine 0.1.618 → 0.1.620

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/src/index.js +25 -6
  2. package/package.json +1 -1
package/dist/src/index.js CHANGED
@@ -2482,7 +2482,7 @@ const message = await replicas.slack.call<{ channel: string; ts: string }>('chat
2482
2482
  await replicas.slack.attachThread({ channel: message.channel, threadTs: message.ts });
2483
2483
  \`\`\`
2484
2484
 
2485
- A link in the message text stays plain text, so when the message carries a pull request or merge request link, pass \`blocks\` alongside \`text\` to render a button for it. Keep \`text\` set to the same message \u2014 Slack uses it for notifications and fallback.
2485
+ A link in the message text stays plain text, so the message that first shares a pull request or merge request link passes \`blocks\` alongside \`text\` to render a button for it. Keep \`text\` set to the same message \u2014 Slack uses it for notifications and fallback.
2486
2486
 
2487
2487
  \`\`\`ts
2488
2488
  await replicas.slack.call('chat.postMessage', {
@@ -2494,14 +2494,14 @@ await replicas.slack.call('chat.postMessage', {
2494
2494
  {
2495
2495
  type: 'actions',
2496
2496
  elements: [
2497
- { type: 'button', text: { type: 'plain_text', text: 'View PR' }, url: prUrl, action_id: 'view_pr' },
2497
+ { type: 'button', style: 'primary', text: { type: 'plain_text', text: 'View PR' }, url: prUrl, action_id: 'view_pr' },
2498
2498
  ],
2499
2499
  },
2500
2500
  ],
2501
2501
  });
2502
2502
  \`\`\`
2503
2503
 
2504
- Use "View MR" for GitLab. With several links, give each button a unique \`action_id\` and name its repository in the label ("View PR \xB7 web").
2504
+ Only the announcing message gets the button \u2014 follow-ups about a pull request already linked in the thread keep the link in the text and drop the \`blocks\`. Use "View MR" for GitLab. With several links, give each button a unique \`action_id\` and name its repository in the label ("View PR \xB7 web").
2505
2505
 
2506
2506
  Attach every new top-level conversation so future replies route to this workspace. For a reply in another thread, attach its root \`thread_ts\`, not the reply timestamp. Do not attach the originating thread again.
2507
2507
 
@@ -3255,7 +3255,15 @@ var ONE_DAY_MS = 24 * 60 * 60 * 1e3;
3255
3255
  // ../shared/src/routes/workspace-events.ts
3256
3256
  import { z as z2 } from "zod";
3257
3257
  var workspaceChangedEventSchema = z2.discriminatedUnion("type", [
3258
- z2.object({ type: z2.literal("workspace.changed"), workspaceId: z2.string(), ts: z2.string() }),
3258
+ z2.object({
3259
+ type: z2.literal("workspace.changed"),
3260
+ workspaceId: z2.string(),
3261
+ completion: z2.object({
3262
+ workspaceName: z2.string(),
3263
+ completedAt: z2.string()
3264
+ }).optional(),
3265
+ ts: z2.string()
3266
+ }),
3259
3267
  z2.object({
3260
3268
  type: z2.literal("workspace.chat.changed"),
3261
3269
  workspaceId: z2.string(),
@@ -8863,6 +8871,7 @@ function buildClaudeAgentEnv(overrides) {
8863
8871
  env.GITHUB_TOKEN = void 0;
8864
8872
  env.GH_CONFIG_DIR = void 0;
8865
8873
  env.CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD = "1";
8874
+ env.CLAUDE_CODE_DISABLE_AUTO_MEMORY = "1";
8866
8875
  return env;
8867
8876
  }
8868
8877
  function buildCodexAgentEnv() {
@@ -10886,11 +10895,21 @@ var AspClient = class {
10886
10895
 
10887
10896
  // src/managers/codex-asp/app-server-process.ts
10888
10897
  var DEFAULT_CODEX_BINARY = "codex";
10889
- var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
10898
+ var DEFAULT_CODEX_ARGS = [
10899
+ "app-server",
10900
+ "--listen",
10901
+ "stdio://",
10902
+ "-c",
10903
+ "features.memories=false",
10904
+ "-c",
10905
+ "memories.use_memories=false",
10906
+ "-c",
10907
+ "memories.generate_memories=false"
10908
+ ];
10890
10909
  var MIN_CODEX_CLI_VERSION = "0.144.6";
10891
10910
  var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
10892
10911
  var codexCliVersionEnsured = null;
10893
- var ENGINE_PACKAGE_VERSION = "0.1.618";
10912
+ var ENGINE_PACKAGE_VERSION = "0.1.620";
10894
10913
  var INITIALIZE_METHOD = "initialize";
10895
10914
  var INITIALIZED_NOTIFICATION = "initialized";
10896
10915
  var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-engine",
3
- "version": "0.1.618",
3
+ "version": "0.1.620",
4
4
  "description": "Lightweight API server for Replicas workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",