@ampcode/plugin 0.0.0-20260724002649-ga3413e7 → 0.0.0-20260725003042-g22b3fc6

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 +6 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -360,6 +360,12 @@ declare module '@ampcode/plugin' {
360
360
  parentThreadID?: ThreadID
361
361
  /** Show the created thread and make it active in the client when supported. */
362
362
  show?: boolean
363
+ /**
364
+ * Serving speed for the new thread. When omitted, the thread inherits the
365
+ * creating thread's speed. Fast mode uses faster serving for supported
366
+ * models and is billed at a premium.
367
+ */
368
+ speed?: 'standard' | 'fast'
363
369
  /**
364
370
  * Enable multiplayer for this many seconds. Multiplayer threads must run in an
365
371
  * Orb and belong to a workspace. Valid values range from 5 minutes to 7 days.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampcode/plugin",
3
- "version": "0.0.0-20260724002649-ga3413e7",
3
+ "version": "0.0.0-20260725003042-g22b3fc6",
4
4
  "description": "Amp Plugin API",
5
5
  "homepage": "https://ampcode.com/manual/plugin-api",
6
6
  "author": {