@project-ava-supernova/core 0.2.71 → 0.2.73
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/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.js +138 -38
- package/dist/agent/agent.js.map +1 -1
- package/dist/agent/mode-tags.d.ts +72 -0
- package/dist/agent/mode-tags.d.ts.map +1 -0
- package/dist/agent/mode-tags.js +84 -0
- package/dist/agent/mode-tags.js.map +1 -0
- package/dist/agent/system-prompt.d.ts +16 -2
- package/dist/agent/system-prompt.d.ts.map +1 -1
- package/dist/agent/system-prompt.js +178 -24
- package/dist/agent/system-prompt.js.map +1 -1
- package/dist/brainstorm/brainstorm-store.d.ts +42 -0
- package/dist/brainstorm/brainstorm-store.d.ts.map +1 -0
- package/dist/brainstorm/brainstorm-store.js +164 -0
- package/dist/brainstorm/brainstorm-store.js.map +1 -0
- package/dist/brainstorm/types.d.ts +64 -0
- package/dist/brainstorm/types.d.ts.map +1 -0
- package/dist/brainstorm/types.js +20 -0
- package/dist/brainstorm/types.js.map +1 -0
- package/dist/config/project.d.ts.map +1 -1
- package/dist/config/project.js +3 -1
- package/dist/config/project.js.map +1 -1
- package/dist/config/schema.d.ts +13 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js.map +1 -1
- package/dist/dataset/capture.d.ts.map +1 -1
- package/dist/dataset/capture.js +6 -14
- package/dist/dataset/capture.js.map +1 -1
- package/dist/history/conversation-title.d.ts +5 -4
- package/dist/history/conversation-title.d.ts.map +1 -1
- package/dist/history/conversation-title.js +6 -19
- package/dist/history/conversation-title.js.map +1 -1
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +41 -13
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +41 -13
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +38 -10
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +41 -13
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +41 -13
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +41 -13
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +41 -13
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/id.d.ts.map +1 -1
- package/dist/i18n/locales/id.js +41 -13
- package/dist/i18n/locales/id.js.map +1 -1
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +41 -13
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +41 -13
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/ko.d.ts.map +1 -1
- package/dist/i18n/locales/ko.js +41 -13
- package/dist/i18n/locales/ko.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +41 -13
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +41 -13
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +41 -13
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +41 -13
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/th.d.ts.map +1 -1
- package/dist/i18n/locales/th.js +41 -13
- package/dist/i18n/locales/th.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +41 -13
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/uk.d.ts.map +1 -1
- package/dist/i18n/locales/uk.js +41 -13
- package/dist/i18n/locales/uk.js.map +1 -1
- package/dist/i18n/locales/vi.d.ts.map +1 -1
- package/dist/i18n/locales/vi.js +41 -13
- package/dist/i18n/locales/vi.js.map +1 -1
- package/dist/i18n/locales/zh-CN.d.ts.map +1 -1
- package/dist/i18n/locales/zh-CN.js +41 -13
- package/dist/i18n/locales/zh-CN.js.map +1 -1
- package/dist/i18n/locales/zh-TW.d.ts.map +1 -1
- package/dist/i18n/locales/zh-TW.js +41 -13
- package/dist/i18n/locales/zh-TW.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/journal/journal-manager.d.ts +22 -1
- package/dist/journal/journal-manager.d.ts.map +1 -1
- package/dist/journal/journal-manager.js +47 -2
- package/dist/journal/journal-manager.js.map +1 -1
- package/dist/personas/conductor.d.ts +11 -0
- package/dist/personas/conductor.d.ts.map +1 -1
- package/dist/personas/conductor.js +56 -12
- package/dist/personas/conductor.js.map +1 -1
- package/dist/personas/definitions.d.ts +15 -4
- package/dist/personas/definitions.d.ts.map +1 -1
- package/dist/personas/definitions.js +184 -19
- package/dist/personas/definitions.js.map +1 -1
- package/dist/personas/types.d.ts +1 -1
- package/dist/personas/types.d.ts.map +1 -1
- package/dist/projects/project-data.d.ts +73 -0
- package/dist/projects/project-data.d.ts.map +1 -0
- package/dist/projects/project-data.js +126 -0
- package/dist/projects/project-data.js.map +1 -0
- package/dist/projects/projects-home.d.ts +33 -0
- package/dist/projects/projects-home.d.ts.map +1 -0
- package/dist/projects/projects-home.js +43 -0
- package/dist/projects/projects-home.js.map +1 -0
- package/dist/projects/storage-categories.d.ts +45 -0
- package/dist/projects/storage-categories.d.ts.map +1 -0
- package/dist/projects/storage-categories.js +86 -0
- package/dist/projects/storage-categories.js.map +1 -0
- package/dist/social/index.d.ts +19 -4
- package/dist/social/index.d.ts.map +1 -1
- package/dist/tools/authoring/export-document.d.ts +45 -0
- package/dist/tools/authoring/export-document.d.ts.map +1 -0
- package/dist/tools/authoring/export-document.js +132 -0
- package/dist/tools/authoring/export-document.js.map +1 -0
- package/dist/tools/authoring/export-formats.d.ts +37 -0
- package/dist/tools/authoring/export-formats.d.ts.map +1 -0
- package/dist/tools/authoring/export-formats.js +50 -0
- package/dist/tools/authoring/export-formats.js.map +1 -0
- package/dist/tools/authoring/index.d.ts +6 -1
- package/dist/tools/authoring/index.d.ts.map +1 -1
- package/dist/tools/authoring/index.js +9 -0
- package/dist/tools/authoring/index.js.map +1 -1
- package/dist/tools/authoring/render-odf.d.ts +22 -0
- package/dist/tools/authoring/render-odf.d.ts.map +1 -0
- package/dist/tools/authoring/render-odf.js +604 -0
- package/dist/tools/authoring/render-odf.js.map +1 -0
- package/dist/tools/authoring/zip.d.ts +33 -0
- package/dist/tools/authoring/zip.d.ts.map +1 -0
- package/dist/tools/authoring/zip.js +125 -0
- package/dist/tools/authoring/zip.js.map +1 -0
- package/dist/tools/brainstorm-session.d.ts +29 -0
- package/dist/tools/brainstorm-session.d.ts.map +1 -0
- package/dist/tools/brainstorm-session.js +184 -0
- package/dist/tools/brainstorm-session.js.map +1 -0
- package/dist/tools/document-author.d.ts +1 -1
- package/dist/tools/document-author.d.ts.map +1 -1
- package/dist/tools/document-author.js +22 -5
- package/dist/tools/document-author.js.map +1 -1
- package/dist/tools/security.d.ts +25 -0
- package/dist/tools/security.d.ts.map +1 -1
- package/dist/tools/security.js +35 -0
- package/dist/tools/security.js.map +1 -1
- package/dist/tools/suggest-beats.d.ts.map +1 -1
- package/dist/tools/suggest-beats.js +3 -2
- package/dist/tools/suggest-beats.js.map +1 -1
- package/dist/tools/tool-registry.d.ts.map +1 -1
- package/dist/tools/tool-registry.js +4 -0
- package/dist/tools/tool-registry.js.map +1 -1
- package/dist/tools/verification-trust.d.ts +2 -2
- package/dist/tools/verification-trust.d.ts.map +1 -1
- package/dist/tools/verification-trust.js +11 -13
- package/dist/tools/verification-trust.js.map +1 -1
- package/dist/tools/write-video-post.d.ts.map +1 -1
- package/dist/tools/write-video-post.js +89 -13
- package/dist/tools/write-video-post.js.map +1 -1
- package/package.json +26 -1
|
@@ -38,7 +38,7 @@ export class WriteVideoPostTool {
|
|
|
38
38
|
},
|
|
39
39
|
script: {
|
|
40
40
|
type: 'string',
|
|
41
|
-
description: 'What YOU SAY over the clip, spoken in your own voice. Written to be heard, not read — short sentences, no hashtags, no emoji, no "link in bio".
|
|
41
|
+
description: 'What YOU SAY over the clip, spoken in your own voice. Written to be heard, not read — short sentences, no hashtags, no emoji, no "link in bio". WRITE THE LINE YOU MEAN and leave `duration` out — the clip is then sized to hold it. Both bounds are enforced: roughly 15-20 words at 10s, 25-32 at 15s, 52-68 at 30s, and any length in between. AIM AT THE TOP of whichever range applies. There is air at each end so your voice does not start on the first frame or stop on the last. Timed against the real voice at about 2.4 words a second. The ceiling keeps the voice inside the picture: a voice still talking after the clip stops is the most obviously broken thing a short can do. The floor keeps the picture from running on alone, and under 3 seconds Wan refuses the audio outright so nothing renders. A voiced clip is never 5 seconds — ask for 10 or more. Thirty seconds is a different KIND of writing, not a longer version of the same one: it is a walkthrough or a demonstration, and padding a hook to fill it is worse than keeping it short. Omit the script entirely for a silent clip — the model scores its own audio, and a picture carried by that soundtrack is a real choice rather than a fallback.',
|
|
42
42
|
},
|
|
43
43
|
caption: {
|
|
44
44
|
type: 'string',
|
|
@@ -46,7 +46,7 @@ export class WriteVideoPostTool {
|
|
|
46
46
|
},
|
|
47
47
|
duration: {
|
|
48
48
|
type: 'number',
|
|
49
|
-
description: 'Clip length in seconds. Keep it to what the
|
|
49
|
+
description: 'Clip length in seconds, 2-30. USUALLY LEAVE THIS OUT when there is a script — it is derived from the words so the two cannot disagree. Set it only when the LENGTH is the point rather than the line: a demonstration with few words and a lot to show. Keep it to what the material actually needs — a padded clip loses the viewer, and that gets easier to do with more room. 10 is the default shape for a hook. 15 suits a full coaching line. 30 is for something that genuinely needs showing: a walkthrough, a before-and-after, a process. Naming a `recipe` caps this at 15, because a food video animates our own photograph and that model stops there.',
|
|
50
50
|
},
|
|
51
51
|
title: { type: 'string', description: 'Optional short title for the library.' },
|
|
52
52
|
hashtags: {
|
|
@@ -159,16 +159,89 @@ export class WriteVideoPostTool {
|
|
|
159
159
|
// changes, re-measure; do not carry these numbers over.
|
|
160
160
|
const MIN_SPEECH_SECONDS = 3.0;
|
|
161
161
|
const SLOWEST_WORDS_PER_SECOND = 2.41;
|
|
162
|
-
/**
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
/**
|
|
163
|
+
* Air at BOTH ends, so the voice does not start on frame one and does not
|
|
164
|
+
* stop on the last frame.
|
|
165
|
+
*
|
|
166
|
+
* The comment above always said "a second of air at each end" — the code
|
|
167
|
+
* only ever subtracted 0.5 once, and nothing at the start, so the voice
|
|
168
|
+
* began the instant the picture did. Operator, 2026-08-26: *"i feel thats
|
|
169
|
+
* what would feel unnatraul"*. It is: a clip filled hard from first frame
|
|
170
|
+
* to last reads as rushed, and it gets worse the longer the clip runs.
|
|
171
|
+
*
|
|
172
|
+
* 0.75 each end rather than a full second, which would take a 10s clip down
|
|
173
|
+
* to 14-19 words — tight for a hook. This costs a couple of words and buys
|
|
174
|
+
* a beat of picture before she speaks and a beat after she stops.
|
|
175
|
+
*/
|
|
176
|
+
const LEAD_IN_SECONDS = 0.75;
|
|
177
|
+
const TRAILING_AIR_SECONDS = 0.75;
|
|
178
|
+
/**
|
|
179
|
+
* How much of the clip the script should FILL, as a fraction of the
|
|
180
|
+
* ceiling.
|
|
181
|
+
*
|
|
182
|
+
* 0.77 is not arbitrary: at 10 seconds it reproduces the floor of 17 that
|
|
183
|
+
* was arrived at the hard way, so the rule that was measured is preserved
|
|
184
|
+
* rather than replaced. It now scales instead of being a single number
|
|
185
|
+
* that only made sense for one length.
|
|
186
|
+
*/
|
|
187
|
+
const FILL_RATIO = 0.77;
|
|
165
188
|
const wantsVoice = !!script;
|
|
166
|
-
|
|
189
|
+
/**
|
|
190
|
+
* How long the clip may run.
|
|
191
|
+
*
|
|
192
|
+
* A food video names a dish we photographed, so it animates OUR image —
|
|
193
|
+
* image-to-video, which tops out at 15s on wan2.7-i2v. Everything else is
|
|
194
|
+
* text-to-video on wan3.0-video, which reaches 30s. Those ceilings are the
|
|
195
|
+
* models' own, quoted from their validators, and the platform route clamps
|
|
196
|
+
* to them independently; matching them here means the SCRIPT is written for
|
|
197
|
+
* the length that will actually render. Get this wrong and a script sized
|
|
198
|
+
* for 30 seconds gets a 15-second clip, and the voice runs past the end —
|
|
199
|
+
* the exact failure everything below exists to prevent.
|
|
200
|
+
*/
|
|
201
|
+
const maxDuration = args.recipe ? 15 : 30;
|
|
202
|
+
/** How many words a clip of this length can carry, with air at both ends. */
|
|
203
|
+
const wordBudget = (seconds) => Math.floor(Math.max(1, seconds - LEAD_IN_SECONDS - TRAILING_AIR_SECONDS) * SLOWEST_WORDS_PER_SECOND);
|
|
204
|
+
/**
|
|
205
|
+
* A voiced clip is never shorter than 10 seconds. The window below that is
|
|
206
|
+
* empty: every script short enough to fit is too short for Wan to accept as
|
|
207
|
+
* audio at all (see the 3.0s minimum above). Learned when a six-word line
|
|
208
|
+
* killed every food video with a generic "generation failed".
|
|
209
|
+
*/
|
|
210
|
+
const MIN_VOICED_SECONDS = 10;
|
|
211
|
+
const scriptWords = script ? script.split(/\s+/).filter(Boolean).length : 0;
|
|
212
|
+
/**
|
|
213
|
+
* Duration follows the SCRIPT when she has not named one.
|
|
214
|
+
*
|
|
215
|
+
* She used to have to guess a length first and then cram words into it,
|
|
216
|
+
* finding out only after the attempt whether they fit. That was tolerable
|
|
217
|
+
* when 10 seconds was effectively the only option; with 10, 15 and 30 it is
|
|
218
|
+
* three times as many ways to guess wrong, and each wrong guess costs a
|
|
219
|
+
* turn. So: say the line you mean, and the clip is sized to hold it.
|
|
220
|
+
*
|
|
221
|
+
* An explicit duration still wins, because length is not only about the
|
|
222
|
+
* script — a demonstration may have few words and a great deal to SHOW.
|
|
223
|
+
*/
|
|
224
|
+
const requested = typeof args.duration === 'number' ? args.duration : undefined;
|
|
225
|
+
// The EXACT length that holds this script, not the nearest round number.
|
|
226
|
+
// Snapping to 10/15/30 leaves dead zones — 40 words is too long for 15s and
|
|
227
|
+
// too short to fill 30s, so it would be refused with nowhere to go. Both
|
|
228
|
+
// models take any whole number of seconds in range, so there is no reason
|
|
229
|
+
// to invent tiers they do not have.
|
|
230
|
+
const derived = script
|
|
231
|
+
? Math.min(maxDuration, Math.max(MIN_VOICED_SECONDS, Math.ceil(scriptWords / SLOWEST_WORDS_PER_SECOND + LEAD_IN_SECONDS + TRAILING_AIR_SECONDS)))
|
|
232
|
+
: 5;
|
|
233
|
+
const plannedDuration = requested === undefined
|
|
234
|
+
? derived
|
|
235
|
+
: (wantsVoice
|
|
236
|
+
? Math.max(10, Math.min(maxDuration, Math.round(requested)))
|
|
237
|
+
: Math.max(2, Math.min(maxDuration, Math.round(requested))));
|
|
167
238
|
if (script) {
|
|
168
|
-
const words =
|
|
169
|
-
const
|
|
170
|
-
|
|
171
|
-
|
|
239
|
+
const words = scriptWords;
|
|
240
|
+
const budget = wordBudget(plannedDuration);
|
|
241
|
+
// Never below what Wan will accept as audio at all, however short the
|
|
242
|
+
// clip: MIN_SPEECH_SECONDS at the FASTEST observed rate.
|
|
243
|
+
const audioFloor = Math.ceil(MIN_SPEECH_SECONDS * 2.78);
|
|
244
|
+
const floor = Math.max(audioFloor, Math.round(budget * FILL_RATIO));
|
|
172
245
|
if (words > budget) {
|
|
173
246
|
return {
|
|
174
247
|
success: false,
|
|
@@ -182,9 +255,10 @@ export class WriteVideoPostTool {
|
|
|
182
255
|
success: false,
|
|
183
256
|
output: `That script is only ${words} words — roughly ${(words / SLOWEST_WORDS_PER_SECOND).toFixed(1)}s of speech ` +
|
|
184
257
|
`in a ${plannedDuration}s clip, so the rest of the video would play in silence. Write ${floor}-${budget} words ` +
|
|
185
|
-
`and aim at the top of that range: ${budget} words fills the clip, ${floor} barely covers
|
|
258
|
+
`and aim at the top of that range: ${budget} words fills the clip, ${floor} barely covers three quarters ` +
|
|
186
259
|
`of it. (Under ${MIN_SPEECH_SECONDS}s Wan refuses the audio outright and nothing renders at all.) ` +
|
|
187
|
-
`Or drop the script entirely
|
|
260
|
+
`Or drop the script entirely — the model scores its own audio now, and a silent clip carried by the ` +
|
|
261
|
+
`picture and that soundtrack is a real choice rather than a fallback.`,
|
|
188
262
|
};
|
|
189
263
|
}
|
|
190
264
|
}
|
|
@@ -193,7 +267,9 @@ export class WriteVideoPostTool {
|
|
|
193
267
|
visual,
|
|
194
268
|
script: script || undefined,
|
|
195
269
|
caption: withLink,
|
|
196
|
-
|
|
270
|
+
// The length the SCRIPT was written for, not the raw request. If these
|
|
271
|
+
// diverge the voice overruns the picture.
|
|
272
|
+
duration: plannedDuration,
|
|
197
273
|
title: (args.title?.trim()) || undefined,
|
|
198
274
|
hashtags: Array.isArray(args.hashtags)
|
|
199
275
|
? args.hashtags.map(h => String(h).trim().replace(/^#/, '')).filter(Boolean)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write-video-post.js","sourceRoot":"","sources":["../../src/tools/write-video-post.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAA4C,MAAM,oBAAoB,CAAC;AAEpG;gEACgE;AAChE,MAAM,OAAO,GAAG,kBAAkB,CAAC;AAEnC;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,kBAAkB;IACpB,IAAI,GAAG,kBAAkB,CAAC;IAC1B,WAAW,GAClB,iHAAiH,CAAC;IAC3G,SAAS,GAAkB,OAAO,CAAC;IACnC,oBAAoB,GAAG,KAAK,CAAC;IAE7B,MAAM,GAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,WAAW,EACT,4bAA4b;QAC9b,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,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8BAA8B,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;aACzF,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@project-ava-supernova/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.73",
|
|
4
4
|
"description": "Core engine for Ava Supernova — agent, providers, tools, config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -148,6 +148,31 @@
|
|
|
148
148
|
"require": "./dist/health/starters.js",
|
|
149
149
|
"types": "./dist/health/starters.d.ts"
|
|
150
150
|
},
|
|
151
|
+
"./projects": {
|
|
152
|
+
"import": "./dist/projects/project-data.js",
|
|
153
|
+
"require": "./dist/projects/project-data.js",
|
|
154
|
+
"types": "./dist/projects/project-data.d.ts"
|
|
155
|
+
},
|
|
156
|
+
"./projects/home": {
|
|
157
|
+
"import": "./dist/projects/projects-home.js",
|
|
158
|
+
"require": "./dist/projects/projects-home.js",
|
|
159
|
+
"types": "./dist/projects/projects-home.d.ts"
|
|
160
|
+
},
|
|
161
|
+
"./projects/storage": {
|
|
162
|
+
"import": "./dist/projects/storage-categories.js",
|
|
163
|
+
"require": "./dist/projects/storage-categories.js",
|
|
164
|
+
"types": "./dist/projects/storage-categories.d.ts"
|
|
165
|
+
},
|
|
166
|
+
"./authoring/formats": {
|
|
167
|
+
"import": "./dist/tools/authoring/export-formats.js",
|
|
168
|
+
"require": "./dist/tools/authoring/export-formats.js",
|
|
169
|
+
"types": "./dist/tools/authoring/export-formats.d.ts"
|
|
170
|
+
},
|
|
171
|
+
"./authoring": {
|
|
172
|
+
"import": "./dist/tools/authoring/index.js",
|
|
173
|
+
"require": "./dist/tools/authoring/index.js",
|
|
174
|
+
"types": "./dist/tools/authoring/index.d.ts"
|
|
175
|
+
},
|
|
151
176
|
"./routing-modes": {
|
|
152
177
|
"import": "./dist/auto/routing-modes.js",
|
|
153
178
|
"require": "./dist/auto/routing-modes.js",
|