@vellumai/plugin-api 0.11.4-dev.202608201710.fcf0423 → 0.11.4-dev.202608201915.5ca6ffa
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/index.d.ts +9 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4342,11 +4342,11 @@ export declare function createLiveVoiceConnection(options: {
|
|
|
4342
4342
|
* When a plugin is in context (its hook, tool, or one of its own
|
|
4343
4343
|
* `/x/plugins/<name>/` routes is executing, tracked by
|
|
4344
4344
|
* {@link ../plugins/plugin-execution-context.getCurrentPluginName}), resolution
|
|
4345
|
-
* is restricted: the plugin may only resolve credentials whose `
|
|
4346
|
-
*
|
|
4347
|
-
*
|
|
4348
|
-
* context (host-internal callers, CLI, tests) the resolver is
|
|
4349
|
-
* behaves like a direct reveal.
|
|
4345
|
+
* is restricted: the plugin may only resolve credentials whose `service`
|
|
4346
|
+
* equals its manifest name (`imessage/api_key` for plugin `imessage`). It
|
|
4347
|
+
* cannot read another service (`openai/api_key`, `openai/imessage`). Outside
|
|
4348
|
+
* any plugin context (host-internal callers, CLI, tests) the resolver is
|
|
4349
|
+
* unscoped and behaves like a direct reveal.
|
|
4350
4350
|
*/
|
|
4351
4351
|
/**
|
|
4352
4352
|
* Raised when a credential cannot be resolved: the reference does not match a
|
|
@@ -4370,9 +4370,10 @@ export declare class CredentialResolutionError extends Error {
|
|
|
4370
4370
|
*
|
|
4371
4371
|
* ## Plugin scoping
|
|
4372
4372
|
*
|
|
4373
|
-
* A plugin may only write credentials whose `
|
|
4374
|
-
*
|
|
4375
|
-
* The name comes from the
|
|
4373
|
+
* A plugin may only write credentials whose `service` equals its manifest
|
|
4374
|
+
* name (`imessage/api_key` for plugin `imessage`). It cannot write another
|
|
4375
|
+
* service (`openai/api_key`, `openai/imessage`). The name comes from the
|
|
4376
|
+
* execution context
|
|
4376
4377
|
* ({@link ../plugins/plugin-execution-context.getCurrentPluginName}), which the
|
|
4377
4378
|
* host establishes around a plugin's hook, tool, and route invocations.
|
|
4378
4379
|
*
|
package/package.json
CHANGED