@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.
Files changed (2) hide show
  1. package/index.d.ts +9 -8
  2. 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 `field` equals
4346
- * the plugin's own manifest name. A plugin named `acme` can therefore read
4347
- * `openai/acme` or `stripe/acme` but not `openai/api_key`. Outside any plugin
4348
- * context (host-internal callers, CLI, tests) the resolver is unscoped and
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 `field` equals its manifest name,
4374
- * so `acme` writes `openai/acme` or `stripe/acme` but never `openai/api_key`.
4375
- * The name comes from the execution context
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.4-dev.202608201710.fcf0423",
3
+ "version": "0.11.4-dev.202608201915.5ca6ffa",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",