wicked-crew 0.18.13 → 0.18.15

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.
Files changed (113) hide show
  1. package/README.md +1 -1
  2. package/dist/api/chat-jobs.d.ts.map +1 -1
  3. package/dist/api/chat-jobs.js +20 -14
  4. package/dist/api/chat-jobs.js.map +1 -1
  5. package/dist/api/chat-proposals.d.ts.map +1 -1
  6. package/dist/api/chat-proposals.js +4 -2
  7. package/dist/api/chat-proposals.js.map +1 -1
  8. package/dist/api/mcp.d.ts +1 -0
  9. package/dist/api/mcp.d.ts.map +1 -1
  10. package/dist/api/mcp.js +16 -0
  11. package/dist/api/mcp.js.map +1 -1
  12. package/dist/api/routes.d.ts +2 -0
  13. package/dist/api/routes.d.ts.map +1 -1
  14. package/dist/api/routes.js +2 -1
  15. package/dist/api/routes.js.map +1 -1
  16. package/dist/apps/exec/sources.d.ts.map +1 -1
  17. package/dist/apps/exec/sources.js +7 -1
  18. package/dist/apps/exec/sources.js.map +1 -1
  19. package/dist/apps-server/server/lib/bundle/server.mjs +1854 -1840
  20. package/dist/cli/index.js +2 -2
  21. package/dist/cli/index.js.map +1 -1
  22. package/dist/cli/service.d.ts.map +1 -1
  23. package/dist/cli/service.js +50 -9
  24. package/dist/cli/service.js.map +1 -1
  25. package/dist/interactive/bridge-pool.d.ts +8 -2
  26. package/dist/interactive/bridge-pool.d.ts.map +1 -1
  27. package/dist/interactive/bridge-pool.js +7 -1
  28. package/dist/interactive/bridge-pool.js.map +1 -1
  29. package/dist/learn/scheduler.d.ts +1 -1
  30. package/dist/learn/scheduler.d.ts.map +1 -1
  31. package/dist/learn/scheduler.js +1 -10
  32. package/dist/learn/scheduler.js.map +1 -1
  33. package/dist/mcp/env.d.ts +30 -0
  34. package/dist/mcp/env.d.ts.map +1 -0
  35. package/dist/mcp/env.js +102 -0
  36. package/dist/mcp/env.js.map +1 -0
  37. package/dist/mcp/probe.d.ts +2 -0
  38. package/dist/mcp/probe.d.ts.map +1 -1
  39. package/dist/mcp/probe.js +1 -0
  40. package/dist/mcp/probe.js.map +1 -1
  41. package/dist/mcp/registry-store.d.ts +2 -0
  42. package/dist/mcp/registry-store.d.ts.map +1 -1
  43. package/dist/mcp/registry-store.js.map +1 -1
  44. package/dist/mcp/registry.d.ts.map +1 -1
  45. package/dist/mcp/registry.js +8 -2
  46. package/dist/mcp/registry.js.map +1 -1
  47. package/dist/mcp-inspect/routes.d.ts.map +1 -1
  48. package/dist/mcp-inspect/routes.js +2 -1
  49. package/dist/mcp-inspect/routes.js.map +1 -1
  50. package/dist/schedules/scheduler.d.ts +3 -3
  51. package/dist/schedules/scheduler.d.ts.map +1 -1
  52. package/dist/schedules/scheduler.js +4 -7
  53. package/dist/schedules/scheduler.js.map +1 -1
  54. package/dist/studio/assets/{KnowledgeGraph-BgXDoH6k.js → KnowledgeGraph-BsnkAeft.js} +1 -1
  55. package/dist/studio/assets/{index-CrcZTJjG.css → index-DsUknIuZ.css} +1 -1
  56. package/dist/studio/assets/{index-rMZ47jUD.js → index-KfQJ9Jw0.js} +292 -292
  57. package/dist/studio/editors/wicked-apps/editor.json +1 -1
  58. package/dist/studio/editors/wicked-apps/index.html +1 -1
  59. package/dist/studio/editors/wicked-deck/editor.json +1 -1
  60. package/dist/studio/editors/wicked-deck/index.html +1 -1
  61. package/dist/studio/editors/wicked-doc/editor.json +1 -1
  62. package/dist/studio/editors/wicked-doc/index.html +1 -1
  63. package/dist/studio/editors/wicked-insights/editor.json +1 -1
  64. package/dist/studio/editors/wicked-insights/index.html +1 -1
  65. package/dist/studio/editors/wicked-page/editor.json +1 -1
  66. package/dist/studio/editors/wicked-page/index.html +1 -1
  67. package/dist/studio/editors/wicked-video/editor.json +1 -1
  68. package/dist/studio/editors/wicked-video/index.html +1 -1
  69. package/dist/studio/index.html +2 -2
  70. package/dist/studio/testid-inventory.json +1 -1
  71. package/dist/voice/routes.d.ts +16 -0
  72. package/dist/voice/routes.d.ts.map +1 -1
  73. package/dist/voice/routes.js +54 -0
  74. package/dist/voice/routes.js.map +1 -1
  75. package/dist/voice/service.d.ts +1 -1
  76. package/dist/voice/service.d.ts.map +1 -1
  77. package/dist/voice/service.js.map +1 -1
  78. package/dist/voice/tts-manifest.d.ts +37 -0
  79. package/dist/voice/tts-manifest.d.ts.map +1 -0
  80. package/dist/voice/tts-manifest.js +40 -0
  81. package/dist/voice/tts-manifest.js.map +1 -0
  82. package/dist/voice/tts.d.ts +214 -0
  83. package/dist/voice/tts.d.ts.map +1 -0
  84. package/dist/voice/tts.js +821 -0
  85. package/dist/voice/tts.js.map +1 -0
  86. package/dist/workflow-catalog/catalog-data-v2.d.ts.map +1 -1
  87. package/dist/workflow-catalog/catalog-data-v2.js +2 -0
  88. package/dist/workflow-catalog/catalog-data-v2.js.map +1 -1
  89. package/endpoint-manifest.json +64 -1
  90. package/package.json +5 -4
  91. package/voice-locks/darwin-arm64-cp310.txt +107 -0
  92. package/voice-locks/darwin-arm64-cp311.txt +118 -0
  93. package/voice-locks/darwin-arm64-cp312.txt +112 -0
  94. package/voice-locks/darwin-arm64-cp313.txt +112 -0
  95. package/voice-locks/darwin-arm64-cp314.txt +112 -0
  96. package/voice-locks/darwin-arm64-cp39.txt +102 -0
  97. package/voice-locks/darwin-x64-cp310.txt +107 -0
  98. package/voice-locks/darwin-x64-cp311.txt +124 -0
  99. package/voice-locks/darwin-x64-cp312.txt +118 -0
  100. package/voice-locks/darwin-x64-cp313.txt +118 -0
  101. package/voice-locks/darwin-x64-cp39.txt +102 -0
  102. package/voice-locks/linux-arm64-cp310.txt +107 -0
  103. package/voice-locks/linux-arm64-cp311.txt +118 -0
  104. package/voice-locks/linux-arm64-cp312.txt +112 -0
  105. package/voice-locks/linux-arm64-cp313.txt +112 -0
  106. package/voice-locks/linux-arm64-cp314.txt +112 -0
  107. package/voice-locks/linux-arm64-cp39.txt +102 -0
  108. package/voice-locks/linux-x64-cp310.txt +107 -0
  109. package/voice-locks/linux-x64-cp311.txt +118 -0
  110. package/voice-locks/linux-x64-cp312.txt +112 -0
  111. package/voice-locks/linux-x64-cp313.txt +112 -0
  112. package/voice-locks/linux-x64-cp314.txt +112 -0
  113. package/voice-locks/linux-x64-cp39.txt +102 -0
