@clawos-dev/clawd 0.2.354 → 0.2.355
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/cli.cjs +4 -3
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -6054,7 +6054,7 @@ var init_contact = __esm({
|
|
|
6054
6054
|
});
|
|
6055
6055
|
|
|
6056
6056
|
// ../protocol/src/feishu-auth.ts
|
|
6057
|
-
var FEISHU_GATED_METHODS, DeviceEntrySchema, DeviceListResponseSchema, DeviceConnectArgsSchema, DeviceConnectResponseSchema, FeishuIdentitySchema, AuthLoginStartResponseSchema, AuthGetIdentityResponseSchema, AuthLogoutResponseSchema, AuthLoginDoneEventSchema, AuthLoginFailedEventSchema;
|
|
6057
|
+
var FEISHU_GATED_METHODS, LOGIN_EXPIRED_ERROR_MARKER, DeviceEntrySchema, DeviceListResponseSchema, DeviceConnectArgsSchema, DeviceConnectResponseSchema, FeishuIdentitySchema, AuthLoginStartResponseSchema, AuthGetIdentityResponseSchema, AuthLogoutResponseSchema, AuthLoginDoneEventSchema, AuthLoginFailedEventSchema;
|
|
6058
6058
|
var init_feishu_auth = __esm({
|
|
6059
6059
|
"../protocol/src/feishu-auth.ts"() {
|
|
6060
6060
|
"use strict";
|
|
@@ -6076,6 +6076,7 @@ var init_feishu_auth = __esm({
|
|
|
6076
6076
|
// iOS TestFlight 意向登记(需要 owner unionId 上报中心 server)
|
|
6077
6077
|
"onboarding:iosInterest"
|
|
6078
6078
|
];
|
|
6079
|
+
LOGIN_EXPIRED_ERROR_MARKER = "LOGIN_EXPIRED";
|
|
6079
6080
|
DeviceEntrySchema = external_exports.object({
|
|
6080
6081
|
/**
|
|
6081
6082
|
* 设备标识(决策 #15:daemon 本地生成的 dev-<uuid>,与人的身份 unionId 无关)。
|
|
@@ -60058,7 +60059,7 @@ function rethrowLoginExpired(e) {
|
|
|
60058
60059
|
if (e instanceof CentralClientError && e.code === "UNAUTHORIZED") {
|
|
60059
60060
|
throw new ClawdError(
|
|
60060
60061
|
ERROR_CODES.VALIDATION_ERROR,
|
|
60061
|
-
|
|
60062
|
+
`${LOGIN_EXPIRED_ERROR_MARKER}: \u767B\u5F55\u51ED\u8BC1\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55`
|
|
60062
60063
|
);
|
|
60063
60064
|
}
|
|
60064
60065
|
throw e;
|
|
@@ -60428,7 +60429,7 @@ function computeMethodAccess(args) {
|
|
|
60428
60429
|
}
|
|
60429
60430
|
|
|
60430
60431
|
// src/version.ts
|
|
60431
|
-
var version = "0.2.
|
|
60432
|
+
var version = "0.2.355".length > 0 ? "0.2.355" : "dev";
|
|
60432
60433
|
|
|
60433
60434
|
// src/cli-probe/probe.ts
|
|
60434
60435
|
var fs60 = __toESM(require("fs"), 1);
|