@vellumai/plugin-api 0.10.9-dev.202607160747.7ed1044 → 0.10.9-dev.202607161044.1a55a2d

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 +15 -1
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -723,6 +723,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
723
723
  minimax: "minimax";
724
724
  atlascloud: "atlascloud";
725
725
  together: "together";
726
+ baseten: "baseten";
726
727
  }>>;
727
728
  model: z.ZodOptional<z.ZodString>;
728
729
  maxTokens: z.ZodOptional<z.ZodNumber>;
@@ -855,6 +856,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
855
856
  minimax: "minimax";
856
857
  atlascloud: "atlascloud";
857
858
  together: "together";
859
+ baseten: "baseten";
858
860
  }>>;
859
861
  model: z.ZodOptional<z.ZodString>;
860
862
  maxTokens: z.ZodOptional<z.ZodNumber>;
@@ -3560,6 +3562,17 @@ declare const INTERFACE_IDS: readonly ["macos", "ios", "cli", "telegram", "phone
3560
3562
 
3561
3563
  declare type InterfaceId = (typeof INTERFACE_IDS)[number];
3562
3564
 
3565
+ /**
3566
+ * Appended (inside the `<system_notice>` wrapper) to the internal continuation /
3567
+ * completion nudge strings that re-query the model. Those notices are injected
3568
+ * as user-role turns; weaker models without a separate reasoning channel
3569
+ * otherwise narrate or answer the notice as visible text, leaking agent-loop
3570
+ * scaffolding into the user-facing reply. This clause forbids that narration
3571
+ * without licensing an empty reply — each nudge's own instruction still drives
3572
+ * the expected output (summary / final reply / continuation).
3573
+ */
3574
+ export declare const INTERNAL_NUDGE_OUTPUT_SUPPRESSION = " This notice is internal: do not repeat, quote, describe, or acknowledge it, and do not narrate whether you will continue or whether the turn is done. Reply with only the content the user should see.";
3575
+
3563
3576
  /** Whether the conversation currently has a turn in flight. */
3564
3577
  export declare function isConversationProcessing(id: string): Promise<boolean>;
3565
3578
 
@@ -3827,8 +3840,8 @@ declare const messageMetadataSchema: z.ZodObject<{
3827
3840
  status: z.ZodEnum<{
3828
3841
  completed: "completed";
3829
3842
  failed: "failed";
3830
- running: "running";
3831
3843
  aborted: "aborted";
3844
+ running: "running";
3832
3845
  }>;
3833
3846
  error: z.ZodOptional<z.ZodString>;
3834
3847
  conversationId: z.ZodOptional<z.ZodString>;
@@ -3859,6 +3872,7 @@ declare const messageMetadataSchema: z.ZodObject<{
3859
3872
  provenanceRequesterIdentifier: z.ZodOptional<z.ZodString>;
3860
3873
  automated: z.ZodOptional<z.ZodBoolean>;
3861
3874
  hidden: z.ZodOptional<z.ZodBoolean>;
3875
+ messageKind: z.ZodOptional<z.ZodString>;
3862
3876
  backgroundToolCompletion: z.ZodOptional<z.ZodObject<{
3863
3877
  id: z.ZodString;
3864
3878
  toolName: z.ZodString;
package/index.js CHANGED
@@ -2,6 +2,7 @@
2
2
  const api = globalThis[Symbol.for("vellum.plugin-api")] ?? {};
3
3
  export const CLI_COMMAND_HELP = api.CLI_COMMAND_HELP;
4
4
  export const HOOKS = api.HOOKS;
5
+ export const INTERNAL_NUDGE_OUTPUT_SUPPRESSION = api.INTERNAL_NUDGE_OUTPUT_SUPPRESSION;
5
6
  export const RiskLevel = api.RiskLevel;
6
7
  export const TtsSynthesisError = api.TtsSynthesisError;
7
8
  export const addMessage = api.addMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.9-dev.202607160747.7ed1044",
3
+ "version": "0.10.9-dev.202607161044.1a55a2d",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",