openmeld 0.3.231 → 0.3.232

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 (133) hide show
  1. package/dist/{add-me-membership-0KyMk1wi.js → add-me-membership-ChntsjGm.js} +2 -2
  2. package/dist/{add-me-membership-0KyMk1wi.js.map → add-me-membership-ChntsjGm.js.map} +1 -1
  3. package/dist/{agents-Bkx6ldpV.js → agents-DruPcNSg.js} +11 -11
  4. package/dist/{agents-Bkx6ldpV.js.map → agents-DruPcNSg.js.map} +1 -1
  5. package/dist/{api-client-foundation-d4E5XWdJ.js → api-client-foundation-CDj_9Rks.js} +1 -1
  6. package/dist/{api-client-foundation-DgTXf3Gb.js → api-client-foundation-EZpFLGVC.js} +3 -3
  7. package/dist/{api-client-foundation-DgTXf3Gb.js.map → api-client-foundation-EZpFLGVC.js.map} +1 -1
  8. package/dist/auth-session-BOG3gV2K2.js +4 -0
  9. package/dist/{auth-session-pLaN5cnC.js → auth-session-DhSHCYvl.js} +4 -4
  10. package/dist/{auth-session-pLaN5cnC.js.map → auth-session-DhSHCYvl.js.map} +1 -1
  11. package/dist/auth-url-6Bb6YdNm.js +24 -0
  12. package/dist/auth-url-6Bb6YdNm.js.map +1 -0
  13. package/dist/{base-url-eck31vC8.js → base-url-0AoeTi3w.js} +3 -3
  14. package/dist/{base-url-eck31vC8.js.map → base-url-0AoeTi3w.js.map} +1 -1
  15. package/dist/{base-url-B8eWb2md.js → base-url-Bdjp-5vy.js} +1 -1
  16. package/dist/{channel-DppbHxHw.js → channel-tvFZSSVr.js} +24 -4
  17. package/dist/channel-tvFZSSVr.js.map +1 -0
  18. package/dist/{command-CBWv24uj.js → command-0yoZa1GT.js} +18 -18
  19. package/dist/{command-CBWv24uj.js.map → command-0yoZa1GT.js.map} +1 -1
  20. package/dist/{computer-connection-DMkamVpB.js → computer-connection-CoBDorh6.js} +2 -2
  21. package/dist/{computer-connection-DMkamVpB.js.map → computer-connection-CoBDorh6.js.map} +1 -1
  22. package/dist/{computer-connection-review-BSPMGVhN.js → computer-connection-review-Dy7p1LXZ.js} +6 -6
  23. package/dist/{computer-connection-review-BSPMGVhN.js.map → computer-connection-review-Dy7p1LXZ.js.map} +1 -1
  24. package/dist/{computer-disconnect-BQ_MDeeA.js → computer-disconnect-4Ks_DVXV.js} +9 -9
  25. package/dist/{computer-disconnect-BQ_MDeeA.js.map → computer-disconnect-4Ks_DVXV.js.map} +1 -1
  26. package/dist/{computer-setup-continuation-Cd293Yzi.js → computer-setup-continuation-ZcQb7MvI.js} +3 -3
  27. package/dist/{computer-setup-continuation-Cd293Yzi.js.map → computer-setup-continuation-ZcQb7MvI.js.map} +1 -1
  28. package/dist/{context-qbQXVLF5.js → context-BPIoofMa.js} +5 -5
  29. package/dist/{context-qbQXVLF5.js.map → context-BPIoofMa.js.map} +1 -1
  30. package/dist/{daemon-device-id-B6iDyQEs.js → daemon-device-id-DDazRZUV.js} +7 -7
  31. package/dist/{daemon-device-id-B6iDyQEs.js.map → daemon-device-id-DDazRZUV.js.map} +1 -1
  32. package/dist/{daemon-lifecycle-journal-DrwEygzu.js → daemon-lifecycle-journal-CRxQL9m6.js} +7 -7
  33. package/dist/{daemon-lifecycle-journal-DrwEygzu.js.map → daemon-lifecycle-journal-CRxQL9m6.js.map} +1 -1
  34. package/dist/{daemon-runtime-lease-C1wkT4Bi.js → daemon-runtime-lease-Bv6vhqOe.js} +2 -2
  35. package/dist/{daemon-runtime-lease-C1wkT4Bi.js.map → daemon-runtime-lease-Bv6vhqOe.js.map} +1 -1
  36. package/dist/{daemon-runtime-lease-DAQyRUc5.js → daemon-runtime-lease-ZjP0urJt.js} +1 -1
  37. package/dist/{daemon-service-contract-DhEfbzHt.js → daemon-service-contract-COPKbCy_.js} +4 -4
  38. package/dist/{daemon-service-contract-DhEfbzHt.js.map → daemon-service-contract-COPKbCy_.js.map} +1 -1
  39. package/dist/{daemon-service-manager-CRnFxPKA.js → daemon-service-manager-BXAp21GH.js} +6 -6
  40. package/dist/{daemon-service-manager-CRnFxPKA.js.map → daemon-service-manager-BXAp21GH.js.map} +1 -1
  41. package/dist/{daemon-service-manager-l0unaDGa.js → daemon-service-manager-C_ny0JhB.js} +1 -1
  42. package/dist/{daemon-service-runtime-B4nWB2Qx.js → daemon-service-runtime-BTzL0w6s.js} +14 -13
  43. package/dist/{daemon-service-runtime-B4nWB2Qx.js.map → daemon-service-runtime-BTzL0w6s.js.map} +1 -1
  44. package/dist/{daemon-service-update-coordinator-C8cW7Vn_.js → daemon-service-update-coordinator-BDs0p4bA.js} +26 -21
  45. package/dist/daemon-service-update-coordinator-BDs0p4bA.js.map +1 -0
  46. package/dist/{daemon-state-B6G5xe7f.js → daemon-state-Dte9re5V.js} +4 -4
  47. package/dist/{daemon-state-B6G5xe7f.js.map → daemon-state-Dte9re5V.js.map} +1 -1
  48. package/dist/{daemon-frame-transport-xQnNyg6E.js → dispatch-owned-runtime-CK2YJ2Oo.js} +547 -50
  49. package/dist/dispatch-owned-runtime-CK2YJ2Oo.js.map +1 -0
  50. package/dist/{dist-DFhd6JmQ.js → dist--TaSMxQz.js} +2 -2
  51. package/dist/{dist-DFhd6JmQ.js.map → dist--TaSMxQz.js.map} +1 -1
  52. package/dist/{dist-olOaAWkl.js → dist-B12upl5l.js} +1 -1
  53. package/dist/{dist-CAypwFRu.js → dist-Bw6OBFYo.js} +195 -185
  54. package/dist/dist-Bw6OBFYo.js.map +1 -0
  55. package/dist/{elapsed-time-COv3bjEl.js → elapsed-time-C3nfbdd9.js} +5 -5
  56. package/dist/{elapsed-time-COv3bjEl.js.map → elapsed-time-C3nfbdd9.js.map} +1 -1
  57. package/dist/{entry-DIjUKIep.js → entry-De__5RVq.js} +81 -17
  58. package/dist/entry-De__5RVq.js.map +1 -0
  59. package/dist/{installation-inventory-DllgoKT1.js → installation-inventory-Bq8iZfSa.js} +5 -5
  60. package/dist/{installation-inventory-DllgoKT1.js.map → installation-inventory-Bq8iZfSa.js.map} +1 -1
  61. package/dist/{installer-Sc79LhuA.js → installer-C7iSAOSz.js} +2 -2
  62. package/dist/{installer-Sc79LhuA.js.map → installer-C7iSAOSz.js.map} +1 -1
  63. package/dist/{lock-CMH9eoS7.js → lock-BMI00i2F.js} +2 -2
  64. package/dist/{lock-CMH9eoS7.js.map → lock-BMI00i2F.js.map} +1 -1
  65. package/dist/meta-api-BpwJWE22.js +371 -0
  66. package/dist/meta-api-BpwJWE22.js.map +1 -0
  67. package/dist/{openmeld-BUYFXSyY.js → openmeld-C0OSZJtn.js} +40 -38
  68. package/dist/{openmeld-BUYFXSyY.js.map → openmeld-C0OSZJtn.js.map} +1 -1
  69. package/dist/openmeld-dev.js +17 -9
  70. package/dist/openmeld-dev.js.map +1 -1
  71. package/dist/{openmeld-environment-target-Cw3V0WnE.js → openmeld-environment-target-BgYR6ozy.js} +8 -25
  72. package/dist/openmeld-environment-target-BgYR6ozy.js.map +1 -0
  73. package/dist/{openmeld-maintenance-worker-Br6WIhhe.js → openmeld-maintenance-worker-DY90mkWW.js} +14 -14
  74. package/dist/{openmeld-maintenance-worker-Br6WIhhe.js.map → openmeld-maintenance-worker-DY90mkWW.js.map} +1 -1
  75. package/dist/{openmeld-tools-update-join-B1l6RER6.js → openmeld-tools-update-join-DgzNuaDy.js} +4 -4
  76. package/dist/{openmeld-tools-update-join-B1l6RER6.js.map → openmeld-tools-update-join-DgzNuaDy.js.map} +1 -1
  77. package/dist/openmeld.js +5 -5
  78. package/dist/{paths-DSkUuEu3.js → paths-De9xdA2h.js} +11 -6
  79. package/dist/paths-De9xdA2h.js.map +1 -0
  80. package/dist/{prepare-provider-runtime-DfsSj_N_.js → prepare-provider-runtime-BGdfbFyZ.js} +20 -15
  81. package/dist/prepare-provider-runtime-BGdfbFyZ.js.map +1 -0
  82. package/dist/{prepare-session-executor-CrYpWljb.js → prepare-session-executor-CA1gq8dR.js} +25 -25
  83. package/dist/{prepare-session-executor-CrYpWljb.js.map → prepare-session-executor-CA1gq8dR.js.map} +1 -1
  84. package/dist/{process-channel-DmTb_kO4.js → process-channel-C1wRGUmk.js} +2 -2
  85. package/dist/{process-channel-DmTb_kO4.js.map → process-channel-C1wRGUmk.js.map} +1 -1
  86. package/dist/{published-production-safety-CgXxtdMK.js → published-production-safety-zANGAGDI.js} +5 -6
  87. package/dist/published-production-safety-zANGAGDI.js.map +1 -0
  88. package/dist/{runtime-ZLBVtFFY.js → runtime-DFlEdls4.js} +76 -22
  89. package/dist/runtime-DFlEdls4.js.map +1 -0
  90. package/dist/{runtime-agent-controller-reporting-submission-CbaUsNTF.js → runtime-agent-controller-reporting-submission-C_xD2A-P.js} +15 -12
  91. package/dist/runtime-agent-controller-reporting-submission-C_xD2A-P.js.map +1 -0
  92. package/dist/{runtime-reporting-health-state-DOg9iwwO.js → runtime-reporting-health-state-_bvJcV1y.js} +116 -22
  93. package/dist/runtime-reporting-health-state-_bvJcV1y.js.map +1 -0
  94. package/dist/{runtime-transport-D4x8_AmR.js → runtime-transport-DH8Ks-AU.js} +86 -6
  95. package/dist/runtime-transport-DH8Ks-AU.js.map +1 -0
  96. package/dist/{service-B9y1SQlB.js → service-KHA_Yv8q.js} +61 -28
  97. package/dist/service-KHA_Yv8q.js.map +1 -0
  98. package/dist/{service-account-authorization-Di59Cjth.js → service-account-authorization-BHWs8cRP.js} +6 -6
  99. package/dist/{service-account-authorization-Di59Cjth.js.map → service-account-authorization-BHWs8cRP.js.map} +1 -1
  100. package/dist/{service-account-control-DALO1USM.js → service-account-control-BcHjpVid.js} +13 -13
  101. package/dist/{service-account-control-DALO1USM.js.map → service-account-control-BcHjpVid.js.map} +1 -1
  102. package/dist/{service-control-capabilities-CKwU9Er5.js → service-control-capabilities-B4433dGT.js} +5 -5
  103. package/dist/{service-control-capabilities-CKwU9Er5.js.map → service-control-capabilities-B4433dGT.js.map} +1 -1
  104. package/dist/{service-control-capabilities-B9ZxDPOJ.js → service-control-capabilities-DTKD2-o0.js} +1 -1
  105. package/dist/{state-CdSbKM0J.js → state-iJqU2XWw.js} +3 -3
  106. package/dist/{state-CdSbKM0J.js.map → state-iJqU2XWw.js.map} +1 -1
  107. package/dist/upgrade-CuzsgsKh.js +4 -0
  108. package/dist/{upgrade-DLJJlkbf.js → upgrade-DlBDEvs4.js} +8 -8
  109. package/dist/{upgrade-DLJJlkbf.js.map → upgrade-DlBDEvs4.js.map} +1 -1
  110. package/dist/{windows-preview-channel-DPrYuLyY.js → windows-preview-channel-BPhfSwji.js} +2 -2
  111. package/dist/{windows-preview-channel-DPrYuLyY.js.map → windows-preview-channel-BPhfSwji.js.map} +1 -1
  112. package/dist/{windows-user-task-BR-WB7hr.js → windows-user-task-CTsMnmD4.js} +3 -3
  113. package/dist/{windows-user-task-BR-WB7hr.js.map → windows-user-task-CTsMnmD4.js.map} +1 -1
  114. package/dist/{windows-user-task-m9eMEUEq.js → windows-user-task-DnxKO3oB.js} +1 -1
  115. package/package.json +11 -11
  116. package/dist/auth-session-DExyUwLo.js +0 -4
  117. package/dist/channel-DppbHxHw.js.map +0 -1
  118. package/dist/daemon-frame-transport-xQnNyg6E.js.map +0 -1
  119. package/dist/daemon-service-update-coordinator-C8cW7Vn_.js.map +0 -1
  120. package/dist/dist-CAypwFRu.js.map +0 -1
  121. package/dist/entry-DIjUKIep.js.map +0 -1
  122. package/dist/meta-api-CEw8eOeN.js +0 -845
  123. package/dist/meta-api-CEw8eOeN.js.map +0 -1
  124. package/dist/openmeld-environment-target-Cw3V0WnE.js.map +0 -1
  125. package/dist/paths-DSkUuEu3.js.map +0 -1
  126. package/dist/prepare-provider-runtime-DfsSj_N_.js.map +0 -1
  127. package/dist/published-production-safety-CgXxtdMK.js.map +0 -1
  128. package/dist/runtime-ZLBVtFFY.js.map +0 -1
  129. package/dist/runtime-agent-controller-reporting-submission-CbaUsNTF.js.map +0 -1
  130. package/dist/runtime-reporting-health-state-DOg9iwwO.js.map +0 -1
  131. package/dist/runtime-transport-D4x8_AmR.js.map +0 -1
  132. package/dist/service-B9y1SQlB.js.map +0 -1
  133. package/dist/upgrade-BFWUxFpJ.js +0 -4
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-DAOCaefz.js";
4
- import { $n as openMeldWebUrlSchema, $r as localFolderPathSchema, An as spaceThreadContextSchema, Ar as normalizeSpacePasswordText, At as wakeDeviceWaitTargetSchema, Bn as workingLanguageGuidanceSchema, Bt as centerAgentInteractionSourceSchema, Cn as spaceMessageFileReferencesSchema, Cr as runtimeCoordinatorExecutionEventSchema, Dn as uploadSpaceFileResponseSchema, Dt as signalSystemNoticeDataSchema, En as updateSpaceFileEntryResponseSchema, Et as signalStatusDataSchema, Fr as spaceMentionLabelSourceSchema, Ft as spaceAttachmentSizeBytesSchema, G as openMeldDaemonOriginalErrorSchema, Gr as agentProfileWorkRecoveryActionKindSchema, Hr as executeExecutionRecoveryBodySchema, In as resultArchivePolicySchema, Ir as organizationInformationProtectionPolicyResponseSchema, It as spaceMessageAttachmentSchema, Jn as messageEnvelopeSchema, Jt as SPACE_FILE_MAX_SIZE_BYTES, K as openMeldDaemonProviderAccessEvidenceProviderSchema, Ln as spaceAllowedActionsSchema, Lr as organizationProtectedInformationSchema, Lt as spaceMessageAttachmentsSchema, Mn as spaceThreadSchema, Mt as spaceAttachmentDimensionSchema, Nn as spaceThreadSignalPlacementSchema, Nt as spaceAttachmentFileNameSchema, Or as spaceTraceExecutionIdentityProjectionSchema, Ot as signalTextDataSchema, Pr as spaceMentionLabelSchema, Pt as spaceAttachmentMimeTypeSchema, Qn as openMeldNavigationTargetSchema, Qr as localFolderPickerResultSchema, Qt as getSpaceFileResponseSchema, Rn as spacePublicationModeSchema, Rr as updateOrganizationInformationProtectionPolicyBodySchema, Rt as conversationCompactionMarkerSchema, Sr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Tn as trashSpaceFileEntryResponseSchema, Un as targetWakeLifecycleIdentitySchema, Ur as executeExecutionRecoveryResponseSchema, Ut as spaceWorkHandoffSchema, V as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Vn as workingLanguageTagSchema, Vr as localAgentReasoningPreferencesSchema, Wr as inspectExecutionRecoveryResponseSchema, Xt as createSpaceFolderResponseSchema, Z as openMeldDaemonTaskResultProjectFailureContextSchema, Zn as computerSetupModeSchema, Zr as localFolderPickerRequestSchema, Zt as discardSpaceComposerUploadResponseSchema, _i as updateProfileResponseSchema, _n as spaceFileNameSchema, _r as agentInteractionResponseSchema, ai as localAgentCatalogLaunchStatusSchema, an as restoreSpaceFileEntryResponseSchema, at as agentDelegationSnapshotSchema, bi as MAX_TEXT_LENGTH$1, bn as spaceFileRevisionSchema, br as clientMessageIdSchema$1, cn as spaceComposerUploadIdSchema, cr as spaceAgentStreamDeltaFrameSchema, ct as agentTaskHandleSchema, di as authProfileManagedRoleSchema, dn as spaceFileBreadcrumbSchema, dr as spaceAgentStreamSnapshotSchema, dt as buildAgentTaskKey, ei as START_BOUNDED_ID_SCHEMA, en as listSpaceFileRevisionsResponseSchema, er as connectorConnectionNameSchema, fi as authProfileViewSchema, fn as spaceFileCapabilitiesSchema, fr as spaceAgentStreamTerminalFrameSchema, ft as controllerAgentTaskHandleSchema, gi as updateAgentProfileDefaultProjectResponseSchema, gn as spaceFileMimeTypeSchema, hi as updateAgentProfileDefaultProjectBodySchema, hn as spaceFileEntryIdSchema, i as daemonExecutionCompatibilitySchema, it as spaceCallerContextSchema, jn as spaceThreadEventSchema, jr as spacePasswordSchema, jt as spaceAttachmentDescriptorSchema, kn as computerCareObservationSchema, kr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, kt as signalTextSchema, ln as spaceFileActorSchema, lr as spaceAgentStreamPartFrameSchema, lt as agentTaskTerminalOutcomeSchema, mn as spaceFileDescriptorSchema, mr as agentInteractionPendingSummarySchema, nn as publishSpaceComposerUploadResponseSchema, nr as connectorServiceSchema, on as restoreSpaceFileRevisionResponseSchema, or as AGENT_STREAM_SNAPSHOT_MAX_CHARS, ot as agentTaskCompletionConditionSchema, pn as spaceFileClientMutationIdSchema, pt as spaceWakeAgentTaskHandleSchema, qt as SPACE_FILE_ERROR_CODES, si as localAgentCatalogWithLifecycleSchema, sn as spaceComposerUploadDescriptorSchema, sr as agentStreamToolPartSchema, st as agentTaskCompletionObservationSchema, tn as listSpaceFilesResponseSchema, tr as connectorConnectionScopeSchema, un as spaceFileBaseRevisionSchema, ur as spaceAgentStreamPresenceSchema, ut as areAgentTaskTerminalOutcomesEqual, vn as spaceFileOriginSchema, vr as postSpaceWakeStopBodySchema, wn as stageSpaceComposerUploadResponseSchema, wr as runtimeCoordinatorExecutionRecordSchema, xn as spaceFolderDescriptorSchema, yi as openMeldRequestContextSchema, yn as spaceFileRevisionNumberSchema, yr as postSpaceWakeStopResponseSchema, zn as spaceDispatchPolicySchema } from "./runtime-transport-D4x8_AmR.js";
4
+ import { $t as discardSpaceComposerUploadResponseSchema, At as signalTextDataSchema, Bn as spaceAllowedActionsSchema, Br as organizationProtectedInformationSchema, Bt as conversationCompactionMarkerSchema, Cn as spaceFolderDescriptorSchema, Cr as clientMessageIdSchema$1, Dn as trashSpaceFileEntryResponseSchema, Dr as runtimeCoordinatorExecutionRecordSchema, En as stageSpaceComposerUploadResponseSchema, Er as runtimeCoordinatorExecutionEventSchema, Fn as spaceThreadSchema, Ft as spaceAttachmentFileNameSchema, Gr as executeExecutionRecoveryBodySchema, Gt as spaceWorkHandoffSchema, H as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Hn as spaceDispatchPolicySchema, Ht as centerAgentInteractionSourceSchema, In as spaceThreadSignalPlacementSchema, It as spaceAttachmentMimeTypeSchema, Jr as agentProfileWorkRecoveryActionKindSchema, K as openMeldDaemonOriginalErrorSchema, Kn as targetWakeLifecycleIdentitySchema, Kr as executeExecutionRecoveryResponseSchema, Lr as spaceMentionLabelSchema, Lt as spaceAttachmentSizeBytesSchema, Mn as executionHostObservationSchema, Mr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, Mt as wakeDeviceWaitTargetSchema, Nn as spaceThreadContextSchema, Nr as normalizeSpacePasswordText, Nt as spaceAttachmentDescriptorSchema, On as updateSpaceFileEntryResponseSchema, Ot as signalStatusDataSchema, Pn as spaceThreadEventSchema, Pr as spacePasswordSchema, Pt as spaceAttachmentDimensionSchema, Q as openMeldDaemonTaskResultProjectFailureContextSchema, Qt as createSpaceFolderResponseSchema, Rr as spaceMentionLabelSourceSchema, Rt as spaceMessageAttachmentSchema, Si as updateProfileResponseSchema, Sn as spaceFileRevisionSchema, Sr as postSpaceWakeStopResponseSchema, Ti as MAX_TEXT_LENGTH$1, Tn as spaceMessageFileReferencesSchema, Tr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Un as workingLanguageGuidanceSchema, Vn as spacePublicationModeSchema, Vr as updateOrganizationInformationProtectionPolicyBodySchema, Wn as workingLanguageTagSchema, Wr as localAgentReasoningPreferencesSchema, Xt as SPACE_FILE_MAX_SIZE_BYTES, Yt as SPACE_FILE_ERROR_CODES, Zn as messageEnvelopeSchema, _i as authProfileViewSchema, _n as spaceFileEntryIdSchema, _r as agentInteractionPendingSummarySchema, ar as connectorServiceSchema, bi as updateAgentProfileDefaultProjectBodySchema, bn as spaceFileOriginSchema, br as agentInteractionResponseSchema, ci as localAgentCatalogLaunchStatusSchema, cn as restoreSpaceFileRevisionResponseSchema, ct as agentTaskCompletionConditionSchema, dn as spaceFileActorSchema, dr as spaceAgentStreamDeltaFrameSchema, dt as agentTaskTerminalOutcomeSchema, ei as localFolderPickerRequestSchema, en as getSpaceFileResponseSchema, er as computerSetupModeSchema, et as AGENT_REPLY_PLACEMENT_HEADER, fn as spaceFileBaseRevisionSchema, fr as spaceAgentStreamPartFrameSchema, ft as areAgentTaskTerminalOutcomesEqual, gi as authProfileManagedRoleSchema, gn as spaceFileDescriptorSchema, hn as spaceFileClientMutationIdSchema, hr as spaceAgentStreamTerminalFrameSchema, ht as spaceWakeAgentTaskHandleSchema, i as daemonExecutionCompatibilitySchema, in as publishSpaceComposerUploadResponseSchema, ir as connectorConnectionScopeSchema, jn as computerCareObservationSchema, jr as spaceTraceExecutionIdentityProjectionSchema, jt as signalTextSchema, kn as uploadSpaceFileResponseSchema, kt as signalSystemNoticeDataSchema, ln as spaceComposerUploadDescriptorSchema, lr as AGENT_STREAM_SNAPSHOT_MAX_CHARS, lt as agentTaskCompletionObservationSchema, mi as agentAvatarStyleSchema, mn as spaceFileCapabilitiesSchema, mr as spaceAgentStreamSnapshotSchema, mt as controllerAgentTaskHandleSchema, ni as localFolderPathSchema, nn as listSpaceFileRevisionsResponseSchema, nr as openMeldWebUrlSchema, ot as spaceCallerContextSchema, pi as CENTER_AGENT_BOT_AVATAR_TYPES, pn as spaceFileBreadcrumbSchema, pr as spaceAgentStreamPresenceSchema, pt as buildAgentTaskKey, q as openMeldDaemonProviderAccessEvidenceProviderSchema, qr as inspectExecutionRecoveryResponseSchema, ri as START_BOUNDED_ID_SCHEMA, rn as listSpaceFilesResponseSchema, rr as connectorConnectionNameSchema, sn as restoreSpaceFileEntryResponseSchema, st as agentDelegationSnapshotSchema, ti as localFolderPickerResultSchema, tr as openMeldNavigationTargetSchema, ui as localAgentCatalogWithLifecycleSchema, un as spaceComposerUploadIdSchema, ur as agentStreamToolPartSchema, ut as agentTaskHandleSchema, vn as spaceFileMimeTypeSchema, wi as openMeldRequestContextSchema, xi as updateAgentProfileDefaultProjectResponseSchema, xn as spaceFileRevisionNumberSchema, xr as postSpaceWakeStopBodySchema, yn as spaceFileNameSchema, zn as resultArchivePolicySchema, zr as organizationInformationProtectionPolicyResponseSchema, zt as spaceMessageAttachmentsSchema } from "./runtime-transport-DH8Ks-AU.js";
5
5
  import { i as cliBinaryManifestSchema } from "./cli-binary-manifest-Bjf6T7Ef.js";
