@atlaskit/editor-plugins 15.0.48 → 16.0.0
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/CHANGELOG.md +90 -0
- package/package.json +10 -10
- package/autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_A/package.json +0 -8
- package/autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_B/package.json +0 -8
- package/autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_C/package.json +0 -8
- package/dist/cjs/autocomplete/entry-points/src-pm-plugins-autocomplete-plugin.js +0 -18
- package/dist/cjs/autocomplete/entry-points/src-pm-plugins-slow-lane-client.js +0 -36
- package/dist/cjs/autocomplete/entry-points/src-pm-plugins-text-predictor.js +0 -66
- package/dist/cjs/autocomplete/pm-plugins/autocomplete-plugin.js +0 -18
- package/dist/cjs/autocomplete/pm-plugins/slow-lane-client.js +0 -36
- package/dist/cjs/autocomplete/pm-plugins/text-predictor.js +0 -66
- package/dist/es2019/autocomplete/entry-points/src-pm-plugins-autocomplete-plugin.js +0 -4
- package/dist/es2019/autocomplete/entry-points/src-pm-plugins-slow-lane-client.js +0 -4
- package/dist/es2019/autocomplete/entry-points/src-pm-plugins-text-predictor.js +0 -4
- package/dist/es2019/autocomplete/pm-plugins/autocomplete-plugin.js +0 -4
- package/dist/es2019/autocomplete/pm-plugins/slow-lane-client.js +0 -4
- package/dist/es2019/autocomplete/pm-plugins/text-predictor.js +0 -4
- package/dist/esm/autocomplete/entry-points/src-pm-plugins-autocomplete-plugin.js +0 -4
- package/dist/esm/autocomplete/entry-points/src-pm-plugins-slow-lane-client.js +0 -4
- package/dist/esm/autocomplete/entry-points/src-pm-plugins-text-predictor.js +0 -4
- package/dist/esm/autocomplete/pm-plugins/autocomplete-plugin.js +0 -4
- package/dist/esm/autocomplete/pm-plugins/slow-lane-client.js +0 -4
- package/dist/esm/autocomplete/pm-plugins/text-predictor.js +0 -4
- package/dist/types/autocomplete/entry-points/src-pm-plugins-autocomplete-plugin.d.ts +0 -2
- package/dist/types/autocomplete/entry-points/src-pm-plugins-slow-lane-client.d.ts +0 -2
- package/dist/types/autocomplete/entry-points/src-pm-plugins-text-predictor.d.ts +0 -2
- package/dist/types/autocomplete/pm-plugins/autocomplete-plugin.d.ts +0 -2
- package/dist/types/autocomplete/pm-plugins/slow-lane-client.d.ts +0 -2
- package/dist/types/autocomplete/pm-plugins/text-predictor.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,95 @@
|
|
|
1
1
|
# @atlaskit/editor-plugins
|
|
2
2
|
|
|
3
|
+
## 16.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`94ddcfaca6b5d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/94ddcfaca6b5d) -
|
|
8
|
+
Improve client-only contextual typeahead confidence and responsiveness, and extend it to bigram
|
|
9
|
+
and phrase completions.
|
|
10
|
+
|
|
11
|
+
All of this ships inside the autocomplete plugin, which is only ever added to a preset behind an
|
|
12
|
+
experiment that defaults to off: `platform_editor_ai_autocomplete_rovo_chat_editor` for Rovo chat,
|
|
13
|
+
with a Confluence `productKey` check ahead of the read, and
|
|
14
|
+
`platform_editor_ai_autocomplete_conf_comments` for Confluence comments. The on-device model path
|
|
15
|
+
these changes concentrate on is additionally behind
|
|
16
|
+
`platform_editor_ai_autocomplete_conf_local_setup`, which selects the slow-lane client. With those
|
|
17
|
+
experiments off the plugin is never constructed, so nothing here runs.
|
|
18
|
+
|
|
19
|
+
**Confidence.** Candidates competing at the same word boundary are normalised into a posterior
|
|
20
|
+
over that shortlist, so a suggestion's confidence is the share of probability mass the model puts
|
|
21
|
+
on it rather than its distance from whichever candidate happens to lead. The comparison is made on
|
|
22
|
+
each surface's sequence log-likelihood rather than its per-token mean, which is not comparable
|
|
23
|
+
across surfaces of different token counts. A shortlist is normalised over its minimal members
|
|
24
|
+
only, so a surface and its own extension are no longer double-counted. A surface must additionally
|
|
25
|
+
clear an absolute plausibility floor, anchored at the uniform distribution over the model's
|
|
26
|
+
49,152-token vocabulary (about -10.8 nats) rather than read off a histogram, hold a clear lead
|
|
27
|
+
over the runner-up, and come from a shortlist that offered a real alternative. Completions shorter
|
|
28
|
+
than three characters are no longer offered, and multi-word terms are held to the same
|
|
29
|
+
previous-word grammar transition as single words.
|
|
30
|
+
|
|
31
|
+
**Responsiveness.** Candidate work starts at two typed characters while ghost text stays gated at
|
|
32
|
+
three and must arrive within a 100 ms decision window. Queued scoring work is drained in an order
|
|
33
|
+
that keeps the engine's decoded sequence alive, so continuing a prefix costs a single decode step
|
|
34
|
+
instead of a full prompt prefill, and work no live decision would accept is discarded rather than
|
|
35
|
+
run. Contexts keep their prefilled model state until 128 are resident rather than 32, which stops
|
|
36
|
+
contexts being evicted while still in use. Once displayed, a ghost is an immutable snapshot shared
|
|
37
|
+
by rendering, Tab insertion, analytics and cooldown, so a later model result cannot make the
|
|
38
|
+
visible completion disagree with the inserted one.
|
|
39
|
+
|
|
40
|
+
**Per-keystroke cost.** One keystroke runs `predict()` several times — once when the decision
|
|
41
|
+
opens and again for each async evidence signal that lands inside the budget — and only the
|
|
42
|
+
evidence differs between those runs. Trie recall and the canonical context derived per candidate
|
|
43
|
+
are computed once and reused across them, invalidated when an artifact load changes what the tries
|
|
44
|
+
can return. Within one derivation the position-dependent half of a candidate's context is shared
|
|
45
|
+
by every candidate starting at the same offset, rather than being rebuilt a couple of hundred
|
|
46
|
+
times. A distribution's log-partition is memoised per logits buffer, since it does not depend on
|
|
47
|
+
the token being scored and the two full-vocabulary passes behind it previously ran once per
|
|
48
|
+
candidate for an answer that could not change. None of this changes which suggestion is chosen.
|
|
49
|
+
|
|
50
|
+
**Multi-word completions.** Bigrams and phrases are surfaced from a first-word or in-progress
|
|
51
|
+
window, frequency is normalised per term type, and selection runs a per-type precision floor
|
|
52
|
+
followed by expected-value arbitration, so the longest confident unit wins and a shaky long unit
|
|
53
|
+
self-demotes to a safer shorter one. Phrases surface only once the on-device continuation LM has
|
|
54
|
+
vouched for them. A whole-surface repetition guard and a post-accept cooldown together prevent
|
|
55
|
+
echoes such as `end to end` becoming `end to end to end`.
|
|
56
|
+
|
|
57
|
+
**Artifacts.** `bigrams.json`, `phrases.json` and `phrase-continuation-tokens.json` are resolved
|
|
58
|
+
from the artifacts manifest alongside the vocabulary and grammar payloads, so they are served from
|
|
59
|
+
the CDN rather than bundled. Each is fetched independently, so an unpublished payload disables
|
|
60
|
+
only its own term type. Every artifact is shape-checked as it downloads, failing at the boundary
|
|
61
|
+
naming the artifact rather than degrading later into an empty trie.
|
|
62
|
+
|
|
63
|
+
**Diagnostics.** Debug output is unified under a single `[CTC]` namespace behind
|
|
64
|
+
`__atlCtcDebug__.enable()`, with one collapsed group per keystroke and an opt-in verbose level for
|
|
65
|
+
the scored candidate table. All informational console output is routed behind the flag.
|
|
66
|
+
|
|
67
|
+
**Breaking change.** `@atlaskit/editor-plugin-autocomplete` no longer exposes its pm-plugin
|
|
68
|
+
modules as subpaths. The `./src/pm-plugins/autocomplete-plugin`,
|
|
69
|
+
`./src/pm-plugins/slow-lane-client` and `./src/pm-plugins/text-predictor` entry points are
|
|
70
|
+
removed, along with the `CANONICAL_FIX__DO_NOT_USE_ME_A`, `_B` and `_C` subpaths that exposed the
|
|
71
|
+
same three modules in raw form. The matching `./autocomplete/*` re-export wrappers in
|
|
72
|
+
`@atlaskit/editor-plugins` are removed too. No product consumed any of them; they were reachable
|
|
73
|
+
only from this plugin's own test package and the generated aggregator.
|
|
74
|
+
|
|
75
|
+
Removing both sets together is deliberate. The curated subpaths were named after real file paths,
|
|
76
|
+
so each one shadowed the module it wrapped and left two files claiming the same bundler canonical
|
|
77
|
+
id — which is what the `CANONICAL_FIX` subpaths existed to disambiguate. Keeping either set alone
|
|
78
|
+
reintroduces the collision. With both gone, nothing shadows a source path, and because the
|
|
79
|
+
wrappers mirrored the raw modules under an exact export-parity test, `@atlaskit/editor-plugins` is
|
|
80
|
+
no longer coupled to this plugin's internal module layout. `./autocompletePlugin` and
|
|
81
|
+
`./autocompletePluginType` are unaffected.
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- Updated dependencies
|
|
86
|
+
|
|
87
|
+
## 15.0.49
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- Updated dependencies
|
|
92
|
+
|
|
3
93
|
## 15.0.48
|
|
4
94
|
|
|
5
95
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugins",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"description": "A convenience facade package that exposes all @atlaskit/editor-plugin-* plugins so that users can add this package without having to manually add all their plugins",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@atlaskit/editor-plugin-alignment": "16.0.1",
|
|
27
27
|
"@atlaskit/editor-plugin-analytics": "15.0.1",
|
|
28
28
|
"@atlaskit/editor-plugin-annotation": "15.0.1",
|
|
29
|
-
"@atlaskit/editor-plugin-autocomplete": "
|
|
29
|
+
"@atlaskit/editor-plugin-autocomplete": "9.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-avatar-group": "16.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-base": "16.0.1",
|
|
32
32
|
"@atlaskit/editor-plugin-batch-attribute-updates": "15.0.1",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-block-menu": "14.0.1",
|
|
38
38
|
"@atlaskit/editor-plugin-block-type": "19.0.2",
|
|
39
39
|
"@atlaskit/editor-plugin-border": "15.0.1",
|
|
40
|
-
"@atlaskit/editor-plugin-breakout": "15.0.
|
|
41
|
-
"@atlaskit/editor-plugin-caption": "15.0
|
|
40
|
+
"@atlaskit/editor-plugin-breakout": "15.0.2",
|
|
41
|
+
"@atlaskit/editor-plugin-caption": "15.1.0",
|
|
42
42
|
"@atlaskit/editor-plugin-card": "21.0.1",
|
|
43
43
|
"@atlaskit/editor-plugin-clear-marks-on-empty-doc": "15.0.0",
|
|
44
44
|
"@atlaskit/editor-plugin-clipboard": "15.0.0",
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
"@atlaskit/editor-plugin-interaction": "26.0.0",
|
|
82
82
|
"@atlaskit/editor-plugin-layout": "16.0.2",
|
|
83
83
|
"@atlaskit/editor-plugin-limited-mode": "12.0.0",
|
|
84
|
-
"@atlaskit/editor-plugin-list": "17.0.
|
|
84
|
+
"@atlaskit/editor-plugin-list": "17.0.2",
|
|
85
85
|
"@atlaskit/editor-plugin-local-id": "13.0.1",
|
|
86
86
|
"@atlaskit/editor-plugin-loom": "17.0.0",
|
|
87
87
|
"@atlaskit/editor-plugin-max-content-size": "15.0.0",
|
|
88
88
|
"@atlaskit/editor-plugin-media": "17.0.1",
|
|
89
89
|
"@atlaskit/editor-plugin-media-editing": "9.0.0",
|
|
90
90
|
"@atlaskit/editor-plugin-media-insert": "30.0.1",
|
|
91
|
-
"@atlaskit/editor-plugin-mentions": "17.1.
|
|
91
|
+
"@atlaskit/editor-plugin-mentions": "17.1.2",
|
|
92
92
|
"@atlaskit/editor-plugin-metrics": "16.0.1",
|
|
93
93
|
"@atlaskit/editor-plugin-panel": "17.0.1",
|
|
94
94
|
"@atlaskit/editor-plugin-paste": "16.0.1",
|
|
@@ -104,20 +104,20 @@
|
|
|
104
104
|
"@atlaskit/editor-plugin-selection-extension": "18.0.0",
|
|
105
105
|
"@atlaskit/editor-plugin-selection-marker": "15.0.0",
|
|
106
106
|
"@atlaskit/editor-plugin-selection-toolbar": "16.0.0",
|
|
107
|
-
"@atlaskit/editor-plugin-show-diff": "13.0.
|
|
107
|
+
"@atlaskit/editor-plugin-show-diff": "13.0.4",
|
|
108
108
|
"@atlaskit/editor-plugin-status": "16.0.1",
|
|
109
109
|
"@atlaskit/editor-plugin-submit-editor": "15.0.0",
|
|
110
110
|
"@atlaskit/editor-plugin-synced-block": "13.0.2",
|
|
111
|
-
"@atlaskit/editor-plugin-table": "27.0.
|
|
111
|
+
"@atlaskit/editor-plugin-table": "27.0.3",
|
|
112
112
|
"@atlaskit/editor-plugin-tasks-and-decisions": "18.0.2",
|
|
113
113
|
"@atlaskit/editor-plugin-text-color": "15.0.1",
|
|
114
114
|
"@atlaskit/editor-plugin-text-formatting": "15.0.1",
|
|
115
115
|
"@atlaskit/editor-plugin-toolbar": "12.0.1",
|
|
116
116
|
"@atlaskit/editor-plugin-toolbar-lists-indentation": "16.0.0",
|
|
117
|
-
"@atlaskit/editor-plugin-track-changes": "14.0.
|
|
117
|
+
"@atlaskit/editor-plugin-track-changes": "14.0.4",
|
|
118
118
|
"@atlaskit/editor-plugin-type-ahead": "16.1.1",
|
|
119
119
|
"@atlaskit/editor-plugin-ufo": "15.0.0",
|
|
120
|
-
"@atlaskit/editor-plugin-ui-control-registry": "9.0.
|
|
120
|
+
"@atlaskit/editor-plugin-ui-control-registry": "9.0.1",
|
|
121
121
|
"@atlaskit/editor-plugin-undo-redo": "15.0.0",
|
|
122
122
|
"@atlaskit/editor-plugin-unsupported-content": "15.0.1",
|
|
123
123
|
"@atlaskit/editor-plugin-user-intent": "13.0.0",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@atlaskit/editor-plugins/autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_A",
|
|
3
|
-
"main": "../../dist/cjs/autocomplete/pm-plugins/autocomplete-plugin.js",
|
|
4
|
-
"module": "../../dist/esm/autocomplete/pm-plugins/autocomplete-plugin.js",
|
|
5
|
-
"module:es2019": "../../dist/es2019/autocomplete/pm-plugins/autocomplete-plugin.js",
|
|
6
|
-
"sideEffects": false,
|
|
7
|
-
"types": "../../dist/types/autocomplete/pm-plugins/autocomplete-plugin.d.ts"
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@atlaskit/editor-plugins/autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_B",
|
|
3
|
-
"main": "../../dist/cjs/autocomplete/pm-plugins/slow-lane-client.js",
|
|
4
|
-
"module": "../../dist/esm/autocomplete/pm-plugins/slow-lane-client.js",
|
|
5
|
-
"module:es2019": "../../dist/es2019/autocomplete/pm-plugins/slow-lane-client.js",
|
|
6
|
-
"sideEffects": false,
|
|
7
|
-
"types": "../../dist/types/autocomplete/pm-plugins/slow-lane-client.d.ts"
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@atlaskit/editor-plugins/autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_C",
|
|
3
|
-
"main": "../../dist/cjs/autocomplete/pm-plugins/text-predictor.js",
|
|
4
|
-
"module": "../../dist/esm/autocomplete/pm-plugins/text-predictor.js",
|
|
5
|
-
"module:es2019": "../../dist/es2019/autocomplete/pm-plugins/text-predictor.js",
|
|
6
|
-
"sideEffects": false,
|
|
7
|
-
"types": "../../dist/types/autocomplete/pm-plugins/text-predictor.d.ts"
|
|
8
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "autocompletePluginKey", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _autocompletePlugin.autocompletePluginKey;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "createAutocompletePlugin", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _autocompletePlugin.createAutocompletePlugin;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
var _autocompletePlugin = require("@atlaskit/editor-plugin-autocomplete/src/pm-plugins/autocomplete-plugin");
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "createSlowLaneClient", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _slowLaneClient.createSlowLaneClient;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "getStoredContextVector", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _slowLaneClient.getStoredContextVector;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "getStoredLmLogits", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _slowLaneClient.getStoredLmLogits;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "isWordBoundary", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function get() {
|
|
27
|
-
return _slowLaneClient.isWordBoundary;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "setDefaultSlowLaneClient", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function get() {
|
|
33
|
-
return _slowLaneClient.setDefaultSlowLaneClient;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
var _slowLaneClient = require("@atlaskit/editor-plugin-autocomplete/src/pm-plugins/slow-lane-client");
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "getLastPredictionDebug", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _textPredictor.getLastPredictionDebug;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "getPredictorStatus", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _textPredictor.getPredictorStatus;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "incrementSessionFreq", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _textPredictor.incrementSessionFreq;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "ingestDocumentPage", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function get() {
|
|
27
|
-
return _textPredictor.ingestDocumentPage;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "initL3Vocabulary", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function get() {
|
|
33
|
-
return _textPredictor.initL3Vocabulary;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "initVectors", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function get() {
|
|
39
|
-
return _textPredictor.initVectors;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "initVocabulary", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function get() {
|
|
45
|
-
return _textPredictor.initVocabulary;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "loadDefaultVocabulary", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function get() {
|
|
51
|
-
return _textPredictor.loadDefaultVocabulary;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "loadVectorsAsync", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function get() {
|
|
57
|
-
return _textPredictor.loadVectorsAsync;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "predict", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function get() {
|
|
63
|
-
return _textPredictor.predict;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
var _textPredictor = require("@atlaskit/editor-plugin-autocomplete/src/pm-plugins/text-predictor");
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "autocompletePluginKey", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_A.autocompletePluginKey;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "createAutocompletePlugin", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_A.createAutocompletePlugin;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
var _CANONICAL_FIX__DO_NOT_USE_ME_A = require("@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_A");
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "createSlowLaneClient", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_B.createSlowLaneClient;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "getStoredContextVector", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_B.getStoredContextVector;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "getStoredLmLogits", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_B.getStoredLmLogits;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "isWordBoundary", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function get() {
|
|
27
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_B.isWordBoundary;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "setDefaultSlowLaneClient", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function get() {
|
|
33
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_B.setDefaultSlowLaneClient;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
var _CANONICAL_FIX__DO_NOT_USE_ME_B = require("@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_B");
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "getLastPredictionDebug", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.getLastPredictionDebug;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "getPredictorStatus", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.getPredictorStatus;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "incrementSessionFreq", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.incrementSessionFreq;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "ingestDocumentPage", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function get() {
|
|
27
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.ingestDocumentPage;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
Object.defineProperty(exports, "initL3Vocabulary", {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function get() {
|
|
33
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.initL3Vocabulary;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "initVectors", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function get() {
|
|
39
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.initVectors;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "initVocabulary", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function get() {
|
|
45
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.initVocabulary;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "loadDefaultVocabulary", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function get() {
|
|
51
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.loadDefaultVocabulary;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "loadVectorsAsync", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function get() {
|
|
57
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.loadVectorsAsync;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "predict", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function get() {
|
|
63
|
-
return _CANONICAL_FIX__DO_NOT_USE_ME_C.predict;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
var _CANONICAL_FIX__DO_NOT_USE_ME_C = require("@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_C");
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { autocompletePluginKey, createAutocompletePlugin } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/autocomplete-plugin';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { createSlowLaneClient, getStoredContextVector, getStoredLmLogits, isWordBoundary, setDefaultSlowLaneClient } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/slow-lane-client';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { getLastPredictionDebug, getPredictorStatus, incrementSessionFreq, ingestDocumentPage, initL3Vocabulary, initVectors, initVocabulary, loadDefaultVocabulary, loadVectorsAsync, predict } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/text-predictor';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { autocompletePluginKey, createAutocompletePlugin } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_A';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { isWordBoundary, createSlowLaneClient, setDefaultSlowLaneClient, getStoredContextVector, getStoredLmLogits } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_B';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { initL3Vocabulary, getPredictorStatus, getLastPredictionDebug, initVocabulary, incrementSessionFreq, ingestDocumentPage, predict, loadVectorsAsync, initVectors, loadDefaultVocabulary } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_C';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { autocompletePluginKey, createAutocompletePlugin } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/autocomplete-plugin';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { createSlowLaneClient, getStoredContextVector, getStoredLmLogits, isWordBoundary, setDefaultSlowLaneClient } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/slow-lane-client';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { getLastPredictionDebug, getPredictorStatus, incrementSessionFreq, ingestDocumentPage, initL3Vocabulary, initVectors, initVocabulary, loadDefaultVocabulary, loadVectorsAsync, predict } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/text-predictor';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { autocompletePluginKey, createAutocompletePlugin } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_A';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { isWordBoundary, createSlowLaneClient, setDefaultSlowLaneClient, getStoredContextVector, getStoredLmLogits } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_B';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED via packages/editor/editor-plugins/scripts/update-editor-plugins.ts. DO NOT MODIFY IT MANUALLY.
|
|
2
|
-
// Disable no-re-export rule for entry point files
|
|
3
|
-
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
4
|
-
export { initL3Vocabulary, getPredictorStatus, getLastPredictionDebug, initVocabulary, incrementSessionFreq, ingestDocumentPage, predict, loadVectorsAsync, initVectors, loadDefaultVocabulary } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_C';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { autocompletePluginKey, createAutocompletePlugin, } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/autocomplete-plugin';
|
|
2
|
-
export type { AutocompleteContext, AutocompletePluginOptions, AutocompletePluginState, } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/autocomplete-plugin';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { createSlowLaneClient, getStoredContextVector, getStoredLmLogits, isWordBoundary, setDefaultSlowLaneClient, } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/slow-lane-client';
|
|
2
|
-
export type { SlowLaneClientConfig, TypeaheadEncodingsRequest, TypeaheadEncodingsResponse, } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/slow-lane-client';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { getLastPredictionDebug, getPredictorStatus, incrementSessionFreq, ingestDocumentPage, initL3Vocabulary, initVectors, initVocabulary, loadDefaultVocabulary, loadVectorsAsync, predict, } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/text-predictor';
|
|
2
|
-
export type { TenantVocabulary, WeightedTerm, } from '@atlaskit/editor-plugin-autocomplete/src/pm-plugins/text-predictor';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { autocompletePluginKey, createAutocompletePlugin, } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_A';
|
|
2
|
-
export type { AutocompletePluginState, AutocompleteContext, AutocompletePluginOptions, } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_A';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { isWordBoundary, createSlowLaneClient, setDefaultSlowLaneClient, getStoredContextVector, getStoredLmLogits, } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_B';
|
|
2
|
-
export type { TypeaheadEncodingsRequest, TypeaheadEncodingsResponse, SlowLaneClientConfig, } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_B';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { initL3Vocabulary, getPredictorStatus, getLastPredictionDebug, initVocabulary, incrementSessionFreq, ingestDocumentPage, predict, loadVectorsAsync, initVectors, loadDefaultVocabulary, } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_C';
|
|
2
|
-
export type { WeightedTerm, TenantVocabulary, } from '@atlaskit/editor-plugin-autocomplete/CANONICAL_FIX__DO_NOT_USE_ME_C';
|