@pagelines/sdk 1.0.709 → 1.0.711

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/dist/contract.js CHANGED
@@ -5343,37 +5343,74 @@ function parseChatEvent(e) {
5343
5343
  }
5344
5344
  }
5345
5345
  //#endregion
5346
+ //#region ../core/dist/wire/chat-card.js
5347
+ var la = object({
5348
+ label: string().trim().min(1).max(40),
5349
+ reply: string().trim().min(1).max(500),
5350
+ style: _enum([
5351
+ "primary",
5352
+ "default",
5353
+ "destructive"
5354
+ ]).optional()
5355
+ }).strip(), ua = object({
5356
+ version: literal(1),
5357
+ title: string().trim().min(1).max(200),
5358
+ body: string().trim().min(1).max(4e3).optional(),
5359
+ actions: array(la).min(1).max(3).optional()
5360
+ }).strip();
5361
+ function parseChatCardFencePayload(e) {
5362
+ let t;
5363
+ try {
5364
+ t = JSON.parse(e);
5365
+ } catch (e) {
5366
+ return {
5367
+ ok: !1,
5368
+ reason: "invalid_json",
5369
+ message: e instanceof Error ? e.message : "Invalid JSON"
5370
+ };
5371
+ }
5372
+ let n = ua.safeParse(t);
5373
+ return n.success ? {
5374
+ ok: !0,
5375
+ spec: n.data
5376
+ } : {
5377
+ ok: !1,
5378
+ reason: "invalid_spec",
5379
+ message: n.error.issues.map((e) => e.message).join("; ")
5380
+ };
5381
+ }
5382
+ //#endregion
5346
5383
  //#region ../core/dist/wire/chat-visual.js
5347
- var la = string().trim().min(1).max(240), ua = string().trim().min(1).max(800), X = string().trim().min(1).max(80).regex(/^[A-Za-z0-9_.:-]+$/), Z = string().trim().min(1).max(120), da = record(X, union([
5384
+ var da = string().trim().min(1).max(240), fa = string().trim().min(1).max(800), X = string().trim().min(1).max(80).regex(/^[A-Za-z0-9_.:-]+$/), Z = string().trim().min(1).max(120), pa = record(X, union([
5348
5385
  string().max(500),
5349
5386
  number().finite(),
5350
5387
  boolean(),
5351
5388
  _null()
5352
- ])), fa = _enum([
5389
+ ])), ma = _enum([
5353
5390
  "compact",
5354
5391
  "currency",
5355
5392
  "duration",
5356
5393
  "integer",
5357
5394
  "percent",
5358
5395
  "raw"
5359
- ]), pa = object({
5360
- title: la,
5361
- description: ua.optional(),
5362
- footer: ua.optional()
5363
- }).strip(), ma = object({
5396
+ ]), ha = object({
5397
+ title: da,
5398
+ description: fa.optional(),
5399
+ footer: fa.optional()
5400
+ }).strip(), ga = object({
5364
5401
  dataKey: X,
5365
5402
  label: Z.optional(),
5366
5403
  axisLabel: Z.optional(),
5367
- valueFormat: fa.optional(),
5404
+ valueFormat: ma.optional(),
5368
5405
  valuePrefix: string().trim().max(12).optional(),
5369
5406
  valueSuffix: string().trim().max(12).optional()
5370
- }).strip(), ha = object({
5407
+ }).strip(), _a = object({
5371
5408
  kind: literal("linear"),
5372
5409
  dataKey: X,
5373
5410
  label: Z.optional()
5374
- }).strip(), ga = object({
5411
+ }).strip(), va = object({
5375
5412
  version: literal(1),
5376
- meta: pa,
5413
+ meta: ha,
5377
5414
  fallbackMarkdown: string().trim().min(1).max(4e3)
5378
5415
  }).strip();
5379
5416
  function dataKeys(e) {
@@ -5415,7 +5452,7 @@ function requireNumericDataKeys(e, t, n) {
5415
5452
  });
5416
5453
  }
5417
5454
  }