6
6
  import { A as profileKindSchema, E as agentProfileIdSchema, F as uuidProfileIdSchema, I as finiteIntegerNumber, L as nonEmptyTrimmedStringFromUnknown, M as profileSchema, N as profileWorkingDirectorySchema, O as openMeldRuntimeProfileIdSchema, P as profileWorkspaceModeSchema, R as optionalBooleanQuerySchema, r as localAgentInstallationOptionSchema, v as openMeldDaemonSyncRouteCatalogPayloadSchema, w as dispatchExecutionSchema, z as trimmedStringFromUnknown } from "./control-plane-rTE2rHZ5.js";
7
7
  import { A as coerce, B as number, C as openMeldToolsUpdateRequestResultSchema, E as NEVER, F as iso, G as string, H as preprocess, I as lazySchema, J as union, K as tuple, L as literal, M as email, N as enumFactory, O as array, P as int, R as neverFactory, U as record, V as object, W as strictObject, X as url, Y as unknown, _ as openMeldToolsMaintenanceProjectionSchema, c as localComponentUpdatePolicySchema, g as openMeldToolsMaintenanceMutationResultSchema, j as discriminatedUnion, k as boolean, l as localComponentUpdateProjectionSchema, q as undefinedFactory, u as localComponentUpdateStatusSchema, x as openMeldToolsUpdateOperationSchema, z as nullFactory } from "./local-components-DleLEzSU.js";
