@ampcode/plugin 0.0.0-20260827012238-gff6d7bb → 0.0.0-20260829001628-ga341349

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 +10 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ // sitemap-lastmod: /docs/plugin-api 2026-08-28
2
+
1
3
  declare module '@ampcode/plugin' {
2
4
  /**
3
5
  * # Amp Plugin API
@@ -443,7 +445,7 @@ declare module '@ampcode/plugin' {
443
445
  */
444
446
  visibility?: 'private' | 'workspace'
445
447
  /**
446
- * Enable multiplayer for this many seconds, or set `null` to create the thread closed. A
448
+ * Enable multiplayer for this many seconds, or set `null` to create it disabled. A
447
449
  * child thread inherits its parent's remaining multiplayer window when omitted, so set this
448
450
  * explicitly to opt out. This option requires an Orb executor. Multiplayer threads must
449
451
  * belong to a workspace. Valid numeric values range from 5 minutes to 7 days.
@@ -480,7 +482,7 @@ declare module '@ampcode/plugin' {
480
482
  */
481
483
  visibility?: 'private' | 'workspace'
482
484
  /**
483
- * Enable multiplayer for this many seconds, or set `null` to create the thread closed. A
485
+ * Enable multiplayer for this many seconds, or set `null` to create it disabled. A
484
486
  * child thread inherits its parent's remaining multiplayer window when omitted, so set this
485
487
  * explicitly to opt out. This option requires an Orb executor. Multiplayer threads must
486
488
  * belong to a workspace. Valid numeric values range from 5 minutes to 7 days.
@@ -605,11 +607,14 @@ declare module '@ampcode/plugin' {
605
607
  * namespace.
606
608
  */
607
609
  export type PluginAIModelProvider =
610
+ | 'alibaba'
608
611
  | 'amp'
609
612
  | 'anthropic'
610
613
  | 'baseten'
614
+ | 'deepseek'
611
615
  | 'fireworks-ai'
612
616
  | 'google-vertex'
617
+ | 'minimax'
613
618
  | 'openai'
614
619
  | 'xai'
615
620
  | 'zhipuai'
@@ -1134,14 +1139,14 @@ declare module '@ampcode/plugin' {
1134
1139
 
1135
1140
  /**
1136
1141
  * Make this thread private or visible to every member of its workspace.
1137
- * Making a thread private closes multiplayer. The authenticated user must
1142
+ * Making a thread private disables multiplayer. The authenticated user must
1138
1143
  * own the thread.
1139
1144
  */
1140
1145
  setVisibility(visibility: 'private' | 'workspace'): Promise<void>
1141
1146
 
1142
1147
  /**
1143
- * Open multiplayer for the given number of seconds, or close it with `null`.
1144
- * Opening multiplayer requires an Orb thread that is already shared. Valid
1148
+ * Enable multiplayer for the given number of seconds, or disable it with `null`.
1149
+ * Enabling multiplayer requires an Orb thread that is already shared. Valid
1145
1150
  * durations range from 5 minutes to 7 days.
1146
1151
  */
1147
1152
  setMultiplayer(options: { ttlSeconds: number | null }): Promise<void>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampcode/plugin",
3
- "version": "0.0.0-20260827012238-gff6d7bb",
3
+ "version": "0.0.0-20260829001628-ga341349",
4
4
  "description": "Amp Plugin API",
5
5
  "homepage": "https://ampcode.com/docs/plugin-api",
6
6
  "author": {