@ampcode/plugin 0.0.0-20260828024506-g5d382cb → 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 +7 -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.
@@ -1137,14 +1139,14 @@ declare module '@ampcode/plugin' {
1137
1139
 
1138
1140
  /**
1139
1141
  * Make this thread private or visible to every member of its workspace.
1140
- * Making a thread private closes multiplayer. The authenticated user must
1142
+ * Making a thread private disables multiplayer. The authenticated user must
1141
1143
  * own the thread.
1142
1144
  */
1143
1145
  setVisibility(visibility: 'private' | 'workspace'): Promise<void>
1144
1146
 
1145
1147
  /**
1146
- * Open multiplayer for the given number of seconds, or close it with `null`.
1147
- * 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
1148
1150
  * durations range from 5 minutes to 7 days.
1149
1151
  */
1150
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-20260828024506-g5d382cb",
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": {