@lemoncat7/dsh-partner 2.7.0 → 2.7.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/README.md +1 -1
- package/docs/releases/2.7.1.md +10 -0
- package/lib/channels/direct/message-format.js +127 -127
- package/lib/channels/direct/message-format.js.map +1 -1
- package/lib/client.js +134 -77
- package/lib/client.js.map +4 -4
- package/lib/pendant/renderer.d.ts.map +1 -1
- package/lib/pendant/renderer.js +18 -2
- package/lib/pendant/renderer.js.map +1 -1
- package/lib/pendant/startup.d.ts +4 -0
- package/lib/pendant/startup.d.ts.map +1 -0
- package/lib/pendant/startup.js +64 -0
- package/lib/pendant/startup.js.map +1 -0
- package/lib/pendant/widget.d.ts.map +1 -1
- package/lib/pendant/widget.js +2 -1
- package/lib/pendant/widget.js.map +1 -1
- package/lib/pendant-renderer.js +169 -169
- package/package.json +2 -2
- package/docs/releases/2.7.0.md +0 -21
package/lib/client.js
CHANGED
|
@@ -56,7 +56,7 @@ function observePluginWorkspace(pluginId, close) {
|
|
|
56
56
|
// src/client.tsx
|
|
57
57
|
var import_dsh_client_ui_primitives24 = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
58
58
|
|
|
59
|
-
//
|
|
59
|
+
// node_modules/qrcode.react/lib/esm/index.js
|
|
60
60
|
var import_react = __toESM(require("react"), 1);
|
|
61
61
|
var __defProp2 = Object.defineProperty;
|
|
62
62
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
@@ -5775,7 +5775,7 @@ var import_dsh_client_ui_primitives9 = require("@deepseek-ai/dsh-client-ui-primi
|
|
|
5775
5775
|
// src/pendant/markdown.tsx
|
|
5776
5776
|
var import_react23 = __toESM(require("react"), 1);
|
|
5777
5777
|
|
|
5778
|
-
//
|
|
5778
|
+
// node_modules/mdast-util-to-string/lib/index.js
|
|
5779
5779
|
var emptyOptions = {};
|
|
5780
5780
|
function toString(value, options) {
|
|
5781
5781
|
const settings = options || emptyOptions;
|
|
@@ -5812,7 +5812,7 @@ function node(value) {
|
|
|
5812
5812
|
return Boolean(value && typeof value === "object");
|
|
5813
5813
|
}
|
|
5814
5814
|
|
|
5815
|
-
//
|
|
5815
|
+
// node_modules/decode-named-character-reference/index.dom.js
|
|
5816
5816
|
var element = document.createElement("i");
|
|
5817
5817
|
function decodeNamedCharacterReference(value) {
|
|
5818
5818
|
const characterReference2 = "&" + value + ";";
|
|
@@ -5824,7 +5824,7 @@ function decodeNamedCharacterReference(value) {
|
|
|
5824
5824
|
return character === characterReference2 ? false : character;
|
|
5825
5825
|
}
|
|
5826
5826
|
|
|
5827
|
-
//
|
|
5827
|
+
// node_modules/micromark-util-chunked/index.js
|
|
5828
5828
|
function splice(list2, start, remove, items) {
|
|
5829
5829
|
const end = list2.length;
|
|
5830
5830
|
let chunkStart = 0;
|
|
@@ -5858,7 +5858,7 @@ function push(list2, items) {
|
|
|
5858
5858
|
return items;
|
|
5859
5859
|
}
|
|
5860
5860
|
|
|
5861
|
-
//
|
|
5861
|
+
// node_modules/micromark-util-combine-extensions/index.js
|
|
5862
5862
|
var hasOwnProperty = {}.hasOwnProperty;
|
|
5863
5863
|
function combineExtensions(extensions) {
|
|
5864
5864
|
const all2 = {};
|
|
@@ -5898,7 +5898,7 @@ function constructs(existing, list2) {
|
|
|
5898
5898
|
splice(existing, 0, 0, before);
|
|
5899
5899
|
}
|
|
5900
5900
|
|
|
5901
|
-
//
|
|
5901
|
+
// node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
5902
5902
|
function decodeNumericCharacterReference(value, base) {
|
|
5903
5903
|
const code2 = Number.parseInt(value, base);
|
|
5904
5904
|
if (
|
|
@@ -5916,12 +5916,12 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
5916
5916
|
return String.fromCodePoint(code2);
|
|
5917
5917
|
}
|
|
5918
5918
|
|
|
5919
|
-
//
|
|
5919
|
+
// node_modules/micromark-util-normalize-identifier/index.js
|
|
5920
5920
|
function normalizeIdentifier(value) {
|
|
5921
5921
|
return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
5922
5922
|
}
|
|
5923
5923
|
|
|
5924
|
-
//
|
|
5924
|
+
// node_modules/micromark-util-character/index.js
|
|
5925
5925
|
var asciiAlpha = regexCheck(/[A-Za-z]/);
|
|
5926
5926
|
var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
|
|
5927
5927
|
var asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
|
|
@@ -5953,7 +5953,7 @@ function regexCheck(regex) {
|
|
|
5953
5953
|
}
|
|
5954
5954
|
}
|
|
5955
5955
|
|
|
5956
|
-
//
|
|
5956
|
+
// node_modules/micromark-factory-space/index.js
|
|
5957
5957
|
function factorySpace(effects, ok3, type, max) {
|
|
5958
5958
|
const limit = max ? max - 1 : Infinity;
|
|
5959
5959
|
let size2 = 0;
|
|
@@ -5998,7 +5998,7 @@ function factorySpaceMinMax(effects, ok3, nok, type, min, max) {
|
|
|
5998
5998
|
}
|
|
5999
5999
|
}
|
|
6000
6000
|
|
|
6001
|
-
//
|
|
6001
|
+
// node_modules/micromark/lib/initialize/content.js
|
|
6002
6002
|
var content = {
|
|
6003
6003
|
tokenize: initializeContent
|
|
6004
6004
|
};
|
|
@@ -6048,7 +6048,7 @@ function initializeContent(effects) {
|
|
|
6048
6048
|
}
|
|
6049
6049
|
}
|
|
6050
6050
|
|
|
6051
|
-
//
|
|
6051
|
+
// node_modules/micromark-util-edit-map/index.js
|
|
6052
6052
|
var EditMap = class {
|
|
6053
6053
|
/**
|
|
6054
6054
|
* Create a new edit map.
|
|
@@ -6146,7 +6146,7 @@ function addImplementation(editMap, at, remove, add, before) {
|
|
|
6146
6146
|
editMap.index.set(at, change);
|
|
6147
6147
|
}
|
|
6148
6148
|
|
|
6149
|
-
//
|
|
6149
|
+
// node_modules/micromark/lib/initialize/document.js
|
|
6150
6150
|
var document2 = {
|
|
6151
6151
|
tokenize: initializeDocument
|
|
6152
6152
|
};
|
|
@@ -6340,7 +6340,7 @@ function tokenizeContainer(effects, ok3, nok) {
|
|
|
6340
6340
|
return factorySpace(effects, effects.attempt(this.parser.constructs.document, ok3, nok), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
6341
6341
|
}
|
|
6342
6342
|
|
|
6343
|
-
//
|
|
6343
|
+
// node_modules/micromark-util-classify-character/index.js
|
|
6344
6344
|
function classifyCharacter(code2) {
|
|
6345
6345
|
if (code2 === null || markdownLineEndingOrSpace(code2) || unicodeWhitespace(code2)) {
|
|
6346
6346
|
return 1;
|
|
@@ -6350,7 +6350,7 @@ function classifyCharacter(code2) {
|
|
|
6350
6350
|
}
|
|
6351
6351
|
}
|
|
6352
6352
|
|
|
6353
|
-
//
|
|
6353
|
+
// node_modules/micromark-util-resolve-all/index.js
|
|
6354
6354
|
function resolveAll(constructs2, events, context) {
|
|
6355
6355
|
const called = [];
|
|
6356
6356
|
let index2 = -1;
|
|
@@ -6364,7 +6364,7 @@ function resolveAll(constructs2, events, context) {
|
|
|
6364
6364
|
return events;
|
|
6365
6365
|
}
|
|
6366
6366
|
|
|
6367
|
-
//
|
|
6367
|
+
// node_modules/micromark-core-commonmark/lib/attention.js
|
|
6368
6368
|
var attention = {
|
|
6369
6369
|
name: "attention",
|
|
6370
6370
|
resolveAll: resolveAllAttention,
|
|
@@ -6487,7 +6487,7 @@ function movePoint(point4, offset) {
|
|
|
6487
6487
|
point4._bufferIndex += offset;
|
|
6488
6488
|
}
|
|
6489
6489
|
|
|
6490
|
-
//
|
|
6490
|
+
// node_modules/micromark-core-commonmark/lib/autolink.js
|
|
6491
6491
|
var autolink = {
|
|
6492
6492
|
name: "autolink",
|
|
6493
6493
|
tokenize: tokenizeAutolink
|
|
@@ -6588,7 +6588,7 @@ function tokenizeAutolink(effects, ok3, nok) {
|
|
|
6588
6588
|
}
|
|
6589
6589
|
}
|
|
6590
6590
|
|
|
6591
|
-
//
|
|
6591
|
+
// node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
6592
6592
|
var blankLine = {
|
|
6593
6593
|
partial: true,
|
|
6594
6594
|
tokenize: tokenizeBlankLine
|
|
@@ -6603,7 +6603,7 @@ function tokenizeBlankLine(effects, ok3, nok) {
|
|
|
6603
6603
|
}
|
|
6604
6604
|
}
|
|
6605
6605
|
|
|
6606
|
-
//
|
|
6606
|
+
// node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
6607
6607
|
var blockQuote = {
|
|
6608
6608
|
continuation: {
|
|
6609
6609
|
tokenize: tokenizeBlockQuoteContinuation
|
|
@@ -6661,7 +6661,7 @@ function exit(effects) {
|
|
|
6661
6661
|
effects.exit("blockQuote");
|
|
6662
6662
|
}
|
|
6663
6663
|
|
|
6664
|
-
//
|
|
6664
|
+
// node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
6665
6665
|
var characterEscape = {
|
|
6666
6666
|
name: "characterEscape",
|
|
6667
6667
|
tokenize: tokenizeCharacterEscape
|
|
@@ -6687,7 +6687,7 @@ function tokenizeCharacterEscape(effects, ok3, nok) {
|
|
|
6687
6687
|
}
|
|
6688
6688
|
}
|
|
6689
6689
|
|
|
6690
|
-
//
|
|
6690
|
+
// node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
6691
6691
|
var characterReference = {
|
|
6692
6692
|
name: "characterReference",
|
|
6693
6693
|
tokenize: tokenizeCharacterReference
|
|
@@ -6752,7 +6752,7 @@ function tokenizeCharacterReference(effects, ok3, nok) {
|
|
|
6752
6752
|
}
|
|
6753
6753
|
}
|
|
6754
6754
|
|
|
6755
|
-
//
|
|
6755
|
+
// node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js
|
|
6756
6756
|
var nonLazyContinuation = {
|
|
6757
6757
|
partial: true,
|
|
6758
6758
|
tokenize: tokenizeNonLazyContinuation
|
|
@@ -6774,7 +6774,7 @@ function tokenizeNonLazyContinuation(effects, ok3, nok) {
|
|
|
6774
6774
|
}
|
|
6775
6775
|
}
|
|
6776
6776
|
|
|
6777
|
-
//
|
|
6777
|
+
// node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
6778
6778
|
var codeFenced = {
|
|
6779
6779
|
concrete: true,
|
|
6780
6780
|
name: "codeFenced",
|
|
@@ -6937,7 +6937,7 @@ function tokenizeCodeFenced(effects, ok3, nok) {
|
|
|
6937
6937
|
}
|
|
6938
6938
|
}
|
|
6939
6939
|
|
|
6940
|
-
//
|
|
6940
|
+
// node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
6941
6941
|
var codeIndented = {
|
|
6942
6942
|
name: "codeIndented",
|
|
6943
6943
|
tokenize: tokenizeCodeIndented
|
|
@@ -6995,7 +6995,7 @@ function tokenizeFurtherStart(effects, ok3, nok) {
|
|
|
6995
6995
|
}
|
|
6996
6996
|
}
|
|
6997
6997
|
|
|
6998
|
-
//
|
|
6998
|
+
// node_modules/micromark-core-commonmark/lib/code-text.js
|
|
6999
6999
|
var codeText = {
|
|
7000
7000
|
name: "codeText",
|
|
7001
7001
|
previous,
|
|
@@ -7110,7 +7110,7 @@ function tokenizeCodeText(effects, ok3, nok) {
|
|
|
7110
7110
|
}
|
|
7111
7111
|
}
|
|
7112
7112
|
|
|
7113
|
-
//
|
|
7113
|
+
// node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
7114
7114
|
var SpliceBuffer = class {
|
|
7115
7115
|
/**
|
|
7116
7116
|
* @param {ReadonlyArray<T> | null | undefined} [initial]
|
|
@@ -7303,7 +7303,7 @@ function chunkedPush(list2, right) {
|
|
|
7303
7303
|
}
|
|
7304
7304
|
}
|
|
7305
7305
|
|
|
7306
|
-
//
|
|
7306
|
+
// node_modules/micromark-util-subtokenize/index.js
|
|
7307
7307
|
function subtokenize(eventsArray) {
|
|
7308
7308
|
const jumps = {};
|
|
7309
7309
|
let index2 = -1;
|
|
@@ -7456,7 +7456,7 @@ function subcontent(events, eventIndex) {
|
|
|
7456
7456
|
return gaps;
|
|
7457
7457
|
}
|
|
7458
7458
|
|
|
7459
|
-
//
|
|
7459
|
+
// node_modules/micromark-core-commonmark/lib/content.js
|
|
7460
7460
|
var content2 = {
|
|
7461
7461
|
resolve: resolveContent,
|
|
7462
7462
|
tokenize: tokenizeContent
|
|
@@ -7527,7 +7527,7 @@ function tokenizeContinuation(effects, ok3, nok) {
|
|
|
7527
7527
|
}
|
|
7528
7528
|
}
|
|
7529
7529
|
|
|
7530
|
-
//
|
|
7530
|
+
// node_modules/micromark-factory-destination/index.js
|
|
7531
7531
|
function factoryDestination(effects, ok3, nok, type, literalType, literalMarkerType, rawType, stringType, max) {
|
|
7532
7532
|
const limit = max || Number.POSITIVE_INFINITY;
|
|
7533
7533
|
let balance = 0;
|
|
@@ -7619,7 +7619,7 @@ function factoryDestination(effects, ok3, nok, type, literalType, literalMarkerT
|
|
|
7619
7619
|
}
|
|
7620
7620
|
}
|
|
7621
7621
|
|
|
7622
|
-
//
|
|
7622
|
+
// node_modules/micromark-factory-label/index.js
|
|
7623
7623
|
function factoryLabel(effects, ok3, nok, type, markerType, stringType) {
|
|
7624
7624
|
const self = this;
|
|
7625
7625
|
let size2 = 0;
|
|
@@ -7680,7 +7680,7 @@ function factoryLabel(effects, ok3, nok, type, markerType, stringType) {
|
|
|
7680
7680
|
}
|
|
7681
7681
|
}
|
|
7682
7682
|
|
|
7683
|
-
//
|
|
7683
|
+
// node_modules/micromark-factory-title/index.js
|
|
7684
7684
|
function factoryTitle(effects, ok3, nok, type, markerType, stringType) {
|
|
7685
7685
|
let marker;
|
|
7686
7686
|
return start;
|
|
@@ -7742,7 +7742,7 @@ function factoryTitle(effects, ok3, nok, type, markerType, stringType) {
|
|
|
7742
7742
|
}
|
|
7743
7743
|
}
|
|
7744
7744
|
|
|
7745
|
-
//
|
|
7745
|
+
// node_modules/micromark-factory-whitespace/index.js
|
|
7746
7746
|
function factoryWhitespace(effects, ok3) {
|
|
7747
7747
|
let seen;
|
|
7748
7748
|
return start;
|
|
@@ -7761,7 +7761,7 @@ function factoryWhitespace(effects, ok3) {
|
|
|
7761
7761
|
}
|
|
7762
7762
|
}
|
|
7763
7763
|
|
|
7764
|
-
//
|
|
7764
|
+
// node_modules/micromark-core-commonmark/lib/definition.js
|
|
7765
7765
|
var definition = {
|
|
7766
7766
|
name: "definition",
|
|
7767
7767
|
tokenize: tokenizeDefinition
|
|
@@ -7847,7 +7847,7 @@ function tokenizeTitleBefore(effects, ok3, nok) {
|
|
|
7847
7847
|
}
|
|
7848
7848
|
}
|
|
7849
7849
|
|
|
7850
|
-
//
|
|
7850
|
+
// node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
7851
7851
|
var hardBreakEscape = {
|
|
7852
7852
|
name: "hardBreakEscape",
|
|
7853
7853
|
tokenize: tokenizeHardBreakEscape
|
|
@@ -7868,7 +7868,7 @@ function tokenizeHardBreakEscape(effects, ok3, nok) {
|
|
|
7868
7868
|
}
|
|
7869
7869
|
}
|
|
7870
7870
|
|
|
7871
|
-
//
|
|
7871
|
+
// node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
7872
7872
|
var headingAtx = {
|
|
7873
7873
|
name: "headingAtx",
|
|
7874
7874
|
resolve: resolveHeadingAtx,
|
|
@@ -7957,7 +7957,7 @@ function tokenizeHeadingAtx(effects, ok3, nok) {
|
|
|
7957
7957
|
}
|
|
7958
7958
|
}
|
|
7959
7959
|
|
|
7960
|
-
//
|
|
7960
|
+
// node_modules/micromark-util-html-tag-name/index.js
|
|
7961
7961
|
var htmlBlockNames = [
|
|
7962
7962
|
"address",
|
|
7963
7963
|
"article",
|
|
@@ -8024,7 +8024,7 @@ var htmlBlockNames = [
|
|
|
8024
8024
|
];
|
|
8025
8025
|
var htmlRawNames = ["pre", "script", "style", "textarea"];
|
|
8026
8026
|
|
|
8027
|
-
//
|
|
8027
|
+
// node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
8028
8028
|
var htmlFlow = {
|
|
8029
8029
|
concrete: true,
|
|
8030
8030
|
name: "htmlFlow",
|
|
@@ -8383,7 +8383,7 @@ function tokenizeBlankLineBefore(effects, ok3, nok) {
|
|
|
8383
8383
|
}
|
|
8384
8384
|
}
|
|
8385
8385
|
|
|
8386
|
-
//
|
|
8386
|
+
// node_modules/micromark-core-commonmark/lib/html-text.js
|
|
8387
8387
|
var htmlText = {
|
|
8388
8388
|
name: "htmlText",
|
|
8389
8389
|
tokenize: tokenizeHtmlText
|
|
@@ -8689,7 +8689,7 @@ function tokenizeHtmlText(effects, ok3, nok) {
|
|
|
8689
8689
|
}
|
|
8690
8690
|
}
|
|
8691
8691
|
|
|
8692
|
-
//
|
|
8692
|
+
// node_modules/micromark-core-commonmark/lib/label-end.js
|
|
8693
8693
|
var labelEnd = {
|
|
8694
8694
|
name: "labelEnd",
|
|
8695
8695
|
resolveAll: resolveAllLabelEnd,
|
|
@@ -8915,7 +8915,7 @@ function tokenizeReferenceCollapsed(effects, ok3, nok) {
|
|
|
8915
8915
|
}
|
|
8916
8916
|
}
|
|
8917
8917
|
|
|
8918
|
-
//
|
|
8918
|
+
// node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
8919
8919
|
var labelStartImage = {
|
|
8920
8920
|
name: "labelStartImage",
|
|
8921
8921
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -8952,7 +8952,7 @@ function tokenizeLabelStartImage(effects, ok3, nok) {
|
|
|
8952
8952
|
}
|
|
8953
8953
|
}
|
|
8954
8954
|
|
|
8955
|
-
//
|
|
8955
|
+
// node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
8956
8956
|
var labelStartLink = {
|
|
8957
8957
|
name: "labelStartLink",
|
|
8958
8958
|
resolveAll: labelEnd.resolveAll,
|
|
@@ -8980,7 +8980,7 @@ function tokenizeLabelStartLink(effects, ok3, nok) {
|
|
|
8980
8980
|
}
|
|
8981
8981
|
}
|
|
8982
8982
|
|
|
8983
|
-
//
|
|
8983
|
+
// node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
8984
8984
|
var lineEnding = {
|
|
8985
8985
|
name: "lineEnding",
|
|
8986
8986
|
tokenize: tokenizeLineEnding
|
|
@@ -8995,7 +8995,7 @@ function tokenizeLineEnding(effects, ok3) {
|
|
|
8995
8995
|
}
|
|
8996
8996
|
}
|
|
8997
8997
|
|
|
8998
|
-
//
|
|
8998
|
+
// node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
8999
8999
|
var thematicBreak = {
|
|
9000
9000
|
name: "thematicBreak",
|
|
9001
9001
|
tokenize: tokenizeThematicBreak
|
|
@@ -9034,7 +9034,7 @@ function tokenizeThematicBreak(effects, ok3, nok) {
|
|
|
9034
9034
|
}
|
|
9035
9035
|
}
|
|
9036
9036
|
|
|
9037
|
-
//
|
|
9037
|
+
// node_modules/micromark-core-commonmark/lib/list.js
|
|
9038
9038
|
var list = {
|
|
9039
9039
|
continuation: {
|
|
9040
9040
|
tokenize: tokenizeListContinuation
|
|
@@ -9164,7 +9164,7 @@ function tokenizeListItemPrefixWhitespace(effects, ok3, nok) {
|
|
|
9164
9164
|
}
|
|
9165
9165
|
}
|
|
9166
9166
|
|
|
9167
|
-
//
|
|
9167
|
+
// node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
9168
9168
|
var setextUnderline = {
|
|
9169
9169
|
name: "setextUnderline",
|
|
9170
9170
|
resolveTo: resolveToSetextUnderline,
|
|
@@ -9258,7 +9258,7 @@ function tokenizeSetextUnderline(effects, ok3, nok) {
|
|
|
9258
9258
|
}
|
|
9259
9259
|
}
|
|
9260
9260
|
|
|
9261
|
-
//
|
|
9261
|
+
// node_modules/micromark/lib/initialize/flow.js
|
|
9262
9262
|
var flow = {
|
|
9263
9263
|
tokenize: initializeFlow
|
|
9264
9264
|
};
|
|
@@ -9296,7 +9296,7 @@ function initializeFlow(effects) {
|
|
|
9296
9296
|
}
|
|
9297
9297
|
}
|
|
9298
9298
|
|
|
9299
|
-
//
|
|
9299
|
+
// node_modules/micromark/lib/initialize/text.js
|
|
9300
9300
|
var resolver = {
|
|
9301
9301
|
resolveAll: createResolver()
|
|
9302
9302
|
};
|
|
@@ -9438,7 +9438,7 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
9438
9438
|
return events;
|
|
9439
9439
|
}
|
|
9440
9440
|
|
|
9441
|
-
//
|
|
9441
|
+
// node_modules/micromark/lib/constructs.js
|
|
9442
9442
|
var constructs_exports = {};
|
|
9443
9443
|
__export(constructs_exports, {
|
|
9444
9444
|
attentionMarkers: () => attentionMarkers,
|
|
@@ -9513,7 +9513,7 @@ var disable = {
|
|
|
9513
9513
|
null: []
|
|
9514
9514
|
};
|
|
9515
9515
|
|
|
9516
|
-
//
|
|
9516
|
+
// node_modules/micromark/lib/create-tokenizer.js
|
|
9517
9517
|
function createTokenizer(parser, initialize, from) {
|
|
9518
9518
|
let point4 = {
|
|
9519
9519
|
_bufferIndex: -1,
|
|
@@ -9839,7 +9839,7 @@ function serializeChunks(chunks, expandTabs) {
|
|
|
9839
9839
|
return result.join("");
|
|
9840
9840
|
}
|
|
9841
9841
|
|
|
9842
|
-
//
|
|
9842
|
+
// node_modules/micromark/lib/parse.js
|
|
9843
9843
|
function parse(options) {
|
|
9844
9844
|
const settings = options || {};
|
|
9845
9845
|
const constructs2 = (
|
|
@@ -9865,14 +9865,14 @@ function parse(options) {
|
|
|
9865
9865
|
}
|
|
9866
9866
|
}
|
|
9867
9867
|
|
|
9868
|
-
//
|
|
9868
|
+
// node_modules/micromark/lib/postprocess.js
|
|
9869
9869
|
function postprocess(events) {
|
|
9870
9870
|
while (!subtokenize(events)) {
|
|
9871
9871
|
}
|
|
9872
9872
|
return events;
|
|
9873
9873
|
}
|
|
9874
9874
|
|
|
9875
|
-
//
|
|
9875
|
+
// node_modules/micromark/lib/preprocess.js
|
|
9876
9876
|
var search = /[\0\t\n\r]/g;
|
|
9877
9877
|
function preprocess() {
|
|
9878
9878
|
let column = 1;
|
|
@@ -9952,7 +9952,7 @@ function preprocess() {
|
|
|
9952
9952
|
}
|
|
9953
9953
|
}
|
|
9954
9954
|
|
|
9955
|
-
//
|
|
9955
|
+
// node_modules/micromark-util-decode-string/index.js
|
|
9956
9956
|
var characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
9957
9957
|
function decodeString(value) {
|
|
9958
9958
|
return value.replace(characterEscapeOrReference, decode);
|
|
@@ -9970,7 +9970,7 @@ function decode($0, $1, $2) {
|
|
|
9970
9970
|
return decodeNamedCharacterReference($2) || $0;
|
|
9971
9971
|
}
|
|
9972
9972
|
|
|
9973
|
-
//
|
|
9973
|
+
// node_modules/unist-util-stringify-position/lib/index.js
|
|
9974
9974
|
function stringifyPosition(value) {
|
|
9975
9975
|
if (!value || typeof value !== "object") {
|
|
9976
9976
|
return "";
|
|
@@ -9996,7 +9996,7 @@ function index(value) {
|
|
|
9996
9996
|
return value && typeof value === "number" ? value : 1;
|
|
9997
9997
|
}
|
|
9998
9998
|
|
|
9999
|
-
//
|
|
9999
|
+
// node_modules/mdast-util-from-markdown/lib/index.js
|
|
10000
10000
|
var own = {}.hasOwnProperty;
|
|
10001
10001
|
function fromMarkdown(value, encoding, options) {
|
|
10002
10002
|
if (encoding && typeof encoding === "object") {
|
|
@@ -10705,7 +10705,7 @@ function defaultOnError(left, right) {
|
|
|
10705
10705
|
}
|
|
10706
10706
|
}
|
|
10707
10707
|
|
|
10708
|
-
//
|
|
10708
|
+
// node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
10709
10709
|
var wwwPrefix = {
|
|
10710
10710
|
tokenize: tokenizeWwwPrefix,
|
|
10711
10711
|
partial: true
|
|
@@ -11047,7 +11047,7 @@ function previousUnbalanced(events) {
|
|
|
11047
11047
|
return result;
|
|
11048
11048
|
}
|
|
11049
11049
|
|
|
11050
|
-
//
|
|
11050
|
+
// node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
11051
11051
|
var indent = {
|
|
11052
11052
|
tokenize: tokenizeIndent2,
|
|
11053
11053
|
partial: true
|
|
@@ -11322,7 +11322,7 @@ function tokenizeIndent2(effects, ok3, nok) {
|
|
|
11322
11322
|
}
|
|
11323
11323
|
}
|
|
11324
11324
|
|
|
11325
|
-
//
|
|
11325
|
+
// node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
11326
11326
|
function gfmStrikethrough(options) {
|
|
11327
11327
|
const options_ = options || {};
|
|
11328
11328
|
let single = options_.singleTilde;
|
|
@@ -11416,7 +11416,7 @@ function gfmStrikethrough(options) {
|
|
|
11416
11416
|
}
|
|
11417
11417
|
}
|
|
11418
11418
|
|
|
11419
|
-
//
|
|
11419
|
+
// node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
11420
11420
|
var EditMap2 = class {
|
|
11421
11421
|
/**
|
|
11422
11422
|
* Create a new edit map.
|
|
@@ -11502,7 +11502,7 @@ function addImplementation2(editMap, at, remove, add) {
|
|
|
11502
11502
|
editMap.index.set(at, change);
|
|
11503
11503
|
}
|
|
11504
11504
|
|
|
11505
|
-
//
|
|
11505
|
+
// node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
11506
11506
|
function gfmTableAlign(events, index2) {
|
|
11507
11507
|
let inDelimiterRow = false;
|
|
11508
11508
|
const align = [];
|
|
@@ -11529,7 +11529,7 @@ function gfmTableAlign(events, index2) {
|
|
|
11529
11529
|
return align;
|
|
11530
11530
|
}
|
|
11531
11531
|
|
|
11532
|
-
//
|
|
11532
|
+
// node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
11533
11533
|
function gfmTable() {
|
|
11534
11534
|
return {
|
|
11535
11535
|
flow: {
|
|
@@ -11920,7 +11920,7 @@ function getPoint(events, index2) {
|
|
|
11920
11920
|
return event[1][side];
|
|
11921
11921
|
}
|
|
11922
11922
|
|
|
11923
|
-
//
|
|
11923
|
+
// node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
11924
11924
|
var tasklistCheck = {
|
|
11925
11925
|
name: "tasklistCheck",
|
|
11926
11926
|
tokenize: tokenizeTasklistCheck
|
|
@@ -11994,7 +11994,7 @@ function spaceThenNonSpace(effects, ok3, nok) {
|
|
|
11994
11994
|
}
|
|
11995
11995
|
}
|
|
11996
11996
|
|
|
11997
|
-
//
|
|
11997
|
+
// node_modules/micromark-extension-gfm/index.js
|
|
11998
11998
|
function gfm(options) {
|
|
11999
11999
|
return combineExtensions([
|
|
12000
12000
|
gfmAutolinkLiteral(),
|
|
@@ -12005,7 +12005,7 @@ function gfm(options) {
|
|
|
12005
12005
|
]);
|
|
12006
12006
|
}
|
|
12007
12007
|
|
|
12008
|
-
//
|
|
12008
|
+
// node_modules/ccount/index.js
|
|
12009
12009
|
function ccount(value, character) {
|
|
12010
12010
|
const source = String(value);
|
|
12011
12011
|
if (typeof character !== "string") {
|
|
@@ -12020,11 +12020,11 @@ function ccount(value, character) {
|
|
|
12020
12020
|
return count;
|
|
12021
12021
|
}
|
|
12022
12022
|
|
|
12023
|
-
//
|
|
12023
|
+
// node_modules/devlop/lib/default.js
|
|
12024
12024
|
function ok() {
|
|
12025
12025
|
}
|
|
12026
12026
|
|
|
12027
|
-
//
|
|
12027
|
+
// node_modules/escape-string-regexp/index.js
|
|
12028
12028
|
function escapeStringRegexp(string3) {
|
|
12029
12029
|
if (typeof string3 !== "string") {
|
|
12030
12030
|
throw new TypeError("Expected a string");
|
|
@@ -12032,7 +12032,7 @@ function escapeStringRegexp(string3) {
|
|
|
12032
12032
|
return string3.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
12033
12033
|
}
|
|
12034
12034
|
|
|
12035
|
-
//
|
|
12035
|
+
// node_modules/unist-util-is/lib/index.js
|
|
12036
12036
|
var convert = (
|
|
12037
12037
|
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
12038
12038
|
/**
|
|
@@ -12131,12 +12131,12 @@ function looksLikeANode(value) {
|
|
|
12131
12131
|
return value !== null && typeof value === "object" && "type" in value;
|
|
12132
12132
|
}
|
|
12133
12133
|
|
|
12134
|
-
//
|
|
12134
|
+
// node_modules/unist-util-visit-parents/lib/color.js
|
|
12135
12135
|
function color(d) {
|
|
12136
12136
|
return d;
|
|
12137
12137
|
}
|
|
12138
12138
|
|
|
12139
|
-
//
|
|
12139
|
+
// node_modules/unist-util-visit-parents/lib/index.js
|
|
12140
12140
|
var empty = [];
|
|
12141
12141
|
var CONTINUE = true;
|
|
12142
12142
|
var EXIT = false;
|
|
@@ -12213,7 +12213,7 @@ function toResult(value) {
|
|
|
12213
12213
|
return value === null || value === void 0 ? empty : [value];
|
|
12214
12214
|
}
|
|
12215
12215
|
|
|
12216
|
-
//
|
|
12216
|
+
// node_modules/mdast-util-find-and-replace/lib/index.js
|
|
12217
12217
|
function findAndReplace(tree, list2, options) {
|
|
12218
12218
|
const settings = options || {};
|
|
12219
12219
|
const ignored = convert(settings.ignore || []);
|
|
@@ -12318,7 +12318,7 @@ function toFunction(replace2) {
|
|
|
12318
12318
|
};
|
|
12319
12319
|
}
|
|
12320
12320
|
|
|
12321
|
-
//
|
|
12321
|
+
// node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
12322
12322
|
function gfmAutolinkLiteralFromMarkdown() {
|
|
12323
12323
|
return {
|
|
12324
12324
|
transforms: [transformGfmAutolinkLiterals],
|
|
@@ -12439,7 +12439,7 @@ function previous2(match, email) {
|
|
|
12439
12439
|
(!email || code2 !== 47);
|
|
12440
12440
|
}
|
|
12441
12441
|
|
|
12442
|
-
//
|
|
12442
|
+
// node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
12443
12443
|
footnoteReference.peek = footnoteReferencePeek;
|
|
12444
12444
|
function enterFootnoteCallString() {
|
|
12445
12445
|
this.buffer();
|
|
@@ -12513,7 +12513,7 @@ function gfmFootnoteFromMarkdown() {
|
|
|
12513
12513
|
};
|
|
12514
12514
|
}
|
|
12515
12515
|
|
|
12516
|
-
//
|
|
12516
|
+
// node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
12517
12517
|
handleDelete.attention = attentionDelete;
|
|
12518
12518
|
handleDelete.peek = peekDelete;
|
|
12519
12519
|
function gfmStrikethroughFromMarkdown() {
|
|
@@ -12550,7 +12550,7 @@ function peekDelete() {
|
|
|
12550
12550
|
return "~";
|
|
12551
12551
|
}
|
|
12552
12552
|
|
|
12553
|
-
//
|
|
12553
|
+
// node_modules/mdast-util-gfm-table/lib/index.js
|
|
12554
12554
|
function gfmTableFromMarkdown() {
|
|
12555
12555
|
return {
|
|
12556
12556
|
enter: {
|
|
@@ -12610,7 +12610,7 @@ function replace($0, $1) {
|
|
|
12610
12610
|
return $1 === "|" ? $1 : $0;
|
|
12611
12611
|
}
|
|
12612
12612
|
|
|
12613
|
-
//
|
|
12613
|
+
// node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
12614
12614
|
function gfmTaskListItemFromMarkdown() {
|
|
12615
12615
|
return {
|
|
12616
12616
|
exit: {
|
|
@@ -12657,7 +12657,7 @@ function exitParagraphWithTaskListItem(token) {
|
|
|
12657
12657
|
this.exit(token);
|
|
12658
12658
|
}
|
|
12659
12659
|
|
|
12660
|
-
//
|
|
12660
|
+
// node_modules/mdast-util-gfm/lib/index.js
|
|
12661
12661
|
function gfmFromMarkdown() {
|
|
12662
12662
|
return [
|
|
12663
12663
|
gfmAutolinkLiteralFromMarkdown(),
|
|
@@ -12856,6 +12856,63 @@ function PendantReader({ inbox, selected, error, anchor, onSelect, onClose, onVi
|
|
|
12856
12856
|
] });
|
|
12857
12857
|
}
|
|
12858
12858
|
|
|
12859
|
+
// src/pendant/startup.ts
|
|
12860
|
+
function waitForPendantStartup(signal, doc = document) {
|
|
12861
|
+
return new Promise((resolve, reject) => {
|
|
12862
|
+
const win = doc.defaultView;
|
|
12863
|
+
let timer2 = 0, idle = 0;
|
|
12864
|
+
const started = Date.now();
|
|
12865
|
+
const cleanup = () => {
|
|
12866
|
+
win.clearTimeout(timer2);
|
|
12867
|
+
if (idle) win.cancelIdleCallback?.(idle);
|
|
12868
|
+
doc.removeEventListener("visibilitychange", schedule);
|
|
12869
|
+
doc.removeEventListener("pointerdown", schedule);
|
|
12870
|
+
doc.removeEventListener("keydown", schedule);
|
|
12871
|
+
signal.removeEventListener("abort", abort);
|
|
12872
|
+
};
|
|
12873
|
+
const abort = () => {
|
|
12874
|
+
cleanup();
|
|
12875
|
+
reject(signal.reason ?? new DOMException("Aborted", "AbortError"));
|
|
12876
|
+
};
|
|
12877
|
+
const run = () => {
|
|
12878
|
+
idle = 0;
|
|
12879
|
+
if (signal.aborted) {
|
|
12880
|
+
abort();
|
|
12881
|
+
return;
|
|
12882
|
+
}
|
|
12883
|
+
if (doc.hidden) {
|
|
12884
|
+
schedule();
|
|
12885
|
+
return;
|
|
12886
|
+
}
|
|
12887
|
+
cleanup();
|
|
12888
|
+
resolve();
|
|
12889
|
+
};
|
|
12890
|
+
function schedule() {
|
|
12891
|
+
win.clearTimeout(timer2);
|
|
12892
|
+
if (idle) {
|
|
12893
|
+
win.cancelIdleCallback?.(idle);
|
|
12894
|
+
idle = 0;
|
|
12895
|
+
}
|
|
12896
|
+
if (doc.hidden) return;
|
|
12897
|
+
const elapsed = Date.now() - started;
|
|
12898
|
+
timer2 = win.setTimeout(() => {
|
|
12899
|
+
timer2 = 0;
|
|
12900
|
+
if (win.requestIdleCallback) idle = win.requestIdleCallback(run, { timeout: 1500 });
|
|
12901
|
+
else run();
|
|
12902
|
+
}, Math.max(0, 2e3 - elapsed, Math.min(600, 6e3 - elapsed)));
|
|
12903
|
+
}
|
|
12904
|
+
if (signal.aborted) {
|
|
12905
|
+
abort();
|
|
12906
|
+
return;
|
|
12907
|
+
}
|
|
12908
|
+
signal.addEventListener("abort", abort, { once: true });
|
|
12909
|
+
doc.addEventListener("visibilitychange", schedule);
|
|
12910
|
+
doc.addEventListener("pointerdown", schedule, { passive: true });
|
|
12911
|
+
doc.addEventListener("keydown", schedule);
|
|
12912
|
+
schedule();
|
|
12913
|
+
});
|
|
12914
|
+
}
|
|
12915
|
+
|
|
12859
12916
|
// src/pendant/widget.tsx
|
|
12860
12917
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
12861
12918
|
function messageLabel(notice) {
|
|
@@ -12904,10 +12961,10 @@ function ActivePendant({ controller, settings }) {
|
|
|
12904
12961
|
(0, import_react25.useEffect)(() => {
|
|
12905
12962
|
const abort = new AbortController();
|
|
12906
12963
|
const url = `${PARTNER_API}/pendant/renderer.js`;
|
|
12907
|
-
void import(
|
|
12964
|
+
void waitForPendantStartup(abort.signal).then(() => import(
|
|
12908
12965
|
/* @vite-ignore */
|
|
12909
12966
|
url
|
|
12910
|
-
).then(async (module2) => {
|
|
12967
|
+
)).then(async (module2) => {
|
|
12911
12968
|
if (abort.signal.aborted || !canvas.current || !hit.current) return;
|
|
12912
12969
|
const instance = await module2.createLanyard(canvas.current, hit.current, {
|
|
12913
12970
|
signal: abort.signal,
|