@makaio/framework 1.0.0-dev-1781457526466 → 1.0.0-dev-1781472900225

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 (116) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.mjs +1 -1
  3. package/dist/{adapter-BH1X0THX.mjs → adapter-ux2xaQ6H.mjs} +1 -1
  4. package/dist/bus/index.d.mts +4 -4
  5. package/dist/bus/index.mjs +1 -1
  6. package/dist/{bus-Hb-LGzgb.mjs → bus-EZNBPRYi.mjs} +1 -1
  7. package/dist/bus-TDrZtNyc.mjs +1 -0
  8. package/dist/{canonical-model-BNb0IFWC.mjs → canonical-model-BE7t86yt.mjs} +1 -1
  9. package/dist/{compression-vRUOO-28.mjs → compression-Cy9DIqyr.mjs} +1 -1
  10. package/dist/contracts/adapter/index.d.mts +2 -2
  11. package/dist/contracts/adapter/index.mjs +1 -1
  12. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  13. package/dist/contracts/artifact/index.d.mts +1 -1
  14. package/dist/contracts/canonical-model/index.mjs +1 -1
  15. package/dist/contracts/client/index.d.mts +1 -1
  16. package/dist/contracts/config/index.d.mts +6 -6
  17. package/dist/contracts/extension/index.d.mts +3 -3
  18. package/dist/contracts/extension/index.mjs +1 -1
  19. package/dist/contracts/facet/index.d.mts +1 -1
  20. package/dist/contracts/harness/index.d.mts +1 -1
  21. package/dist/contracts/index.d.mts +120 -104
  22. package/dist/contracts/index.mjs +1 -1
  23. package/dist/contracts/materialization/index.d.mts +3 -3
  24. package/dist/contracts/provider/index.d.mts +2 -2
  25. package/dist/contracts/provider/index.mjs +1 -1
  26. package/dist/contracts/session/index.d.mts +2 -2
  27. package/dist/contracts/session/index.mjs +1 -1
  28. package/dist/contracts/shared/index.d.mts +1 -1
  29. package/dist/contracts/variant/index.d.mts +1 -1
  30. package/dist/{definition-BwLJnqEo.d.mts → definition-B2FH_eOh.d.mts} +1 -0
  31. package/dist/{definition-DZMXOnjX.mjs → definition-Bija4lGr.mjs} +1 -1
  32. package/dist/{definition-DSq5ErZD.d.mts → definition-CZcVOhXZ.d.mts} +1 -1
  33. package/dist/{extension-DEUfzXcg.mjs → extension-DNrcv3V7.mjs} +1 -1
  34. package/dist/{index-iXawmtSH2.d.mts → index-9vCtepE32.d.mts} +6 -6
  35. package/dist/{index-B3mq3Qjf.d.mts → index-BZuF4I8O.d.mts} +1 -1
  36. package/dist/{index-B19U8IjG.d.mts → index-BaajomEP.d.mts} +19 -19
  37. package/dist/{index-DfNIhEm_.d.mts → index-BafN3wmA.d.mts} +18 -16
  38. package/dist/{index-DyqZej9j.d.mts → index-C2XLjebs.d.mts} +4 -4
  39. package/dist/{index-C7DEqbEy.d.mts → index-CKaFWH2Q.d.mts} +1 -1
  40. package/dist/{index-BVf5D_xQ.d.mts → index-CciZTbYG.d.mts} +4 -4
  41. package/dist/{index-CmnQr7_x.d.mts → index-DBd4CgV5.d.mts} +19 -3
  42. package/dist/{index-DpeRgR7z.d.mts → index-DDAviCTa.d.mts} +47 -45
  43. package/dist/{index-p0Gs2cHX.d.mts → index-DGbTPRLw.d.mts} +21 -21
  44. package/dist/{index-CEdOq5Om.d.mts → index-DKR_B-Oa.d.mts} +1 -1
  45. package/dist/{index-Cs1JVq0D.d.mts → index-DUI1W-zN.d.mts} +8 -8
  46. package/dist/{index-DacXw2sg.d.mts → index-XzH0OovV.d.mts} +18 -16
  47. package/dist/{index-DmZxKuwh.d.mts → index-ldkFQKNM.d.mts} +9 -9
  48. package/dist/{index-B_Z1Mgko.d.mts → index-nEJX7pZ7.d.mts} +1 -1
  49. package/dist/kernel/extension/index.d.mts +1 -1
  50. package/dist/kernel/index.d.mts +2 -2
  51. package/dist/kernel/observability/index.d.mts +1 -1
  52. package/dist/{namespace-Dr1wDUZA2.d.mts → namespace-6u1Uf-iw2.d.mts} +2 -2
  53. package/dist/{namespace-1tHmgGQV.d.mts → namespace-BQgZChZl.d.mts} +2 -2
  54. package/dist/{namespace-DB6RC_Pn.d.mts → namespace-Ba1gUpUu.d.mts} +2 -2
  55. package/dist/{namespace-D_ZXa76m.d.mts → namespace-D8fZyqIh.d.mts} +30 -26
  56. package/dist/{namespace-DphMg7CF.d.mts → namespace-Q-z7Lr2f.d.mts} +4 -4
  57. package/dist/{namespace-u_b7D-p2.d.mts → namespace-vf2H23bo.d.mts} +22 -22
  58. package/dist/{package-CBjoefAW.mjs → package-lxB0vpby.mjs} +1 -1
  59. package/dist/package.json +1 -1
  60. package/dist/{primitive-runtime-BHSEOIH6.mjs → primitive-runtime-BSg8J7VX.mjs} +1 -1
  61. package/dist/{providers-namespace-DMUyEbmp.d.mts → providers-namespace-C0C-Sb4N.d.mts} +7 -0
  62. package/dist/runtime-node/index.mjs +1 -1
  63. package/dist/{schema-BDQID7HI.d.mts → schema-zLCdL-0u.d.mts} +1 -1
  64. package/dist/{schemas-ByBtBmoL.d.mts → schemas-BbFAwUpf.d.mts} +3 -3
  65. package/dist/{schemas-Bxc0-SF62.d.mts → schemas-C5iazMbM2.d.mts} +15 -15
  66. package/dist/{schemas-D2IRKPJN.d.mts → schemas-CRS7tkFP.d.mts} +4 -4
  67. package/dist/{schemas-Bxjfpl2Y.d.mts → schemas-DZfBym73.d.mts} +7 -7
  68. package/dist/{schemas-CzvG8xq7.mjs → schemas-Dvm_0GDr.mjs} +1 -1
  69. package/dist/{schemas-DdHltfZX.d.mts → schemas-IDGAJ_zv.d.mts} +3 -3
  70. package/dist/{schemas-za4KzhEe.d.mts → schemas-fEoe6H0K.d.mts} +2 -2
  71. package/dist/scoped-bus-CRC3ba_l.mjs +1 -0
  72. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  73. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  74. package/dist/services/agent-runtime/index.d.mts +2 -2
  75. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  76. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  77. package/dist/services/context-rules/index.d.mts +6 -6
  78. package/dist/services/filesystem/namespace.d.mts +12 -12
  79. package/dist/services/filesystem/schemas.d.mts +6 -6
  80. package/dist/services/git/namespace.d.mts +2 -2
  81. package/dist/services/git/schemas.d.mts +1 -1
  82. package/dist/services/harness/index.d.mts +3 -3
  83. package/dist/services/index.d.mts +53 -48
  84. package/dist/services/preferences/index.d.mts +2 -2
  85. package/dist/services/preferences/schemas.d.mts +1 -1
  86. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  87. package/dist/services/session/index.d.mts +4 -4
  88. package/dist/services/session/messages/namespace.d.mts +1 -1
  89. package/dist/services/session/storage/namespace.d.mts +1 -1
  90. package/dist/services/session/storage/schema.d.mts +1 -1
  91. package/dist/services/settings/index.d.mts +1 -1
  92. package/dist/services/settings/namespace.d.mts +12 -12
  93. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  94. package/dist/services/settings/storage/index.d.mts +1 -1
  95. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  96. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  97. package/dist/services/subagent-template/index.d.mts +2 -2
  98. package/dist/services/subagent-template/namespace.d.mts +1 -1
  99. package/dist/services/subagent-template/schemas.d.mts +1 -1
  100. package/dist/services/tray-menu/index.d.mts +2 -2
  101. package/dist/services/tray-menu/namespace.d.mts +1 -1
  102. package/dist/services/tray-menu/schemas.d.mts +1 -1
  103. package/dist/{session-owtKCoUX.mjs → session-Is5VSP2V.mjs} +1 -1
  104. package/dist/{session-lineage-DFkJgYt5.d.mts → session-lineage-D_8W1MI0.d.mts} +1 -1
  105. package/dist/{storage-namespace-Cd5XzgVC.d.mts → storage-namespace-gey7EUhM.d.mts} +10 -10
  106. package/dist/{types-BC3nHLuk.d.mts → types-DaznHkuE.d.mts} +15 -13
  107. package/dist/ui-kernel/index.d.mts +4 -4
  108. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  109. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  110. package/dist/workflow-engine/index.d.mts +52 -52
  111. package/dist/workflow-engine/index.mjs +1 -1
  112. package/dist/workflow-engine/package.mjs +1 -1
  113. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  114. package/package.json +1 -1
  115. package/dist/bus-Caz3Jpbc.mjs +0 -1
  116. package/dist/scoped-bus-04pwo1uM.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  import { t as TrayMenuService } from "../../index-CYZqADXY2.mjs";
