@playdrop/playdrop-cli 0.10.17 → 0.10.19

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.
@@ -9,6 +9,7 @@ export interface CreateAppRequest {
9
9
  name: string;
10
10
  displayName?: string;
11
11
  agentTaskId?: number;
12
+ remixRef?: string;
12
13
  }
13
14
  export interface UpdateAppRequest {
14
15
  displayName?: string;
@@ -111,10 +112,27 @@ export interface ContentTagSummary {
111
112
  }
112
113
  export declare const AGENT_TASK_STATUS_VALUES: readonly ["QUEUED", "RUNNING", "DONE", "FAILED", "CANCELLED"];
113
114
  export type AgentTaskStatus = typeof AGENT_TASK_STATUS_VALUES[number];
115
+ export declare const AGENT_TASK_CREATOR_FEEDBACK_STATUS_VALUES: readonly ["UNSEEN", "VIEWED", "PLAYED", "APPROVED", "DISAPPROVED"];
116
+ export type AgentTaskCreatorFeedbackStatus = typeof AGENT_TASK_CREATOR_FEEDBACK_STATUS_VALUES[number];
114
117
  export declare const AGENT_TASK_KIND_VALUES: readonly ["NEW_GAME", "REMIX_GAME", "GAME_UPDATE", "GAME_REVIEW"];
115
118
  export type AgentTaskKind = typeof AGENT_TASK_KIND_VALUES[number];
116
119
  export declare const AGENT_EXECUTION_TARGET_VALUES: readonly ["FIRST_PARTY", "PERSONAL"];
117
120
  export type AgentExecutionTarget = typeof AGENT_EXECUTION_TARGET_VALUES[number];
121
+ export declare const AGENT_TASK_SURFACE_SOURCE_CLIENT_VALUES: readonly ["WEB", "IOS", "IPADOS", "MACOS", "ANDROID", "UNKNOWN"];
122
+ export type AgentTaskSurfaceSourceClient = typeof AGENT_TASK_SURFACE_SOURCE_CLIENT_VALUES[number];
123
+ export declare const AGENT_TASK_SURFACE_DEVICE_CLASS_VALUES: readonly ["PHONE", "TABLET", "DESKTOP", "UNKNOWN"];
124
+ export type AgentTaskSurfaceDeviceClass = typeof AGENT_TASK_SURFACE_DEVICE_CLASS_VALUES[number];
125
+ export declare const AGENT_TASK_SURFACE_ORIENTATION_VALUES: readonly ["PORTRAIT", "LANDSCAPE", "UNKNOWN"];
126
+ export type AgentTaskSurfaceOrientation = typeof AGENT_TASK_SURFACE_ORIENTATION_VALUES[number];
127
+ export interface AgentTaskSurfaceContextRequest {
128
+ deviceClass?: AgentTaskSurfaceDeviceClass;
129
+ orientation?: AgentTaskSurfaceOrientation;
130
+ }
131
+ export interface AgentTaskSurfaceContext extends AgentTaskSurfaceContextRequest {
132
+ sourceClient: AgentTaskSurfaceSourceClient;
133
+ deviceClass: AgentTaskSurfaceDeviceClass;
134
+ orientation: AgentTaskSurfaceOrientation;
135
+ }
118
136
  export declare const GAME_CREATION_SOURCE_VALUES: readonly ["playdrop_cloud", "my_agent", "direct_upload"];
119
137
  export type GameCreationSource = typeof GAME_CREATION_SOURCE_VALUES[number];
120
138
  export declare const GAME_CREATION_SOURCE_LABELS: Record<GameCreationSource, string>;
@@ -188,10 +206,30 @@ export interface AgentWorkerCapabilities {
188
206
  degradedReasons?: string[];
189
207
  pluginVersion?: string;
190
208
  wrapperContractVersion?: number;
209
+ targetUpdateFailure?: AgentWorkerTargetUpdateFailure;
191
210
  os?: string;
192
211
  arch?: string;
193
212
  [key: string]: unknown;
194
213
  }
214
+ export interface AgentWorkerTargetUpdateFailure {
215
+ error: string;
216
+ writtenAt: string;
217
+ targetCliVersion?: string | null;
218
+ minimumCliVersion?: string | null;
219
+ targetPluginVersion?: string | null;
220
+ minimumPluginVersion?: string | null;
221
+ }
222
+ export interface AgentWorkerLatestUpdateIntentResponse {
223
+ id: number;
224
+ status: string;
225
+ reason: string;
226
+ error?: string | null;
227
+ targetCliVersion?: string | null;
228
+ targetPluginVersion?: string | null;
229
+ createdAt: string;
230
+ updatedAt: string;
231
+ completedAt?: string | null;
232
+ }
195
233
  export interface AgentWorkerResponse {
196
234
  id: number;
197
235
  workerKey: string;
@@ -208,6 +246,7 @@ export interface AgentWorkerResponse {
208
246
  targetCliVersion?: string | null;
209
247
  targetPluginVersion?: string | null;
210
248
  activeUpdateIntentId?: number | null;
249
+ latestUpdateIntent?: AgentWorkerLatestUpdateIntentResponse | null;
211
250
  lastSeenAt: string;
212
251
  online: boolean;
213
252
  createdAt: string;
@@ -239,6 +278,16 @@ export interface AgentTaskSubjectResponse {
239
278
  appVersionId: number | null;
240
279
  version: string | null;
241
280
  }
281
+ export declare const AGENT_TASK_NEXT_STEP_CATEGORIES: readonly ["POLISH", "CONTENT", "MECHANICS", "VISUALS", "AUDIO", "MONETIZATION", "PUBLISHING"];
282
+ export declare const AGENT_TASK_NEXT_STEP_ID_REGEX: RegExp;
283
+ export type AgentTaskNextStepCategory = typeof AGENT_TASK_NEXT_STEP_CATEGORIES[number];
284
+ export interface AgentTaskNextStepSuggestion {
285
+ id: string;
286
+ title: string;
287
+ description: string;
288
+ prompt: string;
289
+ category: AgentTaskNextStepCategory;
290
+ }
242
291
  export interface AgentTaskResponse {
243
292
  id: number;
244
293
  kind: AgentTaskKind;
@@ -253,6 +302,8 @@ export interface AgentTaskResponse {
253
302
  effortKind: AgentTaskEffortKind;
254
303
  appOrigin: AppOrigin | null;
255
304
  outputVersion: string | null;
305
+ claimedAppName: string | null;
306
+ claimedDisplayName: string | null;
256
307
  userInput: string | null;
257
308
  enrichment: AgentTaskEnrichmentResponse | null;
258
309
  subject: AgentTaskSubjectResponse;
@@ -272,6 +323,8 @@ export interface AgentTaskResponse {
272
323
  [key: string]: unknown;
273
324
  };
274
325
  result: Record<string, unknown> | null;
326
+ nextSteps: AgentTaskNextStepSuggestion[];
327
+ creatorFeedbackStatus: AgentTaskCreatorFeedbackStatus;
275
328
  error: string | null;
276
329
  workerId?: number | null;
277
330
  workerName?: string | null;
@@ -293,6 +346,8 @@ export interface AgentTaskEventResponse {
293
346
  kind: AgentTaskEventKind;
294
347
  phase: string | null;
295
348
  message: string;
349
+ done?: string | null;
350
+ current?: string | null;
296
351
  pct: number | null;
297
352
  payload?: Record<string, unknown> | null;
298
353
  createdAt: string;
@@ -369,6 +424,7 @@ export interface CreateNewGameAgentTaskRequest {
369
424
  model?: string;
370
425
  agentPreference?: AgentTaskAgentPreference;
371
426
  prompt: string;
427
+ surfaceContext?: AgentTaskSurfaceContextRequest;
372
428
  inputs?: AgentTaskInput[];
373
429
  }
374
430
  export interface CreateNewGameAgentTaskResponse {
@@ -382,6 +438,7 @@ export interface CreateRemixGameAgentTaskRequest {
382
438
  agentPreference?: AgentTaskAgentPreference;
383
439
  prompt: string;
384
440
  sourceAppVersionRef: string;
441
+ surfaceContext?: AgentTaskSurfaceContextRequest;
385
442
  inputs?: AgentTaskInput[];
386
443
  }
387
444
  export interface CreateRemixGameAgentTaskResponse {
@@ -495,6 +552,7 @@ export interface WorkerAgentTaskAssignmentResponse {
495
552
  inputs: {
496
553
  request: {
497
554
  prompt: string;
555
+ surfaceContext?: AgentTaskSurfaceContext;
498
556
  };
499
557
  taskInputs?: AgentTaskInput[];
500
558
  attachments: WorkerAgentTaskAttachmentResponse[];
@@ -518,6 +576,15 @@ export interface WorkerClaimAgentTaskResponse {
518
576
  leaseToken?: string;
519
577
  leaseExpiresAt?: string;
520
578
  }
579
+ export interface WorkerClaimAgentTaskSlugRequest {
580
+ appName: string;
581
+ displayName: string;
582
+ }
583
+ export interface WorkerClaimAgentTaskSlugResponse {
584
+ task: AgentTaskResponse;
585
+ appName: string;
586
+ displayName: string;
587
+ }
521
588
  export interface WorkerAgentTaskAttemptUnavailableRequest {
522
589
  workerKey: string;
523
590
  leaseToken?: string;
@@ -569,7 +636,9 @@ export interface WorkerHeartbeatAgentTaskResponse {
569
636
  export interface WorkerCreateAgentTaskEventRequest {
570
637
  kind?: AgentTaskEventKind;
571
638
  phase?: string | null;
572
- message: string;
639
+ message?: string | null;
640
+ done?: string | null;
641
+ current?: string | null;
573
642
  pct?: number | null;
574
643
  taskToken?: string;
575
644
  workerKey?: string;
@@ -675,6 +744,7 @@ export interface WorkerSubmitAgentTaskReviewRequest {
675
744
  reviewState: ReviewState;
676
745
  reviewMessage: string;
677
746
  creatorFeedback: string | null;
747
+ nextSteps?: AgentTaskNextStepSuggestion[];
678
748
  evidenceFiles?: Array<{
679
749
  name: string;
680
750
  contentType: string;
@@ -692,6 +762,7 @@ export interface WorkerCompleteAgentTaskRequest {
692
762
  appId: number;
693
763
  appVersionId: number;
694
764
  result?: Record<string, unknown>;
765
+ nextSteps?: AgentTaskNextStepSuggestion[];
695
766
  tokensUsed?: number | null;
696
767
  }
697
768
  export interface WorkerFailAgentTaskRequest {
@@ -718,6 +789,7 @@ export interface AdminAgentWorkersStatusResponse {
718
789
  checkedAt: string;
719
790
  onlineWorkerCount: number;
720
791
  onlineWorkers: AgentWorkerResponse[];
792
+ updatePolicy?: AgentWorkerUpdatePolicyResponse | null;
721
793
  playdropCloud: {
722
794
  onlineWorkerCount: number;
723
795
  runningTaskCount: number;
@@ -770,6 +842,7 @@ export interface CreateAppAgentTaskRequest {
770
842
  model?: string;
771
843
  agentPreference?: AgentTaskAgentPreference;
772
844
  prompt: string;
845
+ surfaceContext?: AgentTaskSurfaceContextRequest;
773
846
  inputs?: AgentTaskInput[];
774
847
  }
775
848
  export interface CreateAppAgentTaskResponse {
@@ -799,6 +872,7 @@ export interface CreatorGameListItem {
799
872
  heroImageUrl?: string | null;
800
873
  emoji?: string | null;
801
874
  color?: string | null;
875
+ draftPlayed: boolean;
802
876
  primaryAction: 'open' | 'retry' | 'cancel' | 'play' | 'publish' | 'share';
803
877
  actions: CreatorGameAction[];
804
878
  }
@@ -825,6 +899,15 @@ export interface CreatorGameShareResponse {
825
899
  objectiveSummary: FreeCreditObjectiveSummary;
826
900
  unclaimedCount: number;
827
901
  }
902
+ export interface CreatorGameCreatorFeedbackStatusRequest {
903
+ appVersionId: number;
904
+ creatorFeedbackStatus: AgentTaskCreatorFeedbackStatus;
905
+ }
906
+ export interface CreatorGameCreatorFeedbackStatusResponse {
907
+ success: true;
908
+ creatorFeedbackStatus: AgentTaskCreatorFeedbackStatus;
909
+ draftPlayed: boolean;
910
+ }
828
911
  export interface TagGroupSummary {
829
912
  slug: string;
830
913
  displayName: string;
@@ -1260,7 +1343,7 @@ export interface UnlinkGoogleResponse {
1260
1343
  success: boolean;
1261
1344
  }
1262
1345
  export type AppleOAuthProvider = 'google' | 'x' | 'apple';
1263
- export type AppleOAuthTarget = 'apple-playdrop-ios' | 'apple-playdrop-mac' | 'apple-music' | 'apple-games';
1346
+ export type AppleOAuthTarget = 'apple-playdrop-ios' | 'apple-playdrop-mac' | 'apple-playdrop-mac-beta' | 'apple-playdrop-mac-debug' | 'apple-music' | 'apple-games';
1264
1347
  export interface AppleOAuthLinkStartRequest {
1265
1348
  provider: AppleOAuthProvider;
1266
1349
  target?: AppleOAuthTarget;
@@ -1934,7 +2017,7 @@ export declare const ENGAGEMENT_TARGET_KIND_VALUES: readonly ["CREATOR", "APP",
1934
2017
  export type EngagementTargetKind = typeof ENGAGEMENT_TARGET_KIND_VALUES[number];
1935
2018
  export declare const APP_LAUNCH_CONTEXT_VALUES: readonly ["CARD", "DETAIL", "OTHER"];
1936
2019
  export type AppLaunchContext = typeof APP_LAUNCH_CONTEXT_VALUES[number];
1937
- export declare const NOTIFICATION_EVENT_TYPE_VALUES: readonly ["NEW_CONTENT", "UPDATED", "CONTENT_COMMENT", "CONTENT_REPLY", "CONTENT_LIKE", "NEW_FOLLOWER", "ASSET_PURCHASED", "PAYMENT_SUCCEEDED", "PAYMENT_REFUNDED", "ADMIN_ACTION", "AI_JOB_SUCCEEDED", "AI_JOB_FAILED", "GAME_PLAY_MILESTONE", "GAME_RECOMMENDED"];
2020
+ export declare const NOTIFICATION_EVENT_TYPE_VALUES: readonly ["NEW_CONTENT", "UPDATED", "CONTENT_COMMENT", "CONTENT_REPLY", "CONTENT_LIKE", "NEW_FOLLOWER", "ASSET_PURCHASED", "PAYMENT_SUCCEEDED", "PAYMENT_REFUNDED", "ADMIN_ACTION", "AI_JOB_SUCCEEDED", "AI_JOB_FAILED", "GAME_PLAY_MILESTONE", "GAME_RECOMMENDED", "REMIX_PUBLISHED"];
1938
2021
  export type NotificationEventType = typeof NOTIFICATION_EVENT_TYPE_VALUES[number];
1939
2022
  export declare const LIBRARY_CATEGORY_VALUES: readonly ["games", "demos", "tools", "templates", "images", "music", "sfx", "videos", "3d", "packs"];
1940
2023
  export type LibraryCategory = typeof LIBRARY_CATEGORY_VALUES[number];