openmeld 0.3.182 → 0.3.184
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/{add-me-membership-WJKQ-dW7.js → add-me-membership-F8HICPOs.js} +2 -2
- package/dist/{add-me-membership-WJKQ-dW7.js.map → add-me-membership-F8HICPOs.js.map} +1 -1
- package/dist/{api-client-foundation-D3qW3ksZ.js → api-client-foundation-7O3VJocF.js} +1 -1
- package/dist/{api-client-foundation-DMsfP4gS.js → api-client-foundation-wW__rrcr.js} +2 -2
- package/dist/{api-client-foundation-DMsfP4gS.js.map → api-client-foundation-wW__rrcr.js.map} +1 -1
- package/dist/{command-zGYBkXVF.js → command-6gVeE6xE.js} +6 -6
- package/dist/{command-zGYBkXVF.js.map → command-6gVeE6xE.js.map} +1 -1
- package/dist/{dist-DFGwNyTS.js → dist-DePUS7gW.js} +69 -17
- package/dist/dist-DePUS7gW.js.map +1 -0
- package/dist/{dist-BPD8aESv.js → dist-DlKBRYt4.js} +1 -1
- package/dist/{elapsed-time-CWamy8Dv.js → elapsed-time-ByvAmamI.js} +2 -2
- package/dist/{elapsed-time-CWamy8Dv.js.map → elapsed-time-ByvAmamI.js.map} +1 -1
- package/dist/{installer-C4BPaTPB.js → installer-vV9_WAPd.js} +2 -2
- package/dist/{installer-C4BPaTPB.js.map → installer-vV9_WAPd.js.map} +1 -1
- package/dist/{openmeld-swIxWiDT.js → openmeld-DiAfHLe4.js} +39 -13
- package/dist/{openmeld-swIxWiDT.js.map → openmeld-DiAfHLe4.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-CmqAX8Yx.js → openmeld-maintenance-worker-DGH7uPhX.js} +3 -3
- package/dist/{openmeld-maintenance-worker-CmqAX8Yx.js.map → openmeld-maintenance-worker-DGH7uPhX.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-D1AsZ29Z.js → openmeld-tools-update-coordinator-BEPco317.js} +25 -14
- package/dist/{openmeld-tools-update-coordinator-D1AsZ29Z.js.map → openmeld-tools-update-coordinator-BEPco317.js.map} +1 -1
- package/dist/openmeld.js +3 -3
- package/dist/{upgrade-D1Fditt9.js → upgrade-D_Hqg-zf.js} +3 -3
- package/dist/{upgrade-D1Fditt9.js.map → upgrade-D_Hqg-zf.js.map} +1 -1
- package/dist/upgrade-nj1kkcxl.js +4 -0
- package/package.json +1 -1
- package/dist/dist-DFGwNyTS.js.map +0 -1
- package/dist/upgrade-Wzudkx_I.js +0 -4
|
@@ -6507,6 +6507,16 @@ const accountSpaceIndexResponseSchema = z$1.strictObject({
|
|
|
6507
6507
|
const identifierSchema$1 = z$1.string().trim().min(1).max(256);
|
|
6508
6508
|
const profileNameSchema = z$1.string().trim().min(1).max(80);
|
|
6509
6509
|
const isoDateTimeSchema$3 = z$1.iso.datetime({ offset: true });
|
|
6510
|
+
z$1.object({
|
|
6511
|
+
requestId: identifierSchema$1.optional(),
|
|
6512
|
+
idempotencyKey: identifierSchema$1.optional()
|
|
6513
|
+
}).refine((value) => !(value.requestId && value.idempotencyKey), { message: "Select a request by its ID or idempotency key, not both." });
|
|
6514
|
+
z$1.strictObject({
|
|
6515
|
+
kind: z$1.literal("agent_profile_creation"),
|
|
6516
|
+
v: z$1.literal(1),
|
|
6517
|
+
organizationId: identifierSchema$1,
|
|
6518
|
+
requestId: identifierSchema$1
|
|
6519
|
+
});
|
|
6510
6520
|
const agentProfileCreationApprovalPolicySchema = z$1.enum([
|
|
6511
6521
|
"never_allow",
|
|
6512
6522
|
"ask_every_time",
|
|
@@ -6693,8 +6703,18 @@ const createAgentProfileCreationRequestResponseSchema = z$1.strictObject({
|
|
|
6693
6703
|
replayed: z$1.boolean(),
|
|
6694
6704
|
request: agentProfileCreationRequestSchema
|
|
6695
6705
|
});
|
|
6706
|
+
const agentProfileCreationIntentSchema = z$1.object(createAgentProfileCreationRequestBodySchema.shape).transform((intent) => ({
|
|
6707
|
+
configuration: agentProfileCreationConfigurationSchema.parse(intent.configuration ?? DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION),
|
|
6708
|
+
nativeSessionId: intent.nativeSessionId ?? null,
|
|
6709
|
+
profileName: intent.profileName,
|
|
6710
|
+
requestedSpaceId: intent.requestedSpaceId ?? null,
|
|
6711
|
+
sessionStrategy: intent.sessionStrategy,
|
|
6712
|
+
source: intent.source,
|
|
6713
|
+
targetOwnerUserId: intent.targetOwnerUserId
|
|
6714
|
+
}));
|
|
6696
6715
|
const listAgentProfileCreationRequestsResponseSchema = z$1.strictObject({
|
|
6697
6716
|
organizationId: identifierSchema$1,
|
|
6717
|
+
matchedIdempotencyKey: identifierSchema$1.optional(),
|
|
6698
6718
|
requests: z$1.array(agentProfileCreationRequestSchema).max(200)
|
|
6699
6719
|
});
|
|
6700
6720
|
const decideAgentProfileCreationRequestBodySchema = z$1.strictObject({ decision: z$1.enum(["approve", "decline"]) });
|
|
@@ -15506,8 +15526,12 @@ function buildCurrentOrganizationInformationProtectionPath() {
|
|
|
15506
15526
|
function buildAgentProfileCreationDefaultsPath(organizationId, agentControllerRef) {
|
|
15507
15527
|
return `/v1/organizations/${encodeURIComponent(organizationId)}/agent-profile-creation-defaults/${encodeURIComponent(agentControllerRef)}`;
|
|
15508
15528
|
}
|
|
15509
|
-
function buildAgentProfileCreationRequestsPath(organizationId) {
|
|
15510
|
-
|
|
15529
|
+
function buildAgentProfileCreationRequestsPath(organizationId, selector) {
|
|
15530
|
+
const path = `/v1/organizations/${encodeURIComponent(organizationId)}/agent-profile-creation-requests`;
|
|
15531
|
+
const query = new URLSearchParams();
|
|
15532
|
+
if (selector?.requestId) query.set("requestId", selector.requestId);
|
|
15533
|
+
if (selector?.idempotencyKey) query.set("idempotencyKey", selector.idempotencyKey);
|
|
15534
|
+
return query.size ? `${path}?${query}` : path;
|
|
15511
15535
|
}
|
|
15512
15536
|
function buildAgentProfileCreationRequestPath(organizationId, requestId) {
|
|
15513
15537
|
return `${buildAgentProfileCreationRequestsPath(organizationId)}/${encodeURIComponent(requestId)}`;
|
|
@@ -15536,18 +15560,46 @@ const createOrganizationApi = (client) => ({
|
|
|
15536
15560
|
source: input.source,
|
|
15537
15561
|
targetOwnerUserId: input.targetOwnerUserId
|
|
15538
15562
|
});
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
|
|
15542
|
-
|
|
15543
|
-
|
|
15544
|
-
|
|
15545
|
-
|
|
15546
|
-
|
|
15547
|
-
|
|
15548
|
-
|
|
15549
|
-
|
|
15550
|
-
|
|
15563
|
+
try {
|
|
15564
|
+
return await client.requestJson({
|
|
15565
|
+
body: JSON.stringify(body),
|
|
15566
|
+
headers: { "content-type": "application/json" },
|
|
15567
|
+
invalidMessage: "invalid Agent Profile creation request response",
|
|
15568
|
+
method: "POST",
|
|
15569
|
+
operation: "agent_profile.creation_request.create",
|
|
15570
|
+
requestContext: input.requestContext,
|
|
15571
|
+
schema: createAgentProfileCreationRequestResponseSchema,
|
|
15572
|
+
signal: input.signal,
|
|
15573
|
+
timeoutMs: input.timeoutMs,
|
|
15574
|
+
url: buildAgentProfileCreationRequestsPath(input.organizationId)
|
|
15575
|
+
});
|
|
15576
|
+
} catch (error) {
|
|
15577
|
+
const failure = toStructuredApiClientFailure(error);
|
|
15578
|
+
if (input.signal?.aborted || failure.status !== null && failure.status >= 400 && failure.status < 500 && failure.status !== 408) throw error;
|
|
15579
|
+
const recovered = await client.requestJson({
|
|
15580
|
+
method: "GET",
|
|
15581
|
+
operation: "agent_profile.creation_request.recover",
|
|
15582
|
+
requestContext: input.requestContext,
|
|
15583
|
+
schema: listAgentProfileCreationRequestsResponseSchema,
|
|
15584
|
+
signal: input.signal,
|
|
15585
|
+
timeoutMs: input.timeoutMs,
|
|
15586
|
+
invalidMessage: "invalid Agent Profile creation request recovery response",
|
|
15587
|
+
url: buildAgentProfileCreationRequestsPath(input.organizationId, { idempotencyKey: body.idempotencyKey })
|
|
15588
|
+
}).catch(() => null);
|
|
15589
|
+
const request = recovered?.matchedIdempotencyKey === body.idempotencyKey && recovered.requests.length === 1 ? recovered.requests[0] : void 0;
|
|
15590
|
+
if (request && request.organizationId === input.organizationId && JSON.stringify(agentProfileCreationIntentSchema.parse({
|
|
15591
|
+
...request,
|
|
15592
|
+
idempotencyKey: body.idempotencyKey
|
|
15593
|
+
})) === JSON.stringify(agentProfileCreationIntentSchema.parse(body))) return {
|
|
15594
|
+
replayed: true,
|
|
15595
|
+
request
|
|
15596
|
+
};
|
|
15597
|
+
throw Object.assign(new Error("The request may still be creating the Agent. Try again to check the same request.", { cause: error }), {
|
|
15598
|
+
code: "agent_profile.creation_request.outcome_unknown",
|
|
15599
|
+
requestId: failure.requestId,
|
|
15600
|
+
idempotencyKey: body.idempotencyKey
|
|
15601
|
+
});
|
|
15602
|
+
}
|
|
15551
15603
|
},
|
|
15552
15604
|
listAgentProfileCreationRequests: async (input) => await client.requestJson({
|
|
15553
15605
|
invalidMessage: "invalid Agent Profile creation request list response",
|
|
@@ -15557,7 +15609,7 @@ const createOrganizationApi = (client) => ({
|
|
|
15557
15609
|
schema: listAgentProfileCreationRequestsResponseSchema,
|
|
15558
15610
|
signal: input.signal,
|
|
15559
15611
|
timeoutMs: input.timeoutMs,
|
|
15560
|
-
url: buildAgentProfileCreationRequestsPath(input.organizationId)
|
|
15612
|
+
url: buildAgentProfileCreationRequestsPath(input.organizationId, input)
|
|
15561
15613
|
}),
|
|
15562
15614
|
decideAgentProfileCreationRequest: async (input) => {
|
|
15563
15615
|
const body = decideAgentProfileCreationRequestBodySchema.parse({ decision: input.decision });
|
|
@@ -18175,6 +18227,6 @@ function composeAbortSignals(parent, timeout) {
|
|
|
18175
18227
|
};
|
|
18176
18228
|
}
|
|
18177
18229
|
//#endregion
|
|
18178
|
-
export { buildLocalFolderPickerPath as $,
|
|
18230
|
+
export { buildLocalFolderPickerPath as $, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as $n, agentActivitySessionInventoryQuerySchema as $r, createProjectsApi as $t, buildCurrentOrganizationDirectoryPath as A, OPENMELD_HEADER_REQUEST_ID as An, resumeCenterAgentRoutineResponseSchema as Ar, createAccountSpaceIndexApi as At, buildCurrentOrganizationMessageChannelsPath as B, spaceDispatchTraceAttemptStatusSchema as Bn, localProjectControlDaemonFrameSchema as Br, createFetchTransport as Bt, buildCenterAgentSessionPath as C, MAX_TEXT_LENGTH as Cn, submitFeedbackIssueRequestSchema as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, resolveCustomMentionAliasOverride as Dn, listCenterAgentRoutineRunsResponseSchema as Dr, buildSpaceInboxReadThroughPath as Dt, buildComputerFileAccessUpdatePath as E, parseServerErrorFrame as En, deleteCenterAgentRoutineResponseSchema as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, spaceEntryTargetSchema as Fn, agentActivityProviderSchema as Fr, createComputerFileAccessApi as Ft, buildFeedbackIssueSubmissionPath as G, submitAgentControllerTaskLifecycleEventItemSchema as Gn, resolvedSpaceMemberProfileSchema as Gr, createOpenMeldApiClient as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, spaceDispatchTraceResponseSchema as Hn, leaveSpaceResponseSchema as Hr, createLocalFolderPickerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as In, agentActivitySessionStatusSchema as Ir, createConfigApi as It, buildInboxItemReadPath as J, summarizeComputerFileAccessPolicy as Jn, spaceMemberDirectoryEntrySchema as Jr, createOrganizationSkillsApi as Jt, buildInboxItemDismissPath as K, ownerComputerDiagnosticsSchema as Kn, spaceMemberAgentWakeAvailabilitySchema as Kr, createOrganizationApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Ln, agentActivitySnapshotQuerySchema as Lr, createCurrentDeviceApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, buildOpenMeldRequestContextHeaders as Mn, AGENT_ACTIVITY_EVENT_MAX_BYTES as Mr, createAgentProfileBindingApi as Mt, buildCurrentOrganizationLogoPath as N, toErrorMessage$2 as Nn, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Nr, createAgentProfileWorkRecoveryApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, OPENMELD_HEADER_PROFILE_ID as On, listCenterAgentRoutinesResponseSchema as Or, buildSpaceInboxSummaryPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, getSpaceUpdatesResponseSchema as Pn, agentActivityEventSchema as Pr, createCenterAgentApi as Pt, buildInboxSummaryPath as Q, gatewayErrorEnvelopeSchema as Qn, agentActivityInventorySessionStatusSchema as Qr, createProfilesApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, projectSpaceDispatchTraceFinalVisibleOutcome as Rn, agentActivitySnapshotResponseSchema as Rr, createDirectMessageApi as Rt, buildCenterAgentProfilePath as S, DAEMON_STREAM_KEEPALIVE_PONG as Sn, organizationComputersResponseSchema as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, parseIncoming as Tn, createCenterAgentRoutineResponseSchema as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, observabilityWakeTraceSelectorSchema as Un, postSpaceMembersResponseSchema as Ur, createLocalProjectControlApi as Ut, buildCurrentOrganizationSpacesPath as V, spaceDispatchTraceDispatchStatusSchema as Vn, localProjectControlDiscoverProjectsResponseSchema as Vr, createInboxApi as Vt, buildDirectMessageSpacePath as W, projectObservabilityWakeCorrelation as Wn, removeSpaceMembersResponseSchema as Wr, createLocalRuntimeExpectedRoutesApi as Wt, buildInboxPath as X, agentProfileCreationConfigurationSchema as Xn, spaceMemberKindSchema as Xr, createPrepareReadinessApi as Xt, buildInboxMarkAllReadPath as Y, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Yn, spaceMemberDirectorySchema as Yr, createOrganizationUsageApi as Yt, buildInboxPreferencesPath as Z, createAgentProfileCreationRequestBodySchema as Zn, agentActivityInventorySessionOriginSchema as Zr, createProfileSpaceHistoryApi as Zt, buildCenterAgentDirectMessageSpacePath as _, agentControllerCollaborationModeSchema as _i, updateSpaceFileEntry as _n, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, listProjectsResponseSchema as ai, getModelCatalog as an, organizationSpaceDirectoryWithMemberCountsResponseSchema as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, uploadSpaceFile as bn, profileCapabilitiesResponseSchema as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, centerAgentToolSpeakerSchema as ci, listSpaceFiles as cn, spaceMetaSchema as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, START_BOUNDED_VERSION_SCHEMA as di, resolveAccountSpaceIndexGatewayHost as dn, organizationSkillBundleSchema as dr, buildOrganizationSkillsPath as dt, agentActivitySessionInventoryResponseSchema as ei, createRoutinesApi as en, OPENMELD_RUNTIME_CAPABILITIES_HEADER as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, START_ISO_DATE_TIME_SCHEMA as fi, resolveProfileSpaceHistoryGatewayHost as fn, organizationSkillReleaseSummarySchema as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, agentControllerPermissionModeSchema as gi, updateSpaceFileContent as gn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, localAgentCatalogSchema as hi, trashSpaceFileEntry as hn, organizationDirectoryResponseSchema as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, createProjectResponseSchema as ii, downloadSpaceFileContent as in, modelCatalogSchema as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as jn, updateCenterAgentRoutineResponseSchema as jr, createAgentActivityApi as jt, buildCurrentOrganizationComputersPath as k, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as kn, pauseCenterAgentRoutineResponseSchema as kr, buildSpaceInboxUnreadTargetsPath as kt, buildAgentProfileCreationDefaultsPath as l, openCodePermissionConfigSchema as li, normalizeApiBaseUrl as ln, getOrganizationSkillResponseSchema as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, startReplyReadinessSummarySchema as mi, toStructuredApiClientFailure as mn, stringifyOrganizationSkillBundleCanonicalJson as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, observedLocalAgentSessionSchema as ni, createSpaceApi as nn, computerFileAccessPolicyInputSchema as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, projectSchema as oi, getSpaceFile as on, resolveInitialSpaceAccessMode as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as pi, setSpaceAccessMode as pn, organizationSkillSummarySchema as pr, buildProfileRoute as pt, buildInboxItemPath as q, projectOwnerComputerLocalRuntimes as qn, spaceMemberDirectoryAllowedRelationsSchema as qr, createOrganizationDocumentsApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, archiveProjectResponseSchema as ri, createSpaceFolder as rn, computerFileAccessPolicySchema as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, updateProjectResponseSchema as si, listSpaceFileRevisions as sn, spaceCreatorSchema as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, localAgentSessionProviderSchema as ti, createRuntimeReportingApi as tn, computerFileAccessDaemonFrameSchema as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, START_BOUNDED_ID_SCHEMA as ui, publicSpaceUrls as un, listOrganizationSkillsResponseSchema as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, toCompatibleSpaceAddressingRequestWireValue as vi, updateSpaceMeta as vn, authProfileKindSchema as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, parseEnvelope as wn, submitFeedbackIssueResponseSchema as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, DAEMON_STREAM_KEEPALIVE_PING as xn, profileErrorResponseSchema as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, uploadSpaceAttachment as yn, authProfileManagedRoleSchema as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, resolveSpaceDispatchTraceRootCause as zn, localProjectControlConnectionSchema as zr, createFeedbackApi as zt };
|
|
18179
18231
|
|
|
18180
|
-
//# sourceMappingURL=dist-
|
|
18232
|
+
//# sourceMappingURL=dist-DePUS7gW.js.map
|