2
- import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-DdHltfZX.mjs";
3
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-DB6RC_Pn.mjs";
2
+ import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-IDGAJ_zv.mjs";
3
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-Ba1gUpUu.mjs";
4
4
  export { TrayMenuEntry, TrayMenuEntrySchema, TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, TrayMenuItemClicked, TrayMenuItemClickedSchema, TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects };
@@ -1,2 +1,2 @@
1
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-DB6RC_Pn.mjs";
1
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-Ba1gUpUu.mjs";
2
2
  export { TrayMenuNamespace, TrayMenuSubjects };
@@ -1,2 +1,2 @@
1
- import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-DdHltfZX.mjs";
1
+ import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-IDGAJ_zv.mjs";
2
2
  export { TrayMenuEntry, TrayMenuEntrySchema, TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, TrayMenuItemClicked, TrayMenuItemClickedSchema, TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuSchemas, TrayMenuSectionSchema };
@@ -1 +1 @@
1
- import{A as e,F as t,H as n,I as ee,P as r,V as i,W as a,at as o,it as s,j as c,rt as l,tt as te,y as u}from"./schemas-CzvG8xq7.mjs";import"./compression-vRUOO-28.mjs";import{t as d}from"./schemas-DAYPhB5K.mjs";import{i as f}from"./account-identity-D-9gunfD.mjs";import{CompressSessionLineageSchema as p,ForkSessionLineageSchema as m,RootSessionLineageSchema as h,SubagentSessionLineageSchema as g}from"./contracts/adapter/schemas/session-lineage.mjs";import{t as _}from"./storage-namespace-definition-Df8S3E3r.mjs";import{z as v}from"zod";import{createBusNamespace as y}from"@makaio/framework/core";const b=y(`session`,u),x=b.subjects;function S(e){return c.includes(e.type)}const C=`ui-warnings`,w=`connector-swap-warning-suppressed`,T=1440*60*1e3,E={cancel:`cancel`,edit:`edit`,continue:`continue`},D=`CONNECTOR_SWAP_CANCELLED`;var O=class extends Error{code=D;constructor(){super(`Connector swap cancelled by user`),this.name=`ConnectorSwapCancelledError`}};function k(e){return e instanceof O||e instanceof Error&&`code`in e&&e.code===`CONNECTOR_SWAP_CANCELLED`}const A={branch:{label:`branch`,staysInView:!0,navigatesToChild:!1,canMergeBack:!0},subagent:{label:`subagent`,staysInView:!0,navigatesToChild:!1,canMergeBack:!0},fork:{label:`fork`,staysInView:!1,navigatesToChild:!0,canMergeBack:!1},compress:{label:`compress`,staysInView:!1,navigatesToChild:!0,canMergeBack:!1},rewrite:{label:`rewrite`,staysInView:!1,navigatesToChild:!0,canMergeBack:!1},coordinator:{label:`coordinator`,staysInView:!0,navigatesToChild:!1,canMergeBack:!1},aside:{label:`aside`,staysInView:!0,navigatesToChild:!1,canMergeBack:!1}};function j(e){return e!=null&&A[e].staysInView}function M(e){return e==null||A[e].navigatesToChild}function N(e){return e!=null&&A[e].canMergeBack}function P(e){return A[e]}const F=v.object({timestamp:v.number(),messageId:v.string()}),I=_(`message`,{schemas:{append:{request:v.object({message:a.omit({messageId:!0}).extend({messageId:v.string().optional()}),emitEvent:v.boolean().optional()}),response:v.object({message:a})},getBySession:{request:v.object({sessionId:v.string(),limit:v.number().int().min(1).optional(),after:F.optional(),includeAfter:v.boolean().optional(),order:v.enum([`asc`,`desc`]).optional()}),response:v.object({messages:v.array(a),nextCursor:F.nullable()})},getByTurn:{request:v.object({turnId:v.string()}),response:v.object({messages:v.array(a)})},get:{request:v.object({messageId:v.string()}),response:v.object({message:a.nullable()})},getByAdapterMessageId:{request:v.object({adapterMessageId:v.string()}),response:v.object({message:a.nullable()})},search:{request:v.object({query:v.string(),sessionId:v.string().optional(),limit:v.number().int().min(1).optional()}),response:v.object({messages:v.array(a),total:v.number()})},ftsSearch:{request:v.object({query:v.string(),sessionId:v.string().optional(),limit:v.number().int().min(1).optional().default(20)}),response:v.object({results:v.array(v.object({messageId:v.string(),sessionId:v.string(),score:v.number(),excerpt:v.string()})),total:v.number()})},upsertByAdapterMessageId:{request:v.object({sessionId:v.string(),turnId:v.string().nullable(),adapterMessageId:v.string(),role:v.enum([`user`,`assistant`]),contentText:v.string(),blocks:v.array(i),agentId:v.string().optional(),adapterSessionId:v.string().optional(),timestamp:v.number(),origin:n.optional()}),response:v.object({messageId:v.string(),created:v.boolean()})},stored:v.object({message:a})}}),L=I.subjects;function R(e,t){return e.timestamp===t.timestamp?e.messageId.localeCompare(t.messageId):e.timestamp-t.timestamp}function z(e,t){return R(t,e)}function B(e){return{timestamp:e.timestamp,messageId:e.messageId}}function V(e){return`${e.timestamp}:${e.messageId}`}const H=v.object({after:v.string().optional(),limit:v.number().int().min(1).optional(),types:v.array(v.string()).optional(),includeReasoning:v.boolean().optional(),order:v.enum([`asc`,`desc`]).optional()}),U=v.object({events:v.array(e),nextCursor:v.string().nullable(),totalCount:v.number().optional()}),W=_(`sessionEvent`,{schemas:{append:{request:v.object({event:e}),response:v.object({success:v.boolean()})},getEvents:{request:v.object({sessionId:v.string(),options:H.optional()}),response:U},getByIds:{request:v.object({sessionId:v.string(),eventIds:v.array(v.string())}),response:v.object({events:v.array(e)})},deleteBySession:{request:v.object({sessionId:v.string()}),response:v.object({success:v.boolean(),deletedCount:v.number().optional()})},getEventsBySessions:{request:v.object({sessionIds:v.array(v.string()),types:v.array(v.string()),limitPerSession:v.number().int().min(1).optional()}),response:v.object({eventsBySession:v.record(v.string(),v.array(e))})}}}),G=W.subjects,K=r.extend({preview:t});function q(e,t){e.clientAccountId!==void 0&&e.lastClientIdentityObservation===void 0&&t.addIssue({code:v.ZodIssueCode.custom,path:[`lastClientIdentityObservation`],message:`lastClientIdentityObservation is required when clientAccountId is provided`}),e.clientAccountId!==void 0&&e.clientId===void 0&&t.addIssue({code:v.ZodIssueCode.custom,path:[`clientId`],message:`clientId is required when clientAccountId is provided`})}const J=r.superRefine((e,t)=>{q(e,t)}),Y=v.object({sessionId:v.string(),session:J,ifAbsent:v.boolean().optional()}).superRefine((e,t)=>{e.sessionId!==e.session.sessionId&&t.addIssue({code:v.ZodIssueCode.custom,path:[`session`,`sessionId`],message:`session.sessionId must match the top-level sessionId`})}),X={request:v.object({sessionId:v.string(),status:v.enum([`active`,`closed`,`archived`,`discovered`]).optional(),parentSessionId:v.string().optional(),contextInheritance:o.optional(),rootSessionId:v.string().optional(),forkPointMessageId:v.string().optional(),branchKind:l.optional(),isOrchestrated:v.boolean().optional(),clientId:v.string().optional(),clientAccountId:v.string().optional(),lastClientIdentityObservation:f.optional(),executionTargetId:v.string().nullable().optional(),approvalPolicyOverride:d.nullable().optional(),title:v.string().optional(),targetWorkingDirectory:v.string().optional(),createdAt:v.number().finite().optional(),lastActivityAt:v.number().finite().optional(),spawningToolCallId:v.string().nullable().optional()}),response:v.object({success:v.boolean(),clientAccountChanged:v.boolean().optional()})},Z=v.object({externalSessionId:v.string(),source:v.string(),clientId:v.string().optional(),adapterId:v.string().optional(),cwd:v.string().nullable(),logFilePath:v.string().nullable().optional(),startedAt:v.number().finite().optional(),title:v.string().nullable().optional()}),Q=v.discriminatedUnion(`kind`,[Z.merge(h),Z.merge(m),Z.merge(g),Z.merge(p)]),$=_(`session`,{schemas:{get:{request:v.object({sessionId:v.string()}),response:v.object({session:r.nullable()})},set:{request:Y,response:v.object({success:v.boolean(),clientAccountChanged:v.boolean().optional()})},delete:{request:v.object({sessionId:v.string()}),response:v.object({success:v.boolean()})},list:{request:v.object({status:v.enum([`active`,`closed`,`archived`,`discovered`,`all`]).optional(),limit:v.number().int().min(1).optional(),offset:v.number().int().min(0).optional(),includePreview:v.boolean().optional(),executionTargetId:v.string().optional()}),response:v.object({sessions:v.array(ee),total:v.number()})},getChildren:{request:v.object({sessionId:v.string()}),response:v.object({children:v.array(te)})},search:{request:v.object({query:v.string(),limit:v.number().int().min(1).optional(),status:v.enum([`active`,`closed`,`archived`,`discovered`,`all`]).optional(),isImported:v.boolean().optional()}),response:v.object({sessions:v.array(K),total:v.number()})},update:X,getByAdapterSessionId:{request:v.object({adapterSessionId:v.string(),source:v.string().optional(),adapterName:v.string().optional()}),response:v.object({session:r.nullable()})},getStatusCounts:{request:v.object({}),response:v.object({all:v.number(),active:v.number(),closed:v.number(),archived:v.number(),discovered:v.number()})},importUpsert:{request:Q,response:v.object({sessionId:v.string(),created:v.boolean()})},getByLogFilePath:{request:v.object({logFilePath:v.string()}),response:v.object({session:r.nullable()})},listImported:{request:v.object({source:v.string().optional(),importStatus:s.optional()}),response:v.object({sessions:v.array(r)})},countBySource:{request:v.object({source:v.string()}),response:v.object({total:v.number(),imported:v.number(),discovered:v.number(),tracking:v.number()})},updateImportStatus:{request:v.object({sessionId:v.string(),importStatus:s}),response:v.object({success:v.boolean()})}}}),ne=$.subjects;export{w as C,b as D,S as E,x as O,E as S,C as T,N as _,X as a,O as b,R as c,B as d,F as f,j as g,P as h,ne as i,z as l,L as m,Y as n,W as o,I as p,J as r,G as s,$ as t,V as u,M as v,T as w,k as x,D as y};
1
+ import{A as e,F as t,H as n,I as ee,P as r,V as i,W as a,at as o,it as s,j as c,rt as l,tt as te,y as u}from"./schemas-Dvm_0GDr.mjs";import"./compression-Cy9DIqyr.mjs";import{t as d}from"./schemas-DAYPhB5K.mjs";import{i as f}from"./account-identity-D-9gunfD.mjs";import{CompressSessionLineageSchema as p,ForkSessionLineageSchema as m,RootSessionLineageSchema as h,SubagentSessionLineageSchema as g}from"./contracts/adapter/schemas/session-lineage.mjs";import{t as _}from"./storage-namespace-definition-Df8S3E3r.mjs";import{z as v}from"zod";import{createBusNamespace as y}from"@makaio/framework/core";const b=y(`session`,u),x=b.subjects;function S(e){return c.includes(e.type)}const C=`ui-warnings`,w=`connector-swap-warning-suppressed`,T=1440*60*1e3,E={cancel:`cancel`,edit:`edit`,continue:`continue`},D=`CONNECTOR_SWAP_CANCELLED`;var O=class extends Error{code=D;constructor(){super(`Connector swap cancelled by user`),this.name=`ConnectorSwapCancelledError`}};function k(e){return e instanceof O||e instanceof Error&&`code`in e&&e.code===`CONNECTOR_SWAP_CANCELLED`}const A={branch:{label:`branch`,staysInView:!0,navigatesToChild:!1,canMergeBack:!0},subagent:{label:`subagent`,staysInView:!0,navigatesToChild:!1,canMergeBack:!0},fork:{label:`fork`,staysInView:!1,navigatesToChild:!0,canMergeBack:!1},compress:{label:`compress`,staysInView:!1,navigatesToChild:!0,canMergeBack:!1},rewrite:{label:`rewrite`,staysInView:!1,navigatesToChild:!0,canMergeBack:!1},coordinator:{label:`coordinator`,staysInView:!0,navigatesToChild:!1,canMergeBack:!1},aside:{label:`aside`,staysInView:!0,navigatesToChild:!1,canMergeBack:!1}};function j(e){return e!=null&&A[e].staysInView}function M(e){return e==null||A[e].navigatesToChild}function N(e){return e!=null&&A[e].canMergeBack}function P(e){return A[e]}const F=v.object({timestamp:v.number(),messageId:v.string()}),I=_(`message`,{schemas:{append:{request:v.object({message:a.omit({messageId:!0}).extend({messageId:v.string().optional()}),emitEvent:v.boolean().optional()}),response:v.object({message:a})},getBySession:{request:v.object({sessionId:v.string(),limit:v.number().int().min(1).optional(),after:F.optional(),includeAfter:v.boolean().optional(),order:v.enum([`asc`,`desc`]).optional()}),response:v.object({messages:v.array(a),nextCursor:F.nullable()})},getByTurn:{request:v.object({turnId:v.string()}),response:v.object({messages:v.array(a)})},get:{request:v.object({messageId:v.string()}),response:v.object({message:a.nullable()})},getByAdapterMessageId:{request:v.object({adapterMessageId:v.string()}),response:v.object({message:a.nullable()})},search:{request:v.object({query:v.string(),sessionId:v.string().optional(),limit:v.number().int().min(1).optional()}),response:v.object({messages:v.array(a),total:v.number()})},ftsSearch:{request:v.object({query:v.string(),sessionId:v.string().optional(),limit:v.number().int().min(1).optional().default(20)}),response:v.object({results:v.array(v.object({messageId:v.string(),sessionId:v.string(),score:v.number(),excerpt:v.string()})),total:v.number()})},upsertByAdapterMessageId:{request:v.object({sessionId:v.string(),turnId:v.string().nullable(),adapterMessageId:v.string(),role:v.enum([`user`,`assistant`]),contentText:v.string(),blocks:v.array(i),agentId:v.string().optional(),adapterSessionId:v.string().optional(),timestamp:v.number(),origin:n.optional()}),response:v.object({messageId:v.string(),created:v.boolean()})},stored:v.object({message:a})}}),L=I.subjects;function R(e,t){return e.timestamp===t.timestamp?e.messageId.localeCompare(t.messageId):e.timestamp-t.timestamp}function z(e,t){return R(t,e)}function B(e){return{timestamp:e.timestamp,messageId:e.messageId}}function V(e){return`${e.timestamp}:${e.messageId}`}const H=v.object({after:v.string().optional(),limit:v.number().int().min(1).optional(),types:v.array(v.string()).optional(),includeReasoning:v.boolean().optional(),order:v.enum([`asc`,`desc`]).optional()}),U=v.object({events:v.array(e),nextCursor:v.string().nullable(),totalCount:v.number().optional()}),W=_(`sessionEvent`,{schemas:{append:{request:v.object({event:e}),response:v.object({success:v.boolean()})},getEvents:{request:v.object({sessionId:v.string(),options:H.optional()}),response:U},getByIds:{request:v.object({sessionId:v.string(),eventIds:v.array(v.string())}),response:v.object({events:v.array(e)})},deleteBySession:{request:v.object({sessionId:v.string()}),response:v.object({success:v.boolean(),deletedCount:v.number().optional()})},getEventsBySessions:{request:v.object({sessionIds:v.array(v.string()),types:v.array(v.string()),limitPerSession:v.number().int().min(1).optional()}),response:v.object({eventsBySession:v.record(v.string(),v.array(e))})}}}),G=W.subjects,K=r.extend({preview:t});function q(e,t){e.clientAccountId!==void 0&&e.lastClientIdentityObservation===void 0&&t.addIssue({code:v.ZodIssueCode.custom,path:[`lastClientIdentityObservation`],message:`lastClientIdentityObservation is required when clientAccountId is provided`}),e.clientAccountId!==void 0&&e.clientId===void 0&&t.addIssue({code:v.ZodIssueCode.custom,path:[`clientId`],message:`clientId is required when clientAccountId is provided`})}const J=r.superRefine((e,t)=>{q(e,t)}),Y=v.object({sessionId:v.string(),session:J,ifAbsent:v.boolean().optional()}).superRefine((e,t)=>{e.sessionId!==e.session.sessionId&&t.addIssue({code:v.ZodIssueCode.custom,path:[`session`,`sessionId`],message:`session.sessionId must match the top-level sessionId`})}),X={request:v.object({sessionId:v.string(),status:v.enum([`active`,`closed`,`archived`,`discovered`]).optional(),parentSessionId:v.string().optional(),contextInheritance:o.optional(),rootSessionId:v.string().optional(),forkPointMessageId:v.string().optional(),branchKind:l.optional(),isOrchestrated:v.boolean().optional(),clientId:v.string().optional(),clientAccountId:v.string().optional(),lastClientIdentityObservation:f.optional(),executionTargetId:v.string().nullable().optional(),approvalPolicyOverride:d.nullable().optional(),title:v.string().optional(),targetWorkingDirectory:v.string().optional(),createdAt:v.number().finite().optional(),lastActivityAt:v.number().finite().optional(),spawningToolCallId:v.string().nullable().optional()}),response:v.object({success:v.boolean(),clientAccountChanged:v.boolean().optional()})},Z=v.object({externalSessionId:v.string(),source:v.string(),clientId:v.string().optional(),adapterId:v.string().optional(),cwd:v.string().nullable(),logFilePath:v.string().nullable().optional(),startedAt:v.number().finite().optional(),title:v.string().nullable().optional()}),Q=v.discriminatedUnion(`kind`,[Z.merge(h),Z.merge(m),Z.merge(g),Z.merge(p)]),$=_(`session`,{schemas:{get:{request:v.object({sessionId:v.string()}),response:v.object({session:r.nullable()})},set:{request:Y,response:v.object({success:v.boolean(),clientAccountChanged:v.boolean().optional()})},delete:{request:v.object({sessionId:v.string()}),response:v.object({success:v.boolean()})},list:{request:v.object({status:v.enum([`active`,`closed`,`archived`,`discovered`,`all`]).optional(),limit:v.number().int().min(1).optional(),offset:v.number().int().min(0).optional(),includePreview:v.boolean().optional(),executionTargetId:v.string().optional()}),response:v.object({sessions:v.array(ee),total:v.number()})},getChildren:{request:v.object({sessionId:v.string()}),response:v.object({children:v.array(te)})},search:{request:v.object({query:v.string(),limit:v.number().int().min(1).optional(),status:v.enum([`active`,`closed`,`archived`,`discovered`,`all`]).optional(),isImported:v.boolean().optional()}),response:v.object({sessions:v.array(K),total:v.number()})},update:X,getByAdapterSessionId:{request:v.object({adapterSessionId:v.string(),source:v.string().optional(),adapterName:v.string().optional()}),response:v.object({session:r.nullable()})},getStatusCounts:{request:v.object({}),response:v.object({all:v.number(),active:v.number(),closed:v.number(),archived:v.number(),discovered:v.number()})},importUpsert:{request:Q,response:v.object({sessionId:v.string(),created:v.boolean()})},getByLogFilePath:{request:v.object({logFilePath:v.string()}),response:v.object({session:r.nullable()})},listImported:{request:v.object({source:v.string().optional(),importStatus:s.optional()}),response:v.object({sessions:v.array(r)})},countBySource:{request:v.object({source:v.string()}),response:v.object({total:v.number(),imported:v.number(),discovered:v.number(),tracking:v.number()})},updateImportStatus:{request:v.object({sessionId:v.string(),importStatus:s}),response:v.object({success:v.boolean()})}}}),ne=$.subjects;export{w as C,b as D,S as E,x as O,E as S,C as T,N as _,X as a,O as b,R as c,B as d,F as f,j as g,P as h,ne as i,z as l,L as m,Y as n,W as o,I as p,J as r,G as s,$ as t,V as u,M as v,T as w,k as x,D as y};
@@ -14,8 +14,8 @@ declare const COMPRESS_SESSION_LINEAGE_KIND: "compress";
14
14
  /** Discriminates the relationship of a session to its parent. */
