openclaw-multi-auto 1.3.3 → 1.3.6
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/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/plugin-sdk/{accounts-C3m65--E.js → accounts-BJAXxY46.js} +2 -2
- package/dist/plugin-sdk/{accounts-CNCCkdEF.js → accounts-C1j7HSL0.js} +3 -3
- package/dist/plugin-sdk/{accounts-BslAlVYS.js → accounts-DyFCXtHv.js} +2 -2
- package/dist/plugin-sdk/{active-listener-CkPnMUkB.js → active-listener-CftX5jLD.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-BXnNsojA.js → api-key-rotation-8nyyt1kx.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CtO4fFvp.js → audio-preflight-C_aSAPR1.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-DnxvOS1-.js → audio-transcription-runner-CB53F7_7.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-BpfoSk8M.js → audit-membership-runtime-BXndI4LG.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-WJYxcJ3S.js → channel-activity-C5y8AgAV.js} +3 -3
- package/dist/plugin-sdk/{channel-web-dO5k3ubM.js → channel-web-DBTRO03V.js} +18 -18
- package/dist/plugin-sdk/{chrome-CjNTuJML.js → chrome-f00sZkDX.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-CdYjoI0i.js → commands-registry-BJ_NxG2F.js} +4 -4
- package/dist/plugin-sdk/{common-oYc5vPFl.js → common-Cf27Jwxu.js} +2 -2
- package/dist/plugin-sdk/{config-B1z-UxQ3.js → config-CHQrpx-Q.js} +7 -7
- package/dist/plugin-sdk/{deliver-D5_6T567.js → deliver-DNEuetST.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +57 -0
- package/dist/plugin-sdk/{diagnostic-Bxxu0ig-.js → diagnostic-LYUUmjJ5.js} +2 -2
- package/dist/plugin-sdk/discord.js +6 -6
- package/dist/plugin-sdk/{errors-B3cHyZZA.js → errors-CtMWwS2Z.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dcgod0tg.js → fetch-guard-CxYB5Kg6.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-BaKqI3G4.js → fs-safe-DtfhxbrI.js} +3 -3
- package/dist/plugin-sdk/{image-B2mQW9Rb.js → image-BwjYjRHx.js} +6 -6
- package/dist/plugin-sdk/{image-ops-Cbzr4U9l.js → image-ops-BnZKcbd6.js} +2 -2
- package/dist/plugin-sdk/image-runtime-B8twoubs.js +25 -0
- package/dist/plugin-sdk/{ir-ZEmrTr4J.js → ir-Z4hX67TJ.js} +7 -7
- package/dist/plugin-sdk/{local-roots-CIPRxA-4.js → local-roots-KhjQw04O.js} +4 -4
- package/dist/plugin-sdk/{logger-CvPFVOgT.js → logger-DHIIvMxj.js} +2 -2
- package/dist/plugin-sdk/{login-CCTew9bt.js → login-C31642Ld.js} +4 -4
- package/dist/plugin-sdk/{login-qr-BI3Vi_wJ.js → login-qr--y2SG_Ue.js} +5 -5
- package/dist/plugin-sdk/{manager-BEoYPn7R.js → manager-2UZBMCc7.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-CMeLwose.js +15 -0
- package/dist/plugin-sdk/{outbound-ByOw1K6W.js → outbound-Ba0QUI5h.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-BzVhxRRw.js → outbound-attachment-B1Laso-8.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-sWayacde.js → path-alias-guards-C7Vm5DZ1.js} +1 -1
- package/dist/plugin-sdk/{paths-Dpg3qxcl.js → paths-DopV9PQG.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DIxXkGJf.js → pi-embedded-helpers-DnA_OCzP.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DM_2uFtj.js → pi-model-discovery-DdPqXk8f.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-w1dqL_ty.js → pi-tools.before-tool-call.runtime-DxFHiLUE.js} +4 -4
- package/dist/plugin-sdk/{plugins-C4USiH29.js → plugins-CbCt4osF.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-ET-rp8eg.js → proxy-env-C63mMdas.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-uDXGKG3Z.js → proxy-fetch-Ch95c_Y2.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-CyOt3RDA.js → pw-ai-DpJk62D4.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-BySdoVR7.js → qmd-manager-Ca-iSfEE.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-C6uS-7lj.js → query-expansion-B_Xe41Ab.js} +4 -4
- package/dist/plugin-sdk/{redact-Bvxt1T_Q.js → redact-hp9TOulW.js} +1 -1
- package/dist/plugin-sdk/{reply-CTCSeQqW.js → reply-CovBlFea.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-Bw8YNANu.js → resolve-outbound-target-BbrHgyUk.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-C_KCHwvf.js → run-with-concurrency-BR1DXa8T.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +19 -0
- package/dist/plugin-sdk/{send-C0w6xP2x.js → send-BTztm3D2.js} +6 -6
- package/dist/plugin-sdk/{send-qPyNGSe4.js → send-BXpXBwM_.js} +13 -13
- package/dist/plugin-sdk/{send-BZ6nYFZr.js → send-BvAtLLPl.js} +5 -5
- package/dist/plugin-sdk/{send-CFf-1V89.js → send-CWJUuG0i.js} +8 -8
- package/dist/plugin-sdk/{send-CY-Qfwia.js → send-EcglC4cG.js} +7 -7
- package/dist/plugin-sdk/{session-COrvpvUQ.js → session-k256LJZT.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-DZqhtmiv.js → skill-commands-DoRqLzxm.js} +4 -4
- package/dist/plugin-sdk/{skills-Cw_vXEJb.js → skills-QudILG6e.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +16 -0
- package/dist/plugin-sdk/{store-CMHj6IIw.js → store-BbDQw3g6.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +52 -0
- package/dist/plugin-sdk/{tables-CSqrHsKL.js → tables-BhvloMKN.js} +1 -1
- package/dist/plugin-sdk/{thinking-DOnsR_A8.js → thinking-URzkT-3p.js} +7 -7
- package/dist/plugin-sdk/{tokens-BDr0Z9o3.js → tokens-B1PW5Ayy.js} +1 -1
- package/dist/plugin-sdk/{tool-images-eEfOVkzf.js → tool-images-xpqbP6RR.js} +2 -2
- package/dist/plugin-sdk/web-B74yhL2N.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-xcleMoMv.js → whatsapp-actions-RcZ6vp61.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/extensions/googlechat/node_modules/.bin/openclaw +2 -2
- package/extensions/memory-core/node_modules/.bin/openclaw +2 -2
- package/package.json +13 -21
- package/scripts/npm_publish.sh +38 -84
- package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +0 -57
- package/dist/plugin-sdk/image-runtime-BFm45j49.js +0 -25
- package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +0 -52
- package/dist/plugin-sdk/web-BLyT64pW.js +0 -56
- package/vendor/libsignal-node/.eslintrc.json +0 -31
- package/vendor/libsignal-node/LICENSE +0 -621
- package/vendor/libsignal-node/README.md +0 -64
- package/vendor/libsignal-node/generate-proto.sh +0 -1
- package/vendor/libsignal-node/index.d.ts +0 -55
- package/vendor/libsignal-node/index.js +0 -10
- package/vendor/libsignal-node/node_modules/.bin/acorn +0 -21
- package/vendor/libsignal-node/node_modules/.bin/eslint +0 -21
- package/vendor/libsignal-node/node_modules/.bin/pbjs +0 -21
- package/vendor/libsignal-node/node_modules/.bin/pbts +0 -21
- package/vendor/libsignal-node/package.json +0 -24
- package/vendor/libsignal-node/protos/WhisperTextProtocol.proto +0 -28
- package/vendor/libsignal-node/src/.eslintrc.json +0 -31
- package/vendor/libsignal-node/src/WhisperTextProtocol.js +0 -933
- package/vendor/libsignal-node/src/base_key_type.js +0 -7
- package/vendor/libsignal-node/src/chain_type.js +0 -6
- package/vendor/libsignal-node/src/crypto.d.ts +0 -19
- package/vendor/libsignal-node/src/crypto.js +0 -98
- package/vendor/libsignal-node/src/curve.d.ts +0 -22
- package/vendor/libsignal-node/src/curve.js +0 -142
- package/vendor/libsignal-node/src/errors.js +0 -33
- package/vendor/libsignal-node/src/keyhelper.js +0 -45
- package/vendor/libsignal-node/src/numeric_fingerprint.js +0 -72
- package/vendor/libsignal-node/src/protobufs.js +0 -10
- package/vendor/libsignal-node/src/protocol_address.js +0 -40
- package/vendor/libsignal-node/src/queue_job.js +0 -69
- package/vendor/libsignal-node/src/session_builder.js +0 -164
- package/vendor/libsignal-node/src/session_cipher.js +0 -336
- package/vendor/libsignal-node/src/session_record.js +0 -316
|
@@ -1 +0,0 @@
|
|
|
1
|
-
yarn pbjs -t static-module -w commonjs -o ./src/WhisperTextProtocol.js ./protos/WhisperTextProtocol.proto
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
interface E2ESession {
|
|
2
|
-
registrationId: number;
|
|
3
|
-
identityKey: Uint8Array;
|
|
4
|
-
signedPreKey: {
|
|
5
|
-
keyId: number;
|
|
6
|
-
publicKey: Uint8Array;
|
|
7
|
-
signature: Uint8Array;
|
|
8
|
-
};
|
|
9
|
-
preKey: {
|
|
10
|
-
keyId: number;
|
|
11
|
-
publicKey: Uint8Array;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface SignalStorage {
|
|
16
|
-
loadSession(id: string): Promise<SessionRecord | null | undefined>;
|
|
17
|
-
storeSession(id: string, session: SessionRecord): Promise<void>;
|
|
18
|
-
isTrustedIdentity(
|
|
19
|
-
identifier: string,
|
|
20
|
-
identityKey: Uint8Array,
|
|
21
|
-
direction: number
|
|
22
|
-
): boolean;
|
|
23
|
-
loadPreKey(
|
|
24
|
-
id: number | string
|
|
25
|
-
): Promise<{ privKey: Buffer; pubKey: Buffer } | undefined>;
|
|
26
|
-
removePreKey(id: number): void;
|
|
27
|
-
loadSignedPreKey(): { privKey: Buffer; pubKey: Buffer };
|
|
28
|
-
getOurRegistrationId(): Promise<number> | number;
|
|
29
|
-
getOurIdentity(): { privKey: Buffer; pubKey: Buffer };
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export class ProtocolAddress {
|
|
33
|
-
constructor(name: string, deviceId: number);
|
|
34
|
-
public id: string;
|
|
35
|
-
public deviceId: number;
|
|
36
|
-
public toString(): string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export class SessionRecord {
|
|
40
|
-
static deserialize(serialized: Uint8Array): SessionRecord;
|
|
41
|
-
public serialize(): Uint8Array;
|
|
42
|
-
public haveOpenSession(): boolean;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export class SessionCipher {
|
|
46
|
-
constructor(storage: SignalStorage, remoteAddress: ProtocolAddress);
|
|
47
|
-
public decryptPreKeyWhisperMessage(ciphertext: Uint8Array): Promise<Buffer>;
|
|
48
|
-
public decryptWhisperMessage(ciphertext: Uint8Array): Promise<Buffer>;
|
|
49
|
-
public encrypt(data: Uint8Array): Promise<{ type: number; body: string }>;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export class SessionBuilder {
|
|
53
|
-
constructor(storage: SignalStorage, remoteAddress: ProtocolAddress);
|
|
54
|
-
public initOutgoing(session: E2ESession): Promise<void>;
|
|
55
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
exports.crypto = require('./src/crypto');
|
|
4
|
-
exports.curve = require('./src/curve');
|
|
5
|
-
exports.keyhelper = require('./src/keyhelper');
|
|
6
|
-
exports.ProtocolAddress = require('./src/protocol_address');
|
|
7
|
-
exports.SessionBuilder = require('./src/session_builder');
|
|
8
|
-
exports.SessionCipher = require('./src/session_cipher');
|
|
9
|
-
exports.SessionRecord = require('./src/session_record');
|
|
10
|
-
Object.assign(exports, require('./src/errors'));
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/acorn@7.4.1/node_modules/acorn/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/acorn@7.4.1/node_modules/acorn/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/acorn@7.4.1/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/acorn@7.4.1/node_modules/acorn/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/acorn@7.4.1/node_modules/acorn/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/acorn@7.4.1/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/acorn@7.4.1/node_modules/acorn/bin/acorn" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../../../../node_modules/.pnpm/acorn@7.4.1/node_modules/acorn/bin/acorn" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/eslint@6.0.1/node_modules/eslint/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/eslint@6.0.1/node_modules/eslint/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/eslint@6.0.1/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/eslint@6.0.1/node_modules/eslint/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/eslint@6.0.1/node_modules/eslint/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/eslint@6.0.1/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../eslint/bin/eslint.js" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules/protobufjs/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules/protobufjs/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules/protobufjs/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules/protobufjs/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../protobufjs/bin/pbjs" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../protobufjs/bin/pbjs" "$@"
|
|
21
|
-
fi
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
|
|
4
|
-
case `uname` in
|
|
5
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
-
basedir=`cygpath -w "$basedir"`
|
|
8
|
-
fi
|
|
9
|
-
;;
|
|
10
|
-
esac
|
|
11
|
-
|
|
12
|
-
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules/protobufjs/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules/protobufjs/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
|
|
14
|
-
else
|
|
15
|
-
export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules/protobufjs/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules/protobufjs/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/protobufjs@6.8.8/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
-
fi
|
|
17
|
-
if [ -x "$basedir/node" ]; then
|
|
18
|
-
exec "$basedir/node" "$basedir/../protobufjs/bin/pbts" "$@"
|
|
19
|
-
else
|
|
20
|
-
exec node "$basedir/../protobufjs/bin/pbts" "$@"
|
|
21
|
-
fi
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@whiskeysockets/libsignal-node",
|
|
3
|
-
"version": "2.0.1",
|
|
4
|
-
"description": "Open Whisper Systems' libsignal for Node.js",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"types": "index.d.ts",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"signal",
|
|
9
|
-
"whispersystems",
|
|
10
|
-
"crypto"
|
|
11
|
-
],
|
|
12
|
-
"license": "GPL-3.0",
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"curve25519-js": "^0.0.4",
|
|
15
|
-
"protobufjs": "6.8.8"
|
|
16
|
-
},
|
|
17
|
-
"files": [
|
|
18
|
-
"src/*",
|
|
19
|
-
"index.d.ts"
|
|
20
|
-
],
|
|
21
|
-
"devDependencies": {
|
|
22
|
-
"eslint": "6.0.1"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
package textsecure;
|
|
2
|
-
|
|
3
|
-
option java_package = "org.whispersystems.libsignal.protocol";
|
|
4
|
-
option java_outer_classname = "WhisperProtos";
|
|
5
|
-
|
|
6
|
-
message WhisperMessage {
|
|
7
|
-
optional bytes ephemeralKey = 1;
|
|
8
|
-
optional uint32 counter = 2;
|
|
9
|
-
optional uint32 previousCounter = 3;
|
|
10
|
-
optional bytes ciphertext = 4; // PushMessageContent
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
message PreKeyWhisperMessage {
|
|
14
|
-
optional uint32 registrationId = 5;
|
|
15
|
-
optional uint32 preKeyId = 1;
|
|
16
|
-
optional uint32 signedPreKeyId = 6;
|
|
17
|
-
optional bytes baseKey = 2;
|
|
18
|
-
optional bytes identityKey = 3;
|
|
19
|
-
optional bytes message = 4; // WhisperMessage
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
message KeyExchangeMessage {
|
|
23
|
-
optional uint32 id = 1;
|
|
24
|
-
optional bytes baseKey = 2;
|
|
25
|
-
optional bytes ephemeralKey = 3;
|
|
26
|
-
optional bytes identityKey = 4;
|
|
27
|
-
optional bytes baseKeySignature = 5;
|
|
28
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"parserOptions": {
|
|
3
|
-
"ecmaVersion": 8
|
|
4
|
-
},
|
|
5
|
-
"env": {
|
|
6
|
-
"es6": true,
|
|
7
|
-
"node": true
|
|
8
|
-
},
|
|
9
|
-
"extends": "eslint:recommended",
|
|
10
|
-
"rules": {
|
|
11
|
-
"quotes": "off",
|
|
12
|
-
"semi": [
|
|
13
|
-
"error",
|
|
14
|
-
"always"
|
|
15
|
-
],
|
|
16
|
-
"no-console": "off",
|
|
17
|
-
"no-debugger": "off",
|
|
18
|
-
"no-unused-vars": [
|
|
19
|
-
"error",
|
|
20
|
-
{
|
|
21
|
-
"args": "none"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"no-constant-condition": [
|
|
25
|
-
"error",
|
|
26
|
-
{
|
|
27
|
-
"checkLoops": false
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|