@ampcode/plugin 0.0.0-20260820001044-g4608ace → 0.0.0-20260822001031-gd2845d7
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.
- package/index.d.ts +24 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -413,6 +413,19 @@ declare module '@ampcode/plugin' {
|
|
|
413
413
|
* When omitted, the thread is created without a parent.
|
|
414
414
|
*/
|
|
415
415
|
parentThreadID?: ThreadID
|
|
416
|
+
/**
|
|
417
|
+
* Set the new thread's visibility. A child thread inherits its parent's visibility when
|
|
418
|
+
* omitted, so set this explicitly to opt out. Workspace visibility requires the new thread
|
|
419
|
+
* to belong to a workspace.
|
|
420
|
+
*/
|
|
421
|
+
visibility?: 'private' | 'workspace'
|
|
422
|
+
/**
|
|
423
|
+
* Enable multiplayer for this many seconds, or set `null` to create the thread closed. A
|
|
424
|
+
* child thread inherits its parent's remaining multiplayer window when omitted, so set this
|
|
425
|
+
* explicitly to opt out. This option requires an Orb executor. Multiplayer threads must
|
|
426
|
+
* belong to a workspace. Valid numeric values range from 5 minutes to 7 days.
|
|
427
|
+
*/
|
|
428
|
+
multiplayerTTLSeconds?: number | null
|
|
416
429
|
/**
|
|
417
430
|
* Where the thread should execute. Defaults to `local`, which uses the current
|
|
418
431
|
* client as the executor. Use `orb` for Amp's cloud sandbox or a runner target
|
|
@@ -438,10 +451,18 @@ declare module '@ampcode/plugin' {
|
|
|
438
451
|
*/
|
|
439
452
|
features?: readonly AgentFeature[]
|
|
440
453
|
/**
|
|
441
|
-
*
|
|
442
|
-
*
|
|
454
|
+
* Set the new thread's visibility. A child thread inherits its parent's visibility when
|
|
455
|
+
* omitted, so set this explicitly to opt out. Workspace visibility requires the new thread
|
|
456
|
+
* to belong to a workspace.
|
|
457
|
+
*/
|
|
458
|
+
visibility?: 'private' | 'workspace'
|
|
459
|
+
/**
|
|
460
|
+
* Enable multiplayer for this many seconds, or set `null` to create the thread closed. A
|
|
461
|
+
* child thread inherits its parent's remaining multiplayer window when omitted, so set this
|
|
462
|
+
* explicitly to opt out. This option requires an Orb executor. Multiplayer threads must
|
|
463
|
+
* belong to a workspace. Valid numeric values range from 5 minutes to 7 days.
|
|
443
464
|
*/
|
|
444
|
-
multiplayerTTLSeconds?: number
|
|
465
|
+
multiplayerTTLSeconds?: number | null
|
|
445
466
|
/**
|
|
446
467
|
* Where the thread should execute. Defaults to `local`, which uses the current
|
|
447
468
|
* client as the executor. Use `orb` for Amp's cloud sandbox or a runner target
|