15
15
  declare const SessionLineageKindSchema: z.ZodEnum<{
16
16
  fork: "fork";
17
- root: "root";
18
17
  subagent: "subagent";
18
+ root: "root";
19
19
  compress: "compress";
20
20
  }>;
21
21
  type SessionLineageKind = z.infer<typeof SessionLineageKindSchema>;
@@ -17,9 +17,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
17
17
  scope: _$zod.ZodString;
18
18
  context: _$zod.ZodOptional<_$zod.ZodString>;
19
19
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
20
- mobile: "mobile";
21
20
  desktop: "desktop";
22
21
  tablet: "tablet";
22
+ mobile: "mobile";
23
23
  }>>;
24
24
  }, _$zod_v4_core0.$strip>;
25
25
  category: _$zod.ZodString;
@@ -38,9 +38,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
38
38
  scope: _$zod.ZodString;
39
39
  context: _$zod.ZodOptional<_$zod.ZodString>;
40
40
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
41
- mobile: "mobile";
42
41
  desktop: "desktop";
43
42
  tablet: "tablet";
43
+ mobile: "mobile";
44
44
  }>>;
45
45
  }, _$zod_v4_core0.$strip>;
46
46
  category: _$zod.ZodString;
@@ -60,9 +60,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
60
60
  scope: _$zod.ZodString;
