koneck 2.25.60 → 2.25.62
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/config-store.d.ts +8 -0
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +23 -2
- package/dist/config-store.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/endpoints.d.ts +79 -0
- package/dist/endpoints.d.ts.map +1 -0
- package/dist/endpoints.js +175 -0
- package/dist/endpoints.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/ink-chat.d.ts.map +1 -1
- package/dist/ink-chat.js +238 -21
- package/dist/ink-chat.js.map +1 -1
- package/dist/logo.d.ts +11 -11
- package/dist/logo.d.ts.map +1 -1
- package/dist/logo.js +23 -29
- package/dist/logo.js.map +1 -1
- package/package.json +1 -1
package/dist/logo.d.ts
CHANGED
|
@@ -11,16 +11,17 @@
|
|
|
11
11
|
* anyone forcing ASCII has said what they want.
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* Half-block art, 34 columns by
|
|
14
|
+
* Half-block art, 34 columns by 6 rows.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
16
|
+
* Cropped to the stems' cap height, which is the fix for a complaint made three times: the arms
|
|
17
|
+
* in the source mark rise above the stems, so the top and bottom rows held nothing but two arm
|
|
18
|
+
* tips floating clear of everything else. Symmetry was not the problem — both K's were provably
|
|
19
|
+
* mirrored — and testing for symmetry is why it took three tries to see. Rasterising the art and
|
|
20
|
+
* counting connected components is the test that finds this: the mark must be exactly two shapes,
|
|
21
|
+
* with no cell of either one detached from its stem.
|
|
20
22
|
*
|
|
21
|
-
* The
|
|
22
|
-
*
|
|
23
|
-
* is already carried by the row beneath it.
|
|
23
|
+
* The lower half is the upper half mirrored rather than what the conversion produced, which was
|
|
24
|
+
* a pixel out of true and read as lopsided. A K is symmetric about its own middle.
|
|
24
25
|
*/
|
|
25
26
|
export declare const LOGO_BLOCKS: readonly string[];
|
|
26
27
|
/**
|
|
@@ -30,9 +31,8 @@ export declare const LOGO_BLOCKS: readonly string[];
|
|
|
30
31
|
* drift from the mark the moment either is edited.
|
|
31
32
|
*
|
|
32
33
|
* One character for every inked cell, whole or half. Using " and _ for the halves was closer to a
|
|
33
|
-
* half-block in principle and wrong in practice: an underscore reads as a direction, so the
|
|
34
|
-
*
|
|
35
|
-
* stray mark rather than part of the letter. Reported as "the extra -## on the right K".
|
|
34
|
+
* half-block in principle and wrong in practice: an underscore reads as a direction, so the arm
|
|
35
|
+
* tips carried a dash pointing away from the letter.
|
|
36
36
|
*/
|
|
37
37
|
export declare const LOGO_ASCII: readonly string[];
|
|
38
38
|
/** How wide the logo needs the terminal to be before it is worth drawing. */
|
package/dist/logo.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../src/logo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../src/logo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW,EAAE,SAAS,MAAM,EAOxC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,EAAE,SAAS,MAAM,EAOvC,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,UAAQ,GAAG,SAAS,MAAM,EAAE,CAGzE"}
|
package/dist/logo.js
CHANGED
|
@@ -11,27 +11,25 @@
|
|
|
11
11
|
* anyone forcing ASCII has said what they want.
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* Half-block art, 34 columns by
|
|
14
|
+
* Half-block art, 34 columns by 6 rows.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
16
|
+
* Cropped to the stems' cap height, which is the fix for a complaint made three times: the arms
|
|
17
|
+
* in the source mark rise above the stems, so the top and bottom rows held nothing but two arm
|
|
18
|
+
* tips floating clear of everything else. Symmetry was not the problem — both K's were provably
|
|
19
|
+
* mirrored — and testing for symmetry is why it took three tries to see. Rasterising the art and
|
|
20
|
+
* counting connected components is the test that finds this: the mark must be exactly two shapes,
|
|
21
|
+
* with no cell of either one detached from its stem.
|
|
20
22
|
*
|
|
21
|
-
* The
|
|
22
|
-
*
|
|
23
|
-
* is already carried by the row beneath it.
|
|
23
|
+
* The lower half is the upper half mirrored rather than what the conversion produced, which was
|
|
24
|
+
* a pixel out of true and read as lopsided. A K is symmetric about its own middle.
|
|
24
25
|
*/
|
|
25
26
|
export const LOGO_BLOCKS = [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"█████ ▀█████ █████▀ █████",
|
|
33
|
-
"████▀ ▀████ ████▀ ▀████",
|
|
34
|
-
" ▀██ ██▀",
|
|
27
|
+
"█████ ▄████▀ ▀████▄ █████",
|
|
28
|
+
"█████ ▄████▀ ▀████▄ █████",
|
|
29
|
+
"█████▄█████▀ ▀█████▄█████",
|
|
30
|
+
"█████▀█████▄ ▄█████▀█████",
|
|
31
|
+
"█████ ▀████▄ ▄████▀ █████",
|
|
32
|
+
"█████ ▀████▄ ▄████▀ █████",
|
|
35
33
|
];
|
|
36
34
|
/**
|
|
37
35
|
* The same shape in characters every terminal has.
|
|
@@ -40,20 +38,16 @@ export const LOGO_BLOCKS = [
|
|
|
40
38
|
* drift from the mark the moment either is edited.
|
|
41
39
|
*
|
|
42
40
|
* One character for every inked cell, whole or half. Using " and _ for the halves was closer to a
|
|
43
|
-
* half-block in principle and wrong in practice: an underscore reads as a direction, so the
|
|
44
|
-
*
|
|
45
|
-
* stray mark rather than part of the letter. Reported as "the extra -## on the right K".
|
|
41
|
+
* half-block in principle and wrong in practice: an underscore reads as a direction, so the arm
|
|
42
|
+
* tips carried a dash pointing away from the letter.
|
|
46
43
|
*/
|
|
47
44
|
export const LOGO_ASCII = [
|
|
48
|
-
"
|
|
49
|
-
"##### #####
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"##### ###### ###### #####",
|
|
55
|
-
"##### ##### ##### #####",
|
|
56
|
-
" ### ###",
|
|
45
|
+
"##### ###### ###### #####",
|
|
46
|
+
"##### ###### ###### #####",
|
|
47
|
+
"############ ############",
|
|
48
|
+
"############ ############",
|
|
49
|
+
"##### ###### ###### #####",
|
|
50
|
+
"##### ###### ###### #####",
|
|
57
51
|
];
|
|
58
52
|
/** How wide the logo needs the terminal to be before it is worth drawing. */
|
|
59
53
|
export const LOGO_MIN_COLUMNS = 38;
|
package/dist/logo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo.js","sourceRoot":"","sources":["../src/logo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH
|
|
1
|
+
{"version":3,"file":"logo.js","sourceRoot":"","sources":["../src/logo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,WAAW,GAAsB;IAC5C,oCAAoC;IACpC,oCAAoC;IACpC,oCAAoC;IACpC,oCAAoC;IACpC,oCAAoC;IACpC,oCAAoC;CACrC,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,UAAU,GAAsB;IAC3C,oCAAoC;IACpC,oCAAoC;IACpC,oCAAoC;IACpC,oCAAoC;IACpC,oCAAoC;IACpC,oCAAoC;CACrC,CAAC;AAEF,6EAA6E;AAC7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAEnC;;;;;GAKG;AACH,MAAM,UAAU,OAAO,CAAC,OAAe,EAAE,KAAK,GAAG,KAAK;IACpD,IAAI,OAAO,GAAG,gBAAgB;QAAE,OAAO,EAAE,CAAC;IAC1C,OAAO,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"}
|