@@ -1223,7 +1223,8 @@ const localRuntimeReplyReadinessPrimaryBlockerSchema = enumFactory([
1223
1223
  "agent_controller_report_unknown",
1224
1224
  "service_not_connected",
1225
1225
  "service_update_required",
1226
- "service_unavailable"
1226
+ "service_unavailable",
1227
+ "execution_host_unavailable"
1227
1228
  ]);
1228
1229
  const localRuntimeReplyReadinessNextActionSchema = enumFactory([
1229
1230
  "none",
@@ -1257,6 +1258,7 @@ const currentLocalRuntimeReplyReadinessResponseSchema = strictObject({
1257
1258
  }),
1258
1259
  service: strictObject({
1259
1260
  connected: boolean(),
1261
+ executionHost: executionHostObservationSchema.nullable().optional(),
1260
1262
  executionCompatibility: daemonExecutionCompatibilitySchema.nullable(),
1261
1263
  matchingCurrentRuntime: boolean(),
1262
1264
  reasonCodes: array(reasonCodeSchema$4),
@@ -5889,6 +5891,8 @@ const spaceMemberAgentSnapshotSchema = rejectRetiredAgentSnapshotKeysSchema.pipe
5889
5891
  deviceWaitTarget: wakeDeviceWaitTargetSchema.optional(),
5890
5892
  agentControllerConversationId: nullableTrimmedStringSchema$5,
5891
5893
  modelSelection: agentProfileBindingModelSelectionSchema.optional(),
5894
+ avatarStyle: agentAvatarStyleSchema.nullable().optional(),
5895
+ avatarModelId: nullableTrimmedStringSchema$5.optional(),
5892
5896
  workingDirectory: profileWorkingDirectorySchema.nullable().optional(),
5893
5897
  agentWakeAvailability: spaceMemberAgentWakeAvailabilitySchema.optional(),
5894
5898
  ownerWakeDiagnostics: union([spaceMemberAgentOwnerWakeDiagnosticsSchema, nullFactory()]).optional()
@@ -6438,6 +6442,9 @@ const instructionsSchema = string().max(ORGANIZATION_SKILL_INSTRUCTIONS_MAX_CHAR
6438
6442
  const sourceUrlSchema = url().max(2048);
6439
6443
  const operationIdSchema$2 = string().trim().min(1).max(256);
6440
6444
  const metadataSchema = record(string().trim().min(1).max(128), string().max(1024));
6445
+ const organizationSkillFileEncodingSchema = enumFactory(["base64", "utf8"]);
6446
+ const organizationSkillFileMediaTypeSchema = string().trim().min(1).max(256);
6447
+ const organizationSkillFilePathSchema = string().trim().min(1).max(1024).refine(isSafePortableSkillPath, "Skill file path is not safe.");
6441
6448
  const organizationSkillGitHubSourceSchema = strictObject({
6442
6449
  commitSha: string().regex(/^[a-f0-9]{40}$/),
6443
6450
  kind: literal("github"),
@@ -6455,9 +6462,9 @@ const organizationSkillPortableMetadataSchema = strictObject({
6455
6462
  });
6456
6463
  const organizationSkillFileSchema = strictObject({
6457
6464
  content: string().max(ORGANIZATION_SKILL_FILE_MAX_ENCODED_CHARS),
6458
- encoding: enumFactory(["base64", "utf8"]),
6459
- mediaType: string().trim().min(1).max(256),
6460
- path: string().trim().min(1).max(1024).refine(isSafePortableSkillPath, "Skill file path is not safe."),
6465
+ encoding: organizationSkillFileEncodingSchema,
6466
+ mediaType: organizationSkillFileMediaTypeSchema,
6467
+ path: organizationSkillFilePathSchema,
6461
6468
  size: number().int().nonnegative().max(ORGANIZATION_SKILL_FILE_MAX_BYTES)
6462
6469
  });
6463
6470
  const organizationSkillResourceMetadataSchema = organizationSkillFileSchema.omit({ content: true }).safeExtend({ size: number().int().nonnegative() });
@@ -6632,8 +6639,8 @@ const organizationSkillGitHubPreviewSchema = strictObject({
6632
6639
  path: true,
6633
6640
  size: true
6634
6641
  }).extend({
6635
- encoding: organizationSkillResourceMetadataSchema.shape.encoding.optional(),
6636
- mediaType: organizationSkillResourceMetadataSchema.shape.mediaType.optional()
6642
+ encoding: organizationSkillFileEncodingSchema.optional(),
6643
+ mediaType: organizationSkillFileMediaTypeSchema.optional()
6637
6644
  })),
6638
6645
  instructionsCharacters: number().int().nonnegative(),
6639
6646
  portable: organizationSkillPortableMetadataSchema,
@@ -6861,10 +6868,10 @@ strictObject({
6861
6868
  context: openMeldRequestContextSchema,
6862
6869
  preparationIdempotencyKey: string().min(1).max(2048).optional(),
6863
6870
  releases: array(organizationSkillRuntimeReleaseSelectionSchema).max(64)
6864
- });
6871
+ }).extend({ skipUnavailableSelectedReleases: boolean().optional() });
6865
6872
  strictObject({
6866
6873
  context: openMeldRequestContextSchema,
6867
- path: organizationSkillFileSchema.shape.path,
6874
+ path: organizationSkillFilePathSchema,
6868
6875
  preparationIdempotencyKey: string().min(1).max(2048).optional(),
6869
6876
  release: organizationSkillRuntimeReleaseSelectionSchema
6870
6877
  });
@@ -9597,7 +9604,10 @@ const updateCenterAgentOperatingStateResponseSchema = getCenterAgentOperatingSta
9597
9604
  affectedTaskCount: number().int().nonnegative(),
9598
9605
  changed: boolean()
9599
9606
  });
9600
- const centerAgentUpdateProfileBodySchema = strictObject({ profileName: trimmedNonEmptyStringSchema$8 });
9607
+ const centerAgentUpdateProfileBodySchema = strictObject({
9608
+ profileName: trimmedNonEmptyStringSchema$8.optional(),
9609
+ avatarStyle: enumFactory(["fluid", ...CENTER_AGENT_BOT_AVATAR_TYPES]).optional()
9610
+ }).refine((value) => value.profileName !== void 0 || value.avatarStyle !== void 0, { message: "Choose a profile name or avatar." });
9601
9611
  const centerAgentUpdateProfileResponseSchema = strictObject({
9602
9612
  organizationId: trimmedNonEmptyStringSchema$8,
9603
9613
  profile: authProfileViewSchema
@@ -10723,6 +10733,8 @@ const organizationDirectoryAgentProfileIdentitySchema = strictObject({
10723
10733
  ownerUserId: nullableTrimmedStringSchema$2,
10724
10734
  ownerName: trimmedNonEmptyStringSchema$7.optional(),
10725
10735
  avatarUrl: trimmedNonEmptyStringSchema$7.optional(),
10736
+ avatarStyle: agentAvatarStyleSchema.nullable().optional(),
10737
+ avatarModelId: nullableTrimmedStringSchema$2.optional(),
10726
10738
  source: trimmedNonEmptyStringSchema$7,
10727
10739
  managedRole: union([authProfileManagedRoleSchema, nullFactory()]),
10728
10740
  createdByUserId: nullableTrimmedStringSchema$2,
@@ -10867,23 +10879,120 @@ const postNormalMessageBodySchema = z$1.strictObject({
10867
10879
  });
10868
10880
  const postNormalMessageResponseSchema = signalTextEnvelopeSchema;
10869
10881
  //#endregion
10870
- //#region ../../packages/schemas/dist/schemas/http/center-agent-direct-message-space.js
10871
- const CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND = "center_agent_direct_message_space";
10882
+ //#region ../../packages/schemas/dist/schemas/http/account-space-index.js
10872
10883
  const ISO_DATE_TIME_SCHEMA$3 = z$1.iso.datetime({ offset: true });
10873
10884
  const trimmedNonEmptyStringSchema$5 = z$1.string().trim().min(1);
10885
+ const nullableTrimmedStringSchema$1 = z$1.union([trimmedNonEmptyStringSchema$5, z$1.null()]);
10886
+ const nullableNonNegativeIntSchema = z$1.union([z$1.number().int().min(0), z$1.null()]);
10887
+ const nullableIsoDateTimeSchema$1 = z$1.union([ISO_DATE_TIME_SCHEMA$3, z$1.null()]);
10888
+ const ACCOUNT_SPACE_INDEX_MAX_LIMIT = 500;
10889
+ const NON_NEGATIVE_INT_RE$1 = /^\d+$/;
10890
+ const accountSpaceIndexScopeSchema = z$1.enum(["account", "profile"]);
10891
+ const accountSpaceIndexLimitSchema = z$1.preprocess((value) => {
10892
+ if (typeof value === "number") return value;
10893
+ if (typeof value !== "string") return value;
10894
+ const normalized = value.trim();
10895
+ if (!NON_NEGATIVE_INT_RE$1.test(normalized)) return NaN;
10896
+ return Number.parseInt(normalized, 10);
10897
+ }, z$1.number().int().min(1).max(ACCOUNT_SPACE_INDEX_MAX_LIMIT)).optional();
10898
+ const accountSpaceIndexIncludeRecentlyDeletedItemsSchema = z$1.preprocess((value) => {
10899
+ if (typeof value === "boolean") return value;
10900
+ return value === "true";
10901
+ }, z$1.boolean()).optional();
10902
+ const accountSpaceIndexIncludePurposesSchema = z$1.preprocess((value) => {
10903
+ if (typeof value === "boolean") return value;
10904
+ return value === "true";
10905
+ }, z$1.boolean()).optional();
10906
+ const accountSpaceIndexIncludeDirectMessageProfileIdsSchema = z$1.preprocess((value) => {
10907
+ if (typeof value === "boolean") return value;
10908
+ return value === "true";
10909
+ }, z$1.boolean()).optional();
10910
+ z$1.strictObject({
10911
+ includeMessagePreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
10912
+ includeMemberPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
10913
+ gatewayHost: profileSpaceHistoryGatewayHostSchema,
10914
+ includeDirectMessageProfileIds: accountSpaceIndexIncludeDirectMessageProfileIdsSchema,
10915
+ includeRecentlyDeletedItems: accountSpaceIndexIncludeRecentlyDeletedItemsSchema,
10916
+ includePurposes: accountSpaceIndexIncludePurposesSchema,
10917
+ limit: accountSpaceIndexLimitSchema,
10918
+ scope: accountSpaceIndexScopeSchema.default("account"),
10919
+ selectedProfileId: trimmedNonEmptyStringSchema$5
10920
+ });
10921
+ const accountSpaceIndexJoinedProfileSchema = z$1.strictObject({
10922
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$3,
10923
+ pinnedAt: nullableIsoDateTimeSchema$1,
10924
+ profileId: trimmedNonEmptyStringSchema$5,
10925
+ profileName: trimmedNonEmptyStringSchema$5
10926
+ });
10927
+ const accountSpaceIndexItemSchema = z$1.strictObject({
10928
+ messagePreview: z$1.strictObject({
10929
+ signalId: trimmedNonEmptyStringSchema$5,
10930
+ profileId: trimmedNonEmptyStringSchema$5,
10931
+ timestamp: z$1.number().int().nonnegative(),
10932
+ text: z$1.string().max(240)
10933
+ }).nullable().optional(),
10934
+ memberPreviews: z$1.array(z$1.strictObject({
10935
+ profileId: trimmedNonEmptyStringSchema$5,
10936
+ profileName: trimmedNonEmptyStringSchema$5,
10937
+ profileKind: z$1.enum(["human", "agent"]),
10938
+ agentControllerRef: nullableTrimmedStringSchema$1
10939
+ })).max(3).optional(),
10940
+ creatorKind: z$1.union([profileSpaceCreatorKindSchema, z$1.null()]),
10941
+ creatorOwnerUserId: nullableTrimmedStringSchema$1,
10942
+ creatorProfileId: nullableTrimmedStringSchema$1,
10943
+ creatorProfileName: nullableTrimmedStringSchema$1,
10944
+ gatewayHost: profileSpaceHistoryGatewayHostSchema,
10945
+ joinedProfiles: z$1.array(accountSpaceIndexJoinedProfileSchema),
10946
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$3,
10947
+ lastSeenTs: nullableNonNegativeIntSchema,
10948
+ openProfileId: trimmedNonEmptyStringSchema$5,
10949
+ openProfileName: trimmedNonEmptyStringSchema$5,
10950
+ organizationId: trimmedNonEmptyStringSchema$5,
10951
+ pinnedAt: nullableIsoDateTimeSchema$1,
10952
+ pinnedProfileIds: z$1.array(trimmedNonEmptyStringSchema$5),
10953
+ spaceCreatedAt: nullableIsoDateTimeSchema$1,
10954
+ spaceId: trimmedNonEmptyStringSchema$5,
10955
+ spaceName: trimmedNonEmptyStringSchema$5,
10956
+ activeAgentCount: nullableNonNegativeIntSchema.optional(),
10957
+ activeHumanCount: nullableNonNegativeIntSchema.optional(),
10958
+ activeMemberCount: nullableNonNegativeIntSchema.optional(),
10959
+ directMessageConvertedAt: nullableIsoDateTimeSchema$1.optional(),
10960
+ directMessageProfileIds: z$1.union([z$1.tuple([trimmedNonEmptyStringSchema$5, trimmedNonEmptyStringSchema$5]), z$1.null()]).optional(),
10961
+ spacePurpose: nullableTrimmedStringSchema$1.optional(),
10962
+ spaceUpdatedAt: nullableIsoDateTimeSchema$1,
10963
+ status: trimmedNonEmptyStringSchema$5,
10964
+ updatedAt: ISO_DATE_TIME_SCHEMA$3,
10965
+ visibility: spaceOrganizationVisibilitySchema
10966
+ });
10967
+ const accountSpaceIndexDeletedItemSchema = z$1.strictObject({
10968
+ deletedAt: ISO_DATE_TIME_SCHEMA$3,
10969
+ deletedByProfileName: nullableTrimmedStringSchema$1,
10970
+ spaceId: trimmedNonEmptyStringSchema$5,
10971
+ spaceName: nullableTrimmedStringSchema$1
10972
+ });
10973
+ const accountSpaceIndexResponseSchema = z$1.strictObject({
10974
+ pinnedItems: z$1.array(accountSpaceIndexItemSchema),
10975
+ recentlyDeletedItems: z$1.array(accountSpaceIndexDeletedItemSchema).optional(),
10976
+ spaceItems: z$1.array(accountSpaceIndexItemSchema)
10977
+ });
10978
+ //#endregion
10979
+ //#region ../../packages/schemas/dist/schemas/http/center-agent-direct-message-space.js
10980
+ const CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND = "center_agent_direct_message_space";
10981
+ const ISO_DATE_TIME_SCHEMA$2 = z$1.iso.datetime({ offset: true });
10982
+ const trimmedNonEmptyStringSchema$4 = z$1.string().trim().min(1);
10874
10983
  const createCenterAgentSessionBodySchema = z$1.strictObject({ creationId: z$1.uuid() });
10875
- const centerAgentSessionSelectorSchema = z$1.strictObject({ spaceId: trimmedNonEmptyStringSchema$5.max(128) });
10984
+ const centerAgentSessionSelectorSchema = z$1.strictObject({ spaceId: trimmedNonEmptyStringSchema$4.max(128) });
10876
10985
  const centerAgentDirectMessageSpaceProjectionSchema = z$1.strictObject({
10877
- centerAgentProfileId: trimmedNonEmptyStringSchema$5,
10986
+ centerAgentProfileId: trimmedNonEmptyStringSchema$4,
10878
10987
  isCenterAgentDirectMessageSpace: z$1.literal(true),
10879
10988
  kind: z$1.literal(CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND),
10880
- memberProfileId: trimmedNonEmptyStringSchema$5,
10881
- organizationId: trimmedNonEmptyStringSchema$5,
10882
- spaceId: trimmedNonEmptyStringSchema$5
10989
+ memberProfileId: trimmedNonEmptyStringSchema$4,
10990
+ organizationId: trimmedNonEmptyStringSchema$4,
10991
+ spaceId: trimmedNonEmptyStringSchema$4
10883
10992
  });
10884
10993
  const getCenterAgentDirectMessageSpaceProjectionResponseSchema = z$1.strictObject({
10885
- generatedAt: ISO_DATE_TIME_SCHEMA$3,
10886
- organizationId: trimmedNonEmptyStringSchema$5,
10994
+ generatedAt: ISO_DATE_TIME_SCHEMA$2,
10995
+ organizationId: trimmedNonEmptyStringSchema$4,
10887
10996
  projection: z$1.union([centerAgentDirectMessageSpaceProjectionSchema, z$1.null()])
10888
10997
  });
10889
10998
  const listCenterAgentSessionsQuerySchema = z$1.strictObject({
@@ -10892,18 +11001,19 @@ const listCenterAgentSessionsQuerySchema = z$1.strictObject({
10892
11001
  });
10893
11002
  z$1.strictObject({
10894
11003
  v: z$1.literal(1),
10895
- organizationId: trimmedNonEmptyStringSchema$5,
10896
- pairKey: trimmedNonEmptyStringSchema$5,
11004
+ organizationId: trimmedNonEmptyStringSchema$4,
11005
+ pairKey: trimmedNonEmptyStringSchema$4,
10897
11006
  createdAtMs: z$1.number().int().nonnegative(),
10898
11007
  spaceId: centerAgentSessionSelectorSchema.shape.spaceId
10899
11008
  });
10900
11009
  const centerAgentSessionListItemSchema = centerAgentDirectMessageSpaceProjectionSchema.extend({
10901
11010
  name: z$1.string().nullable(),
10902
- createdAt: ISO_DATE_TIME_SCHEMA$3.nullable()
11011
+ createdAt: ISO_DATE_TIME_SCHEMA$2.nullable(),
11012
+ messagePreview: accountSpaceIndexItemSchema.shape.messagePreview
10903
11013
  });
10904
11014
  const listCenterAgentSessionsResponseSchema = z$1.strictObject({
10905
- generatedAt: ISO_DATE_TIME_SCHEMA$3,
10906
- organizationId: trimmedNonEmptyStringSchema$5,
11015
+ generatedAt: ISO_DATE_TIME_SCHEMA$2,
11016
+ organizationId: trimmedNonEmptyStringSchema$4,
10907
11017
  sessions: z$1.array(centerAgentSessionListItemSchema).max(100),
10908
11018
  nextCursor: z$1.string().min(1).max(1024).nullable()
10909
11019
  });
@@ -10925,8 +11035,8 @@ const CENTER_AGENT_CONTEXT_ERROR_CODES = [
10925
11035
  "center_agent.context_load_selection_duplicate",
10926
11036
  "center_agent.context_load_selection_invalid"
10927
11037
  ];
10928
- const ISO_DATE_TIME_SCHEMA$2 = iso.datetime({ offset: true });
10929
- const trimmedNonEmptyStringSchema$4 = string().trim().min(1);
11038
+ const ISO_DATE_TIME_SCHEMA$1 = iso.datetime({ offset: true });
11039
+ const trimmedNonEmptyStringSchema$3 = string().trim().min(1);
10930
11040
  const contentHashSchema = string().regex(/^sha256:[0-9a-f]{64}$/u);
10931
11041
  const centerAgentContextManifestIdSchema = string().regex(/^center_agent_context_manifest_[0-9a-f-]{36}$/u);
10932
11042
  const loadReceiptIdSchema = string().regex(/^center_agent_context_load_receipt_[0-9a-f-]{36}$/u);
@@ -10940,7 +11050,7 @@ const createCenterAgentContextManifestBodySchema = strictObject({
10940
11050
  view: centerAgentContextManifestViewSchema.default("messages")
10941
11051
  });
10942
11052
  const centerAgentContextManifestSourceRefSchema = strictObject({
10943
- id: trimmedNonEmptyStringSchema$4,
11053
+ id: trimmedNonEmptyStringSchema$3,
10944
11054
  type: literal("space_signal"),
10945
11055
  uri: string().regex(/^openmeld:\/\/spaces\/[^/]+\/signals\/[^/]+$/u),
10946
11056
  version: contentHashSchema
@@ -10948,16 +11058,16 @@ const centerAgentContextManifestSourceRefSchema = strictObject({
10948
11058
  const centerAgentContextManifestEntrySchema = strictObject({
10949
11059
  reactions: spaceMessageReactionsSchema.optional(),
10950
11060
  author: strictObject({
10951
- profileId: trimmedNonEmptyStringSchema$4,
11061
+ profileId: trimmedNonEmptyStringSchema$3,
10952
11062
  profileKind: enumFactory([
10953
11063
  "agent",
10954
11064
  "human",
10955
11065
  "system"
10956
11066
  ]),
10957
- profileName: trimmedNonEmptyStringSchema$4
11067
+ profileName: trimmedNonEmptyStringSchema$3
10958
11068
  }),
10959
11069
  carrier: strictObject({
10960
- client: trimmedNonEmptyStringSchema$4.max(80),
11070
+ client: trimmedNonEmptyStringSchema$3.max(80),
10961
11071
  kind: literal("local_agent")
10962
11072
  }).optional(),
10963
11073
  content: strictObject({
@@ -10967,13 +11077,13 @@ const centerAgentContextManifestEntrySchema = strictObject({
10967
11077
  type: literal("text")
10968
11078
  }),
10969
11079
  materializedContentHash: contentHashSchema,
10970
- occurredAt: ISO_DATE_TIME_SCHEMA$2,
11080
+ occurredAt: ISO_DATE_TIME_SCHEMA$1,
10971
11081
  redactions: array(enumFactory([
10972
11082
  "attachments_not_in_messages_view",
10973
11083
  "local_session_locator_omitted",
10974
11084
  "message_content_budget"
10975
11085
  ])),
10976
- replyToSignalId: trimmedNonEmptyStringSchema$4.optional(),
11086
+ replyToSignalId: trimmedNonEmptyStringSchema$3.optional(),
10977
11087
  sourceRef: centerAgentContextManifestSourceRefSchema
10978
11088
  });
10979
11089
  strictObject({
@@ -10983,7 +11093,7 @@ strictObject({
10983
11093
  });
10984
11094
  const centerAgentContextLoadSelectedEntrySchema = strictObject({
10985
11095
  materializedContentHash: contentHashSchema,
10986
- sourceRefId: trimmedNonEmptyStringSchema$4
11096
+ sourceRefId: trimmedNonEmptyStringSchema$3
10987
11097
  });
10988
11098
  const createCenterAgentContextLoadReceiptBodySchema = strictObject({
10989
11099
  selection: discriminatedUnion("kind", [strictObject({ kind: literal("all_manifest_entries") }), strictObject({
@@ -11016,20 +11126,20 @@ const createCenterAgentContextManifestResponseSchema = strictObject({
11016
11126
  hasMore: boolean()
11017
11127
  }),
11018
11128
  entries: array(centerAgentContextManifestEntrySchema),
11019
- generatedAt: ISO_DATE_TIME_SCHEMA$2,
11129
+ generatedAt: ISO_DATE_TIME_SCHEMA$1,
11020
11130
  manifestId: centerAgentContextManifestIdSchema,
11021
11131
  provenance: strictObject({
11022
- auditEntryId: trimmedNonEmptyStringSchema$4,
11132
+ auditEntryId: trimmedNonEmptyStringSchema$3,
11023
11133
  contentProjection: literal("user_visible_space_signals")
11024
11134
  }),
11025
11135
  request: strictObject({ source: centerAgentInteractionSourceSchema }),
11026
11136
  schemaVersion: literal(CENTER_AGENT_CONTEXT_MANIFEST_VERSION),
11027
11137
  subject: strictObject({
11028
- centerAgentProfileId: trimmedNonEmptyStringSchema$4,
11029
- conversationId: trimmedNonEmptyStringSchema$4,
11138
+ centerAgentProfileId: trimmedNonEmptyStringSchema$3,
11139
+ conversationId: trimmedNonEmptyStringSchema$3,
11030
11140
  kind: literal("center_agent_conversation"),
11031
- memberProfileId: trimmedNonEmptyStringSchema$4,
11032
- organizationId: trimmedNonEmptyStringSchema$4
11141
+ memberProfileId: trimmedNonEmptyStringSchema$3,
11142
+ organizationId: trimmedNonEmptyStringSchema$3
11033
11143
  }),
11034
11144
  view: centerAgentContextManifestViewSchema
11035
11145
  });
@@ -11038,9 +11148,9 @@ const createCenterAgentContextLoadReceiptResponseSchema = strictObject({
11038
11148
  principal: literal("authenticated_member"),
11039
11149
  scope: literal("requester_private")
11040
11150
  }),
11041
- provenance: strictObject({ auditEntryId: trimmedNonEmptyStringSchema$4 }),
11151
+ provenance: strictObject({ auditEntryId: trimmedNonEmptyStringSchema$3 }),
11042
11152
  receipt: strictObject({
11043
- client: trimmedNonEmptyStringSchema$4.max(80),
11153
+ client: trimmedNonEmptyStringSchema$3.max(80),
11044
11154
  estimatedTokens: number().int().nonnegative(),
11045
11155
  id: loadReceiptIdSchema,
11046
11156
  includedMessages: number().int().min(1).max(50),
@@ -11048,7 +11158,7 @@ const createCenterAgentContextLoadReceiptResponseSchema = strictObject({
11048
11158
  selectedEntries: array(centerAgentContextLoadSelectedEntrySchema).min(1).max(50),
11049
11159
  status: literal("loaded")
11050
11160
  }),
11051
- recordedAt: ISO_DATE_TIME_SCHEMA$2,
11161
+ recordedAt: ISO_DATE_TIME_SCHEMA$1,
11052
11162
  schemaVersion: literal(CENTER_AGENT_CONTEXT_LOAD_RECEIPT_VERSION)
11053
11163
  });
11054
11164
  //#endregion
@@ -11293,7 +11403,7 @@ const messageChannelIdentityLinkConsumeResponseSchema = strictObject({
11293
11403
  });
11294
11404
  //#endregion
11295
11405
  //#region ../../packages/schemas/dist/schemas/http/center-agent-member-research.js
11296
- const trimmedNonEmptyStringSchema$3 = z$1.string().trim().min(1);
11406
+ const trimmedNonEmptyStringSchema$2 = z$1.string().trim().min(1);
11297
11407
  const isoDateTimeSchema$2 = z$1.iso.datetime({ offset: true });
11298
11408
  const memberResearchTextSchema = z$1.string().trim().min(1).max(1e3);
11299
11409
  const CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES = [
@@ -11320,8 +11430,8 @@ const centerAgentMemberResearchEvidenceSourceSchema = z$1.enum([
11320
11430
  const centerAgentMemberResearchEvidenceItemSchema = z$1.strictObject({
11321
11431
  date: z$1.iso.date(),
11322
11432
  source: centerAgentMemberResearchEvidenceSourceSchema,
11323
- sourceId: trimmedNonEmptyStringSchema$3.max(256),
11324
- sourceName: trimmedNonEmptyStringSchema$3.max(120).optional(),
11433
+ sourceId: trimmedNonEmptyStringSchema$2.max(256),
11434
+ sourceName: trimmedNonEmptyStringSchema$2.max(120).optional(),
11325
11435
  sourceUrl: z$1.url().max(2048).optional(),
11326
11436
  text: memberResearchTextSchema
11327
11437
  }).superRefine((item, context) => {
@@ -11360,7 +11470,7 @@ const centerAgentMemberResearchCoverageSchema = z$1.strictObject({
11360
11470
  evidence: memberResearchTextSchema.max(500),
11361
11471
  source: centerAgentMemberResearchCoverageSourceSchema,
11362
11472
  status: centerAgentMemberResearchCoverageStatusSchema,
11363
- timeRange: trimmedNonEmptyStringSchema$3.max(120)
11473
+ timeRange: trimmedNonEmptyStringSchema$2.max(120)
11364
11474
  });
11365
11475
  const centerAgentMemberResearchCoverageListSchema = z$1.array(centerAgentMemberResearchCoverageSchema).min(LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length).max(CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length).superRefine((coverage, context) => {
11366
11476
  const expectedSources = coverage.length === LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length ? LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES : CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES;
@@ -11409,12 +11519,12 @@ const centerAgentMemberResearchTaskStatusSchema = z$1.enum([
11409
11519
  "failed"
11410
11520
  ]);
11411
11521
  const centerAgentMemberResearchTaskSchema = z$1.strictObject({
11412
- id: trimmedNonEmptyStringSchema$3,
11413
- subjectUserId: trimmedNonEmptyStringSchema$3,
11414
- subjectDisplayName: trimmedNonEmptyStringSchema$3,
11522
+ id: trimmedNonEmptyStringSchema$2,
11523
+ subjectUserId: trimmedNonEmptyStringSchema$2,
11524
+ subjectDisplayName: trimmedNonEmptyStringSchema$2,
11415
11525
  position: z$1.number().int().positive(),
11416
11526
  status: centerAgentMemberResearchTaskStatusSchema,
11417
- failureCode: trimmedNonEmptyStringSchema$3.nullable(),
11527
+ failureCode: trimmedNonEmptyStringSchema$2.nullable(),
11418
11528
  startedAt: isoDateTimeSchema$2.nullable(),
11419
11529
  finishedAt: isoDateTimeSchema$2.nullable()
11420
11530
  }).superRefine((task, context) => {
@@ -11430,8 +11540,8 @@ const centerAgentMemberResearchTaskSchema = z$1.strictObject({
11430
11540
  });
11431
11541
  });
11432
11542
  const centerAgentMemberResearchBatchSchema = z$1.strictObject({
11433
- id: trimmedNonEmptyStringSchema$3,
11434
- organizationId: trimmedNonEmptyStringSchema$3,
11543
+ id: trimmedNonEmptyStringSchema$2,
11544
+ organizationId: trimmedNonEmptyStringSchema$2,
11435
11545
  scope: centerAgentMemberResearchScopeSchema,
11436
11546
  status: centerAgentMemberResearchBatchStatusSchema,
11437
11547
  totalCount: z$1.number().int().positive(),
@@ -11493,11 +11603,11 @@ const centerAgentMemberResearchBatchSchema = z$1.strictObject({
11493
11603
  });
11494
11604
  });
11495
11605
  const startCenterAgentMemberResearchBodySchema = z$1.discriminatedUnion("scope", [z$1.strictObject({
11496
- expectedOrganizationId: trimmedNonEmptyStringSchema$3,
11606
+ expectedOrganizationId: trimmedNonEmptyStringSchema$2,
11497
11607
  scope: z$1.literal("member"),
11498
- subjectUserId: trimmedNonEmptyStringSchema$3
11608
+ subjectUserId: trimmedNonEmptyStringSchema$2
11499
11609
  }), z$1.strictObject({
11500
- expectedOrganizationId: trimmedNonEmptyStringSchema$3,
11610
+ expectedOrganizationId: trimmedNonEmptyStringSchema$2,
11501
11611
  scope: z$1.literal("all")
11502
11612
  })]);
11503
11613
  const startCenterAgentMemberResearchResponseSchema = z$1.strictObject({ batch: centerAgentMemberResearchBatchSchema });
@@ -11507,7 +11617,7 @@ z$1.strictObject({
11507
11617
  speakerMember: centerAgentToolSpeakerSchema
11508
11618
  });
11509
11619
  const getCenterAgentMemberResearchStatusResponseSchema = z$1.strictObject({
11510
- organizationId: trimmedNonEmptyStringSchema$3,
11620
+ organizationId: trimmedNonEmptyStringSchema$2,
11511
11621
  latestBatch: centerAgentMemberResearchBatchSchema.nullable()
11512
11622
  });
11513
11623
  z$1.strictObject({ context: openMeldRequestContextSchema });
@@ -12227,7 +12337,7 @@ const SPACE_TASK_ERROR_CODES = [
12227
12337
  z$1.enum(SPACE_TASK_ERROR_CODES);
12228
12338
  //#endregion
12229
12339
  //#region ../../packages/schemas/dist/schemas/http/gateway-error.js
12230
- const trimmedNonEmptyStringSchema$2 = z$1.string().trim().min(1);
12340
+ const trimmedNonEmptyStringSchema$1 = z$1.string().trim().min(1);
12231
12341
  const SPACE_ADDRESSING_TARGET_INVALID_ERROR_CODE = "space.addressing.target_invalid";
12232
12342
  const gatewayErrorCodeSchema = z$1.enum([
12233
12343
  "bad_request",
@@ -12349,8 +12459,8 @@ const gatewayErrorCodeSchema = z$1.enum([
12349
12459
  ]);
12350
12460
  const gatewayErrorSchema = commonErrorSchema.extend({
12351
12461
  code: gatewayErrorCodeSchema,
12352
- requestId: trimmedNonEmptyStringSchema$2,
12353
- upstreamCode: trimmedNonEmptyStringSchema$2.optional()
12462
+ requestId: trimmedNonEmptyStringSchema$1,
12463
+ upstreamCode: trimmedNonEmptyStringSchema$1.optional()
12354
12464
  });
12355
12465
  const gatewayErrorEnvelopeSchema = z$1.strictObject({
12356
12466
  ok: z$1.literal(false),
@@ -12365,103 +12475,6 @@ const identityImageMimeTypeSchema = z$1.enum([
12365
12475
  "image/webp"
12366
12476
  ]);
12367
12477
  //#endregion
12368
- //#region ../../packages/schemas/dist/schemas/http/account-space-index.js
12369
- const ISO_DATE_TIME_SCHEMA$1 = z$1.iso.datetime({ offset: true });
12370
- const trimmedNonEmptyStringSchema$1 = z$1.string().trim().min(1);
12371
- const nullableTrimmedStringSchema$1 = z$1.union([trimmedNonEmptyStringSchema$1, z$1.null()]);
12372
- const nullableNonNegativeIntSchema = z$1.union([z$1.number().int().min(0), z$1.null()]);
12373
- const nullableIsoDateTimeSchema$1 = z$1.union([ISO_DATE_TIME_SCHEMA$1, z$1.null()]);
12374
- const ACCOUNT_SPACE_INDEX_MAX_LIMIT = 500;
12375
- const NON_NEGATIVE_INT_RE$1 = /^\d+$/;
12376
- const accountSpaceIndexScopeSchema = z$1.enum(["account", "profile"]);
12377
- const accountSpaceIndexLimitSchema = z$1.preprocess((value) => {
12378
- if (typeof value === "number") return value;
12379
- if (typeof value !== "string") return value;
12380
- const normalized = value.trim();
12381
- if (!NON_NEGATIVE_INT_RE$1.test(normalized)) return NaN;
12382
- return Number.parseInt(normalized, 10);
12383
- }, z$1.number().int().min(1).max(ACCOUNT_SPACE_INDEX_MAX_LIMIT)).optional();
12384
- const accountSpaceIndexIncludeRecentlyDeletedItemsSchema = z$1.preprocess((value) => {
12385
- if (typeof value === "boolean") return value;
12386
- return value === "true";
12387
- }, z$1.boolean()).optional();
12388
- const accountSpaceIndexIncludePurposesSchema = z$1.preprocess((value) => {
12389
- if (typeof value === "boolean") return value;
12390
- return value === "true";
12391
- }, z$1.boolean()).optional();
12392
- const accountSpaceIndexIncludeDirectMessageProfileIdsSchema = z$1.preprocess((value) => {
12393
- if (typeof value === "boolean") return value;
12394
- return value === "true";
12395
- }, z$1.boolean()).optional();
12396
- z$1.strictObject({
12397
- includeMessagePreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
12398
- includeMemberPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
12399
- gatewayHost: profileSpaceHistoryGatewayHostSchema,
12400
- includeDirectMessageProfileIds: accountSpaceIndexIncludeDirectMessageProfileIdsSchema,
12401
- includeRecentlyDeletedItems: accountSpaceIndexIncludeRecentlyDeletedItemsSchema,
12402
- includePurposes: accountSpaceIndexIncludePurposesSchema,
12403
- limit: accountSpaceIndexLimitSchema,
12404
- scope: accountSpaceIndexScopeSchema.default("account"),
12405
- selectedProfileId: trimmedNonEmptyStringSchema$1
12406
- });
12407
- const accountSpaceIndexJoinedProfileSchema = z$1.strictObject({
12408
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$1,
12409
- pinnedAt: nullableIsoDateTimeSchema$1,
12410
- profileId: trimmedNonEmptyStringSchema$1,
12411
- profileName: trimmedNonEmptyStringSchema$1
12412
- });
12413
- const accountSpaceIndexItemSchema = z$1.strictObject({
12414
- messagePreview: z$1.strictObject({
12415
- signalId: trimmedNonEmptyStringSchema$1,
12416
- profileId: trimmedNonEmptyStringSchema$1,
12417
- timestamp: z$1.number().int().nonnegative(),
12418
- text: z$1.string().max(240)
12419
- }).nullable().optional(),
12420
- memberPreviews: z$1.array(z$1.strictObject({
12421
- profileId: trimmedNonEmptyStringSchema$1,
12422
- profileName: trimmedNonEmptyStringSchema$1,
12423
- profileKind: z$1.enum(["human", "agent"]),
12424
- agentControllerRef: nullableTrimmedStringSchema$1
12425
- })).max(3).optional(),
12426
- creatorKind: z$1.union([profileSpaceCreatorKindSchema, z$1.null()]),
12427
- creatorOwnerUserId: nullableTrimmedStringSchema$1,
12428
- creatorProfileId: nullableTrimmedStringSchema$1,
12429
- creatorProfileName: nullableTrimmedStringSchema$1,
12430
- gatewayHost: profileSpaceHistoryGatewayHostSchema,
12431
- joinedProfiles: z$1.array(accountSpaceIndexJoinedProfileSchema),
12432
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$1,
12433
- lastSeenTs: nullableNonNegativeIntSchema,
12434
- openProfileId: trimmedNonEmptyStringSchema$1,
12435
- openProfileName: trimmedNonEmptyStringSchema$1,
12436
- organizationId: trimmedNonEmptyStringSchema$1,
12437
- pinnedAt: nullableIsoDateTimeSchema$1,
12438
- pinnedProfileIds: z$1.array(trimmedNonEmptyStringSchema$1),
12439
- spaceCreatedAt: nullableIsoDateTimeSchema$1,
12440
- spaceId: trimmedNonEmptyStringSchema$1,
12441
- spaceName: trimmedNonEmptyStringSchema$1,
12442
- activeAgentCount: nullableNonNegativeIntSchema.optional(),
12443
- activeHumanCount: nullableNonNegativeIntSchema.optional(),
12444
- activeMemberCount: nullableNonNegativeIntSchema.optional(),
12445
- directMessageConvertedAt: nullableIsoDateTimeSchema$1.optional(),
12446
- directMessageProfileIds: z$1.union([z$1.tuple([trimmedNonEmptyStringSchema$1, trimmedNonEmptyStringSchema$1]), z$1.null()]).optional(),
12447
- spacePurpose: nullableTrimmedStringSchema$1.optional(),
12448
- spaceUpdatedAt: nullableIsoDateTimeSchema$1,
12449
- status: trimmedNonEmptyStringSchema$1,
12450
- updatedAt: ISO_DATE_TIME_SCHEMA$1,
12451
- visibility: spaceOrganizationVisibilitySchema
12452
- });
12453
- const accountSpaceIndexDeletedItemSchema = z$1.strictObject({
12454
- deletedAt: ISO_DATE_TIME_SCHEMA$1,
12455
- deletedByProfileName: nullableTrimmedStringSchema$1,
12456
- spaceId: trimmedNonEmptyStringSchema$1,
12457
- spaceName: nullableTrimmedStringSchema$1
12458
- });
12459
- const accountSpaceIndexResponseSchema = z$1.strictObject({
12460
- pinnedItems: z$1.array(accountSpaceIndexItemSchema),
12461
- recentlyDeletedItems: z$1.array(accountSpaceIndexDeletedItemSchema).optional(),
12462
- spaceItems: z$1.array(accountSpaceIndexItemSchema)
12463
- });
12464
- //#endregion
12465
12478
  //#region ../../packages/schemas/dist/schemas/http/agent-profile-creation-request.js
12466
12479
  const identifierSchema$1 = z$1.string().trim().min(1).max(256);
12467
12480
  const profileNameSchema = z$1.string().trim().min(1).max(80);
@@ -14416,30 +14429,6 @@ const getActiveSpaceWakeProgressResponseSchema = z$1.strictObject({
14416
14429
  items: z$1.array(wakeProgressItemSchema)
14417
14430
  });
14418
14431
  //#endregion
14419
- //#region ../../packages/schemas/dist/schemas/space-mesh/agent-reply-placement.js
14420
- const AGENT_REPLY_PLACEMENT_HEADER = "x-openmeld-agent-reply-placement";
14421
- const agentReplyPlacementSchema = z$1.enum(["conversation", "thread"]);
14422
- z$1.strictObject({
14423
- context: openMeldRequestContextSchema,
14424
- placement: agentReplyPlacementSchema
14425
- });
14426
- z$1.strictObject({
14427
- spaceId: z$1.string().min(1),
14428
- dispatchId: z$1.string().min(1),
14429
- sourceSignalId: z$1.string().min(1),
14430
- profileId: z$1.string().min(1),
14431
- defaultToThread: z$1.boolean(),
14432
- lock: z$1.boolean(),
14433
- placement: agentReplyPlacementSchema.optional()
14434
- });
14435
- z$1.strictObject({
14436
- dispatchId: z$1.string().min(1),
14437
- sourceSignalId: z$1.string().min(1),
14438
- profileId: z$1.string().min(1),
14439
- threadContext: spaceThreadContextSchema.nullable(),
14440
- locked: z$1.boolean()
14441
- });
14442
- //#endregion
14443
14432
  //#region ../../packages/schemas/dist/space-access-version.js
14444
14433
  const SPACE_ACCESS_VERSION_HEADER = "x-openmeld-space-access-version";
14445
14434
  //#endregion
@@ -15490,7 +15479,10 @@ const createCenterAgentApi = (client) => ({
15490
15479
  signal: request.signal,
15491
15480
  timeoutMs: request.timeoutMs,
15492
15481
  headers: { "content-type": "application/json" },
15493
- body: JSON.stringify({ profileName: request.profileName }),
15482
+ body: JSON.stringify({
15483
+ ...request.profileName ? { profileName: request.profileName } : {},
15484
+ ...request.avatarStyle ? { avatarStyle: request.avatarStyle } : {}
15485
+ }),
15494
15486
  schema: centerAgentUpdateProfileResponseSchema,
15495
15487
  invalidMessage: "Invalid Center Agent profile update response."
15496
15488
  });
@@ -15689,7 +15681,10 @@ function validateAuditJournalInput(input) {
15689
15681
  };
15690
15682
  }
15691
15683
  function validateUpdateProfileInput(input) {
15692
- const parsed = centerAgentUpdateProfileBodySchema.safeParse({ profileName: input.profileName });
15684
+ const parsed = centerAgentUpdateProfileBodySchema.safeParse({
15685
+ profileName: input.profileName,
15686
+ avatarStyle: input.avatarStyle
15687
+ });
15693
15688
  if (!parsed.success) throw new Error(parsed.error.issues[0]?.message ?? "Invalid Center Agent profile update.");
15694
15689
  validateRequestInput$1(input);
15695
15690
  return input;
@@ -15841,8 +15836,8 @@ function normalizeHeaderRecord(headers) {
15841
15836
  return normalized;
15842
15837
  }
15843
15838
  /** The authenticated client's explicit connection action approves an independent Computer session. */
15844
- async function createComputerAuthorizationGrant(request) {
15845
- const codeResult = betterAuthDeviceAuthorizationCodeResponseSchema.safeParse(await request("/device/code", "POST", betterAuthDeviceAuthorizationCodeRequestSchema.parse({ client_id: "openmeld-cli" })));
15839
+ async function createComputerAuthorizationGrant(request, input = {}) {
15840
+ const codeResult = betterAuthDeviceAuthorizationCodeResponseSchema.safeParse(await request("/device/code", "POST", betterAuthDeviceAuthorizationCodeRequestSchema.parse({ client_id: input.clientId ?? "openmeld-cli" })));
15846
15841
  if (!codeResult.success) throw new Error("Auth returned an invalid computer authorization response.");
15847
15842
  const code = codeResult.data;
15848
15843
  if (!betterAuthDeviceAuthorizationClaimResponseSchema.safeParse(await request(`/device?user_code=${encodeURIComponent(code.user_code)}`, "GET")).success) throw new Error("Auth returned an invalid computer authorization claim.");
@@ -18361,6 +18356,21 @@ function buildAgentProfileDefaultProjectRoute(profileId) {
18361
18356
  return `/v1/agent-profiles/${encodeURIComponent(profileId)}/default-project`;
18362
18357
  }
18363
18358
  const createProfilesApi = (client) => ({
18359
+ updateAgentAvatar: async (input) => {
18360
+ const avatarStyle = agentAvatarStyleSchema.safeParse(input.avatarStyle);
18361
+ const profileId = normalizeRequiredText(input.profileId, "profileId");
18362
+ if (!(avatarStyle.success && ["automatic", "fluid"].includes(avatarStyle.data))) throw new Error("Invalid Remote Agent avatar.");
18363
+ return await client.requestJson({
18364
+ body: JSON.stringify({ avatarStyle: avatarStyle.data }),
18365
+ headers: { "content-type": "application/json" },
18366
+ invalidMessage: "Invalid Remote Agent avatar response.",
18367
+ method: "PATCH",
18368
+ operation: "profile.updateAgentAvatar",
18369
+ requestContext: input.requestContext,
18370
+ schema: updateProfileResponseSchema,
18371
+ url: `/v1/profiles/agents/${encodeURIComponent(profileId)}/avatar`
18372
+ });
18373
+ },
18364
18374
  rename: async (input) => {
18365
18375
  const request = requireValidRenameProfileInput(input);
18366
18376
  return await client.requestJson({
@@ -20563,4 +20573,4 @@ function shouldWrapNetworkRequestError(error) {
20563
20573
  //#endregion
20564
20574
  export { buildLocalFolderPickerPath as $, resolveCustomMentionAliasOverride as $n, spaceMemberDirectoryAllowedRelationsSchema as $r, createLocalRuntimeExpectedRoutesApi as $t, buildCurrentOrganizationDirectoryPath as A, agentActivitySnapshotQuerySchema as Ai, postSpaceWorkHandoff as An, projectSpaceDispatchTraceFinalVisibleOutcome as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelsPath as B, createProjectResponseSchema as Bi, toStructuredApiClientFailure as Bn, getOrganizationSkillResponseSchema as Br, createAgentProfileWorkRecoveryApi as Bt, buildCenterAgentSessionPath as C, updateCenterAgentRoutineResponseSchema as Ci, isInboxItemVisibleConversation as Cn, spaceTaskMutationReceiptSchema as Cr, buildProjectsPath as Ct, buildCurrentAgentProfileSessionRoute as D, agentActivityEventSchema as Di, listSpaceTasks as Dn, submitFeedbackIssueResponseSchema as Dr, buildRoutineRunsPath as Dt, buildComputerFileAccessUpdatePath as E, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ei, listSpaceFiles as En, submitFeedbackIssueRequestSchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationMessageChannelPath as F, signalTextEnvelopeSchema as Fi, readOrUpdateSpaceFilePins as Fn, spaceDispatchTraceResponseSchema as Fr, buildSpaceInboxUnreadTargetsPath as Ft, buildFeedbackIssueSubmissionPath as G, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Gi, uploadSpaceAttachment as Gn, organizationSkillReleaseSummarySchema as Gr, createCurrentDeviceApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, projectSchema as Hi, updateSpaceFileContent as Hn, organizationSkillBundleSchema as Hr, createComputerAuthorizationGrant as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, localProjectControlConnectionSchema as Ii, readOrUpdateSpaceMessagePins as In, observabilityWakeTraceSelectorSchema as Ir, createAccountSpaceIndexApi as It, buildInboxItemReadPath as J, computerFileAccessPolicyInputSchema as Ji, DAEMON_STREAM_KEEPALIVE_PONG as Jn, leaveSpaceResponseSchema as Jr, createFetchTransport as Jt, buildInboxItemDismissPath as K, OPENMELD_RUNTIME_CAPABILITIES_HEADER as Ki, uploadSpaceFile as Kn, organizationSkillSummarySchema as Kr, createDirectMessageApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, localProjectControlDaemonFrameSchema as Li, resolveAccountSpaceIndexGatewayHost as Ln, projectObservabilityWakeCorrelation as Lr, createAgentActivityApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, centerAgentToolSpeakerSchema as Mi, readAccountOrganizationContext as Mn, resolveSpaceDispatchTraceRootCause as Mr, buildSpaceFileContentPath as Mt, buildCurrentOrganizationLogoPath as N, serviceConnectionEvidenceEventSchema as Ni, readAccountSession as Nn, spaceDispatchTraceAttemptStatusSchema as Nr, buildSpaceInboxReadThroughPath as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, agentActivityProviderSchema as Oi, mutateSpaceTask as On, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, serviceConnectionEvidenceJournalSchema as Pi, readCliRelease as Pn, spaceDispatchTraceDispatchStatusSchema as Pr, buildSpaceInboxSummaryPath as Pt, buildInboxSummaryPath as Q, parseServerErrorFrame as Qn, spaceMemberAgentWakeAvailabilitySchema as Qr, createLocalProjectControlApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, localProjectControlDiscoverProjectsResponseSchema as Ri, resolveProfileSpaceHistoryGatewayHost as Rn, ORGANIZATION_SKILL_BUNDLE_MAX_BYTES as Rr, createAgentProfileBindingApi as Rt, buildCenterAgentProfilePath as S, resumeCenterAgentRoutineResponseSchema as Si, isInboxItemInOrganizationScope as Sn, spaceTaskIdSchema as Sr, buildProjectPath as St, buildComputerFileAccessReadPath as T, AGENT_ACTIVITY_EVENT_MAX_BYTES as Ti, listSpaceFileRevisions as Tn, organizationDirectoryResponseSchema as Tr, buildRoutinePausePath as Tt, buildDirectMessageConversionPath as U, updateProjectResponseSchema as Ui, updateSpaceFileEntry as Un, organizationSkillFileSchema as Ur, createComputerFileAccessApi as Ut, buildCurrentOrganizationSpacesPath as V, listProjectsResponseSchema as Vi, trashSpaceFileEntry as Vn, listOrganizationSkillsResponseSchema as Vr, createCenterAgentApi as Vt, buildDirectMessageSpacePath as W, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE as Wi, updateSpaceMeta as Wn, organizationSkillGitHubRepositoryPreviewSchema as Wr, createConfigApi as Wt, buildInboxPath as X, toLegacySpaceImageGeometryWireValue as Xi, parseEnvelope as Xn, removeSpaceMembersResponseSchema as Xr, createInboxApi as Xt, buildInboxMarkAllReadPath as Y, computerFileAccessPolicySchema as Yi, MAX_TEXT_LENGTH as Yn, postSpaceMembersResponseSchema as Yr, createFileRootApi as Yt, buildInboxPreferencesPath as Z, toCompatibleSpaceAddressingRequestWireValue as Zi, parseIncoming as Zn, resolvedSpaceMemberProfileSchema as Zr, createLocalFolderPickerApi as Zt, buildCenterAgentDirectMessageSpacePath as _, createCenterAgentRoutineResponseSchema as _i, downloadSpaceFileContent as _n, agentProfileCreationConfigurationSchema as _r, buildOrganizationUsageOverviewPath as _t, buildAgentActivitySessionsPath as a, projectOwnerComputerLocalRuntimes as ai, createPluginsApi as an, toErrorMessage$2 as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, listCenterAgentRoutinesResponseSchema as bi, getSpaceTask as bn, createSpaceTaskBodySchema as br, buildProfileSpaceHistoryStatusPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, agentActivityInventorySessionOriginSchema as ci, createProfilesApi as cn, pluginActionRequestSchema as cr, buildOrganizationSkillFilesImportPath as ct, buildAgentProfileCreationRequestDecisionPath as d, agentActivitySessionInventoryResponseSchema as di, createRoutinesApi as dn, betterAuthDeviceAuthorizationCodeResponseSchema as dr, buildOrganizationSkillGitHubPreviewPath as dt, spaceMemberDirectoryEntrySchema as ei, createOpenMeldApiClient as en, OPENMELD_HEADER_PROFILE_ID as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, localAgentSessionProviderSchema as fi, createRuntimeReportingApi as fn, betterAuthDeviceAuthorizationErrorResponseSchema as fr, buildOrganizationSkillMaintainersPath as ft, buildCenterAgentDesignationPath as g, spaceMetaSchema as gi, createSpaceTask as gn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as gr, buildOrganizationSkillsPath as gt, buildCenterAgentAuditJournalPath as h, spaceCreatorSchema as hi, createSpaceFolder as hn, betterAuthSessionSnapshotResponseSchema as hr, buildOrganizationSkillResourcePath as ht, buildAccountSpaceIndexPath as i, ownerComputerDiagnosticsSchema as ii, createOrganizationUsageApi as in, buildOpenMeldRequestContextHeaders as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, agentActivitySnapshotResponseSchema as ji, publicSpaceUrls as jn, resolveRuntimeCoordinatorHeadStatusRootCause as jr, buildSpaceBootstrapReadPath as jt, buildCurrentOrganizationComputersPath as k, agentActivitySessionStatusSchema as ki, normalizeApiBaseUrl as kn, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as kr, buildRoutinesPath as kt, buildAgentProfileCreationDefaultsPath as l, agentActivityInventorySessionStatusSchema as li, createProjectsApi as ln, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as lr, buildOrganizationSkillFilesPreviewPath as lt, buildAgentProfileWorkRecoveryRoute as m, resolveInitialSpaceAccessMode as mi, createSpaceApi as mn, betterAuthDeviceAuthorizationTokenResponseSchema as mr, buildOrganizationSkillRepositoryPreviewPath as mt, OpenMeldApiClientInvalidResponseError as n, spaceMemberKindSchema as ni, createOrganizationDocumentsApi as nn, OPENMELD_HEADER_REQUEST_ID as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, summarizeComputerFileAccessPolicy as oi, createPrepareReadinessApi as on, getSpaceUpdatesResponseSchema as or, buildOrganizationSkillCatalogPath as ot, buildAgentProfileCreationRequestsPath as p, observedLocalAgentSessionSchema as pi, createServiceConnectionEvidenceApi as pn, betterAuthDeviceAuthorizationTokenRequestSchema as pr, buildOrganizationSkillPath as pt, buildInboxItemPath as q, computerFileAccessDaemonFrameSchema as qi, DAEMON_STREAM_KEEPALIVE_PING as qn, stringifyOrganizationSkillBundleCanonicalJson as qr, createFeedbackApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, submitAgentControllerTaskLifecycleEventItemSchema as ri, createOrganizationSkillsApi as rn, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, organizationComputersResponseSchema as si, createProfileSpaceHistoryApi as sn, spaceEntryTargetSchema as sr, buildOrganizationSkillEnabledPath as st, OpenMeldApiClientHttpError as t, spaceMemberDirectorySchema as ti, createOrganizationApi as tn, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, agentActivitySessionInventoryQuerySchema as ui, createReasoningStreamApi as un, betterAuthDeviceAuthorizationCodeRequestSchema as ur, buildOrganizationSkillGitHubImportPath as ut, buildCenterAgentInboxReadThroughPath as v, deleteCenterAgentRoutineResponseSchema as vi, getModelCatalog as vn, createAgentProfileCreationRequestBodySchema as vr, buildProfileRoute as vt, buildCenterAgentSessionsPath as w, modelCatalogSchema as wi, isInboxNotificationEligible as wn, organizationSpaceDirectoryWithMemberCountsResponseSchema as wr, buildRoutinePath as wt, buildCenterAgentOperatingStatePath as x, pauseCenterAgentRoutineResponseSchema as xi, inboxMessageNotificationSpaceId as xn, mutateSpaceTaskBodySchema as xr, buildProfileSpaceHistoryUpsertPath as xt, buildCenterAgentInboxSummaryPath as y, listCenterAgentRoutineRunsResponseSchema as yi, getSpaceFile as yn, gatewayErrorEnvelopeSchema as yr, buildProfileSpaceHistoryListPath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, archiveProjectResponseSchema as zi, setSpaceAccessMode as zn, ORGANIZATION_SKILL_FILE_MAX_BYTES as zr, createAgentProfileExecutionModeApi as zt };
20565
20575
 
20566
- //# sourceMappingURL=dist-CAypwFRu.js.map
20576
+ //# sourceMappingURL=dist-Bw6OBFYo.js.map