61
61
  context: _$zod.ZodOptional<_$zod.ZodString>;
62
62
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
63
- mobile: "mobile";
64
63
  desktop: "desktop";
65
64
  tablet: "tablet";
65
+ mobile: "mobile";
66
66
  }>>;
67
67
  }, _$zod_v4_core0.$strip>;
68
68
  category: _$zod.ZodString;
@@ -81,9 +81,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
81
81
  scope: _$zod.ZodOptional<_$zod.ZodString>;
82
82
  context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
83
83
  viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
84
- mobile: "mobile";
85
84
  desktop: "desktop";
86
85
  tablet: "tablet";
86
+ mobile: "mobile";
87
87
  }>>>;
88
88
  }, _$zod_v4_core0.$strip>>;
89
89
  category: _$zod.ZodOptional<_$zod.ZodString>;
@@ -98,9 +98,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
98
98
  scope: _$zod.ZodString;
99
99
  context: _$zod.ZodOptional<_$zod.ZodString>;
100
100
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
101
- mobile: "mobile";
102
101
  desktop: "desktop";
103
102
  tablet: "tablet";
103
+ mobile: "mobile";
104
104
  }>>;
105
105
  }, _$zod_v4_core0.$strip>;
106
106
  category: _$zod.ZodString;
@@ -124,9 +124,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
124
124
  scope: _$zod.ZodString;
