@lobehub/cli 0.0.217 → 0.0.219
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/acceptance-report.html +5 -5
- package/dist/index.js +70 -58
- package/man/man1/lh.1 +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -56494,7 +56494,7 @@ const createAdapter = (agentType) => {
|
|
|
56494
56494
|
};
|
|
56495
56495
|
|
|
56496
56496
|
//#endregion
|
|
56497
|
-
//#region node_modules/.pnpm/@lobehub+icons@6.20.0_@lobehub+ui@6.19.1_lucide-react@1.
|
|
56497
|
+
//#region node_modules/.pnpm/@lobehub+icons@6.20.0_@lobehub+ui@6.19.1_lucide-react@1.78.0_@types+react@19.2.13_react_83b87415d089dbb3f7729bef71b36e36/node_modules/@lobehub/icons/es/features/getLobeIconCDN/index.mjs
|
|
56498
56498
|
const GITHUB_ICON_CDN = (type) => `https://raw.githubusercontent.com/lobehub/lobe-icons/refs/heads/master/packages/static-${type}`;
|
|
56499
56499
|
const ALIYUN_ICON_CDN = (type) => `https://registry.npmmirror.com/@lobehub/icons-static-${type}/latest/files`;
|
|
56500
56500
|
const UNPKG_ICON_CDN = (type) => `https://unpkg.com/@lobehub/icons-static-${type}@latest`;
|
|
@@ -70043,23 +70043,33 @@ const numberOption = (value) => {
|
|
|
70043
70043
|
};
|
|
70044
70044
|
const collect$2 = (value, previous = []) => [...previous, value];
|
|
70045
70045
|
/**
|
|
70046
|
-
* Operation-scoped: reads stay in the run's own conversation,
|
|
70047
|
-
* requester. Never falls back to the device
|
|
70046
|
+
* Operation-scoped: reads stay in the run's Channel (its own conversation, or another Thread of
|
|
70047
|
+
* it by `--thread`), and messages go out as the run's requester. Never falls back to the device
|
|
70048
|
+
* owner's account.
|
|
70048
70049
|
*/
|
|
70049
70050
|
const registerChannelCommand = (program) => {
|
|
70050
70051
|
const channel = program.command("channel").description("Read the current Agent run’s Channel conversation, message Agents in other Channels, and message people for your requester");
|
|
70051
|
-
channel.command("history").description("Read recent public messages; page backwards with the returned cursor").option("--before <sequence>", "Exclusive nextBeforeSequence cursor", numberOption).option("--limit <count>", "Messages per page (1–20, default 10)", numberOption).option("--json", "Print structured JSON").action(async (options) => {
|
|
70052
|
+
channel.command("history").description("Read recent public messages; page backwards with the returned cursor").option("--before <sequence>", "Exclusive nextBeforeSequence cursor", numberOption).option("--limit <count>", "Messages per page (1–20, default 10)", numberOption).option("--thread <threadId>", "Read another Thread of this Channel (from `channel threads`) live, instead of your own conversation").option("--json", "Print structured JSON").action(async (options) => {
|
|
70052
70053
|
outputJson(projectChannelHistory(await (await getTrpcClient()).channel.readMessages.query({
|
|
70053
70054
|
beforeSequence: options.before,
|
|
70054
|
-
limit: options.limit
|
|
70055
|
+
limit: options.limit,
|
|
70056
|
+
threadId: options.thread
|
|
70055
70057
|
})));
|
|
70056
70058
|
});
|
|
70057
|
-
channel.command("message <id>").description("Read a full public message and its attachment links").option("--offset <characters>", "Continue at nextOffset", numberOption).option("--json", "Print structured JSON").action(async (messageId, options) => {
|
|
70059
|
+
channel.command("message <id>").description("Read a full public message and its attachment links").option("--offset <characters>", "Continue at nextOffset", numberOption).option("--thread <threadId>", "The Thread `history --thread` returned the message from").option("--json", "Print structured JSON").action(async (messageId, options) => {
|
|
70058
70060
|
outputJson(projectChannelHistory(await (await getTrpcClient()).channel.readMessage.query({
|
|
70059
70061
|
messageId,
|
|
70060
|
-
offset: options.offset
|
|
70062
|
+
offset: options.offset,
|
|
70063
|
+
threadId: options.thread
|
|
70061
70064
|
})));
|
|
70062
70065
|
});
|
|
70066
|
+
channel.command("threads").description("List the Threads of this Channel, newest first, to read one with --thread").option("--active", "Only Threads where you have a queued or running reply").option("--before <threadId>", "Exclusive cursor: nextBefore of the previous page").option("--limit <count>", "Threads per page (1–20, default 10)", numberOption).option("--json", "Print structured JSON").action(async (options) => {
|
|
70067
|
+
outputJson(await (await getTrpcClient()).channel.listThreads.query({
|
|
70068
|
+
activeOnly: options.active,
|
|
70069
|
+
before: options.before,
|
|
70070
|
+
limit: options.limit
|
|
70071
|
+
}));
|
|
70072
|
+
});
|
|
70063
70073
|
channel.command("list").description("List the Channels your requester belongs to and the Agents in each, to find where to reach an Agent").option("--agent <agentId>", "Only Channels this Agent is a member of").option("--query <text>", "Match the Channel title or an Agent name").option("--limit <count>", "Channels to return (1–20, default 10)", numberOption).option("--json", "Print structured JSON").action(async (options) => {
|
|
70064
70074
|
outputJson(await (await getTrpcClient()).channel.listChannels.query({
|
|
70065
70075
|
agentId: options.agent,
|
|
@@ -276036,7 +276046,7 @@ function logForDebugging(message, options) {
|
|
|
276036
276046
|
var init_debug = __esmMin((() => {}));
|
|
276037
276047
|
|
|
276038
276048
|
//#endregion
|
|
276039
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
276049
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/forge.js
|
|
276040
276050
|
var require_forge = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
276041
276051
|
/**
|
|
276042
276052
|
* Node.js module for Forge.
|
|
@@ -276049,7 +276059,7 @@ var require_forge = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
276049
276059
|
}));
|
|
276050
276060
|
|
|
276051
276061
|
//#endregion
|
|
276052
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
276062
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/baseN.js
|
|
276053
276063
|
var require_baseN = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
276054
276064
|
/**
|
|
276055
276065
|
* Base-N/Base-X encoding/decoding functions.
|
|
@@ -276184,7 +276194,7 @@ var require_baseN = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
276184
276194
|
}));
|
|
276185
276195
|
|
|
276186
276196
|
//#endregion
|
|
276187
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
276197
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/util.js
|
|
276188
276198
|
var require_util$2 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
276189
276199
|
/**
|
|
276190
276200
|
* Utility functions for web applications.
|
|
@@ -277489,14 +277499,14 @@ var require_util$2 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
277489
277499
|
var chr1, chr2, chr3;
|
|
277490
277500
|
var i = 0;
|
|
277491
277501
|
while (i < input.length) {
|
|
277492
|
-
chr1 = input.charCodeAt(i++);
|
|
277502
|
+
chr1 = input.charCodeAt(i++) & 255;
|
|
277493
277503
|
chr2 = input.charCodeAt(i++);
|
|
277494
277504
|
chr3 = input.charCodeAt(i++);
|
|
277495
277505
|
line += _base64.charAt(chr1 >> 2);
|
|
277496
|
-
line += _base64.charAt((chr1 & 3) << 4 | chr2 >> 4);
|
|
277506
|
+
line += _base64.charAt((chr1 & 3) << 4 | (chr2 & 255) >> 4);
|
|
277497
277507
|
if (isNaN(chr2)) line += "==";
|
|
277498
277508
|
else {
|
|
277499
|
-
line += _base64.charAt((chr2 & 15) << 2 | chr3 >> 6);
|
|
277509
|
+
line += _base64.charAt((chr2 & 15) << 2 | (chr3 & 255) >> 6);
|
|
277500
277510
|
line += isNaN(chr3) ? "=" : _base64.charAt(chr3 & 63);
|
|
277501
277511
|
}
|
|
277502
277512
|
if (maxline && line.length > maxline) {
|
|
@@ -278297,7 +278307,7 @@ var require_util$2 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
278297
278307
|
}));
|
|
278298
278308
|
|
|
278299
278309
|
//#endregion
|
|
278300
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
278310
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/cipher.js
|
|
278301
278311
|
var require_cipher = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
278302
278312
|
/**
|
|
278303
278313
|
* Cipher base API.
|
|
@@ -278479,7 +278489,7 @@ var require_cipher = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
278479
278489
|
}));
|
|
278480
278490
|
|
|
278481
278491
|
//#endregion
|
|
278482
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
278492
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/cipherModes.js
|
|
278483
278493
|
var require_cipherModes = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
278484
278494
|
/**
|
|
278485
278495
|
* Supported cipher modes.
|
|
@@ -279085,7 +279095,7 @@ var require_cipherModes = /* @__PURE__ */ __commonJSMin$2(((exports, module) =>
|
|
|
279085
279095
|
}));
|
|
279086
279096
|
|
|
279087
279097
|
//#endregion
|
|
279088
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
279098
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/aes.js
|
|
279089
279099
|
var require_aes = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
279090
279100
|
/**
|
|
279091
279101
|
* Advanced Encryption Standard (AES) implementation.
|
|
@@ -279676,7 +279686,7 @@ var require_aes = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
279676
279686
|
}));
|
|
279677
279687
|
|
|
279678
279688
|
//#endregion
|
|
279679
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
279689
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/oids.js
|
|
279680
279690
|
var require_oids = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
279681
279691
|
/**
|
|
279682
279692
|
* Object IDs for ASN.1.
|
|
@@ -279827,7 +279837,7 @@ var require_oids = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
279827
279837
|
}));
|
|
279828
279838
|
|
|
279829
279839
|
//#endregion
|
|
279830
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
279840
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/asn1.js
|
|
279831
279841
|
var require_asn1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
279832
279842
|
/**
|
|
279833
279843
|
* Javascript implementation of Abstract Syntax Notation Number One.
|
|
@@ -280797,7 +280807,7 @@ var require_asn1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
280797
280807
|
}));
|
|
280798
280808
|
|
|
280799
280809
|
//#endregion
|
|
280800
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
280810
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/md.js
|
|
280801
280811
|
var require_md = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
280802
280812
|
/**
|
|
280803
280813
|
* Node.js module for Forge message digests.
|
|
@@ -280812,7 +280822,7 @@ var require_md = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
280812
280822
|
}));
|
|
280813
280823
|
|
|
280814
280824
|
//#endregion
|
|
280815
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
280825
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/hmac.js
|
|
280816
280826
|
var require_hmac = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
280817
280827
|
/**
|
|
280818
280828
|
* Hash-based Message Authentication Code implementation. Requires a message
|
|
@@ -280914,7 +280924,7 @@ var require_hmac = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
280914
280924
|
}));
|
|
280915
280925
|
|
|
280916
280926
|
//#endregion
|
|
280917
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
280927
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/md5.js
|
|
280918
280928
|
var require_md5 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
280919
280929
|
/**
|
|
280920
280930
|
* Message Digest Algorithm 5 with 128-bit digest (MD5) implementation.
|
|
@@ -281233,7 +281243,7 @@ var require_md5 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
281233
281243
|
}));
|
|
281234
281244
|
|
|
281235
281245
|
//#endregion
|
|
281236
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
281246
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/pem.js
|
|
281237
281247
|
var require_pem = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
281238
281248
|
/**
|
|
281239
281249
|
* Javascript implementation of basic PEM (Privacy Enhanced Mail) algorithms.
|
|
@@ -281530,7 +281540,7 @@ var require_pem = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
281530
281540
|
}));
|
|
281531
281541
|
|
|
281532
281542
|
//#endregion
|
|
281533
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
281543
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/des.js
|
|
281534
281544
|
var require_des = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
281535
281545
|
/**
|
|
281536
281546
|
* DES (Data Encryption Standard) implementation.
|
|
@@ -282711,7 +282721,7 @@ var require_des = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
282711
282721
|
}));
|
|
282712
282722
|
|
|
282713
282723
|
//#endregion
|
|
282714
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
282724
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/pbkdf2.js
|
|
282715
282725
|
var require_pbkdf2 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
282716
282726
|
/**
|
|
282717
282727
|
* Password-Based Key-Derivation Function #2 implementation.
|
|
@@ -282830,7 +282840,7 @@ var require_pbkdf2 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
282830
282840
|
}));
|
|
282831
282841
|
|
|
282832
282842
|
//#endregion
|
|
282833
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
282843
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/sha256.js
|
|
282834
282844
|
var require_sha256 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
282835
282845
|
/**
|
|
282836
282846
|
* Secure Hash Algorithm with 256-bit digest (SHA-256) implementation.
|
|
@@ -283092,7 +283102,7 @@ var require_sha256 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
283092
283102
|
}));
|
|
283093
283103
|
|
|
283094
283104
|
//#endregion
|
|
283095
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
283105
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/prng.js
|
|
283096
283106
|
var require_prng = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
283097
283107
|
/**
|
|
283098
283108
|
* A javascript implementation of a cryptographically-secure
|
|
@@ -283301,11 +283311,11 @@ var require_prng = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
283301
283311
|
ctx.seedFile = function(needed, callback) {
|
|
283302
283312
|
_crypto.randomBytes(needed, function(err, bytes) {
|
|
283303
283313
|
if (err) return callback(err);
|
|
283304
|
-
callback(null, bytes.toString());
|
|
283314
|
+
callback(null, bytes.toString("binary"));
|
|
283305
283315
|
});
|
|
283306
283316
|
};
|
|
283307
283317
|
ctx.seedFileSync = function(needed) {
|
|
283308
|
-
return _crypto.randomBytes(needed).toString();
|
|
283318
|
+
return _crypto.randomBytes(needed).toString("binary");
|
|
283309
283319
|
};
|
|
283310
283320
|
} else {
|
|
283311
283321
|
ctx.seedFile = function(needed, callback) {
|
|
@@ -283378,7 +283388,7 @@ var require_prng = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
283378
283388
|
}));
|
|
283379
283389
|
|
|
283380
283390
|
//#endregion
|
|
283381
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
283391
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/random.js
|
|
283382
283392
|
var require_random = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
283383
283393
|
/**
|
|
283384
283394
|
* An API for getting cryptographically-secure random bytes. The bytes are
|
|
@@ -283512,7 +283522,7 @@ var require_random = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
283512
283522
|
}));
|
|
283513
283523
|
|
|
283514
283524
|
//#endregion
|
|
283515
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
283525
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/rc2.js
|
|
283516
283526
|
var require_rc2 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
283517
283527
|
/**
|
|
283518
283528
|
* RC2 implementation.
|
|
@@ -283831,7 +283841,7 @@ var require_rc2 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
283831
283841
|
var T = key.length();
|
|
283832
283842
|
var T1 = effKeyBits;
|
|
283833
283843
|
var T8 = Math.ceil(T1 / 8);
|
|
283834
|
-
var TM = 255 >> (T1 & 7);
|
|
283844
|
+
var TM = 255 >> (-T1 & 7);
|
|
283835
283845
|
var i;
|
|
283836
283846
|
for (i = T; i < 128; i++) L.putByte(piTable[L.at(i - 1) + L.at(i - T) & 255]);
|
|
283837
283847
|
L.setAt(128 - T8, piTable[L.at(128 - T8) & TM]);
|
|
@@ -284069,9 +284079,10 @@ var require_rc2 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
284069
284079
|
}));
|
|
284070
284080
|
|
|
284071
284081
|
//#endregion
|
|
284072
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
284082
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/jsbn.js
|
|
284073
284083
|
var require_jsbn = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
284074
284084
|
var forge = require_forge();
|
|
284085
|
+
require_util$2();
|
|
284075
284086
|
module.exports = forge.jsbn = forge.jsbn || {};
|
|
284076
284087
|
var dbits;
|
|
284077
284088
|
var j_lm = true;
|
|
@@ -284117,7 +284128,7 @@ var require_jsbn = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
284117
284128
|
}
|
|
284118
284129
|
return c;
|
|
284119
284130
|
}
|
|
284120
|
-
if (
|
|
284131
|
+
if (forge.util.isNodejs) {
|
|
284121
284132
|
BigInteger.prototype.am = am3;
|
|
284122
284133
|
dbits = 28;
|
|
284123
284134
|
} else if (j_lm && navigator.appName == "Microsoft Internet Explorer") {
|
|
@@ -285400,7 +285411,7 @@ var require_jsbn = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
285400
285411
|
}));
|
|
285401
285412
|
|
|
285402
285413
|
//#endregion
|
|
285403
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
285414
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/sha1.js
|
|
285404
285415
|
var require_sha1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
285405
285416
|
/**
|
|
285406
285417
|
* Secure Hash Algorithm with 160-bit digest (SHA-1) implementation.
|
|
@@ -285625,7 +285636,7 @@ var require_sha1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
285625
285636
|
}));
|
|
285626
285637
|
|
|
285627
285638
|
//#endregion
|
|
285628
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
285639
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/pkcs1.js
|
|
285629
285640
|
var require_pkcs1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
285630
285641
|
/**
|
|
285631
285642
|
* Partial implementation of PKCS#1 v2.2: RSA-OEAP
|
|
@@ -285819,7 +285830,7 @@ var require_pkcs1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
285819
285830
|
}));
|
|
285820
285831
|
|
|
285821
285832
|
//#endregion
|
|
285822
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
285833
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/prime.js
|
|
285823
285834
|
var require_prime = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
285824
285835
|
/**
|
|
285825
285836
|
* Prime number generation API.
|
|
@@ -286006,7 +286017,7 @@ var require_prime = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
286006
286017
|
}));
|
|
286007
286018
|
|
|
286008
286019
|
//#endregion
|
|
286009
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
286020
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/rsa.js
|
|
286010
286021
|
var require_rsa = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
286011
286022
|
/**
|
|
286012
286023
|
* Javascript implementation of basic RSA algorithms.
|
|
@@ -287008,6 +287019,7 @@ var require_rsa = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
287008
287019
|
error.errors = errors;
|
|
287009
287020
|
throw error;
|
|
287010
287021
|
}
|
|
287022
|
+
if (capture.privateKeyVersion !== "\0" || obj.value.length !== 9) throw new Error("Cannot read private key. Only two-prime RSAPrivateKey version 0 is supported.");
|
|
287011
287023
|
var n = forge.util.createBuffer(capture.privateKeyModulus).toHex(), e = forge.util.createBuffer(capture.privateKeyPublicExponent).toHex(), d = forge.util.createBuffer(capture.privateKeyPrivateExponent).toHex(), p = forge.util.createBuffer(capture.privateKeyPrime1).toHex(), q = forge.util.createBuffer(capture.privateKeyPrime2).toHex(), dP = forge.util.createBuffer(capture.privateKeyExponent1).toHex(), dQ = forge.util.createBuffer(capture.privateKeyExponent2).toHex(), qInv = forge.util.createBuffer(capture.privateKeyCoefficient).toHex();
|
|
287012
287024
|
return pki.setRsaPrivateKey(new BigInteger(n, 16), new BigInteger(e, 16), new BigInteger(d, 16), new BigInteger(p, 16), new BigInteger(q, 16), new BigInteger(dP, 16), new BigInteger(dQ, 16), new BigInteger(qInv, 16));
|
|
287013
287025
|
};
|
|
@@ -287325,7 +287337,7 @@ var require_rsa = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
287325
287337
|
}));
|
|
287326
287338
|
|
|
287327
287339
|
//#endregion
|
|
287328
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
287340
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/pbe.js
|
|
287329
287341
|
var require_pbe = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
287330
287342
|
/**
|
|
287331
287343
|
* Password-based encryption functions.
|
|
@@ -288127,7 +288139,7 @@ var require_pbe = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
288127
288139
|
}));
|
|
288128
288140
|
|
|
288129
288141
|
//#endregion
|
|
288130
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
288142
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/pkcs7asn1.js
|
|
288131
288143
|
var require_pkcs7asn1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
288132
288144
|
/**
|
|
288133
288145
|
* Javascript implementation of ASN.1 validators for PKCS#7 v1.5.
|
|
@@ -288527,7 +288539,7 @@ var require_pkcs7asn1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
288527
288539
|
}));
|
|
288528
288540
|
|
|
288529
288541
|
//#endregion
|
|
288530
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
288542
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/mgf1.js
|
|
288531
288543
|
var require_mgf1 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
288532
288544
|
/**
|
|
288533
288545
|
* Javascript implementation of mask generation function MGF1.
|
|
@@ -288575,7 +288587,7 @@ generate: function(seed, maskLen) {
|
|
|
288575
288587
|
}));
|
|
288576
288588
|
|
|
288577
288589
|
//#endregion
|
|
288578
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
288590
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/mgf.js
|
|
288579
288591
|
var require_mgf = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
288580
288592
|
/**
|
|
288581
288593
|
* Node.js module for Forge mask generation functions.
|
|
@@ -288591,7 +288603,7 @@ var require_mgf = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
288591
288603
|
}));
|
|
288592
288604
|
|
|
288593
288605
|
//#endregion
|
|
288594
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
288606
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/pss.js
|
|
288595
288607
|
var require_pss = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
288596
288608
|
/**
|
|
288597
288609
|
* Javascript implementation of PKCS#1 PSS signature padding.
|
|
@@ -288727,7 +288739,7 @@ var require_pss = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
288727
288739
|
}));
|
|
288728
288740
|
|
|
288729
288741
|
//#endregion
|
|
288730
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
288742
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/x509.js
|
|
288731
288743
|
var require_x509 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
288732
288744
|
/**
|
|
288733
288745
|
* Javascript implementation of X.509 and related components (such as
|
|
@@ -291384,7 +291396,7 @@ var require_x509 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
291384
291396
|
}));
|
|
291385
291397
|
|
|
291386
291398
|
//#endregion
|
|
291387
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
291399
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/pkcs12.js
|
|
291388
291400
|
var require_pkcs12 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
291389
291401
|
/**
|
|
291390
291402
|
* Javascript implementation of PKCS#12.
|
|
@@ -292129,7 +292141,7 @@ var require_pkcs12 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
292129
292141
|
}));
|
|
292130
292142
|
|
|
292131
292143
|
//#endregion
|
|
292132
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
292144
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/pki.js
|
|
292133
292145
|
var require_pki = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
292134
292146
|
/**
|
|
292135
292147
|
* Javascript implementation of a basic Public Key Infrastructure, including
|
|
@@ -292217,7 +292229,7 @@ var require_pki = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
292217
292229
|
}));
|
|
292218
292230
|
|
|
292219
292231
|
//#endregion
|
|
292220
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
292232
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/tls.js
|
|
292221
292233
|
var require_tls = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
292222
292234
|
/**
|
|
292223
292235
|
* A Javascript implementation of Transport Layer Security (TLS).
|
|
@@ -295906,7 +295918,7 @@ var require_tls = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
295906
295918
|
}));
|
|
295907
295919
|
|
|
295908
295920
|
//#endregion
|
|
295909
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
295921
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/aesCipherSuites.js
|
|
295910
295922
|
var require_aesCipherSuites = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
295911
295923
|
/**
|
|
295912
295924
|
* A Javascript implementation of AES Cipher Suites for TLS.
|
|
@@ -296096,7 +296108,7 @@ var require_aesCipherSuites = /* @__PURE__ */ __commonJSMin$2(((exports, module)
|
|
|
296096
296108
|
}));
|
|
296097
296109
|
|
|
296098
296110
|
//#endregion
|
|
296099
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
296111
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/sha512.js
|
|
296100
296112
|
var require_sha512 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
296101
296113
|
/**
|
|
296102
296114
|
* Secure Hash Algorithm with a 1024-bit block size implementation.
|
|
@@ -296504,7 +296516,7 @@ var require_sha512 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
296504
296516
|
}));
|
|
296505
296517
|
|
|
296506
296518
|
//#endregion
|
|
296507
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
296519
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/asn1-validator.js
|
|
296508
296520
|
var require_asn1_validator = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
296509
296521
|
/**
|
|
296510
296522
|
* Copyright (c) 2019 Digital Bazaar, Inc.
|
|
@@ -296576,7 +296588,7 @@ var require_asn1_validator = /* @__PURE__ */ __commonJSMin$2(((exports) => {
|
|
|
296576
296588
|
}));
|
|
296577
296589
|
|
|
296578
296590
|
//#endregion
|
|
296579
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
296591
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/ed25519.js
|
|
296580
296592
|
var require_ed25519 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
296581
296593
|
/**
|
|
296582
296594
|
* JavaScript implementation of Ed25519.
|
|
@@ -297613,7 +297625,7 @@ var require_ed25519 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
297613
297625
|
}));
|
|
297614
297626
|
|
|
297615
297627
|
//#endregion
|
|
297616
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
297628
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/kem.js
|
|
297617
297629
|
var require_kem = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
297618
297630
|
/**
|
|
297619
297631
|
* Javascript implementation of RSA-KEM.
|
|
@@ -297753,7 +297765,7 @@ var require_kem = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
297753
297765
|
}));
|
|
297754
297766
|
|
|
297755
297767
|
//#endregion
|
|
297756
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
297768
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/log.js
|
|
297757
297769
|
var require_log = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
297758
297770
|
/**
|
|
297759
297771
|
* Cross-browser support for logging in a web application.
|
|
@@ -297979,7 +297991,7 @@ var require_log = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
297979
297991
|
forge.log.addLogger(logger);
|
|
297980
297992
|
sConsoleLogger = logger;
|
|
297981
297993
|
} else console = { log: function() {} };
|
|
297982
|
-
if (sConsoleLogger !== null && typeof window !== "undefined" && window.location) {
|
|
297994
|
+
if (sConsoleLogger !== null && typeof window !== "undefined" && window.location && window.location.href && typeof URL === "function") {
|
|
297983
297995
|
var query = new URL(window.location.href).searchParams;
|
|
297984
297996
|
if (query.has("console.level")) forge.log.setLevel(sConsoleLogger, query.get("console.level").slice(-1)[0]);
|
|
297985
297997
|
if (query.has("console.lock")) {
|
|
@@ -297990,7 +298002,7 @@ var require_log = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
297990
298002
|
}));
|
|
297991
298003
|
|
|
297992
298004
|
//#endregion
|
|
297993
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
298005
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/md.all.js
|
|
297994
298006
|
var require_md_all = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
297995
298007
|
/**
|
|
297996
298008
|
* Node.js module for all known Forge message digests.
|
|
@@ -298007,7 +298019,7 @@ var require_md_all = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
298007
298019
|
}));
|
|
298008
298020
|
|
|
298009
298021
|
//#endregion
|
|
298010
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
298022
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/pkcs7.js
|
|
298011
298023
|
var require_pkcs7 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
298012
298024
|
/**
|
|
298013
298025
|
* Javascript implementation of PKCS#7 v1.5.
|
|
@@ -298738,7 +298750,7 @@ var require_pkcs7 = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
298738
298750
|
}));
|
|
298739
298751
|
|
|
298740
298752
|
//#endregion
|
|
298741
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
298753
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/ssh.js
|
|
298742
298754
|
var require_ssh = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
298743
298755
|
/**
|
|
298744
298756
|
* Functions to output keys in SSH-friendly formats.
|
|
@@ -298895,7 +298907,7 @@ var require_ssh = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
298895
298907
|
*/
|
|
298896
298908
|
function _addBigIntegerToBuffer(buffer, val) {
|
|
298897
298909
|
var hexVal = val.toString(16);
|
|
298898
|
-
if (hexVal[0] >= "8") hexVal = "00" + hexVal;
|
|
298910
|
+
if (hexVal[0] >= "8" && hexVal.length % 2 === 0) hexVal = "00" + hexVal;
|
|
298899
298911
|
var bytes = forge.util.hexToBytes(hexVal);
|
|
298900
298912
|
buffer.putInt32(bytes.length);
|
|
298901
298913
|
buffer.putBytes(bytes);
|
|
@@ -298924,7 +298936,7 @@ var require_ssh = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
|
298924
298936
|
}));
|
|
298925
298937
|
|
|
298926
298938
|
//#endregion
|
|
298927
|
-
//#region node_modules/.pnpm/node-forge@1.4.
|
|
298939
|
+
//#region node_modules/.pnpm/node-forge@1.4.4/node_modules/node-forge/lib/index.js
|
|
298928
298940
|
var require_lib = /* @__PURE__ */ __commonJSMin$2(((exports, module) => {
|
|
298929
298941
|
/**
|
|
298930
298942
|
* Node.js module for Forge.
|
package/man/man1/lh.1
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" Code generated by `npm run man:generate`; DO NOT EDIT.
|
|
2
2
|
.\" Manual command details come from the Commander command tree.
|
|
3
|
-
.TH LH 1 "" "@lobehub/cli 0.0.
|
|
3
|
+
.TH LH 1 "" "@lobehub/cli 0.0.219" "User Commands"
|
|
4
4
|
.SH NAME
|
|
5
5
|
lh \- LobeHub CLI \- manage and connect to LobeHub services
|
|
6
6
|
.SH SYNOPSIS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.219",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/lobehub/lobehub",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"access": "public",
|
|
84
84
|
"registry": "https://registry.npmjs.org"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "e54d6e87b956575359fbb93c504a9a79d3c2b698"
|
|
87
87
|
}
|