@@ -0,0 +1,214 @@
1
+ /**
2
+ * TEXT TO SPEECH on THIS machine (DES studio#1140, slice 1): a consented, checksummed install of the piper engine
3
+ * and two licence-cleared voices, beside the whisper model in the voice cache dir (`WICKED_CREW_VOICE_DIR`, outside
4
+ * the state home), and a local synthesis that sends nothing off the machine. The text is never logged or audited.
5
+ *
6
+ * - Engine: a venv built with the machine's Python, then `pip install --require-hashes --no-deps -r <lock>` from
7
+ * PyPI only, from the lock committed for this (OS, arch, CPython minor) in `voice-locks/`. The venv is built in a
8
+ * temp dir and renamed into place; any failure removes it. Native Windows and CPython outside 3.9 to 3.14 are
9
+ * unsupported, and said so.
10
+ * - Voices: only the manifest's (tts-manifest.ts); each file is fetched to a `.part`, held to its sha256 and size,
11
+ * and a mismatch keeps nothing.
12
+ * - Synthesis: `<venv>/bin/python -I -m piper -m <onnx> -c <json> -f <temp.wav>`, argv only, the text as ONE line on
13
+ * stdin (piper parses argv with parse_known_args, so text there could be read as an option).
14
+ * - Every Python launch runs isolated (`-I`: no current directory or user site on sys.path, PYTHON* ignored) with the
15
+ * voice dir as its cwd, never the daemon's. A child runs in its own process group; a timeout or cancel kills the
16
+ * group and the call settles only when the child has closed. A child's stderr never reaches an error body.
17
+ */
18
+ import type { VoiceTtsStatus } from 'wicked-crew-api-types';
19
+ import { type TtsVoice } from './tts-manifest.js';
20
+ import { type VoiceSpawn } from './service.js';
21
+ /** CPython minors a lock exists for. */
22
+ export declare const TTS_PYTHON_MINORS: readonly [9, 10, 11, 12, 13, 14];
23
+ /** At most this many characters of text are spoken. */
24
+ export declare const TTS_MAX_TEXT_CHARS = 2000;
25
+ /** One synthesis that runs longer than this is killed. */
26
+ export declare const TTS_TIMEOUT_MS = 30000;
27
+ /** Piper's stdout and stderr are each kept to this much. */
28
+ export declare const TTS_OUTPUT_CAP_BYTES: number;
29
+ /** The output file is watched while piper writes and the process killed past this. */
30
+ export declare const TTS_MAX_WAV_BYTES: number;
31
+ /** A sample's checksum sidecar holds one sha256 hex line (64-65 bytes); anything larger is a cache miss, never read. */
32
+ export declare const TTS_SIDECAR_MAX_BYTES = 128;
33
+ /** The one fixed sentence of a voice sample. */
34
+ export declare const TTS_SAMPLE_TEXT = "Hello, this is how I sound when I read to you.";
35
+ /** The engine install (venv + pip) is given this long. */
36
+ export declare const TTS_INSTALL_TIMEOUT_MS: number;
37
+ /** One voice file download is given this long in all, and may go this long without a byte. */
38
+ export declare const TTS_DOWNLOAD_TIMEOUT_MS: number;
39
+ export declare const TTS_DOWNLOAD_IDLE_MS = 30000;
40
+ /** A voice download follows at most this many redirects, each of them https. */
41
+ export declare const TTS_MAX_REDIRECTS = 5;
42
+ /** The Python probe result is kept this long. */
43
+ export declare const TTS_PROBE_TTL_MS = 60000;
44
+ /**
45
+ * The platform baseline the locks were resolved for (`scripts/generate-voice-locks.mjs` TARGETS: macosx_14_0 and the
46
+ * manylinux_2_28 tag). Older machines are refused in status; Linux on musl has no wheels and is unsupported.
47
+ */
48
+ export declare const TTS_MIN_PLATFORM: {
49
+ readonly darwin: {
50
+ readonly macos: 14;
51
+ readonly darwinMajor: 23;
52
+ };
53
+ readonly linux: {
54
+ readonly glibc: readonly [2, 28];
55
+ };
56
+ };
57
+ /** The lock file for an (OS, arch, CPython minor) as Node reports them; null for an unsupported combination. */
58
+ export declare function lockPath(os: string, arch: string, minor: number, locksDir?: string): string | null;
59
+ /**
60
+ * The text as piper reads it: control characters and line breaks gone (a break becomes a space, so words never
61
+ * fuse), runs of space collapsed, piper's `[[ ... ]]` phoneme markup neutralized so it is never interpreted (a
62
+ * space goes between every pair of adjacent brackets, so no run of any length keeps a `[[` or `]]`), at most
63
+ * {@link TTS_MAX_TEXT_CHARS} characters.
64
+ */
65
+ export declare function normalizeSpeakText(text: string): string;
66
+ /** A WAV piper wrote: RIFF/WAVE, a PCM `fmt ` chunk and a `data` chunk of non-zero duration; null when sound. */
67
+ export declare function ttsWavProblem(buf: Buffer): string | null;
68
+ export interface PythonInfo {
69
+ path: string;
70
+ version: string;
71
+ minor: number;
72
+ /** `platform.machine()` as this Python reports it (an x86_64 Python under Rosetta says x86_64 on an arm64 Mac). */
73
+ machine?: string;
74
+ }
75
+ /**
76
+ * What `<cmd>` is as a CPython 3 interpreter; null when it does not run or is not CPython 3. Run isolated (`-I`) with
77
+ * `cwd` (the voice dir), so no file of the daemon's working directory is ever imported.
78
+ */
79
+ export declare function probePython(cmd: string, cwd: string, options?: {
80
+ signal?: AbortSignal;
81
+ spawn?: VoiceSpawn;
82
+ timeoutMs?: number;
83
+ }): Promise<PythonInfo | null>;
84
+ /** Node's names (arm64, x64) for what `platform.machine()` reports; null for any other processor. */
85
+ export declare function archOfMachine(machine: string): string | null;
86
+ /** The one-line remedy when this machine has no usable Python. */
87
+ export declare function pythonHint(plat: NodeJS.Platform): string;
88
+ /** The status body is the public wire type (`GET /voice/tts`). */
89
+ export type TtsStatusBody = VoiceTtsStatus;
90
+ export interface TtsDeps {
91
+ /** The voice cache dir (the engine and voices live under `tts/` in it). */
92
+ dir: string;
93
+ env?: NodeJS.ProcessEnv;
94
+ platform?: NodeJS.Platform;
95
+ fetch?: typeof fetch;
96
+ spawn?: VoiceSpawn;
97
+ exists?: (p: string) => boolean;
98
+ /** CPython interpreter facts for a command, probed with `cwd` as its working directory; tests stand it in. */
99
+ probe?: (cmd: string, cwd: string, signal?: AbortSignal) => PythonInfo | null | Promise<PythonInfo | null>;
100
+ /** `os.release()` (the Darwin kernel version on a Mac) and the glibc version; tests stand them in. */
101
+ osRelease?: () => string;
102
+ glibc?: () => string | null;
103
+ now?: () => number;
104
+ locksDir?: string;
105
+ timeoutMs?: number;
106
+ installTimeoutMs?: number;
107
+ downloadTimeoutMs?: number;
108
+ downloadIdleMs?: number;
109
+ maxWavBytes?: number;
110
+ voices?: readonly TtsVoice[];
111
+ }
112
+ interface Picked {
113
+ python: PythonInfo | null;
114
+ lock: string | null;
115
+ problem: string | null;
116
+ }
117
+ export declare class TtsService {
118
+ private readonly env;
119
+ private readonly plat;
120
+ private readonly fetchImpl;
121
+ private readonly spawnImpl;
122
+ private readonly exists;
123
+ private readonly probe;
124
+ private readonly release;
125
+ private readonly glibc;
126
+ private readonly now;
127
+ private readonly locksDir;
128
+ private readonly timeoutMs;
129
+ private readonly installTimeoutMs;
130
+ private readonly downloadMs;
131
+ private readonly idleMs;
132
+ private readonly maxWav;
133
+ private readonly voices;
134
+ private installState;
135
+ private inflight;
136
+ private gen;
137
+ private busy;
138
+ private waiting;
139
+ /** The last Python probe: kept for a minute, dropped on install and on remove. */
140
+ private picked;
141
+ private picking;
142
+ private probeRound;
143
+ private readonly probes;
144
+ private readonly dir;
145
+ /** Syntheses in flight: removal cancels them and waits for each to finish its cleanup. */
146
+ /** Bumped by every removal: a synthesis that queued before it never starts after it. */
147
+ private epoch;
148
+ private removing;
149
+ private readonly synths;
150
+ constructor(deps: TtsDeps);
151
+ private root;
152
+ private enginePath;
153
+ private enginePython;
154
+ private voiceDir;
155
+ private samplePath;
156
+ /** Resolves when the install in flight (if any) has finished, whatever its outcome. */
157
+ installDone(): Promise<void>;
158
+ /**
159
+ * The Python this machine will use: `WICKED_CREW_PYTHON`, else the first of python3, python3.14 ... python3.9 with a
160
+ * lock. Probed asynchronously and kept for a minute (`fresh` re-probes: install, remove).
161
+ */
162
+ pickPython(fresh?: boolean): Promise<Picked>;
163
+ private probeAll;
164
+ /** The OS is one with a lock, and new enough for the wheels the locks were resolved for. */
165
+ private platformProblem;
166
+ private engineInstalled;
167
+ private voiceInstalled;
168
+ status(): Promise<TtsStatusBody>;
169
+ private voiceById;
170
+ /**
171
+ * Install the engine if missing, then the named voices. Resolves at once; `status().install` reports it. Only
172
+ * manifest voices are accepted (400 `voice_unknown`); an unsupported machine is 409 `voice_tts_unsupported`.
173
+ */
174
+ startInstall(ids: readonly string[]): Promise<{
175
+ started: boolean;
176
+ }>;
177
+ private step;
178
+ private install;
179
+ /** Env for a child: no pip or Python variable of the person's reaches it; pip reads no config file. */
180
+ private childEnv;
181
+ private installEngine;
182
+ private installVoice;
183
+ /**
184
+ * One voice file: an overall deadline and an idle deadline on the body, every redirect hop https, and the bytes held
185
+ * to the manifest's size and sha256. Any failure leaves no `.part`.
186
+ */
187
+ private fetchVoiceFile;
188
+ /** Remove the engine, the voices and the cached samples. An install in flight is cancelled first. */
189
+ remove(): Promise<{
190
+ removed: boolean;
191
+ }>;
192
+ /** Speak `text` in `voice`; the WAV bytes. Nothing about the text is kept. */
193
+ speak(text: string, voice: string): Promise<Buffer>;
194
+ /** A fixed sentence in `voice`, cached per (voice, piper version); a cached one is re-verified on every read. */
195
+ sample(voice: string): Promise<Buffer>;
196
+ /** One synthesis at a time and one waiting: a third is refused 429 `voice_busy`. */
197
+ private exclusive;
198
+ /** The engine and the voice, or the 409 that names what is missing (no fallback). */
199
+ private ready;
200
+ /**
201
+ * Piper writes into a fresh private directory; the output must be a regular file (lstat, so a symlink or a device
202
+ * is refused), before and while its size is watched. The directory goes only after the child has closed.
203
+ */
204
+ private synthesize;
205
+ private synthesizeIn;
206
+ /**
207
+ * Run a child with argv only (never a shell), in its own process group, with the voice dir as its cwd; stdout and
208
+ * stderr each capped. A timeout, a cancel or an output file that passes a limit kills the whole group, and the
209
+ * promise settles only on the child's `close`, so no descendant can write after the caller cleans up.
210
+ */
211
+ private run;
212
+ }
213
+ export {};
214
+ //# sourceMappingURL=tts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tts.d.ts","sourceRoot":"","sources":["../../src/voice/tts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAYH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAA0D,KAAK,QAAQ,EAAqB,MAAM,mBAAmB,CAAC;AAC7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