125
125
  context: _$zod.ZodOptional<_$zod.ZodString>;
126
126
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
127
- mobile: "mobile";
128
127
  desktop: "desktop";
129
128
  tablet: "tablet";
129
+ mobile: "mobile";
130
130
  }>>;
131
131
  }, _$zod_v4_core0.$strip>;
132
132
  category: _$zod.ZodString;
@@ -145,9 +145,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
145
145
  scope: _$zod.ZodString;
146
146
  context: _$zod.ZodOptional<_$zod.ZodString>;
147
147
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
148
- mobile: "mobile";
149
148
  desktop: "desktop";
150
149
  tablet: "tablet";
150
+ mobile: "mobile";
151
151
  }>>;
152
152
  }, _$zod_v4_core0.$strip>;
153
153
  category: _$zod.ZodString;
@@ -167,9 +167,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
167
167
  scope: _$zod.ZodString;
168
168
  context: _$zod.ZodOptional<_$zod.ZodString>;
169
169
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
170
- mobile: "mobile";
171
170
  desktop: "desktop";
172
171
  tablet: "tablet";
172
+ mobile: "mobile";
173
173
  }>>;
174
174
  }, _$zod_v4_core0.$strip>;
175
175
  category: _$zod.ZodString;
@@ -188,9 +188,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
188
188
  scope: _$zod.ZodOptional<_$zod.ZodString>;
