@vellumai/plugin-api 0.12.2-dev.202609171017.61d51c8 → 0.12.2-dev.202609171418.b9a2adf
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 +20 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4629,22 +4629,29 @@ export declare function createLiveVoiceConnection(options: {
|
|
|
4629
4629
|
/**
|
|
4630
4630
|
* Plugin-facing credential resolution.
|
|
4631
4631
|
*
|
|
4632
|
-
* {@link resolveCredential} returns a stored credential's plaintext value
|
|
4633
|
-
* same value `assistant credentials reveal` prints
|
|
4634
|
-
* is either a credential UUID or a `"service/field"` string,
|
|
4635
|
-
* reveal path does (see
|
|
4636
|
-
*
|
|
4632
|
+
* {@link resolveCredential} returns a stored credential's plaintext value
|
|
4633
|
+
* (the same value `assistant credentials reveal` prints), resolving a
|
|
4634
|
+
* reference that is either a credential UUID or a `"service/field"` string,
|
|
4635
|
+
* exactly as the reveal path does (see
|
|
4636
|
+
* {@link ../tools/credentials/resolve.resolveCredentialRef} and the
|
|
4637
|
+
* `credentials/reveal` route).
|
|
4637
4638
|
*
|
|
4638
4639
|
* ## Plugin scoping
|
|
4639
4640
|
*
|
|
4640
|
-
* When a plugin is in context
|
|
4641
|
-
*
|
|
4642
|
-
*
|
|
4643
|
-
*
|
|
4644
|
-
*
|
|
4645
|
-
*
|
|
4646
|
-
*
|
|
4647
|
-
*
|
|
4641
|
+
* When a plugin is in context, resolution is restricted to credentials
|
|
4642
|
+
* whose `service` equals the plugin's runtime install-directory name
|
|
4643
|
+
* (`sms/account_sid` for plugin `sms`). Context is:
|
|
4644
|
+
*
|
|
4645
|
+
* 1. In-process AsyncLocalStorage from `runInPluginContext` (hooks, plugin
|
|
4646
|
+
* tools, plugin routes).
|
|
4647
|
+
* 2. `VELLUM_PLUGIN_NAME` on a bash or skill-sandbox child.
|
|
4648
|
+
* 3. The process entry path, when it sits under
|
|
4649
|
+
* `plugins/<service>/skills/<skill>/{scripts,tools}/`.
|
|
4650
|
+
*
|
|
4651
|
+
* Outside any plugin context the resolver is unscoped and behaves like a
|
|
4652
|
+
* direct reveal. A standalone child has an empty in-process metadata
|
|
4653
|
+
* cache; when plugin context is set, a cache miss consults the live
|
|
4654
|
+
* credential catalog so an empty cache is not reported as "not found".
|
|
4648
4655
|
*/
|
|
4649
4656
|
/**
|
|
4650
4657
|
* Raised when a credential cannot be resolved: the reference does not match a
|
package/package.json
CHANGED