@vibes.diy/api-types 14.3.341 → 14.3.342

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.
@@ -37,7 +37,7 @@ function line(text, opts) {
37
37
  };
38
38
  }
39
39
  const FAILED = "That change didn't land";
40
- const SKIPPED_PASS = new Set(["under-one-build", "guest-first-version", "own-pass-offered"]);
40
+ const SKIPPED_PASS = new Set(["under-one-build", "guest-first-version", "own-pass-offered", "finish-ask"]);
41
41
  export function isSkippedPassEvidence(evidence) {
42
42
  return (evidence.kind === "receipt" &&
43
43
  evidence.ok === false &&
package/agent-tools.d.ts CHANGED
@@ -35,10 +35,10 @@ export declare const setAppStyleToolInput: import("arktype/internal/variants/obj
35
35
  export type SetAppStyleToolInput = typeof setAppStyleToolInput.infer;
36
36
  export declare function isSetAppStyleToolInput(obj: unknown): obj is SetAppStyleToolInput;
37
37
  export declare function isEditVibeToolInput(obj: unknown): obj is EditVibeToolInput;
38
- export declare const agentToolRefusalReason: import("arktype/internal/variants/string.ts").StringType<"address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build", {}>;
38
+ export declare const agentToolRefusalReason: import("arktype/internal/variants/string.ts").StringType<"address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build", {}>;
39
39
  export declare const agentToolRefusal: import("arktype/internal/variants/object.ts").ObjectType<{
40
40
  ok: false;
41
- reason: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build";
41
+ reason: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build";
42
42
  message?: string | undefined;
43
43
  inFlightPromptId?: string | undefined;
44
44
  currentFsId?: string | undefined;
package/agent-tools.js CHANGED
@@ -36,7 +36,7 @@ export function isSetAppStyleToolInput(obj) {
36
36
  export function isEditVibeToolInput(obj) {
37
37
  return editVibeToolInput.allows(obj);
38
38
  }
39
- export const agentToolRefusalReason = lazyType(() => type("'busy' | 'stale-base' | 'out-of-scope' | 'ambiguous-handle' | 'not-owner' | 'invalid-input' | 'failed' | 'no-app-in-scope' | 'unchanged' | 'already-created' | 'claim-unavailable' | 'address-taken' | 'under-one-build' | 'guest-first-version' | 'own-pass-offered'"));
39
+ export const agentToolRefusalReason = lazyType(() => type("'busy' | 'stale-base' | 'out-of-scope' | 'ambiguous-handle' | 'not-owner' | 'invalid-input' | 'failed' | 'no-app-in-scope' | 'unchanged' | 'already-created' | 'claim-unavailable' | 'address-taken' | 'under-one-build' | 'guest-first-version' | 'own-pass-offered' | 'finish-ask'"));
40
40
  export const agentToolRefusal = lazyType(() => type({
41
41
  ok: "false",
42
42
  reason: agentToolRefusalReason,
package/app.d.ts CHANGED
@@ -983,7 +983,7 @@ export declare const resGetApplicationChat: import("arktype/internal/variants/ob
983
983
  busy?: boolean | undefined;
984
984
  saved?: boolean | undefined;
985
985
  ok?: boolean | undefined;
986
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
986
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
987
987
  fsId?: string | undefined;
988
988
  name?: string | undefined;
989
989
  round?: number | undefined;
package/chat.d.ts CHANGED
@@ -3008,7 +3008,7 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
3008
3008
  busy?: boolean | undefined;
3009
3009
  saved?: boolean | undefined;
3010
3010
  ok?: boolean | undefined;
3011
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
3011
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
3012
3012
  fsId?: string | undefined;
3013
3013
  name?: string | undefined;
3014
3014
  round?: number | undefined;
@@ -3753,7 +3753,7 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
3753
3753
  busy?: boolean | undefined;
3754
3754
  saved?: boolean | undefined;
3755
3755
  ok?: boolean | undefined;
3756
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
3756
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
3757
3757
  fsId?: string | undefined;
3758
3758
  name?: string | undefined;
3759
3759
  round?: number | undefined;
@@ -4519,7 +4519,7 @@ export declare const resChatResponseSection: import("arktype/internal/variants/o
4519
4519
  busy?: boolean | undefined;
4520
4520
  saved?: boolean | undefined;
4521
4521
  ok?: boolean | undefined;
4522
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
4522
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
4523
4523
  fsId?: string | undefined;
4524
4524
  name?: string | undefined;
4525
4525
  round?: number | undefined;
@@ -5288,7 +5288,7 @@ export declare const resChatResponseTurn: import("arktype/internal/variants/obje
5288
5288
  busy?: boolean | undefined;
5289
5289
  saved?: boolean | undefined;
5290
5290
  ok?: boolean | undefined;
5291
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
5291
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
5292
5292
  fsId?: string | undefined;
5293
5293
  name?: string | undefined;
5294
5294
  round?: number | undefined;
@@ -6069,7 +6069,7 @@ export declare const resGetChatResponse: import("arktype/internal/variants/objec
6069
6069
  busy?: boolean | undefined;
6070
6070
  saved?: boolean | undefined;
6071
6071
  ok?: boolean | undefined;
6072
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
6072
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
6073
6073
  fsId?: string | undefined;
6074
6074
  name?: string | undefined;
6075
6075
  round?: number | undefined;
package/invite.d.ts CHANGED
@@ -1005,6 +1005,123 @@ export declare const ActiveSeedControl: import("arktype/internal/variants/object
1005
1005
  export type ActiveSeedControl = typeof ActiveSeedControl.infer;
1006
1006
  export declare function isActiveSeedControl(obj: unknown): obj is ActiveSeedControl;
1007
1007
  export declare const ActiveEntry: import("arktype/internal/variants/object.ts").ObjectType<{
1008
+ type: "active.agent-discussion";
1009
+ chatId: string;
1010
+ pinnedAt?: string | undefined;
1011
+ title?: string | undefined;
1012
+ hiddenAt?: string | undefined;
1013
+ } | {
1014
+ type: "active.style";
1015
+ palette?: {
1016
+ hues: [number, ({
1017
+ mode: "derived";
1018
+ } | {
1019
+ mode: "pinned";
1020
+ h: number;
1021
+ } | undefined)?, ({
1022
+ mode: "derived";
1023
+ } | {
1024
+ mode: "pinned";
1025
+ h: number;
1026
+ } | undefined)?];
1027
+ character: {
1028
+ chroma: number;
1029
+ contrast: number;
1030
+ neutralTint: number;
1031
+ surfaceLift: number;
1032
+ fillLevel: number;
1033
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1034
+ paper?: number | undefined;
1035
+ fillLift?: number | undefined;
1036
+ };
1037
+ pouf?: {
1038
+ lead: number;
1039
+ up?: number | undefined;
1040
+ down?: number | undefined;
1041
+ gap?: number | undefined;
1042
+ tone?: number | undefined;
1043
+ locked?: "home" | undefined;
1044
+ } | undefined;
1045
+ } | undefined;
1046
+ font?: string | undefined;
1047
+ ornament?: {
1048
+ pad: {
1049
+ x: number;
1050
+ y: number;
1051
+ };
1052
+ pins?: {
1053
+ spacing?: string | undefined;
1054
+ "font-size-base"?: string | undefined;
1055
+ radius?: string | undefined;
1056
+ "radius-sm"?: string | undefined;
1057
+ "radius-lg"?: string | undefined;
1058
+ "border-width"?: string | undefined;
1059
+ shadow?: string | undefined;
1060
+ "shadow-sm"?: string | undefined;
1061
+ "shadow-lg"?: string | undefined;
1062
+ "letter-spacing"?: string | undefined;
1063
+ "letter-spacing-wide"?: string | undefined;
1064
+ "font-weight"?: string | undefined;
1065
+ "text-transform"?: string | undefined;
1066
+ } | undefined;
1067
+ } | undefined;
1068
+ stylePinned?: boolean | undefined;
1069
+ } | {
1070
+ type: "draft.style";
1071
+ palette?: {
1072
+ hues: [number, ({
1073
+ mode: "derived";
1074
+ } | {
1075
+ mode: "pinned";
1076
+ h: number;
1077
+ } | undefined)?, ({
1078
+ mode: "derived";
1079
+ } | {
1080
+ mode: "pinned";
1081
+ h: number;
1082
+ } | undefined)?];
1083
+ character: {
1084
+ chroma: number;
1085
+ contrast: number;
1086
+ neutralTint: number;
1087
+ surfaceLift: number;
1088
+ fillLevel: number;
1089
+ scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1090
+ paper?: number | undefined;
1091
+ fillLift?: number | undefined;
1092
+ };
1093
+ pouf?: {
1094
+ lead: number;
1095
+ up?: number | undefined;
1096
+ down?: number | undefined;
1097
+ gap?: number | undefined;
1098
+ tone?: number | undefined;
1099
+ locked?: "home" | undefined;
1100
+ } | undefined;
1101
+ } | undefined;
1102
+ font?: string | undefined;
1103
+ ornament?: {
1104
+ pad: {
1105
+ x: number;
1106
+ y: number;
1107
+ };
1108
+ pins?: {
1109
+ spacing?: string | undefined;
1110
+ "font-size-base"?: string | undefined;
1111
+ radius?: string | undefined;
1112
+ "radius-sm"?: string | undefined;
1113
+ "radius-lg"?: string | undefined;
1114
+ "border-width"?: string | undefined;
1115
+ shadow?: string | undefined;
1116
+ "shadow-sm"?: string | undefined;
1117
+ "shadow-lg"?: string | undefined;
1118
+ "letter-spacing"?: string | undefined;
1119
+ "letter-spacing-wide"?: string | undefined;
1120
+ "font-weight"?: string | undefined;
1121
+ "text-transform"?: string | undefined;
1122
+ } | undefined;
1123
+ } | undefined;
1124
+ } | {
1008
1125
  type: "app.public.access";
1009
1126
  enable: boolean;
1010
1127
  tick?: {
@@ -1346,117 +1463,6 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
1346
1463
  type: "active.seed-control";
1347
1464
  dontRun?: boolean | undefined;
1348
1465
  suppressed?: string[] | undefined;
1349
- } | {
1350
- type: "active.style";
1351
- palette?: {
1352
- hues: [number, ({
1353
- mode: "derived";
1354
- } | {
1355
- mode: "pinned";
1356
- h: number;
1357
- } | undefined)?, ({
1358
- mode: "derived";
1359
- } | {
1360
- mode: "pinned";
1361
- h: number;
1362
- } | undefined)?];
1363
- character: {
1364
- chroma: number;
1365
- contrast: number;
1366
- neutralTint: number;
1367
- surfaceLift: number;
1368
- fillLevel: number;
1369
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1370
- paper?: number | undefined;
1371
- fillLift?: number | undefined;
1372
- };
1373
- pouf?: {
1374
- lead: number;
1375
- up?: number | undefined;
1376
- down?: number | undefined;
1377
- gap?: number | undefined;
1378
- tone?: number | undefined;
1379
- locked?: "home" | undefined;
1380
- } | undefined;
1381
- } | undefined;
1382
- font?: string | undefined;
1383
- ornament?: {
1384
- pad: {
1385
- x: number;
1386
- y: number;
1387
- };
1388
- pins?: {
1389
- spacing?: string | undefined;
1390
- "font-size-base"?: string | undefined;
1391
- radius?: string | undefined;
1392
- "radius-sm"?: string | undefined;
1393
- "radius-lg"?: string | undefined;
1394
- "border-width"?: string | undefined;
1395
- shadow?: string | undefined;
1396
- "shadow-sm"?: string | undefined;
1397
- "shadow-lg"?: string | undefined;
1398
- "letter-spacing"?: string | undefined;
1399
- "letter-spacing-wide"?: string | undefined;
1400
- "font-weight"?: string | undefined;
1401
- "text-transform"?: string | undefined;
1402
- } | undefined;
1403
- } | undefined;
1404
- stylePinned?: boolean | undefined;
1405
- } | {
1406
- type: "draft.style";
1407
- palette?: {
1408
- hues: [number, ({
1409
- mode: "derived";
1410
- } | {
1411
- mode: "pinned";
1412
- h: number;
1413
- } | undefined)?, ({
1414
- mode: "derived";
1415
- } | {
1416
- mode: "pinned";
1417
- h: number;
1418
- } | undefined)?];
1419
- character: {
1420
- chroma: number;
1421
- contrast: number;
1422
- neutralTint: number;
1423
- surfaceLift: number;
1424
- fillLevel: number;
1425
- scheme: "analogous" | "complementary" | "split-complementary" | "triadic";
1426
- paper?: number | undefined;
1427
- fillLift?: number | undefined;
1428
- };
1429
- pouf?: {
1430
- lead: number;
1431
- up?: number | undefined;
1432
- down?: number | undefined;
1433
- gap?: number | undefined;
1434
- tone?: number | undefined;
1435
- locked?: "home" | undefined;
1436
- } | undefined;
1437
- } | undefined;
1438
- font?: string | undefined;
1439
- ornament?: {
1440
- pad: {
1441
- x: number;
1442
- y: number;
1443
- };
1444
- pins?: {
1445
- spacing?: string | undefined;
1446
- "font-size-base"?: string | undefined;
1447
- radius?: string | undefined;
1448
- "radius-sm"?: string | undefined;
1449
- "radius-lg"?: string | undefined;
1450
- "border-width"?: string | undefined;
1451
- shadow?: string | undefined;
1452
- "shadow-sm"?: string | undefined;
1453
- "shadow-lg"?: string | undefined;
1454
- "letter-spacing"?: string | undefined;
1455
- "letter-spacing-wide"?: string | undefined;
1456
- "font-weight"?: string | undefined;
1457
- "text-transform"?: string | undefined;
1458
- } | undefined;
1459
- } | undefined;
1460
1466
  } | {
1461
1467
  type: "active.db-acl";
1462
1468
  dbName: string;
@@ -1491,12 +1497,6 @@ export declare const ActiveEntry: import("arktype/internal/variants/object.ts").
1491
1497
  ownerHandle: string;
1492
1498
  appSlug: string;
1493
1499
  }[];
1494
- } | {
1495
- type: "active.agent-discussion";
1496
- chatId: string;
1497
- pinnedAt?: string | undefined;
1498
- title?: string | undefined;
1499
- hiddenAt?: string | undefined;
1500
1500
  }, {}>;
1501
1501
  export declare function isActiveAcl(obj: unknown): obj is typeof ActiveACL.infer;
1502
1502
  export type ActiveEntry = typeof ActiveEntry.infer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/api-types",
3
- "version": "14.3.341",
3
+ "version": "14.3.342",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -25,9 +25,9 @@
25
25
  "dependencies": {
26
26
  "@adviser/cement": "~0.5.37",
27
27
  "@cloudflare/workers-types": "~5.20261101.1",
28
- "@vibes.diy/call-ai-v2": "14.3.341",
29
- "@vibes.diy/identity": "14.3.341",
30
- "@vibes.diy/vibe-types": "14.3.341",
28
+ "@vibes.diy/call-ai-v2": "14.3.342",
29
+ "@vibes.diy/identity": "14.3.342",
30
+ "@vibes.diy/vibe-types": "14.3.342",
31
31
  "arktype": "~2.2.9"
32
32
  },
33
33
  "repository": {
package/prompt.d.ts CHANGED
@@ -355,7 +355,7 @@ export declare const AgentEvidence: import("arktype/internal/variants/object.ts"
355
355
  busy?: boolean | undefined;
356
356
  saved?: boolean | undefined;
357
357
  ok?: boolean | undefined;
358
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
358
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
359
359
  fsId?: string | undefined;
360
360
  name?: string | undefined;
361
361
  round?: number | undefined;
@@ -387,7 +387,7 @@ export declare const PromptAgentEvidence: import("arktype/internal/variants/obje
387
387
  busy?: boolean | undefined;
388
388
  saved?: boolean | undefined;
389
389
  ok?: boolean | undefined;
390
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
390
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
391
391
  fsId?: string | undefined;
392
392
  name?: string | undefined;
393
393
  round?: number | undefined;
@@ -582,6 +582,44 @@ export declare const PromptDiscussionTitle: import("arktype/internal/variants/ob
582
582
  export type PromptDiscussionTitle = typeof PromptDiscussionTitle.infer;
583
583
  export declare function isPromptDiscussionTitle(msg: unknown): msg is PromptDiscussionTitle;
584
584
  export declare const PromptMsgs: import("arktype/internal/variants/object.ts").ObjectType<{
585
+ type: "prompt.research";
586
+ version: 1;
587
+ streamId: string;
588
+ chatId: string;
589
+ seq: number;
590
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
591
+ researchId: string;
592
+ status: "complete" | "failed" | "partial";
593
+ brief: string;
594
+ sources: {
595
+ url: string;
596
+ finalUrl: string | null;
597
+ contentType: string | null;
598
+ httpStatus: number | null;
599
+ backendFetchable: boolean;
600
+ fetched: boolean;
601
+ errorCode?: string | undefined;
602
+ }[];
603
+ api: {
604
+ method: string;
605
+ path: string;
606
+ description: string;
607
+ fields: string[];
608
+ }[];
609
+ excerpts: {
610
+ sourceUrl: string;
611
+ text: string;
612
+ locator?: string | undefined;
613
+ }[];
614
+ seedRows: {
615
+ sourceUrl: string;
616
+ dbName: string;
617
+ key: string;
618
+ item: unknown;
619
+ }[];
620
+ completedAt: string;
621
+ errorCode?: string | undefined;
622
+ } | {
585
623
  streamId: string;
586
624
  chatId: string;
587
625
  seq: number;
@@ -907,7 +945,7 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
907
945
  busy?: boolean | undefined;
908
946
  saved?: boolean | undefined;
909
947
  ok?: boolean | undefined;
910
- refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
948
+ refusalReason?: "address-taken" | "already-created" | "ambiguous-handle" | "busy" | "claim-unavailable" | "failed" | "finish-ask" | "guest-first-version" | "invalid-input" | "no-app-in-scope" | "not-owner" | "out-of-scope" | "own-pass-offered" | "stale-base" | "unchanged" | "under-one-build" | undefined;
911
949
  fsId?: string | undefined;
912
950
  name?: string | undefined;
913
951
  round?: number | undefined;
@@ -1051,44 +1089,6 @@ export declare const PromptMsgs: import("arktype/internal/variants/object.ts").O
1051
1089
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1052
1090
  type: "prompt.discussion-title";
1053
1091
  text: string;
1054
- } | {
1055
- type: "prompt.research";
1056
- version: 1;
1057
- streamId: string;
1058
- chatId: string;
1059
- seq: number;
1060
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1061
- researchId: string;
1062
- status: "complete" | "failed" | "partial";
1063
- brief: string;
1064
- sources: {
1065
- url: string;
1066
- finalUrl: string | null;
1067
- contentType: string | null;
1068
- httpStatus: number | null;
1069
- backendFetchable: boolean;
1070
- fetched: boolean;
1071
- errorCode?: string | undefined;
1072
- }[];
1073
- api: {
1074
- method: string;
1075
- path: string;
1076
- description: string;
1077
- fields: string[];
1078
- }[];
1079
- excerpts: {
1080
- sourceUrl: string;
1081
- text: string;
1082
- locator?: string | undefined;
1083
- }[];
1084
- seedRows: {
1085
- sourceUrl: string;
1086
- dbName: string;
1087
- key: string;
1088
- item: unknown;
1089
- }[];
1090
- completedAt: string;
1091
- errorCode?: string | undefined;
1092
1092
  }, {}>;
1093
1093
  export type PromptMsgs = typeof PromptMsgs.infer;
1094
1094
  export declare function isPromptMsg(msg: unknown): msg is PromptMsgs;