189
189
  context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
190
190
  viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
191
- mobile: "mobile";
192
191
  desktop: "desktop";
193
192
  tablet: "tablet";
193
+ mobile: "mobile";
194
194
  }>>>;
195
195
  }, _$zod_v4_core0.$strip>>;
196
196
  category: _$zod.ZodOptional<_$zod.ZodString>;
@@ -205,9 +205,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
205
205
  scope: _$zod.ZodString;
206
206
  context: _$zod.ZodOptional<_$zod.ZodString>;
207
207
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
208
- mobile: "mobile";
209
208
  desktop: "desktop";
210
209
  tablet: "tablet";
210
+ mobile: "mobile";
211
211
  }>>;
212
212
  }, _$zod_v4_core0.$strip>;
213
213
  category: _$zod.ZodString;
@@ -1,4 +1,4 @@
1
- import { s as MessageBlock$1 } from "./index-B3mq3Qjf.mjs";
1
+ import { s as MessageBlock$1 } from "./index-BZuF4I8O.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -157,8 +157,8 @@ declare const MakaioSessionSchema: z.ZodObject<{
157
157
  lastActivityAt: z.ZodNumber;
158
158
  }, z.core.$strip>>;
159
159
  status: z.ZodEnum<{
160
- closed: "closed";
161
160
  discovered: "discovered";
161
+ closed: "closed";
162
162
  active: "active";
163
163
  archived: "archived";
164
164
  }>;
