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