@vellumai/assistant 0.10.0-dev.202606230727.0d65a6b → 0.10.0-dev.202606231110.ea3a06d
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/package.json
CHANGED
|
@@ -222,7 +222,6 @@ describe("Invariant 2: no generic plaintext secret read API", () => {
|
|
|
222
222
|
"runtime/routes/platform-routes.ts", // CLI platform connect/disconnect/status routes (CLI-migrated to IPC)
|
|
223
223
|
"ipc/skill-routes/providers.ts", // host.providers.secureKeys.getProviderKey IPC route (out-of-process SkillHost companion)
|
|
224
224
|
"daemon/external-plugins-bootstrap.ts", // reads credentials at plugin init (manifest.requiresCredential) via the CES-mediated getSecureKeyAsync path
|
|
225
|
-
"plugin-api/index.ts", // public @vellumai/plugin-api surface re-exports getSecureKeyAsync to dynamically-imported workspace plugins via the boot-time shim (compiled-binary plugin loading)
|
|
226
225
|
"inbound/platform-callback-registration.ts", // managed credential lookup for platform base URL, assistant ID, and API key
|
|
227
226
|
"tts/providers/elevenlabs-provider.ts", // ElevenLabs TTS API key lookup
|
|
228
227
|
"tts/providers/deepgram-provider.ts", // Deepgram TTS API key lookup
|
package/src/plugin-api/index.ts
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
* the host hands to plugin hooks, and the logger shape they include.
|
|
21
21
|
*
|
|
22
22
|
* Alongside those types, the module exposes a small set of **runtime
|
|
23
|
-
* handles
|
|
24
|
-
* (subscribe to runtime events,
|
|
23
|
+
* handles for plugins that need to reach the assistant's live singletons
|
|
24
|
+
* (subscribe to runtime events, inspect inference profiles). These resolve to the
|
|
25
25
|
* assistant's own instances: the host parks the loaded plugin-api namespace
|
|
26
26
|
* on `globalThis` at boot, and the workspace-level shim re-binds each
|
|
27
27
|
* runtime export from there — so a plugin's
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
* disjoint module copy.
|
|
32
32
|
*
|
|
33
33
|
* - {@link assistantEventHub} — the assistant's pub/sub hub for runtime events
|
|
34
|
-
* - {@link getSecureKeyAsync} — read a secret from secure storage
|
|
35
34
|
* - {@link getModelProfiles} — list the workspace inference profiles a plugin
|
|
36
35
|
* can route to (e.g. a model router building its category → profile map)
|
|
37
36
|
* - {@link getConfiguredProvider} — resolve a {@link Provider} for a call site
|
|
@@ -130,7 +129,6 @@ export type {
|
|
|
130
129
|
AssistantEventSubscription,
|
|
131
130
|
} from "../runtime/assistant-event-hub.js";
|
|
132
131
|
export { assistantEventHub } from "../runtime/assistant-event-hub.js";
|
|
133
|
-
export { getSecureKeyAsync } from "../security/secure-keys.js";
|
|
134
132
|
export { getModelProfiles } from "./model-profiles.js";
|
|
135
133
|
// Check whether a profile's resolved model can process image input. Resolves
|
|
136
134
|
// the effective (provider, model) by merging over the workspace default and
|