@@ -282,8 +282,8 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
282
282
  lastActivityAt: z.ZodNumber;
283
283
  }, z.core.$strip>>;
284
284
  status: z.ZodEnum<{
285
- closed: "closed";
286
285
  discovered: "discovered";
286
+ closed: "closed";
287
287
  active: "active";
288
288
  archived: "archived";
289
289
  }>;
@@ -481,8 +481,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
481
481
  lastActivityAt: z.ZodNumber;
482
482
  }, z.core.$strip>>;
483
483
  status: z.ZodEnum<{
484
- closed: "closed";
485
484
  discovered: "discovered";
485
+ closed: "closed";
486
486
  active: "active";
487
487
  archived: "archived";
488
488
  }>;
@@ -2415,6 +2415,7 @@ declare const OrchestratorSchemas: {
2415
2415
  credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
2416
2416
  credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2417
2417
  ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
2418
+ capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2418
2419
  }, z.core.$strip>>;
2419
2420
  }, z.core.$loose>;
2420
2421
  initialMessage: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -4620,6 +4621,7 @@ declare const SessionSchemas: {
4620
4621
  credentialRefs: _$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>;
4621
4622
  credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4622
4623
  ambientCredentialEnvVars: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
4624
+ capabilities: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
4623
4625
  }, _$zod_v4_core0.$strip>>;
4624
4626
  }, _$zod_v4_core0.$loose>;
4625
4627
  initialMessage: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
@@ -5273,8 +5275,8 @@ declare const SessionSchemas: {
5273
5275
  lastActivityAt: _$zod.ZodNumber;
5274
5276
  }, _$zod_v4_core0.$strip>>;
5275
5277
  status: _$zod.ZodEnum<{
5276
- closed: "closed";
5277
5278
  discovered: "discovered";
5279
+ closed: "closed";
5278
5280
  active: "active";
5279
5281
  archived: "archived";
5280
5282
  }>;
@@ -5854,8 +5856,8 @@ declare const SessionSchemas: {
5854
5856
  lastActivityAt: _$zod.ZodNumber;
5855
5857
  }, _$zod_v4_core0.$strip>>;
5856
5858
  status: _$zod.ZodEnum<{
5857
- closed: "closed";
5858
5859
  discovered: "discovered";
5860
+ closed: "closed";
5859
5861
  active: "active";
5860
5862
  archived: "archived";
5861
5863
  }>;
