@slock-ai/daemon 0.47.0-staging.20260511185434 → 0.48.0
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/{chunk-S5GCMNRE.js → chunk-EDE2E6QR.js} +16 -0
- package/dist/cli/index.js +24 -2
- package/dist/core.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -640,6 +640,22 @@ var actionCardActionSchema = z.discriminatedUnion("type", [
|
|
|
640
640
|
channelAddMemberOperationSchema
|
|
641
641
|
]);
|
|
642
642
|
|
|
643
|
+
// ../shared/src/translationLanguages.ts
|
|
644
|
+
var SUPPORTED_TRANSLATION_LANGUAGE_CODES = [
|
|
645
|
+
"en",
|
|
646
|
+
"zh-cn",
|
|
647
|
+
"zh-tw",
|
|
648
|
+
"ja",
|
|
649
|
+
"ko",
|
|
650
|
+
"es",
|
|
651
|
+
"fr",
|
|
652
|
+
"de",
|
|
653
|
+
"pt-br"
|
|
654
|
+
];
|
|
655
|
+
var SUPPORTED_TRANSLATION_LANGUAGE_SET = new Set(
|
|
656
|
+
SUPPORTED_TRANSLATION_LANGUAGE_CODES
|
|
657
|
+
);
|
|
658
|
+
|
|
643
659
|
// ../shared/src/testing/failpoints.ts
|
|
644
660
|
var NoopFailpointRegistry = class {
|
|
645
661
|
get enabled() {
|
package/dist/cli/index.js
CHANGED
|
@@ -14016,6 +14016,22 @@ function validateActionCardAction(action) {
|
|
|
14016
14016
|
return null;
|
|
14017
14017
|
}
|
|
14018
14018
|
|
|
14019
|
+
// ../shared/src/translationLanguages.ts
|
|
14020
|
+
var SUPPORTED_TRANSLATION_LANGUAGE_CODES = [
|
|
14021
|
+
"en",
|
|
14022
|
+
"zh-cn",
|
|
14023
|
+
"zh-tw",
|
|
14024
|
+
"ja",
|
|
14025
|
+
"ko",
|
|
14026
|
+
"es",
|
|
14027
|
+
"fr",
|
|
14028
|
+
"de",
|
|
14029
|
+
"pt-br"
|
|
14030
|
+
];
|
|
14031
|
+
var SUPPORTED_TRANSLATION_LANGUAGE_SET = new Set(
|
|
14032
|
+
SUPPORTED_TRANSLATION_LANGUAGE_CODES
|
|
14033
|
+
);
|
|
14034
|
+
|
|
14019
14035
|
// ../shared/src/testing/failpoints.ts
|
|
14020
14036
|
var NoopFailpointRegistry = class {
|
|
14021
14037
|
get enabled() {
|
|
@@ -14206,8 +14222,14 @@ var ApiClient = class {
|
|
|
14206
14222
|
if (res.ok) {
|
|
14207
14223
|
data = parsed;
|
|
14208
14224
|
} else {
|
|
14209
|
-
|
|
14210
|
-
|
|
14225
|
+
const body = parsed;
|
|
14226
|
+
if (res.status === 403 && body?.requiredScope) {
|
|
14227
|
+
errorCode = "SCOPE_DENIED";
|
|
14228
|
+
error48 = `Permission denied. The human has revoked the \`${body.requiredScope}\` capability for this agent under the agent profile's Permissions tab, so this command can't run. If you need it, ask the human to re-enable the corresponding toggle.`;
|
|
14229
|
+
} else {
|
|
14230
|
+
error48 = body?.error ?? `HTTP ${res.status}`;
|
|
14231
|
+
errorCode = body?.errorCode ?? null;
|
|
14232
|
+
}
|
|
14211
14233
|
}
|
|
14212
14234
|
} else if (!res.ok) {
|
|
14213
14235
|
error48 = `HTTP ${res.status}`;
|
package/dist/core.js
CHANGED
package/dist/index.js
CHANGED