@makaio/framework 1.0.0-dev-1781457526466 → 1.0.0-dev-1781517341920
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/.makaio-build.json +2 -2
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/{adapter-BH1X0THX.mjs → adapter-ux2xaQ6H.mjs} +1 -1
- package/dist/adapters/index.d.mts +1 -1
- package/dist/bus/index.d.mts +4 -4
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-BgodbPl9.mjs +2 -0
- package/dist/bus-HgaFcCZ1.mjs +1 -0
- package/dist/{canonical-model-BNb0IFWC.mjs → canonical-model-BE7t86yt.mjs} +1 -1
- package/dist/{compression-vRUOO-28.mjs → compression-Cy9DIqyr.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +6 -6
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +100 -84
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/provider/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/{definition-BwLJnqEo.d.mts → definition-B2FH_eOh.d.mts} +1 -0
- package/dist/{definition-DZMXOnjX.mjs → definition-Bija4lGr.mjs} +1 -1
- package/dist/{definition-DSq5ErZD.d.mts → definition-CPc6oKaF.d.mts} +1 -1
- package/dist/{extension-DEUfzXcg.mjs → extension-DNrcv3V7.mjs} +1 -1
- package/dist/{index-p0Gs2cHX.d.mts → index-B8v52gGb.d.mts} +52 -52
- package/dist/{index-CEdOq5Om.d.mts → index-BDnI2oqX.d.mts} +1 -1
- package/dist/{index-iXawmtSH2.d.mts → index-BM_y78ZA2.d.mts} +6 -6
- package/dist/{index-B3mq3Qjf.d.mts → index-BZuF4I8O.d.mts} +1 -1
- package/dist/{index-DacXw2sg.d.mts → index-BoI86whU.d.mts} +26 -24
- package/dist/{index-DpeRgR7z.d.mts → index-C7vAbtvS.d.mts} +120 -118
- package/dist/{index-DmZxKuwh.d.mts → index-CsP4Ckem.d.mts} +6 -6
- package/dist/{index-BVf5D_xQ.d.mts → index-DVz3a2jZ.d.mts} +8 -8
- package/dist/{index-DfNIhEm_.d.mts → index-DWqgo739.d.mts} +18 -16
- package/dist/{index-C7DEqbEy.d.mts → index-Dun5uQwE.d.mts} +15 -15
- package/dist/{index-DyqZej9j.d.mts → index-GuspCNLR.d.mts} +8 -8
- package/dist/{index-B19U8IjG.d.mts → index-I6pLxh17.d.mts} +15 -15
- package/dist/{index-Cs1JVq0D.d.mts → index-WKF5BHsw.d.mts} +8 -8
- package/dist/{index-B_Z1Mgko.d.mts → index-dFTsZFlh.d.mts} +1 -1
- package/dist/{index-CmnQr7_x.d.mts → index-fTBtQ5fK.d.mts} +22 -6
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{namespace-Dr1wDUZA2.d.mts → namespace-6u1Uf-iw2.d.mts} +2 -2
- package/dist/{namespace-u_b7D-p2.d.mts → namespace-BAJTZXWc.d.mts} +58 -58
- package/dist/{namespace-1tHmgGQV.d.mts → namespace-BQgZChZl.d.mts} +2 -2
- package/dist/{namespace-DB6RC_Pn.d.mts → namespace-CN2TfSCY.d.mts} +2 -2
- package/dist/{namespace-DphMg7CF.d.mts → namespace-Cj7k5UH7.d.mts} +9 -9
- package/dist/{namespace-D_ZXa76m.d.mts → namespace-H9A39Mx8.d.mts} +30 -26
- package/dist/{package-CBjoefAW.mjs → package-lxB0vpby.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/{primitive-runtime-BHSEOIH6.mjs → primitive-runtime-BSg8J7VX.mjs} +1 -1
- package/dist/{providers-namespace-DMUyEbmp.d.mts → providers-namespace-C0C-Sb4N.d.mts} +7 -0
- package/dist/runtime-node/index.mjs +1 -1
- package/dist/{schema-BDQID7HI.d.mts → schema-msWs4YhT.d.mts} +2 -2
- package/dist/{schemas-DdHltfZX.d.mts → schemas-CN9hprME.d.mts} +3 -3
- package/dist/{schemas-D2IRKPJN.d.mts → schemas-CRS7tkFP.d.mts} +4 -4
- package/dist/{schemas-ByBtBmoL.d.mts → schemas-DMl7IKG-.d.mts} +3 -3
- package/dist/{schemas-Bxjfpl2Y.d.mts → schemas-DZfBym73.d.mts} +7 -7
- package/dist/{schemas-Bxc0-SF62.d.mts → schemas-DuQ9EcLu2.d.mts} +7 -7
- package/dist/{schemas-CzvG8xq7.mjs → schemas-Dvm_0GDr.mjs} +1 -1
- package/dist/{schemas-za4KzhEe.d.mts → schemas-fEoe6H0K.d.mts} +2 -2
- package/dist/scoped-bus-H3xMYR0E.mjs +1 -0
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +53 -48
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/session/index.d.mts +4 -4
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/settings/index.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tray-menu/index.d.mts +2 -2
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/{session-owtKCoUX.mjs → session-Is5VSP2V.mjs} +1 -1
- package/dist/{storage-namespace-Cd5XzgVC.d.mts → storage-namespace-gey7EUhM.d.mts} +10 -10
- package/dist/{types-BC3nHLuk.d.mts → types-DUNA749O.d.mts} +40 -38
- package/dist/ui-kernel/index.d.mts +4 -4
- package/dist/ui-kernel/pages/namespace.d.mts +4 -4
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/workflow-engine/index.d.mts +32 -32
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/package.json +1 -1
- package/dist/bus-Caz3Jpbc.mjs +0 -1
- package/dist/bus-Hb-LGzgb.mjs +0 -2
- package/dist/scoped-bus-04pwo1uM.mjs +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-
|
|
2
|
-
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-
|
|
1
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-DuQ9EcLu2.mjs";
|
|
2
|
+
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-6u1Uf-iw2.mjs";
|
|
3
3
|
export { type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-
|
|
1
|
+
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-6u1Uf-iw2.mjs";
|
|
2
2
|
export { SubagentTemplateKernelNamespace, SubagentTemplateSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-
|
|
1
|
+
import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-DuQ9EcLu2.mjs";
|
|
2
2
|
export { SubagentTemplate, SubagentTemplateCompletedEventSchema, SubagentTemplateCreate, SubagentTemplateCreateSchema, SubagentTemplateInstance, SubagentTemplateInstanceSchema, SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSummary, SubagentTemplateSummarySchema, SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
|
|
@@ -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-
|
|
3
|
-
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-
|
|
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-CN9hprME.mjs";
|
|
3
|
+
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-CN2TfSCY.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-
|
|
1
|
+
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-CN2TfSCY.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-
|
|
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-CN9hprME.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-
|
|
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};
|
|
@@ -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-
|
|
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";
|
|
@@ -68,8 +68,8 @@ type SessionCreateBase = z.infer<typeof SessionCreateBaseSchema>;
|
|
|
68
68
|
* - 'disposed': Agent replaced (cross-adapter switch) — retained for message metadata
|
|
69
69
|
*/
|
|
70
70
|
declare const AgentStatusSchema$1: z.ZodEnum<{
|
|
71
|
-
idle: "idle";
|
|
72
71
|
active: "active";
|
|
72
|
+
idle: "idle";
|
|
73
73
|
dead: "dead";
|
|
74
74
|
disposed: "disposed";
|
|
75
75
|
}>;
|
|
@@ -104,8 +104,8 @@ declare const MakaioSessionAgentSchema$1: z.ZodObject<{
|
|
|
104
104
|
member: "member";
|
|
105
105
|
}>;
|
|
106
106
|
status: z.ZodEnum<{
|
|
107
|
-
idle: "idle";
|
|
108
107
|
active: "active";
|
|
108
|
+
idle: "idle";
|
|
109
109
|
dead: "dead";
|
|
110
110
|
disposed: "disposed";
|
|
111
111
|
}>;
|
|
@@ -148,8 +148,8 @@ declare const MakaioSessionSchema: z.ZodObject<{
|
|
|
148
148
|
member: "member";
|
|
149
149
|
}>;
|
|
150
150
|
status: z.ZodEnum<{
|
|
151
|
-
idle: "idle";
|
|
152
151
|
active: "active";
|
|
152
|
+
idle: "idle";
|
|
153
153
|
dead: "dead";
|
|
154
154
|
disposed: "disposed";
|
|
155
155
|
}>;
|
|
@@ -157,10 +157,10 @@ declare const MakaioSessionSchema: z.ZodObject<{
|
|
|
157
157
|
lastActivityAt: z.ZodNumber;
|
|
158
158
|
}, z.core.$strip>>;
|
|
159
159
|
status: z.ZodEnum<{
|
|
160
|
-
closed: "closed";
|
|
161
|
-
discovered: "discovered";
|
|
162
160
|
active: "active";
|
|
163
161
|
archived: "archived";
|
|
162
|
+
discovered: "discovered";
|
|
163
|
+
closed: "closed";
|
|
164
164
|
}>;
|
|
165
165
|
leadAgentId: z.ZodOptional<z.ZodString>;
|
|
166
166
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -273,8 +273,8 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
|
|
|
273
273
|
member: "member";
|
|
274
274
|
}>;
|
|
275
275
|
status: z.ZodEnum<{
|
|
276
|
-
idle: "idle";
|
|
277
276
|
active: "active";
|
|
277
|
+
idle: "idle";
|
|
278
278
|
dead: "dead";
|
|
279
279
|
disposed: "disposed";
|
|
280
280
|
}>;
|
|
@@ -282,10 +282,10 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
|
|
|
282
282
|
lastActivityAt: z.ZodNumber;
|
|
283
283
|
}, z.core.$strip>>;
|
|
284
284
|
status: z.ZodEnum<{
|
|
285
|
-
closed: "closed";
|
|
286
|
-
discovered: "discovered";
|
|
287
285
|
active: "active";
|
|
288
286
|
archived: "archived";
|
|
287
|
+
discovered: "discovered";
|
|
288
|
+
closed: "closed";
|
|
289
289
|
}>;
|
|
290
290
|
leadAgentId: z.ZodOptional<z.ZodString>;
|
|
291
291
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -472,8 +472,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
472
472
|
member: "member";
|
|
473
473
|
}>;
|
|
474
474
|
status: z.ZodEnum<{
|
|
475
|
-
idle: "idle";
|
|
476
475
|
active: "active";
|
|
476
|
+
idle: "idle";
|
|
477
477
|
dead: "dead";
|
|
478
478
|
disposed: "disposed";
|
|
479
479
|
}>;
|
|
@@ -481,10 +481,10 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
481
481
|
lastActivityAt: z.ZodNumber;
|
|
482
482
|
}, z.core.$strip>>;
|
|
483
483
|
status: z.ZodEnum<{
|
|
484
|
-
closed: "closed";
|
|
485
|
-
discovered: "discovered";
|
|
486
484
|
active: "active";
|
|
487
485
|
archived: "archived";
|
|
486
|
+
discovered: "discovered";
|
|
487
|
+
closed: "closed";
|
|
488
488
|
}>;
|
|
489
489
|
leadAgentId: z.ZodOptional<z.ZodString>;
|
|
490
490
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -582,8 +582,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
582
582
|
member: "member";
|
|
583
583
|
}>;
|
|
584
584
|
status: z.ZodEnum<{
|
|
585
|
-
idle: "idle";
|
|
586
585
|
active: "active";
|
|
586
|
+
idle: "idle";
|
|
587
587
|
dead: "dead";
|
|
588
588
|
disposed: "disposed";
|
|
589
589
|
}>;
|
|
@@ -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<{
|
|
@@ -5264,8 +5266,8 @@ declare const SessionSchemas: {
|
|
|
5264
5266
|
member: "member";
|
|
5265
5267
|
}>;
|
|
5266
5268
|
status: _$zod.ZodEnum<{
|
|
5267
|
-
idle: "idle";
|
|
5268
5269
|
active: "active";
|
|
5270
|
+
idle: "idle";
|
|
5269
5271
|
dead: "dead";
|
|
5270
5272
|
disposed: "disposed";
|
|
5271
5273
|
}>;
|
|
@@ -5273,10 +5275,10 @@ declare const SessionSchemas: {
|
|
|
5273
5275
|
lastActivityAt: _$zod.ZodNumber;
|
|
5274
5276
|
}, _$zod_v4_core0.$strip>>;
|
|
5275
5277
|
status: _$zod.ZodEnum<{
|
|
5276
|
-
closed: "closed";
|
|
5277
|
-
discovered: "discovered";
|
|
5278
5278
|
active: "active";
|
|
5279
5279
|
archived: "archived";
|
|
5280
|
+
discovered: "discovered";
|
|
5281
|
+
closed: "closed";
|
|
5280
5282
|
}>;
|
|
5281
5283
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5282
5284
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -5374,8 +5376,8 @@ declare const SessionSchemas: {
|
|
|
5374
5376
|
member: "member";
|
|
5375
5377
|
}>;
|
|
5376
5378
|
status: _$zod.ZodEnum<{
|
|
5377
|
-
idle: "idle";
|
|
5378
5379
|
active: "active";
|
|
5380
|
+
idle: "idle";
|
|
5379
5381
|
dead: "dead";
|
|
5380
5382
|
disposed: "disposed";
|
|
5381
5383
|
}>;
|
|
@@ -5845,8 +5847,8 @@ declare const SessionSchemas: {
|
|
|
5845
5847
|
member: "member";
|
|
5846
5848
|
}>;
|
|
5847
5849
|
status: _$zod.ZodEnum<{
|
|
5848
|
-
idle: "idle";
|
|
5849
5850
|
active: "active";
|
|
5851
|
+
idle: "idle";
|
|
5850
5852
|
dead: "dead";
|
|
5851
5853
|
disposed: "disposed";
|
|
5852
5854
|
}>;
|
|
@@ -5854,10 +5856,10 @@ declare const SessionSchemas: {
|
|
|
5854
5856
|
lastActivityAt: _$zod.ZodNumber;
|
|
5855
5857
|
}, _$zod_v4_core0.$strip>>;
|
|
5856
5858
|
status: _$zod.ZodEnum<{
|
|
5857
|
-
closed: "closed";
|
|
5858
|
-
discovered: "discovered";
|
|
5859
5859
|
active: "active";
|
|
5860
5860
|
archived: "archived";
|
|
5861
|
+
discovered: "discovered";
|
|
5862
|
+
closed: "closed";
|
|
5861
5863
|
}>;
|
|
5862
5864
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5863
5865
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -5955,8 +5957,8 @@ declare const SessionSchemas: {
|
|
|
5955
5957
|
member: "member";
|
|
5956
5958
|
}>;
|
|
5957
5959
|
status: _$zod.ZodEnum<{
|
|
5958
|
-
idle: "idle";
|
|
5959
5960
|
active: "active";
|
|
5961
|
+
idle: "idle";
|
|
5960
5962
|
dead: "dead";
|
|
5961
5963
|
disposed: "disposed";
|
|
5962
5964
|
}>;
|
|
@@ -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,10 +6813,10 @@ declare const SessionSchemas: {
|
|
|
6811
6813
|
request: _$zod.ZodObject<{
|
|
6812
6814
|
status: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6813
6815
|
all: "all";
|
|
6814
|
-
closed: "closed";
|
|
6815
|
-
discovered: "discovered";
|
|
6816
6816
|
active: "active";
|
|
6817
6817
|
archived: "archived";
|
|
6818
|
+
discovered: "discovered";
|
|
6819
|
+
closed: "closed";
|
|
6818
6820
|
}>>;
|
|
6819
6821
|
limit: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6820
6822
|
offset: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -6850,8 +6852,8 @@ declare const SessionSchemas: {
|
|
|
6850
6852
|
member: "member";
|
|
6851
6853
|
}>;
|
|
6852
6854
|
status: _$zod.ZodEnum<{
|
|
6853
|
-
idle: "idle";
|
|
6854
6855
|
active: "active";
|
|
6856
|
+
idle: "idle";
|
|
6855
6857
|
dead: "dead";
|
|
6856
6858
|
disposed: "disposed";
|
|
6857
6859
|
}>;
|
|
@@ -6859,10 +6861,10 @@ declare const SessionSchemas: {
|
|
|
6859
6861
|
lastActivityAt: _$zod.ZodNumber;
|
|
6860
6862
|
}, _$zod_v4_core0.$strip>>;
|
|
6861
6863
|
status: _$zod.ZodEnum<{
|
|
6862
|
-
closed: "closed";
|
|
6863
|
-
discovered: "discovered";
|
|
6864
6864
|
active: "active";
|
|
6865
6865
|
archived: "archived";
|
|
6866
|
+
discovered: "discovered";
|
|
6867
|
+
closed: "closed";
|
|
6866
6868
|
}>;
|
|
6867
6869
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6868
6870
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6949,10 +6951,10 @@ 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
|
-
discovered: "discovered";
|
|
6954
6954
|
active: "active";
|
|
6955
6955
|
archived: "archived";
|
|
6956
|
+
discovered: "discovered";
|
|
6957
|
+
closed: "closed";
|
|
6956
6958
|
}>>;
|
|
6957
6959
|
isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6958
6960
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -6985,8 +6987,8 @@ declare const SessionSchemas: {
|
|
|
6985
6987
|
member: "member";
|
|
6986
6988
|
}>;
|
|
6987
6989
|
status: _$zod.ZodEnum<{
|
|
6988
|
-
idle: "idle";
|
|
6989
6990
|
active: "active";
|
|
6991
|
+
idle: "idle";
|
|
6990
6992
|
dead: "dead";
|
|
6991
6993
|
disposed: "disposed";
|
|
6992
6994
|
}>;
|
|
@@ -6994,10 +6996,10 @@ declare const SessionSchemas: {
|
|
|
6994
6996
|
lastActivityAt: _$zod.ZodNumber;
|
|
6995
6997
|
}, _$zod_v4_core0.$strip>>;
|
|
6996
6998
|
status: _$zod.ZodEnum<{
|
|
6997
|
-
closed: "closed";
|
|
6998
|
-
discovered: "discovered";
|
|
6999
6999
|
active: "active";
|
|
7000
7000
|
archived: "archived";
|
|
7001
|
+
discovered: "discovered";
|
|
7002
|
+
closed: "closed";
|
|
7001
7003
|
}>;
|
|
7002
7004
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7003
7005
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -7111,8 +7113,8 @@ declare const SessionSchemas: {
|
|
|
7111
7113
|
member: "member";
|
|
7112
7114
|
}>;
|
|
7113
7115
|
status: _$zod.ZodEnum<{
|
|
7114
|
-
idle: "idle";
|
|
7115
7116
|
active: "active";
|
|
7117
|
+
idle: "idle";
|
|
7116
7118
|
dead: "dead";
|
|
7117
7119
|
disposed: "disposed";
|
|
7118
7120
|
}>;
|
|
@@ -7120,10 +7122,10 @@ declare const SessionSchemas: {
|
|
|
7120
7122
|
lastActivityAt: _$zod.ZodNumber;
|
|
7121
7123
|
}, _$zod_v4_core0.$strip>>;
|
|
7122
7124
|
status: _$zod.ZodEnum<{
|
|
7123
|
-
closed: "closed";
|
|
7124
|
-
discovered: "discovered";
|
|
7125
7125
|
active: "active";
|
|
7126
7126
|
archived: "archived";
|
|
7127
|
+
discovered: "discovered";
|
|
7128
|
+
closed: "closed";
|
|
7127
7129
|
}>;
|
|
7128
7130
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7129
7131
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -7347,8 +7349,8 @@ declare const SessionSchemas: {
|
|
|
7347
7349
|
member: "member";
|
|
7348
7350
|
}>;
|
|
7349
7351
|
status: _$zod.ZodEnum<{
|
|
7350
|
-
idle: "idle";
|
|
7351
7352
|
active: "active";
|
|
7353
|
+
idle: "idle";
|
|
7352
7354
|
dead: "dead";
|
|
7353
7355
|
disposed: "disposed";
|
|
7354
7356
|
}>;
|
|
@@ -7356,10 +7358,10 @@ declare const SessionSchemas: {
|
|
|
7356
7358
|
lastActivityAt: _$zod.ZodNumber;
|
|
7357
7359
|
}, _$zod_v4_core0.$strip>>;
|
|
7358
7360
|
status: _$zod.ZodEnum<{
|
|
7359
|
-
closed: "closed";
|
|
7360
|
-
discovered: "discovered";
|
|
7361
7361
|
active: "active";
|
|
7362
7362
|
archived: "archived";
|
|
7363
|
+
discovered: "discovered";
|
|
7364
|
+
closed: "closed";
|
|
7363
7365
|
}>;
|
|
7364
7366
|
leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7365
7367
|
parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-
|
|
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-
|
|
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 };
|