orkestrator 2.28.0-beta → 2.29.0-beta
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/client.js +1 -1
- package/dist/main.js +23116 -20131
- package/package.json +3 -3
- package/resources/claude-bridge/dist/index.js +12 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orkestrator",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.29.0-beta",
|
|
4
4
|
"description": "Run the Orkestrator backend service without the desktop application",
|
|
5
5
|
"homepage": "https://orkestrator.dev",
|
|
6
6
|
"repository": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"sharp": "0.35.5"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@orkestrator/protocol": "2.
|
|
43
|
-
"@orkestrator/toolchain": "2.
|
|
42
|
+
"@orkestrator/protocol": "2.29.0-beta",
|
|
43
|
+
"@orkestrator/toolchain": "2.29.0-beta"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"bun": ">=1.4.3"
|
|
@@ -12593,6 +12593,10 @@ var authRead;
|
|
|
12593
12593
|
var authReadGeneration;
|
|
12594
12594
|
var authRefreshPending = false;
|
|
12595
12595
|
var authGeneration = 0;
|
|
12596
|
+
var turnAuthenticationFailedUntil = 0;
|
|
12597
|
+
function withTurnFailure(value) {
|
|
12598
|
+
return Date.now() < turnAuthenticationFailedUntil && value.state === "signed-in" ? { ...value, state: "expired" } : value;
|
|
12599
|
+
}
|
|
12596
12600
|
function presentSource(value) {
|
|
12597
12601
|
return value && value !== "none" ? value : undefined;
|
|
12598
12602
|
}
|
|
@@ -12629,8 +12633,9 @@ async function probeAccount() {
|
|
|
12629
12633
|
}
|
|
12630
12634
|
}
|
|
12631
12635
|
function readClaudeAuthStatus() {
|
|
12632
|
-
if (authCache && authCache.expiresAt > Date.now())
|
|
12633
|
-
return Promise.resolve(authCache.value);
|
|
12636
|
+
if (authCache && authCache.expiresAt > Date.now()) {
|
|
12637
|
+
return Promise.resolve(withTurnFailure(authCache.value));
|
|
12638
|
+
}
|
|
12634
12639
|
if (authRead)
|
|
12635
12640
|
return authRead;
|
|
12636
12641
|
const generation = authGeneration;
|
|
@@ -12645,7 +12650,7 @@ function readClaudeAuthStatus() {
|
|
|
12645
12650
|
if (generation === authGeneration) {
|
|
12646
12651
|
authCache = { expiresAt: Date.now() + ttl, value };
|
|
12647
12652
|
}
|
|
12648
|
-
return value;
|
|
12653
|
+
return withTurnFailure(value);
|
|
12649
12654
|
}).finally(() => {
|
|
12650
12655
|
if (authRead !== read)
|
|
12651
12656
|
return;
|
|
@@ -12661,6 +12666,7 @@ function readClaudeAuthStatus() {
|
|
|
12661
12666
|
return read;
|
|
12662
12667
|
}
|
|
12663
12668
|
function noteClaudeAuthenticationFailure() {
|
|
12669
|
+
turnAuthenticationFailedUntil = Date.now() + AUTH_CACHE_TTL_MS;
|
|
12664
12670
|
authCache = undefined;
|
|
12665
12671
|
if (authRead && authReadGeneration !== authGeneration)
|
|
12666
12672
|
authRefreshPending = true;
|
|
@@ -12669,6 +12675,7 @@ function noteClaudeAuthenticationFailure() {
|
|
|
12669
12675
|
function noteClaudeAuthenticationWorked() {
|
|
12670
12676
|
authGeneration += 1;
|
|
12671
12677
|
authRefreshPending = false;
|
|
12678
|
+
turnAuthenticationFailedUntil = 0;
|
|
12672
12679
|
if (authCache?.value.state === "needs-auth")
|
|
12673
12680
|
authCache = undefined;
|
|
12674
12681
|
}
|
|
@@ -14797,7 +14804,8 @@ function claudeQueryOptions(turn, plan, turnFor, mcp) {
|
|
|
14797
14804
|
append: [
|
|
14798
14805
|
"IMPORTANT: You MUST read a file before editing or writing to it. The Edit and Write tools will fail if you have not first used the Read tool to read the file in this conversation. Always read files before attempting to modify them.",
|
|
14799
14806
|
backgroundCommandInstruction(queryEnvironment),
|
|
14800
|
-
"When the user asks for a document (a report, design doc, plan, analysis, guide, or other writing to keep), prefer writing it as a Markdown file in a `docs/` folder at the root of the working directory over creating a Claude Doc or claude.ai artifact, and tell the user the file's path. Project instructions (such as CLAUDE.md or AGENTS.md), local skills, and the user's own request take priority over this default when they say where or how to write documents."
|
|
14807
|
+
"When the user asks for a document (a report, design doc, plan, analysis, guide, or other writing to keep), prefer writing it as a Markdown file in a `docs/` folder at the root of the working directory over creating a Claude Doc or claude.ai artifact, and tell the user the file's path. Project instructions (such as CLAUDE.md or AGENTS.md), local skills, and the user's own request take priority over this default when they say where or how to write documents.",
|
|
14808
|
+
"When you show the user an image in your reply (a screenshot, rendered preview, or chart) using Markdown image syntax, reference it by its absolute path. In a managed worktree or container environment, save the file inside the working directory, preferably in a git-ignored folder so preview files stay out of the change set. Local image previews are limited to Orkestrator-managed workspace storage or the container's /workspace. Project-home checkouts are excluded from host preview reads, even when they are the working directory, so images saved there cannot be previewed from a local Markdown path. Paths outside previewable storage, such as /tmp, also show a placeholder."
|
|
14801
14809
|
].join(`
|
|
14802
14810
|
|
|
14803
14811
|
`)
|