botmux 2.63.0 → 2.63.1
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.d.ts.map +1 -1
- package/dist/cli.js +2 -6
- package/dist/cli.js.map +1 -1
- package/dist/services/bridge-fallback-gate.d.ts +1 -1
- package/dist/services/bridge-fallback-gate.d.ts.map +1 -1
- package/dist/services/bridge-fallback-gate.js +26 -13
- package/dist/services/bridge-fallback-gate.js.map +1 -1
- package/dist/worker.js +2 -2
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAygIA;;;;;;;;;;;GAWG;AACH,wBAAsB,OAAO,CAC3B,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,EACvC,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,qBAAqB,EAAE,SAAS,CAAC,EAC9F,KAAK,EAAE,MAAM,EACb,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,2BAA2B,EAAE,UAAU,GAAG,IAAI,CAAC,GACzF,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CA+F7B"}
|
package/dist/cli.js
CHANGED
|
@@ -41,7 +41,7 @@ import { buildFooterAddressing, hasKnownBotMention, knownBotOpenIdsFromCrossRef,
|
|
|
41
41
|
import { isLocale, localeForBot, setDefaultLocale, SUPPORTED_LOCALES } from './i18n/index.js';
|
|
42
42
|
import { chatAppLink, larkHosts, normalizeBrand, sdkDomain } from './im/lark/lark-hosts.js';
|
|
43
43
|
import { readGlobalConfig, setGlobalLocale, globalConfigPath } from './global-config.js';
|
|
44
|
-
import {
|
|
44
|
+
import { buildBridgeSendMarkerContent } from './services/bridge-fallback-gate.js';
|
|
45
45
|
// Resolve the CLI's UI locale once from the global config file, so subsequent
|
|
46
46
|
// CLI output (and any t() callers that don't pass an explicit locale) honour
|
|
47
47
|
// the user's chosen language. Daemon entrypoint sets this separately for the
|
|
@@ -2948,12 +2948,8 @@ async function cmdSend(rest) {
|
|
|
2948
2948
|
const markerDir = join(resolveDataDir(), 'turn-sends');
|
|
2949
2949
|
if (!existsSync(markerDir))
|
|
2950
2950
|
mkdirSync(markerDir, { recursive: true });
|
|
2951
|
-
const contentFingerprint = makeFingerprint(sentContent);
|
|
2952
2951
|
const marker = { sentAtMs, messageId };
|
|
2953
|
-
|
|
2954
|
-
marker.contentFingerprint = contentFingerprint;
|
|
2955
|
-
marker.contentLength = normaliseForFingerprint(sentContent).length;
|
|
2956
|
-
}
|
|
2952
|
+
Object.assign(marker, buildBridgeSendMarkerContent(sentContent));
|
|
2957
2953
|
const line = JSON.stringify(marker) + '\n';
|
|
2958
2954
|
appendFileSync(join(markerDir, `${sid}.jsonl`), line);
|
|
2959
2955
|
}
|