5418
- var _a = discriminatedUnion("chartType", [ga.extend({
5455
+ var ya = discriminatedUnion("chartType", [va.extend({
5419
5456
  visualType: literal("chart"),
5420
5457
  chartType: _enum([
5421
5458
  "bar",
@@ -5424,11 +5461,11 @@ var _a = discriminatedUnion("chartType", [ga.extend({
5424
5461
  ]),
5425
5462
  xKey: X,
5426
5463
  xAxisLabel: Z.optional(),
5427
- series: array(ma).min(1).max(6),
5428
- data: array(da).min(1).max(120),
5464
+ series: array(ga).min(1).max(6),
5465
+ data: array(pa).min(1).max(120),
5429
5466
  layout: _enum(["horizontal", "vertical"]).optional(),
5430
5467
  stacking: _enum(["grouped", "stacked"]).optional(),
5431
- trendLine: ha.optional()
5468
+ trendLine: _a.optional()
5432
5469
  }).strip().superRefine((e, t) => {
5433
5470
  e.stacking && e.chartType !== "bar" && t.addIssue({
5434
5471
  code: "custom",
@@ -5466,13 +5503,13 @@ var _a = discriminatedUnion("chartType", [ga.extend({
5466
5503
  path: ["trendLine", "dataKey"],
5467
5504
  value: e.trendLine.dataKey
5468
5505
  }] : []], t);
5469
- }), ga.extend({
5506
+ }), va.extend({
5470
5507
  visualType: literal("chart"),
5471
5508
  chartType: literal("pie"),
5472
5509
  nameKey: X,
5473
5510
  valueKey: X,
5474
- series: array(ma).max(1).optional(),
5475
- data: array(da).min(1).max(16)
5511
+ series: array(ga).max(1).optional(),
5512
+ data: array(pa).min(1).max(16)
5476
5513
  }).strip().superRefine((e, t) => {
5477
5514
  requireDataKeys(e.data, [
5478
5515
  {
@@ -5496,10 +5533,10 @@ var _a = discriminatedUnion("chartType", [ga.extend({
5496
5533
  value: e.valueKey,
5497
5534
  nonnegative: !0
5498
5535
  }], t);
5499
- })]), va = object({
5536
+ })]), ba = object({
5500
5537
  id: X,
5501
5538
  label: Z,
5502
- detail: ua.optional(),
5539
+ detail: fa.optional(),
5503
5540
  kind: _enum([
5504
5541
  "actor",
5505
5542
  "agent",
@@ -5510,11 +5547,11 @@ var _a = discriminatedUnion("chartType", [ga.extend({
5510
5547
  "system",
5511
5548
  "task"
5512
5549
  ]).optional()
5513
- }).strip(), ya = object({
5550
+ }).strip(), xa = object({
5514
5551
  from: X,
5515
5552
  to: X,
5516
5553
  label: Z.optional()
5517
- }).strip(), ba = union([_a, ga.extend({
5554
+ }).strip(), Sa = union([ya, va.extend({
5518
5555
  visualType: literal("diagram"),
5519
5556
  diagramType: _enum([
5520
5557
  "flow",
@@ -5528,8 +5565,8 @@ var _a = discriminatedUnion("chartType", [ga.extend({
5528
5565
  "radial",
5529
5566
  "top-to-bottom"
5530
5567
  ]).default("auto"),
5531
- nodes: array(va).min(1).max(24),
5532
- edges: array(ya).max(48)
5568
+ nodes: array(ba).min(1).max(24),
5569
+ edges: array(xa).max(48)
5533
5570
  }).strip().superRefine((e, t) => {
5534
5571
  let n = new Set(e.nodes.map((e) => e.id));
5535
5572
  for (let [r, i] of e.edges.entries()) n.has(i.from) || t.addIssue({
@@ -5645,11 +5682,11 @@ function parseChatVisualFencePayload(e) {
5645
5682
  fallbackMarkdown: r
5646
5683
  };
5647
5684
  }
5648
- let n = ba.safeParse(t);
5685
+ let n = Sa.safeParse(t);
5649
5686
  if (!n.success) {
5650
5687
  let e = normalizeSimpleChartJson(t);
5651
5688
  if (e) {
5652
- let t = ba.safeParse(e);
5689
+ let t = Sa.safeParse(e);
5653
5690
  if (t.success) return {
5654
5691
  ok: !0,
5655
5692
  spec: t.data
@@ -5674,7 +5711,7 @@ function extractChatVisualFencePayloads(e) {
5674
5711
  }
5675
5712
  //#endregion
5676
5713
  //#region ../core/dist/wire/conversation.js
5677
- var xa = object({
5714
+ var Ca = object({
5678
5715
  type: _enum([
5679
5716
  "user",
5680
5717
  "agent",
@@ -5694,7 +5731,7 @@ var xa = object({
5694
5731
  displayName: string().optional(),
5695
5732
  handle: string().optional(),
5696
5733
  avatarUrl: string().optional()
5697
- }).strict(), Sa = object({
5734
+ }).strict(), wa = object({
5698
5735
  messageId: string(),
5699
5736
  role: _enum([
5700
5737
  "user",
@@ -5704,7 +5741,7 @@ var xa = object({
5704
5741
  content: string(),
5705
5742
  sequence: string(),
5706
5743
  createdAt: string()
5707
- }), Ca = object({
5744
+ }), Ta = object({
5708
5745
  conversationId: string(),
5709
5746
  orgId: string(),
5710
5747
  kind: _enum(["direct", "group"]),
@@ -5714,30 +5751,30 @@ var xa = object({
5714
5751
  "requester",
5715
5752
  "member"
5716
5753
  ]),
5717
- participants: array(xa),
5718
- lastMessage: Sa.nullable(),
5754
+ participants: array(Ca),
5755
+ lastMessage: wa.nullable(),
5719
5756
  unreadCount: number().int().nonnegative(),
5720
5757
  latestSequence: string().nullable()
5721
- }), wa = object({ sequence: string().min(1) }), Ta = object({ turnId: string().min(1).optional() }).strict(), Ea = object({
5758
+ }), Ea = object({ sequence: string().min(1) }), Da = object({ turnId: string().min(1).optional() }).strict(), Oa = object({
5722
5759
  cancelled: boolean(),
5723
5760
  cancelledTurnIds: array(string())
5724
- }).strict(), Da = object({
5761
+ }).strict(), ka = object({
5725
5762
  conversationId: string(),
5726
5763
  messageId: string(),
5727
5764
  sequence: string(),
5728
5765
  snippet: string(),
5729
5766
  createdAt: string(),
5730
- participants: array(xa)
5731
- }), Oa = object({
5767
+ participants: array(Ca)
5768
+ }), Aa = object({
5732
5769
  conversationId: string(),
5733
- lastMessage: Sa.nullable(),
5770
+ lastMessage: wa.nullable(),
5734
5771
  unreadCount: number().int().nonnegative(),
5735
5772
  latestSequence: string().nullable()
5736
- }), Q = preprocess((e) => e === void 0 ? null : e, string().nullable()), ka = preprocess((e) => e === void 0 ? null : e, L.nullable()), Aa = preprocess((e) => e === void 0 ? null : e, I.nullable()), ja = preprocess((e) => e === void 0 ? null : e, _enum([
5773
+ }), Q = preprocess((e) => e === void 0 ? null : e, string().nullable()), ja = preprocess((e) => e === void 0 ? null : e, L.nullable()), Ma = preprocess((e) => e === void 0 ? null : e, I.nullable()), Na = preprocess((e) => e === void 0 ? null : e, _enum([
5737
5774
  "user",
5738
5775
  "assistant",
5739
5776
  "system"
5740
- ]).nullable()), Ma = preprocess((e) => e === void 0 ? 0 : e, number()), Na = object({
5777
+ ]).nullable()), Pa = preprocess((e) => e === void 0 ? 0 : e, number()), Fa = object({
5741
5778
  agentId: string(),
5742
5779
  handle: string(),
5743
5780
  name: string(),
@@ -5746,19 +5783,19 @@ var xa = object({
5746
5783
  orgHandle: Q,
5747
5784
  ownerEmail: Q,
5748
5785
  ownerName: Q,
5749
- state: ka,
5750
- desiredStatus: Aa,
5786
+ state: ja,
5787
+ desiredStatus: Ma,
5751
5788
  runtime: string(),
5752
5789
  imageVersion: Q,
5753
5790
  lastHealthyAt: Q,
5754
5791
  lastActiveAt: Q,
5755
5792
  lastUserMessageAt: Q,
5756
5793
  lastMessageAt: Q,
5757
- lastMessageRole: ja,
5794
+ lastMessageRole: Na,
5758
5795
  lastMessageChannel: Q,
5759
5796
  primaryChannel: Q,
5760
- totalMessages: Ma,
5761
- totalSessions: Ma,
5797
+ totalMessages: Pa,
5798
+ totalSessions: Pa,
5762
5799
  error: Q,
5763
5800
  appHandle: string(),
5764
5801
  flyAppExists: boolean(),
@@ -5767,7 +5804,7 @@ var xa = object({
5767
5804
  billingActive: boolean(),
5768
5805
  createdAt: string(),
5769
5806
  updatedAt: string()
5770
- }), Pa = object({
5807
+ }), Ia = object({
5771
5808
  running: number(),
5772
5809
  stopped: number(),
5773
5810
  error: number(),
@@ -5775,14 +5812,14 @@ var xa = object({
5775
5812
  stopping: number(),
5776
5813
  unknown: number(),
5777
5814
  total: number()
5778
- }), Fa = object({
5779
- agents: array(Na),
5780
- summary: Pa,
5815
+ }), La = object({
5816
+ agents: array(Fa),
5817
+ summary: Ia,
5781
5818
  orphanedApps: array(string()),
5782
5819
  flyAppCount: number().optional(),
5783
5820
  latestVersion: string().optional(),
5784
5821
  latestVersions: record(string(), string()).optional()
5785
- }), Ia = k, $ = O, La = object({
5822
+ }), Ra = k, $ = O, za = object({
5786
5823
  mediaId: string(),
5787
5824
  src: string(),
5788
5825
  alt: string().nullable().optional(),
@@ -5795,7 +5832,7 @@ var xa = object({
5795
5832
  width: number().nullable().optional(),
5796
5833
  height: number().nullable().optional(),
5797
5834
  duration: number().nullable().optional(),
5798
- context: Ia.nullable().optional(),
5835
+ context: Ra.nullable().optional(),
5799
5836
  blurhash: string().nullable().optional(),
5800
5837
  quality: string().optional(),
5801
5838
  status: string().optional(),
@@ -5804,13 +5841,13 @@ var xa = object({
5804
5841
  agentId: string().nullable().optional(),
5805
5842
  createdAt: string().optional(),
5806
5843
  updatedAt: string().optional()
5807
- }), Ra = object({
5844
+ }), Ba = object({
5808
5845
  file: string().describe("Binary file. multipart/form-data field — the actual upload. The server validates type + size and normalizes image uploads before storage. Audio/video/document uploads use the same uploader and are classified by MIME type."),
5809
- context: Ia.optional().default("general"),
5846
+ context: Ra.optional().default("general"),
5810
5847
  agentId: string().optional(),
5811
5848
  orgId: string().optional(),
5812
5849
  duration: number().optional()
5813
- }), za = object({
5850
+ }), Va = object({
5814
5851
  mediaId: string().optional(),
5815
5852
  src: string().optional(),
5816
5853
  alt: string().optional(),
@@ -5819,7 +5856,7 @@ var xa = object({
5819
5856
  mimeType: string().optional(),
5820
5857
  mediaType: string().optional(),
5821
5858
  blurhash: string().optional()
5822
- }), Ba = object({
5859
+ }), Ha = object({
5823
5860
  membershipId: string(),
5824
5861
  userId: string(),
5825
5862
  orgId: string(),
@@ -5834,15 +5871,15 @@ var xa = object({
5834
5871
  status: _enum(["active", "suspended"]),
5835
5872
  joinedAt: string(),
5836
5873
  lastSeenAt: string().optional(),
5837
- avatar: za.optional()
5838
- }), Va = object({
5874
+ avatar: Va.optional()
5875
+ }), Ua = object({
5839
5876
  invitationId: string(),
5840
5877
  email: string(),
5841
5878
  role: string(),
5842
5879
  status: string(),
5843
5880
  expiresAt: string(),
5844
5881
  createdAt: string()
5845
- }), Ha = object({
5882
+ }), Wa = object({
5846
5883
  token: string(),
5847
5884
  email: string(),
5848
5885
  orgId: string(),
@@ -5864,24 +5901,24 @@ var xa = object({
5864
5901
  ]),
5865
5902
  expiresAt: string(),
5866
5903
  memberCount: number().optional()
5867
- }), Ua = object({
5904
+ }), Ga = object({
5868
5905
  email: string().email(),
5869
5906
  message: string().max(500).optional()
5870
- }).strict(), Wa = object({ role: _enum([
5907
+ }).strict(), Ka = object({ role: _enum([
5871
5908
  "owner",
5872
5909
  "admin",
5873
5910
  "member",
5874
5911
  "observer"
5875
- ]) }).strict(), Ga = object({ token: string().min(1) }).strict(), Ka = _enum([
5912
+ ]) }).strict(), qa = object({ token: string().min(1) }).strict(), Ja = _enum([
5876
5913
  "planLimit",
5877
5914
  "billingOverdue",
5878
5915
  "rebuilding",
5879
5916
  "agentNotFound"
5880
- ]), qa = _enum([
5917
+ ]), Ya = _enum([
5881
5918
  "rebuilding",
5882
5919
  "provisioning",
5883
5920
  "billingOverdue"
5884
- ]), Ja = object({
5921
+ ]), Xa = object({
5885
5922
  agentId: string(),
5886
5923
  name: string(),
5887
5924
  avatar: A.optional(),
@@ -5901,21 +5938,21 @@ var xa = object({
5901
5938
  detail: string().optional(),
5902
5939
  blocker: P.optional(),
5903
5940
  canWake: boolean(),
5904
- cantWakeReason: Ka.optional(),
5941
+ cantWakeReason: Ja.optional(),
5905
5942
  canRebuild: boolean(),
5906
- cantRebuildReason: qa.optional()
5907
- }), Ya = /* @__PURE__ */ t({
5908
- zNotificationTelemetryAck: () => $a,
5909
- zNotificationTelemetryEvent: () => Qa,
5910
- zRegisterDeviceRequest: () => Xa,
5911
- zRegisterDeviceResponse: () => Za
5912
- }), Xa = object({
5943
+ cantRebuildReason: Ya.optional()
5944
+ }), Za = /* @__PURE__ */ t({
5945
+ zNotificationTelemetryAck: () => to,
5946
+ zNotificationTelemetryEvent: () => eo,
5947
+ zRegisterDeviceRequest: () => Qa,
5948
+ zRegisterDeviceResponse: () => $a
5949
+ }), Qa = object({
5913
5950
  deviceId: string().min(1).max(64),
5914
5951
  pushToken: string().min(1).max(200),
5915
5952
  appVersion: string().max(40).optional(),
5916
5953
  osVersion: string().max(40).optional(),
5917
5954
  model: string().max(80).optional()
5918
- }), Za = object({ deviceId: string().min(1).max(64) }), Qa = object({
5955
+ }), $a = object({ deviceId: string().min(1).max(64) }), eo = object({
5919
5956
  deviceId: string().min(1).max(64),
5920
5957
  kind: string().min(1).max(30),
5921
5958
  action: _enum([
@@ -5924,7 +5961,7 @@ var xa = object({
5924
5961
  "dismissed"
5925
5962
  ]),
5926
5963
  messageId: string().max(32).optional()
5927
- }), $a = object({ updated: boolean() }), eo = H.pick({
5964
+ }), to = object({ updated: boolean() }), no = H.pick({
5928
5965
  orgId: !0,
5929
5966
  handle: !0,
5930
5967
  name: !0,
@@ -5938,13 +5975,13 @@ var xa = object({
5938
5975
  status: !0,
5939
5976
  updatedAt: !0
5940
5977
  }).extend({
5941
- avatar: La.nullable().optional(),
5942
- cover: La.nullable().optional()
5943
- }), to = object({
5978
+ avatar: za.nullable().optional(),
5979
+ cover: za.nullable().optional()
5980
+ }), ro = object({
5944
5981
  name: string().min(1).max(255),
5945
5982
  handle: string().min(2).max(50).optional(),
5946
5983
  timezone: K.optional()
5947
- }).strict(), no = H.pick({
5984
+ }).strict(), io = H.pick({
5948
5985
  name: !0,
5949
5986
  email: !0,
5950
5987
  website: !0,
@@ -5956,11 +5993,11 @@ var xa = object({
5956
5993
  timezone: K.optional(),
5957
5994
  avatarMediaId: string().nullable().optional(),
5958
5995
  coverMediaId: string().nullable().optional()
5959
- }).strict(), ro = _enum([
5996
+ }).strict(), ao = _enum([
5960
5997
  "success",
5961
5998
  "info",
5962
5999
  "warning"
5963
- ]), io = object({
6000
+ ]), oo = object({
5964
6001
  org: object({
5965
6002
  orgId: string(),
5966
6003
  name: string(),
@@ -5969,7 +6006,7 @@ var xa = object({
5969
6006
  plan: object({
5970
6007
  key: string(),
5971
6008
  label: string(),
5972
- tone: ro,
6009
+ tone: ao,
5973
6010
  status: string(),
5974
6011
  trialDaysRemaining: number().optional()
5975
6012
  }),
@@ -5990,15 +6027,15 @@ function zPaginatedResponse(e) {
5990
6027
  }
5991
6028
  //#endregion
5992
6029
  //#region ../core/dist/wire/public-services.js
5993
- var ao = object({
6030
+ var so = object({
5994
6031
  sender: _enum(["user", "agent"]),
5995
6032
  text: string()
5996
- }), oo = _enum([
6033
+ }), co = _enum([
5997
6034
  "works-now",
5998
6035
  "guided-setup",
5999
6036
  "coming-soon",
6000
6037
  "custom-workflow"
6001
- ]), so = object({
6038
+ ]), lo = object({
6002
6039
  docsUrl: string(),
6003
6040
  verifiedAt: string(),
6004
6041
  version: string().optional(),
@@ -6010,11 +6047,11 @@ var ao = object({
6010
6047
  "unversioned"
6011
6048
  ]),
6012
6049
  note: string().optional()
6013
- }), co = object({
6050
+ }), uo = object({
6014
6051
  key: string(),
6015
6052
  label: string(),
6016
6053
  rank: number()
6017
- }), lo = object({
6054
+ }), fo = object({
6018
6055
  text: string(),
6019
6056
  tone: _enum([
6020
6057
  "info",
@@ -6022,7 +6059,7 @@ var ao = object({
6022
6059
  "success",
6023
6060
  "danger"
6024
6061
  ])
6025
- }), uo = object({
6062
+ }), po = object({
6026
6063
  serviceKey: string(),
6027
6064
  name: string(),
6028
6065
  description: string(),
@@ -6032,16 +6069,16 @@ var ao = object({
6032
6069
  category: string(),
6033
6070
  categoryLabel: string(),
6034
6071
  categoryRank: number(),
6035
- secondaryCategories: array(co),
6036
- badges: array(lo),
6072
+ secondaryCategories: array(uo),
6073
+ badges: array(fo),
6037
6074
  tags: array(string()),
6038
6075
  searchAliases: array(string()),
6039
6076
  jtbd: string(),
6040
6077
  useCase: string(),
6041
6078
  demoScenario: string(),
6042
- sampleConversation: array(ao),
6043
- publicStatus: oo,
6044
- apiVerification: so.optional(),
6079
+ sampleConversation: array(so),
6080
+ publicStatus: co,
6081
+ apiVerification: lo.optional(),
6045
6082
  setupDifficulty: string(),
6046
6083
  risk: string(),
6047
6084
  price: string(),
@@ -6054,12 +6091,12 @@ var ao = object({
6054
6091
  ]),
6055
6092
  setupSummary: string().optional(),
6056
6093
  pagePath: string()
6057
- }), fo = object({
6094
+ }), mo = object({
6058
6095
  fullName: string().min(1).max(100).optional(),
6059
6096
  avatarMediaId: string().nullable().optional(),
6060
6097
  primaryAgentId: string().nullable().optional(),
6061
6098
  lastActiveOrgId: string().nullable().optional()
6062
- }).strict(), po = /* @__PURE__ */ t({
6099
+ }).strict(), ho = /* @__PURE__ */ t({
6063
6100
  ASSISTANT_SILENCE_CONTROLS: () => U,
6064
6101
  ActionAreaSchema: () => Ir,
6065
6102
  ActionButtonSchema: () => M,
@@ -6146,11 +6183,12 @@ var ao = object({
6146
6183
  loginSchema: () => ti,
6147
6184
  mapAuthErrorCode: () => mapAuthErrorCode,
6148
6185
  nanoid: () => nanoid$1,
6149
- notificationWire: () => Ya,
6186
+ notificationWire: () => Za,
6150
6187
  objectId: () => objectId,
6151
6188
  orgInfoSchema: () => di,
6152
6189
  orgSchema: () => H,
6153
6190
  orgWithDefaultAgentSchema: () => li,
6191
+ parseChatCardFencePayload: () => parseChatCardFencePayload,
6154
6192
  parseChatVisualFencePayload: () => parseChatVisualFencePayload,
6155
6193
  registerSchema: () => ni,
6156
6194
  renderIssueAsMarkdown: () => renderIssueAsMarkdown,
@@ -6167,8 +6205,8 @@ var ao = object({
6167
6205
  verifyCodeSchema: () => ri,
6168
6206
  warn: () => ee,
6169
6207
  withChatEventTurnId: () => withChatEventTurnId,
6170
- zAcceptInvitationBody: () => Ga,
6171
- zAccessibleAgentRow: () => Ja,
6208
+ zAcceptInvitationBody: () => qa,
6209
+ zAccessibleAgentRow: () => Xa,
6172
6210
  zAgentRow: () => Si,
6173
6211
  zApiError: () => Ei,
6174
6212
  zApiOk: () => zApiOk,
@@ -6186,13 +6224,14 @@ var ao = object({
6186
6224
  zBillingStatus: () => $i,
6187
6225
  zBotGenerateImageBody: () => Vi,
6188
6226
  zBotGenerateImageResponse: () => Hi,
6189
- zCancelConversationTurnBody: () => Ta,
6190
- zCancelConversationTurnResponse: () => Ea,
6191
- zCantRebuildReason: () => qa,
6192
- zCantWakeReason: () => Ka,
6227
+ zCancelConversationTurnBody: () => Da,
6228
+ zCancelConversationTurnResponse: () => Oa,
6229
+ zCantRebuildReason: () => Ya,
6230
+ zCantWakeReason: () => Ja,
6193
6231
  zChatAttachment: () => Y,
6194
6232
  zChatAttachmentInput: () => Ni,
6195
6233
  zChatAttachmentPlacement: () => Ai,
6234
+ zChatCardSpec: () => ua,
6196
6235
  zChatErrorData: () => sa,
6197
6236
  zChatEvent: () => ca,
6198
6237
  zChatIssue: () => P,
@@ -6201,22 +6240,22 @@ var ao = object({
6201
6240
  zChatStatusData: () => oa,
6202
6241
  zChatToolActivityData: () => J,
6203
6242
  zChatToolActivityVisual: () => Di,
6204
- zChatVisualSpec: () => ba,
6243
+ zChatVisualSpec: () => Sa,
6205
6244
  zCompleteCheckoutData: () => ra,
6206
- zConversationLastMessage: () => Sa,
6207
- zConversationParticipant: () => xa,
6208
- zConversationSummary: () => Ca,
6245
+ zConversationLastMessage: () => wa,
6246
+ zConversationParticipant: () => Ca,
6247
+ zConversationSummary: () => Ta,
6209
6248
  zConversationTarget: () => Fi,
6210
- zConversationUpdatedEvent: () => Oa,
6249
+ zConversationUpdatedEvent: () => Aa,
6211
6250
  zCreateAgentBody: () => bi,
6212
6251
  zCreateConversationBody: () => Ii,
6213
6252
  zCreateConversationSessionBody: () => Li,
6214
- zCreateOrgBody: () => to,
6253
+ zCreateOrgBody: () => ro,
6215
6254
  zDesiredStatus: () => I,
6216
6255
  zErrorCode: () => q,
6217
- zFleetAgent: () => Na,
6218
- zFleetSummary: () => Pa,
6219
- zFleetSyncResponse: () => Fa,
6256
+ zFleetAgent: () => Fa,
6257
+ zFleetSummary: () => Ia,
6258
+ zFleetSyncResponse: () => La,
6220
6259
  zHandoffConsumeBody: () => Yi,
6221
6260
  zHandoffConsumeData: () => Xi,
6222
6261
  zHandoffConsumeResponse: () => Zi,
@@ -6226,24 +6265,24 @@ var ao = object({
6226
6265
  zIanaTimezone: () => K,
6227
6266
  zImageAspectRatio: () => zi,
6228
6267
  zImageResolution: () => Bi,
6229
- zInvitationPreview: () => Ha,
6230
- zInvitationRow: () => Va,
6231
- zInviteBody: () => Ua,
6268
+ zInvitationPreview: () => Wa,
6269
+ zInvitationRow: () => Ua,
6270
+ zInviteBody: () => Ga,
6232
6271
  zLifecycle: () => L,
6233
6272
  zLifecycleVerb: () => Yr,
6234
6273
  zLiveStatus: () => Wr,
6235
- zMarkReadBody: () => wa,
6236
- zMediaContext: () => Ia,
6237
- zMediaObject: () => La,
6274
+ zMarkReadBody: () => Ea,
6275
+ zMediaContext: () => Ra,
6276
+ zMediaObject: () => za,
6238
6277
  zMediaType: () => $,
6239
- zMemberRow: () => Ba,
6240
- zMessageSearchResult: () => Da,
6241
- zOrgRow: () => eo,
6242
- zOrgSummary: () => io,
6278
+ zMemberRow: () => Ha,
6279
+ zMessageSearchResult: () => ka,
6280
+ zOrgRow: () => no,
6281
+ zOrgSummary: () => oo,
6243
6282
  zPaginatedResponse: () => zPaginatedResponse,
6244
- zPlanTone: () => ro,
6283
+ zPlanTone: () => ao,
6245
6284
  zProviderErrorKind: () => Ti,
6246
- zPublicServiceOverview: () => uo,
6285
+ zPublicServiceOverview: () => po,
6247
6286
  zReportMessageBody: () => Ri,
6248
6287
  zRuntimeOperation: () => R,
6249
6288
  zRuntimeOperationKind: () => Hr,
@@ -6251,17 +6290,17 @@ var ao = object({
6251
6290
  zSendMessageBody: () => Pi,
6252
6291
  zSuggestedPrompt: () => Ci,
6253
6292
  zUpdateAgentBody: () => xi,
6254
- zUpdateOrgBody: () => no,
6255
- zUpdateRoleBody: () => Wa,
6256
- zUpdateUserBody: () => fo,
6257
- zUploadMediaBody: () => Ra
6258
- }), mo = "1.0.0";
6293
+ zUpdateOrgBody: () => io,
6294
+ zUpdateRoleBody: () => Ka,
6295
+ zUpdateUserBody: () => mo,
6296
+ zUploadMediaBody: () => Ba
6297
+ }), go = "1.0.0";
6259
6298
  function buildContract(e = {}) {
6260
6299
  let t = e.now ?? /* @__PURE__ */ new Date(), toSchema = (e) => toJSONSchema(e, { unrepresentable: "any" }), n = {}, addSchema = (e, t) => {
6261
6300
  let r = contractNameFor(e);
6262
6301
  r && (n[r] = toSchema(t));
6263
6302
  };
6264
- for (let [e, t] of Object.entries(po)) {
6303
+ for (let [e, t] of Object.entries(ho)) {
6265
6304
  if (t instanceof T) {
6266
6305
  addSchema(e, t);
6267
6306
  continue;
@@ -6269,7 +6308,7 @@ function buildContract(e = {}) {
6269
6308
  if (e.endsWith("Wire") && t && typeof t == "object") for (let [e, n] of Object.entries(t)) n instanceof T && addSchema(e, n);
6270
6309
  }
6271
6310
  return {
6272
- version: mo,
6311
+ version: go,
6273
6312
  generatedAt: t.toISOString(),
6274
6313
  schemas: n
6275
6314
  };
@@ -6289,6 +6328,6 @@ function sortedReplacer(e, t) {
6289
6328
  return t;
6290
6329
  }
6291
6330
  //#endregion
6292
- export { mo as CONTRACT_VERSION, buildContract, serializeContract };
6331
+ export { go as CONTRACT_VERSION, buildContract, serializeContract };
6293
6332
 
6294
6333
  //# sourceMappingURL=contract.js.map