replicas-engine 0.1.619 → 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.
- package/dist/src/index.js +16 -5
- 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
|
|
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
|
|
|
@@ -8871,6 +8871,7 @@ function buildClaudeAgentEnv(overrides) {
|
|
|
8871
8871
|
env.GITHUB_TOKEN = void 0;
|
|
8872
8872
|
env.GH_CONFIG_DIR = void 0;
|
|
8873
8873
|
env.CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD = "1";
|
|
8874
|
+
env.CLAUDE_CODE_DISABLE_AUTO_MEMORY = "1";
|
|
8874
8875
|
return env;
|
|
8875
8876
|
}
|
|
8876
8877
|
function buildCodexAgentEnv() {
|
|
@@ -10894,11 +10895,21 @@ var AspClient = class {
|
|
|
10894
10895
|
|
|
10895
10896
|
// src/managers/codex-asp/app-server-process.ts
|
|
10896
10897
|
var DEFAULT_CODEX_BINARY = "codex";
|
|
10897
|
-
var DEFAULT_CODEX_ARGS = [
|
|
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
|
+
];
|
|
10898
10909
|
var MIN_CODEX_CLI_VERSION = "0.144.6";
|
|
10899
10910
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
10900
10911
|
var codexCliVersionEnsured = null;
|
|
10901
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
10912
|
+
var ENGINE_PACKAGE_VERSION = "0.1.620";
|
|
10902
10913
|
var INITIALIZE_METHOD = "initialize";
|
|
10903
10914
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
10904
10915
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|