@@ -6476,8 +6478,8 @@ declare const SessionSchemas: {
6476
6478
  maxTokens: _$zod.ZodNumber;
6477
6479
  percentage: _$zod.ZodNumber;
6478
6480
  level: _$zod.ZodEnum<{
6479
- ok: "ok";
6480
6481
  warn: "warn";
6482
+ ok: "ok";
6481
6483
  critical: "critical";
6482
6484
  }>;
6483
6485
  lastUpdatedAt: _$zod.ZodNumber;
@@ -6811,8 +6813,8 @@ declare const SessionSchemas: {
6811
6813
  request: _$zod.ZodObject<{
6812
6814
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
6813
6815
  all: "all";
6814
- closed: "closed";
6815
6816
  discovered: "discovered";
6817
+ closed: "closed";
6816
6818
  active: "active";
6817
6819
  archived: "archived";
6818
6820
  }>>;
@@ -6859,8 +6861,8 @@ declare const SessionSchemas: {
6859
6861
  lastActivityAt: _$zod.ZodNumber;
6860
6862
  }, _$zod_v4_core0.$strip>>;
6861
6863
  status: _$zod.ZodEnum<{
6862
- closed: "closed";
6863
6864
  discovered: "discovered";
6865
+ closed: "closed";
6864
6866
  active: "active";
6865
6867
  archived: "archived";
6866
6868
  }>;
@@ -6949,8 +6951,8 @@ declare const SessionSchemas: {
6949
6951
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
6950
6952
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
6951
6953
  all: "all";
6952
- closed: "closed";
6953
6954
  discovered: "discovered";
6955
+ closed: "closed";
6954
6956
  active: "active";
6955
6957
  archived: "archived";
6956
6958
  }>>;
@@ -6994,8 +6996,8 @@ declare const SessionSchemas: {
6994
6996
  lastActivityAt: _$zod.ZodNumber;
6995
6997
  }, _$zod_v4_core0.$strip>>;
6996
6998
  status: _$zod.ZodEnum<{
6997
- closed: "closed";
6998
6999
  discovered: "discovered";
7000
+ closed: "closed";
6999
7001
  active: "active";
7000
7002
  archived: "archived";
7001
7003
  }>;
@@ -7120,8 +7122,8 @@ declare const SessionSchemas: {
7120
7122
  lastActivityAt: _$zod.ZodNumber;
7121
7123
  }, _$zod_v4_core0.$strip>>;
7122
7124
  status: _$zod.ZodEnum<{
7123
- closed: "closed";
7124
7125
  discovered: "discovered";
7126
+ closed: "closed";
7125
7127
  active: "active";
7126
7128
  archived: "archived";
7127
7129
  }>;
@@ -7356,8 +7358,8 @@ declare const SessionSchemas: {
7356
7358
  lastActivityAt: _$zod.ZodNumber;
7357
7359
  }, _$zod_v4_core0.$strip>>;
7358
7360
  status: _$zod.ZodEnum<{
7359
- closed: "closed";
7360
7361
  discovered: "discovered";
7362
+ closed: "closed";
7361
7363
  active: "active";
7362
7364
  archived: "archived";
7363
7365
  }>;
@@ -1,4 +1,4 @@
1
- import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-D2IRKPJN.mjs";
1
+ import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-CRS7tkFP.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -2309,8 +2309,8 @@ declare const UiSchemas: {
2309
2309
  ready: z.ZodObject<{
2310
2310
  surface: z.ZodEnum<{
2311
2311
  tray: "tray";
2312
- web: "web";
2313
2312
  mobile: "mobile";
2313
+ web: "web";
2314
2314
  electron: "electron";
2315
2315
  electrobun: "electrobun";
2316
2316
  }>;
@@ -2409,8 +2409,8 @@ declare const UiNamespace: _$_makaio_core0.BusNamespaceDefinition<"ui", {
2409
2409
  ready: _$zod.ZodObject<{
2410
2410
  surface: _$zod.ZodEnum<{
2411
2411
  tray: "tray";
2412
- web: "web";
2413
2412
  mobile: "mobile";
2413
+ web: "web";
2414
2414
  electron: "electron";
2415
2415
  electrobun: "electrobun";
2416
2416
  }>;
@@ -2450,8 +2450,8 @@ declare const UiSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
2450
2450
  ready: _$zod.ZodObject<{
2451
2451
  surface: _$zod.ZodEnum<{
2452
2452
  tray: "tray";
2453
- web: "web";
2454
2453
  mobile: "mobile";
2454
+ web: "web";
2455
2455
  electron: "electron";
2456
2456
  electrobun: "electrobun";
2457
2457
  }>;
@@ -15,8 +15,8 @@ declare const PageNamespace: _$_makaio_core0.BusNamespaceDefinition<"pages", {
15
15
  readonly request: _$zod.ZodObject<{
16
16
  surface: _$zod.ZodOptional<_$zod.ZodEnum<{
17
17
  tray: "tray";
18
- web: "web";
19
18
  mobile: "mobile";
19
+ web: "web";
20
20
  electron: "electron";
21
21
  electrobun: "electrobun";
22
22
  }>>;
@@ -35,8 +35,8 @@ declare const PageNamespace: _$_makaio_core0.BusNamespaceDefinition<"pages", {
35
35
  level: _$zod.ZodCustom<_$_makaio_contracts0.UiNavigationLevel, _$_makaio_contracts0.UiNavigationLevel>;
36
36
  surfaces: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"all">, _$zod.ZodArray<_$zod.ZodEnum<{
37
37
  tray: "tray";
38
- web: "web";
39
38
  mobile: "mobile";
39
+ web: "web";
40
40
  electron: "electron";
41
41
  electrobun: "electrobun";
42
42
  }>>]>>;
@@ -55,8 +55,8 @@ declare const PageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubj
55
55
  readonly request: _$zod.ZodObject<{
56
56
  surface: _$zod.ZodOptional<_$zod.ZodEnum<{
57
57
  tray: "tray";
58
- web: "web";
59
58
  mobile: "mobile";
59
+ web: "web";
60
60
  electron: "electron";
61
61
  electrobun: "electrobun";
62
62
  }>>;
@@ -75,8 +75,8 @@ declare const PageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubj
75
75
  level: _$zod.ZodCustom<_$_makaio_contracts0.UiNavigationLevel, _$_makaio_contracts0.UiNavigationLevel>;
76
76
  surfaces: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"all">, _$zod.ZodArray<_$zod.ZodEnum<{
77
77
  tray: "tray";
78
- web: "web";
79
78
  mobile: "mobile";
79
+ web: "web";
80
80
  electron: "electron";
81
81
  electrobun: "electrobun";
82
82
  }>>]>>;
@@ -1,2 +1,2 @@
1
- import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-D2IRKPJN.mjs";
1
+ import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-CRS7tkFP.mjs";
2
2
  export { PageMetadata, PageSchemas, PageSurfaceConfig, SurfaceCapability, SurfaceCapabilitySchema, SurfaceDeclaration, SurfaceId, SurfaceIdSchema, isPageVisibleOnSurface };