@vellumai/plugin-api 0.10.10-dev.202607201250.7cc78f7 → 0.10.10-dev.202607201338.c6dec1d

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 (3) hide show
  1. package/index.d.ts +9 -0
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2832,6 +2832,15 @@ declare interface GetSigningIdentityRequest {
2832
2832
  requestId: string;
2833
2833
  }
2834
2834
 
2835
+ /**
2836
+ * Returns the workspace root for user-facing state.
2837
+ *
2838
+ * When the VELLUM_WORKSPACE_DIR env var is set, returns that value (used in
2839
+ * containerized deployments where the workspace is a separate volume).
2840
+ * Otherwise falls back to ~/.vellum/workspace.
2841
+ */
2842
+ export declare function getWorkspaceDir(): string;
2843
+
2835
2844
  /**
2836
2845
  * The subset of the Qdrant client the orphan sweep needs, narrowed to an
2837
2846
  * interface so the sweep can be unit-tested with a fake client.
package/index.js CHANGED
@@ -20,6 +20,7 @@ export const getConversation = api.getConversation;
20
20
  export const getConversationDirPath = api.getConversationDirPath;
21
21
  export const getMessages = api.getMessages;
22
22
  export const getModelProfiles = api.getModelProfiles;
23
+ export const getWorkspaceDir = api.getWorkspaceDir;
23
24
  export const hasLexicalTokens = api.hasLexicalTokens;
24
25
  export const isConversationProcessing = api.isConversationProcessing;
25
26
  export const isMaxTokensStopReason = api.isMaxTokensStopReason;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.10-dev.202607201250.7cc78f7",
3
+ "version": "0.10.10-dev.202607201338.c6dec1d",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",