@burdenoff/microfe-botmanor 2026.1110.3 → 2026.1110.4

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.
@@ -1,8 +1,9 @@
1
1
  import { AcceptHandoffDocument as e, HandoffConfigDocument as t, HandoffQueueDocument as n, RejectHandoffDocument as r, ReleaseHandoffDocument as i, ResolveHandoffDocument as a, UpsertHandoffConfigDocument as o } from "../../generated/wspace-operations.js";
2
2
  import { BotmanorHandoffStatus as s } from "../../generated/wspace-types.js";
3
3
  import { useWorkspaceId as c, useWorkspaceMutation as l, useWorkspaceQuery as u } from "./internal/workspaceGateway.js";
4
+ import { useMemo as d } from "react";
4
5
  s.Requested, s.Assigned, s.Accepted;
5
- function d(e) {
6
+ function f(e) {
6
7
  let n = c();
7
8
  return u({
8
9
  document: t,
@@ -13,19 +14,19 @@ function d(e) {
13
14
  errorMessage: "Failed to load handoff configuration"
14
15
  });
15
16
  }
16
- var f = 100;
17
- function p(e) {
18
- let t = c();
17
+ var p = 100;
18
+ function m(e) {
19
+ let t = c(), r = e.agentId, i = e.statuses, a = d(() => ({
20
+ ...r ? { agentId: r } : {},
21
+ ...i && i.length > 0 ? { statuses: i } : {},
22
+ pagination: {
23
+ limit: p,
24
+ offset: 0
25
+ }
26
+ }), [r, i]);
19
27
  return u({
20
28
  document: n,
21
- variables: {
22
- ...e.agentId ? { agentId: e.agentId } : {},
23
- ...e.statuses && e.statuses.length > 0 ? { statuses: e.statuses } : {},
24
- pagination: {
25
- limit: f,
26
- offset: 0
27
- }
28
- },
29
+ variables: a,
29
30
  select: (e) => ({
30
31
  items: e?.handoffQueue.items ?? [],
31
32
  total: e?.handoffQueue.total ?? 0,
@@ -40,7 +41,7 @@ function p(e) {
40
41
  errorMessage: "Failed to load the handoff queue"
41
42
  });
42
43
  }
43
- function m(e) {
44
+ function h(e) {
44
45
  let [t, n] = l({
45
46
  document: o,
46
47
  variables: (t) => ({
@@ -52,7 +53,7 @@ function m(e) {
52
53
  });
53
54
  return [t, n];
54
55
  }
55
- function h(e, t, n) {
56
+ function g(e, t, n) {
56
57
  return l({
57
58
  document: e,
58
59
  variables: (e) => ({ id: e }),
@@ -60,18 +61,18 @@ function h(e, t, n) {
60
61
  errorMessage: n
61
62
  });
62
63
  }
63
- function g() {
64
- return h(e, (e) => e?.acceptHandoff, "Failed to accept the handoff");
65
- }
66
64
  function _() {
67
- return h(i, (e) => e?.releaseHandoff, "Failed to release the handoff");
65
+ return g(e, (e) => e?.acceptHandoff, "Failed to accept the handoff");
68
66
  }
69
67
  function v() {
70
- return h(a, (e) => e?.resolveHandoff, "Failed to resolve the handoff");
68
+ return g(i, (e) => e?.releaseHandoff, "Failed to release the handoff");
71
69
  }
72
70
  function y() {
73
- return h(r, (e) => e?.rejectHandoff, "Failed to reject the handoff");
71
+ return g(a, (e) => e?.resolveHandoff, "Failed to resolve the handoff");
72
+ }
73
+ function b() {
74
+ return g(r, (e) => e?.rejectHandoff, "Failed to reject the handoff");
74
75
  }
75
- export { g as useAcceptHandoff, d as useHandoffConfig, p as useHandoffQueue, y as useRejectHandoff, _ as useReleaseHandoff, v as useResolveHandoff, m as useUpsertHandoffConfig };
76
+ export { _ as useAcceptHandoff, f as useHandoffConfig, m as useHandoffQueue, b as useRejectHandoff, v as useReleaseHandoff, y as useResolveHandoff, h as useUpsertHandoffConfig };
76
77
 
77
78
  //# sourceMappingURL=useHandoffs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useHandoffs.js","names":["BotmanorHandoffStatus","useHandoffConfig","workspaceId","useWorkspaceId","useWorkspaceQuery","HandoffConfigDocument","agentId","data","QUEUE_PAGE_LIMIT","useHandoffQueue","HandoffQueueDocument","options","useUpsertHandoffConfig","mutate","state","useWorkspaceMutation","UpsertHandoffConfigDocument","useHandoffTransition","useAcceptHandoff","AcceptHandoffDocument","useReleaseHandoff","ReleaseHandoffDocument","useResolveHandoff","ResolveHandoffDocument","useRejectHandoff","RejectHandoffDocument"],"sources":["../../../src/botlit/hooks/useHandoffs.ts"],"sourcesContent":["/**\n * Handoff hooks (BOFF-5813)\n * @module botlit/hooks\n *\n * Backed by the live `handoffConfig` / `handoffQueue` / `conversationHandoff`\n * queries and the upsert / request / accept / release / resolve / reject\n * mutations on wspace-botmanor-svc.\n */\n\nimport {\n AcceptHandoffDocument,\n ConversationHandoffDocument,\n HandoffConfigDocument,\n HandoffQueueDocument,\n RejectHandoffDocument,\n ReleaseHandoffDocument,\n RequestHandoffDocument,\n ResolveHandoffDocument,\n UpsertHandoffConfigDocument,\n type AcceptHandoffMutation,\n type ConversationHandoffQuery,\n type HandoffConfigQuery,\n type HandoffQueueQuery,\n type RejectHandoffMutation,\n type ReleaseHandoffMutation,\n type RequestHandoffMutation,\n type ResolveHandoffMutation,\n type UpsertHandoffConfigMutation,\n} from '../../generated/wspace-operations';\nimport {\n BotmanorHandoffFallbackBehavior,\n BotmanorHandoffStatus,\n BotmanorHandoffTrigger,\n type BotmanorHandoffConfigInput,\n} from '../../generated/wspace-types';\nimport {\n useWorkspaceId,\n useWorkspaceMutation,\n useWorkspaceQuery,\n type MutationState,\n type QueryResult,\n} from './internal/workspaceGateway';\n\nexport interface HandoffCustomIntentRecord {\n name: string;\n pattern: string;\n isRegex: boolean;\n}\n\nexport interface HandoffConfigRecord {\n agentId: string;\n enabled: boolean;\n explicitRequest: boolean;\n lowConfidence: boolean;\n lowConfidenceThreshold: number;\n repeatedFailures: boolean;\n repeatedFailuresConsecutive: number;\n policyRefusal: boolean;\n customIntents: HandoffCustomIntentRecord[];\n targetUserIds: string[];\n targetRole?: string | null;\n notifyInApp: boolean;\n notifyEmail: boolean;\n notifyPush: boolean;\n fallbackBehavior: BotmanorHandoffFallbackBehavior;\n handoffMessage?: string | null;\n updatedAt?: string | null;\n}\n\nexport interface HandoffEventRecord {\n at: string;\n actorId: string;\n from?: BotmanorHandoffStatus | null;\n to: BotmanorHandoffStatus;\n note?: string | null;\n}\n\nexport interface HandoffRecord {\n id: string;\n agentId: string;\n conversationKey: string;\n conversationId?: string | null;\n status: BotmanorHandoffStatus;\n trigger: BotmanorHandoffTrigger;\n reason: string;\n userMessage?: string | null;\n assignedToId?: string | null;\n executionId?: string | null;\n events: HandoffEventRecord[];\n createdAt: string;\n acceptedAt?: string | null;\n resolvedAt?: string | null;\n releasedAt?: string | null;\n}\n\nexport const ACTIVE_HANDOFF_STATUSES: readonly BotmanorHandoffStatus[] = [\n BotmanorHandoffStatus.Requested,\n BotmanorHandoffStatus.Assigned,\n BotmanorHandoffStatus.Accepted,\n];\n\nexport function isActiveHandoff(status: BotmanorHandoffStatus): boolean {\n return ACTIVE_HANDOFF_STATUSES.includes(status);\n}\n\nexport function useHandoffConfig(\n agentId: string | undefined\n): QueryResult<HandoffConfigRecord | null> {\n const workspaceId = useWorkspaceId();\n return useWorkspaceQuery<HandoffConfigQuery, HandoffConfigRecord | null>({\n document: HandoffConfigDocument,\n variables: { agentId: agentId ?? '' },\n select: (data) => data?.handoffConfig ?? null,\n fallback: null,\n enabled: Boolean(workspaceId && agentId),\n errorMessage: 'Failed to load handoff configuration',\n });\n}\n\nexport interface HandoffQueueResult {\n items: HandoffRecord[];\n total: number;\n hasMore: boolean;\n}\n\nconst QUEUE_PAGE_LIMIT = 100;\n\nexport function useHandoffQueue(options: {\n agentId?: string;\n statuses?: BotmanorHandoffStatus[];\n}): QueryResult<HandoffQueueResult> {\n const workspaceId = useWorkspaceId();\n return useWorkspaceQuery<HandoffQueueQuery, HandoffQueueResult>({\n document: HandoffQueueDocument,\n variables: {\n ...(options.agentId ? { agentId: options.agentId } : {}),\n ...(options.statuses && options.statuses.length > 0 ? { statuses: options.statuses } : {}),\n pagination: { limit: QUEUE_PAGE_LIMIT, offset: 0 },\n },\n select: (data) => ({\n items: data?.handoffQueue.items ?? [],\n total: data?.handoffQueue.total ?? 0,\n hasMore: data?.handoffQueue.hasMore ?? false,\n }),\n fallback: { items: [], total: 0, hasMore: false },\n enabled: Boolean(workspaceId),\n errorMessage: 'Failed to load the handoff queue',\n });\n}\n\nexport function useConversationHandoff(\n agentId: string | undefined,\n conversationKey: string | undefined\n): QueryResult<HandoffRecord | null> {\n const workspaceId = useWorkspaceId();\n return useWorkspaceQuery<ConversationHandoffQuery, HandoffRecord | null>({\n document: ConversationHandoffDocument,\n variables: { agentId: agentId ?? '', conversationKey: conversationKey ?? '' },\n select: (data) => data?.conversationHandoff ?? null,\n fallback: null,\n enabled: Boolean(workspaceId && agentId && conversationKey),\n errorMessage: 'Failed to load the conversation handoff',\n });\n}\n\nexport function useUpsertHandoffConfig(agentId: string) {\n const [mutate, state] = useWorkspaceMutation<\n UpsertHandoffConfigMutation,\n BotmanorHandoffConfigInput,\n HandoffConfigRecord\n >({\n document: UpsertHandoffConfigDocument,\n variables: (input) => ({ agentId, input }),\n select: (data) => data?.upsertHandoffConfig,\n errorMessage: 'Failed to save handoff configuration',\n });\n return [mutate, state] as const;\n}\n\nexport function useRequestHandoff() {\n const [mutate, state] = useWorkspaceMutation<\n RequestHandoffMutation,\n { agentId: string; conversationKey: string; reason?: string },\n HandoffRecord\n >({\n document: RequestHandoffDocument,\n variables: (input) => ({ ...input }),\n select: (data) => data?.requestHandoff,\n errorMessage: 'Failed to request a human',\n });\n return [mutate, state] as const;\n}\n\ninterface HandoffTransitionResult {\n id: string;\n status: BotmanorHandoffStatus;\n}\n\nfunction useHandoffTransition<TMutation>(\n document: Parameters<typeof useWorkspaceMutation>[0]['document'],\n select: (data: TMutation | undefined) => HandoffTransitionResult | undefined,\n errorMessage: string\n): readonly [\n (id: string) => Promise<HandoffTransitionResult>,\n MutationState<HandoffTransitionResult>,\n] {\n return useWorkspaceMutation<TMutation, string, HandoffTransitionResult>({\n document,\n variables: (id) => ({ id }),\n select,\n errorMessage,\n });\n}\n\nexport function useAcceptHandoff() {\n return useHandoffTransition<AcceptHandoffMutation>(\n AcceptHandoffDocument,\n (data) => data?.acceptHandoff,\n 'Failed to accept the handoff'\n );\n}\n\nexport function useReleaseHandoff() {\n return useHandoffTransition<ReleaseHandoffMutation>(\n ReleaseHandoffDocument,\n (data) => data?.releaseHandoff,\n 'Failed to release the handoff'\n );\n}\n\nexport function useResolveHandoff() {\n return useHandoffTransition<ResolveHandoffMutation>(\n ResolveHandoffDocument,\n (data) => data?.resolveHandoff,\n 'Failed to resolve the handoff'\n );\n}\n\nexport function useRejectHandoff() {\n return useHandoffTransition<RejectHandoffMutation>(\n RejectHandoffDocument,\n (data) => data?.rejectHandoff,\n 'Failed to reject the handoff'\n );\n}\n"],"mappings":";;;AAgGEA,EAAsB,WACtBA,EAAsB,UACtBA,EAAsB;AAOxB,SAAgBC,EACd,GACyC;CACzC,IAAMC,IAAcC,EAAe;CACnC,OAAOC,EAAkE;EACvE,UAAUC;EACV,WAAW,EAAE,SAASC,KAAW,GAAG;EACpC,SAAS,MAASC,GAAM,iBAAiB;EACzC,UAAU;EACV,SAAS,GAAQL,KAAeI;EAChC,cAAc;CAChB,CAAC;AACH;AAQA,IAAME,IAAmB;AAEzB,SAAgBC,EAAgB,GAGI;CAClC,IAAMP,IAAcC,EAAe;CACnC,OAAOC,EAAyD;EAC9D,UAAUM;EACV,WAAW;GACT,GAAIC,EAAQ,UAAU,EAAE,SAASA,EAAQ,QAAQ,IAAI,CAAC;GACtD,GAAIA,EAAQ,YAAYA,EAAQ,SAAS,SAAS,IAAI,EAAE,UAAUA,EAAQ,SAAS,IAAI,CAAC;GACxF,YAAY;IAAE,OAAOH;IAAkB,QAAQ;GAAE;EACnD;EACA,SAAS,OAAU;GACjB,OAAOD,GAAM,aAAa,SAAS,CAAC;GACpC,OAAOA,GAAM,aAAa,SAAS;GACnC,SAASA,GAAM,aAAa,WAAW;EACzC;EACA,UAAU;GAAE,OAAO,CAAC;GAAG,OAAO;GAAG,SAAS;EAAM;EAChD,SAAS,EAAQL;EACjB,cAAc;CAChB,CAAC;AACH;AAiBA,SAAgBU,EAAuB,GAAiB;CACtD,IAAM,CAACC,GAAQC,KAASC,EAItB;EACA,UAAUC;EACV,YAAY,OAAW;GAAE;GAAS;EAAM;EACxC,SAAS,MAAST,GAAM;EACxB,cAAc;CAChB,CAAC;CACD,OAAO,CAACM,GAAQC,CAAK;AACvB;AAqBA,SAASG,EACP,GACA,GACA,GAIA;CACA,OAAOF,EAAiE;EACtE;EACA,YAAY,OAAQ,EAAE,MAAG;EACzB;EACA;CACF,CAAC;AACH;AAEA,SAAgBG,IAAmB;CACjC,OAAOD,EACLE,IACC,MAASZ,GAAM,eAChB,8BACF;AACF;AAEA,SAAgBa,IAAoB;CAClC,OAAOH,EACLI,IACC,MAASd,GAAM,gBAChB,+BACF;AACF;AAEA,SAAgBe,IAAoB;CAClC,OAAOL,EACLM,IACC,MAAShB,GAAM,gBAChB,+BACF;AACF;AAEA,SAAgBiB,IAAmB;CACjC,OAAOP,EACLQ,IACC,MAASlB,GAAM,eAChB,8BACF;AACF"}
1
+ {"version":3,"file":"useHandoffs.js","names":["BotmanorHandoffStatus","useHandoffConfig","workspaceId","useWorkspaceId","useWorkspaceQuery","HandoffConfigDocument","agentId","data","QUEUE_PAGE_LIMIT","useHandoffQueue","options","statuses","variables","useMemo","HandoffQueueDocument","useUpsertHandoffConfig","mutate","state","useWorkspaceMutation","UpsertHandoffConfigDocument","useHandoffTransition","useAcceptHandoff","AcceptHandoffDocument","useReleaseHandoff","ReleaseHandoffDocument","useResolveHandoff","ResolveHandoffDocument","useRejectHandoff","RejectHandoffDocument"],"sources":["../../../src/botlit/hooks/useHandoffs.ts"],"sourcesContent":["/**\n * Handoff hooks (BOFF-5813)\n * @module botlit/hooks\n *\n * Backed by the live `handoffConfig` / `handoffQueue` / `conversationHandoff`\n * queries and the upsert / request / accept / release / resolve / reject\n * mutations on wspace-botmanor-svc.\n */\n\nimport {\n AcceptHandoffDocument,\n ConversationHandoffDocument,\n HandoffConfigDocument,\n HandoffQueueDocument,\n RejectHandoffDocument,\n ReleaseHandoffDocument,\n RequestHandoffDocument,\n ResolveHandoffDocument,\n UpsertHandoffConfigDocument,\n type AcceptHandoffMutation,\n type ConversationHandoffQuery,\n type HandoffConfigQuery,\n type HandoffQueueQuery,\n type RejectHandoffMutation,\n type ReleaseHandoffMutation,\n type RequestHandoffMutation,\n type ResolveHandoffMutation,\n type UpsertHandoffConfigMutation,\n} from '../../generated/wspace-operations';\nimport {\n BotmanorHandoffFallbackBehavior,\n BotmanorHandoffStatus,\n BotmanorHandoffTrigger,\n type BotmanorHandoffConfigInput,\n} from '../../generated/wspace-types';\nimport { useMemo } from 'react';\n\nimport {\n useWorkspaceId,\n useWorkspaceMutation,\n useWorkspaceQuery,\n type MutationState,\n type QueryResult,\n} from './internal/workspaceGateway';\n\nexport interface HandoffCustomIntentRecord {\n name: string;\n pattern: string;\n isRegex: boolean;\n}\n\nexport interface HandoffConfigRecord {\n agentId: string;\n enabled: boolean;\n explicitRequest: boolean;\n lowConfidence: boolean;\n lowConfidenceThreshold: number;\n repeatedFailures: boolean;\n repeatedFailuresConsecutive: number;\n policyRefusal: boolean;\n customIntents: HandoffCustomIntentRecord[];\n targetUserIds: string[];\n targetRole?: string | null;\n notifyInApp: boolean;\n notifyEmail: boolean;\n notifyPush: boolean;\n fallbackBehavior: BotmanorHandoffFallbackBehavior;\n handoffMessage?: string | null;\n updatedAt?: string | null;\n}\n\nexport interface HandoffEventRecord {\n at: string;\n actorId: string;\n from?: BotmanorHandoffStatus | null;\n to: BotmanorHandoffStatus;\n note?: string | null;\n}\n\nexport interface HandoffRecord {\n id: string;\n agentId: string;\n conversationKey: string;\n conversationId?: string | null;\n status: BotmanorHandoffStatus;\n trigger: BotmanorHandoffTrigger;\n reason: string;\n userMessage?: string | null;\n assignedToId?: string | null;\n executionId?: string | null;\n events: HandoffEventRecord[];\n createdAt: string;\n acceptedAt?: string | null;\n resolvedAt?: string | null;\n releasedAt?: string | null;\n}\n\nexport const ACTIVE_HANDOFF_STATUSES: readonly BotmanorHandoffStatus[] = [\n BotmanorHandoffStatus.Requested,\n BotmanorHandoffStatus.Assigned,\n BotmanorHandoffStatus.Accepted,\n];\n\nexport function isActiveHandoff(status: BotmanorHandoffStatus): boolean {\n return ACTIVE_HANDOFF_STATUSES.includes(status);\n}\n\nexport function useHandoffConfig(\n agentId: string | undefined\n): QueryResult<HandoffConfigRecord | null> {\n const workspaceId = useWorkspaceId();\n return useWorkspaceQuery<HandoffConfigQuery, HandoffConfigRecord | null>({\n document: HandoffConfigDocument,\n variables: { agentId: agentId ?? '' },\n select: (data) => data?.handoffConfig ?? null,\n fallback: null,\n enabled: Boolean(workspaceId && agentId),\n errorMessage: 'Failed to load handoff configuration',\n });\n}\n\nexport interface HandoffQueueResult {\n items: HandoffRecord[];\n total: number;\n hasMore: boolean;\n}\n\nconst QUEUE_PAGE_LIMIT = 100;\n\nexport function useHandoffQueue(options: {\n agentId?: string;\n statuses?: BotmanorHandoffStatus[];\n}): QueryResult<HandoffQueueResult> {\n const workspaceId = useWorkspaceId();\n const agentId = options.agentId;\n const statuses = options.statuses;\n // Stable identity — see useHandoffConfig.\n const variables = useMemo(\n () => ({\n ...(agentId ? { agentId } : {}),\n ...(statuses && statuses.length > 0 ? { statuses } : {}),\n pagination: { limit: QUEUE_PAGE_LIMIT, offset: 0 },\n }),\n [agentId, statuses]\n );\n return useWorkspaceQuery<HandoffQueueQuery, HandoffQueueResult>({\n document: HandoffQueueDocument,\n variables,\n select: (data) => ({\n items: data?.handoffQueue.items ?? [],\n total: data?.handoffQueue.total ?? 0,\n hasMore: data?.handoffQueue.hasMore ?? false,\n }),\n fallback: { items: [], total: 0, hasMore: false },\n enabled: Boolean(workspaceId),\n errorMessage: 'Failed to load the handoff queue',\n });\n}\n\nexport function useConversationHandoff(\n agentId: string | undefined,\n conversationKey: string | undefined\n): QueryResult<HandoffRecord | null> {\n const workspaceId = useWorkspaceId();\n // Stable identity — see useHandoffConfig.\n const variables = useMemo(\n () => ({ agentId: agentId ?? '', conversationKey: conversationKey ?? '' }),\n [agentId, conversationKey]\n );\n return useWorkspaceQuery<ConversationHandoffQuery, HandoffRecord | null>({\n document: ConversationHandoffDocument,\n variables,\n select: (data) => data?.conversationHandoff ?? null,\n fallback: null,\n enabled: Boolean(workspaceId && agentId && conversationKey),\n errorMessage: 'Failed to load the conversation handoff',\n });\n}\n\nexport function useUpsertHandoffConfig(agentId: string) {\n const [mutate, state] = useWorkspaceMutation<\n UpsertHandoffConfigMutation,\n BotmanorHandoffConfigInput,\n HandoffConfigRecord\n >({\n document: UpsertHandoffConfigDocument,\n variables: (input) => ({ agentId, input }),\n select: (data) => data?.upsertHandoffConfig,\n errorMessage: 'Failed to save handoff configuration',\n });\n return [mutate, state] as const;\n}\n\nexport function useRequestHandoff() {\n const [mutate, state] = useWorkspaceMutation<\n RequestHandoffMutation,\n { agentId: string; conversationKey: string; reason?: string },\n HandoffRecord\n >({\n document: RequestHandoffDocument,\n variables: (input) => ({ ...input }),\n select: (data) => data?.requestHandoff,\n errorMessage: 'Failed to request a human',\n });\n return [mutate, state] as const;\n}\n\ninterface HandoffTransitionResult {\n id: string;\n status: BotmanorHandoffStatus;\n}\n\nfunction useHandoffTransition<TMutation>(\n document: Parameters<typeof useWorkspaceMutation>[0]['document'],\n select: (data: TMutation | undefined) => HandoffTransitionResult | undefined,\n errorMessage: string\n): readonly [\n (id: string) => Promise<HandoffTransitionResult>,\n MutationState<HandoffTransitionResult>,\n] {\n return useWorkspaceMutation<TMutation, string, HandoffTransitionResult>({\n document,\n variables: (id) => ({ id }),\n select,\n errorMessage,\n });\n}\n\nexport function useAcceptHandoff() {\n return useHandoffTransition<AcceptHandoffMutation>(\n AcceptHandoffDocument,\n (data) => data?.acceptHandoff,\n 'Failed to accept the handoff'\n );\n}\n\nexport function useReleaseHandoff() {\n return useHandoffTransition<ReleaseHandoffMutation>(\n ReleaseHandoffDocument,\n (data) => data?.releaseHandoff,\n 'Failed to release the handoff'\n );\n}\n\nexport function useResolveHandoff() {\n return useHandoffTransition<ResolveHandoffMutation>(\n ResolveHandoffDocument,\n (data) => data?.resolveHandoff,\n 'Failed to resolve the handoff'\n );\n}\n\nexport function useRejectHandoff() {\n return useHandoffTransition<RejectHandoffMutation>(\n RejectHandoffDocument,\n (data) => data?.rejectHandoff,\n 'Failed to reject the handoff'\n );\n}\n"],"mappings":";;;;AAkGEA,EAAsB,WACtBA,EAAsB,UACtBA,EAAsB;AAOxB,SAAgBC,EACd,GACyC;CACzC,IAAMC,IAAcC,EAAe;CACnC,OAAOC,EAAkE;EACvE,UAAUC;EACV,WAAW,EAAE,SAASC,KAAW,GAAG;EACpC,SAAS,MAASC,GAAM,iBAAiB;EACzC,UAAU;EACV,SAAS,GAAQL,KAAeI;EAChC,cAAc;CAChB,CAAC;AACH;AAQA,IAAME,IAAmB;AAEzB,SAAgBC,EAAgB,GAGI;CAClC,IAAMP,IAAcC,EAAe,GAC7BG,IAAUI,EAAQ,SAClBC,IAAWD,EAAQ,UAEnBE,IAAYC,SACT;EACL,GAAIP,IAAU,EAAE,WAAQ,IAAI,CAAC;EAC7B,GAAIK,KAAYA,EAAS,SAAS,IAAI,EAAE,YAAS,IAAI,CAAC;EACtD,YAAY;GAAE,OAAOH;GAAkB,QAAQ;EAAE;CACnD,IACA,CAACF,GAASK,CAAQ,CACpB;CACA,OAAOP,EAAyD;EAC9D,UAAUU;EACV;EACA,SAAS,OAAU;GACjB,OAAOP,GAAM,aAAa,SAAS,CAAC;GACpC,OAAOA,GAAM,aAAa,SAAS;GACnC,SAASA,GAAM,aAAa,WAAW;EACzC;EACA,UAAU;GAAE,OAAO,CAAC;GAAG,OAAO;GAAG,SAAS;EAAM;EAChD,SAAS,EAAQL;EACjB,cAAc;CAChB,CAAC;AACH;AAsBA,SAAgBa,EAAuB,GAAiB;CACtD,IAAM,CAACC,GAAQC,KAASC,EAItB;EACA,UAAUC;EACV,YAAY,OAAW;GAAE;GAAS;EAAM;EACxC,SAAS,MAASZ,GAAM;EACxB,cAAc;CAChB,CAAC;CACD,OAAO,CAACS,GAAQC,CAAK;AACvB;AAqBA,SAASG,EACP,GACA,GACA,GAIA;CACA,OAAOF,EAAiE;EACtE;EACA,YAAY,OAAQ,EAAE,MAAG;EACzB;EACA;CACF,CAAC;AACH;AAEA,SAAgBG,IAAmB;CACjC,OAAOD,EACLE,IACC,MAASf,GAAM,eAChB,8BACF;AACF;AAEA,SAAgBgB,IAAoB;CAClC,OAAOH,EACLI,IACC,MAASjB,GAAM,gBAChB,+BACF;AACF;AAEA,SAAgBkB,IAAoB;CAClC,OAAOL,EACLM,IACC,MAASnB,GAAM,gBAChB,+BACF;AACF;AAEA,SAAgBoB,IAAmB;CACjC,OAAOP,EACLQ,IACC,MAASrB,GAAM,eAChB,8BACF;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-botmanor",
3
- "version": "2026.1110.3",
3
+ "version": "2026.1110.4",
4
4
  "description": "Burdenoff BotManor Microfrontend - AI Agent platform interface for building, deploying and managing AI agents",
5
5
  "type": "module",
6
6
  "files": [