@makaio/framework 1.0.0-dev-1790599449321 → 1.0.0-dev-1790624115602
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/clients/hook-subjects.d.mts +124 -0
- package/dist/clients/hook-subjects.mjs +1 -0
- package/dist/clients/index.d.mts +2 -118
- package/dist/clients/index.mjs +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/index.d.mts +18 -18
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +1 -1
- package/dist/{framework-packages-CLrOCDDK.mjs → framework-packages-D2fycy02.mjs} +1 -1
- package/dist/{index-9O8N514B2.d.mts → index-6UlianLY2.d.mts} +4 -4
- package/dist/{index-CPOJqxrf2.d.mts → index-BUtnnwzK2.d.mts} +7 -7
- package/dist/{index-CcTlPuIg.d.mts → index-BhvXJhTY.d.mts} +17 -17
- package/dist/{index-GlDcAkrf.d.mts → index-BtyeBaw-.d.mts} +31 -31
- package/dist/{index-uusIGFLo.d.mts → index-CQAriG-z.d.mts} +1 -1
- package/dist/{index-BSYu8AXG.d.mts → index-CbVqpQBu.d.mts} +60 -60
- package/dist/{index-xqiInEhj.d.mts → index-DmV9ybgT.d.mts} +24 -2
- package/dist/{index-_CsKmUOy.d.mts → index-DpiNhNHS.d.mts} +11 -11
- package/dist/{index-D9hIDsPr.d.mts → index-DyWD9bfP.d.mts} +46 -2
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.d.mts +1 -1
- package/dist/runtime-node/index.mjs +22 -22
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schemas-CjFPsYeV.d.mts → schemas-BjhhkGN_.d.mts} +4 -4
- package/dist/{schemas-DnyXA-9o.d.mts → schemas-CYjPZwlQ.d.mts} +2 -2
- package/dist/{schemas-DPtj1sPC2.d.mts → schemas-RwAlAMbq2.d.mts} +7 -7
- package/dist/services/index.d.mts +33 -14
- package/dist/services/index.mjs +1 -1
- 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/settings/namespace.d.mts +2 -2
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/{storage-namespace-CwwiV3kt.d.mts → storage-namespace-NHTWAjaX.d.mts} +10 -10
- package/dist/tool-approval-service-BCN4W8eS.mjs +1 -0
- package/dist/tools/index.d.mts +13 -1
- package/dist/tools/index.mjs +1 -1
- package/dist/{tools-nkqlVAQ1.mjs → tools-BCL_dtHe.mjs} +1 -1
- 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 +23 -23
- package/dist/{workflow-transitions-DEaRIZDU.mjs → workflow-transitions-7d9lGi08.mjs} +1 -1
- package/dist/workflow-worker-BCLy_g_a.mjs +3 -0
- package/package.json +5 -1
- package/dist/tool-approval-service-BRyBObcL.mjs +0 -1
- package/dist/workflow-worker-DXCXb3g-.mjs +0 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as CreateIsolatedWorkflowRuntimeOptions, $t as computeContributionPackageDigest, A as createLocalGitWorkspacePreparation, At as runWorkerBootstrapExchange, B as HeadlessWorkerMaterializer, C as admitWorkflowRunOperation, Ct as WorkerRunnerOptions, D as loadWorkflowModule, Dt as createNodeWorkflowRunnerPackageOptions, E as registerWorkerRuntime, Et as createNodeWorkflowRunner, F as HeadlessWorkerBootstrap, Ft as IWorkflowRunner, G as runHeadlessWorkflowWorker, H as HeadlessWorkflowWorkerDeps, I as HeadlessWorkerBootstrapCredentials, It as RuntimeLoadedWorkflow, J as WorkloadControlBinding, Jt as MaterializationError, K as InstalledWorkloadAdapter, L as HeadlessWorkerBusConnector, Lt as ThinWorkflowPiscinaRunnerOptions, M as HeadlessWorkerDeps, Mt as withWorkerBootstrapDeadline, N as HeadlessWorkerResult, Nt as createWorkerBusAuth, O as loadWorkflowModules, Ot as BootstrapExchangeResult, P as runHeadlessWorker, Pt as ThinWorkflowPiscinaRunner, Qt as assertNoSymlinkEscape, R as HeadlessWorkerContributionLoader, Rt as WorkflowRunResult, S as RuntimeRegistrationRefusedError, St as WorkerRunner, T as registerAndAdmitWorkflowRun, Tt as NodeWorkflowRunnerPackageOptions, U as HeadlessWorkflowWorkerResult, V as HeadlessWorkerPostCommitObserver, W as MaterializedWorkspace, X as WorkloadInvocationResult, Xt as WorkspaceRootResolver, Y as WorkloadInvocationPreparation, Yt as ParsedSriIntegrity, Z as runWorkloadInvocation, Zt as assertContainedIn, _ as OperationDeliveryEndpointIdentity, _t as OutcomeReconnect, a as InstalledAttemptControlEndpoint, an as WorkflowWorkerEntryMode, at as InProcessWorkflowRunner, b as RegisterAndAdmitWorkflowRunOptions, bt as submitAttemptOutcomeWithAck, c as BootstrapStartRefusedError, ct as PiscinaThinWorkflowProviderOptions, d as bootstrapWorkerRuntime, dt as createWorkflowLaunchResolver, en as computeDirectoryDigest, et as IsolatedWorkflowRuntime, f as AdmitWorkflowRunOperationOptions, ft as AttemptOutcomeDeliveryError, g as OperationDeliveryEndpoint, gt as OutcomeDeliveryError, h as OperationAdmissionRefusedError, ht as DELIVERED_DECISIONS, i as AttemptControlReportOptions, in as verifyContribution, it as createIsolatedWorkflowRuntime, j as LocalGitSourceOptions, jt as BootstrapDeadlineExceededError, k as loadWorkflowFromConfig, kt as WorkerBootstrapExchangeOptions, l as BootstrapWorkerRuntimeOptions, lt as WorkflowAttemptInstructionReader, m as DeliverableOperationKind, mt as AuthorityRequestDeliveryError, n as AttemptControlEndpointIdentity, nn as materializeLocalDirectory, nt as WorkflowRuntimeAuthorityConnector, o as installAttemptControlEndpoint, on as WorkflowWorkerEntryResolverOptions, ot as InProcessWorkflowRunnerOptions, p as AdmittedWorkflowRun, pt as AttemptOutcomeSubmitPayload, q as RunWorkloadInvocationOptions, qt as LocalDirectoryMaterializerOptions, r as AttemptControlLastReport, rn as parseSriIntegrity, rt as WorkflowRuntimeContributionLoader, s as BootstrapRuntimeConnection, sn as resolveWorkflowWorkerEntry, st as PiscinaThinWorkflowProvider, t as AttemptControlEndpointDeps, tn as computeFileDigest, tt as IsolatedWorkflowRuntimeContext, u as StartedWorkerRuntime, ut as WorkflowLaunchResolver, v as OperationDeliveryHandler, vt as OutcomeSubmitPayload, w as installOperationDeliveryEndpoint, wt as CreateNodeWorkflowRunnerPackageOptionsParams, x as RegisterWorkerRuntimeOptions, xt as submitOutcomeWithAck, y as OperationDeliveryHandlers, yt as OutcomeSubmitRetryConfig, z as HeadlessWorkerExecutor } from "../../index-
|
|
1
|
+
import { $ as CreateIsolatedWorkflowRuntimeOptions, $t as computeContributionPackageDigest, A as createLocalGitWorkspacePreparation, At as runWorkerBootstrapExchange, B as HeadlessWorkerMaterializer, C as admitWorkflowRunOperation, Ct as WorkerRunnerOptions, D as loadWorkflowModule, Dt as createNodeWorkflowRunnerPackageOptions, E as registerWorkerRuntime, Et as createNodeWorkflowRunner, F as HeadlessWorkerBootstrap, Ft as IWorkflowRunner, G as runHeadlessWorkflowWorker, H as HeadlessWorkflowWorkerDeps, I as HeadlessWorkerBootstrapCredentials, It as RuntimeLoadedWorkflow, J as WorkloadControlBinding, Jt as MaterializationError, K as InstalledWorkloadAdapter, L as HeadlessWorkerBusConnector, Lt as ThinWorkflowPiscinaRunnerOptions, M as HeadlessWorkerDeps, Mt as withWorkerBootstrapDeadline, N as HeadlessWorkerResult, Nt as createWorkerBusAuth, O as loadWorkflowModules, Ot as BootstrapExchangeResult, P as runHeadlessWorker, Pt as ThinWorkflowPiscinaRunner, Qt as assertNoSymlinkEscape, R as HeadlessWorkerContributionLoader, Rt as WorkflowRunResult, S as RuntimeRegistrationRefusedError, St as WorkerRunner, T as registerAndAdmitWorkflowRun, Tt as NodeWorkflowRunnerPackageOptions, U as HeadlessWorkflowWorkerResult, V as HeadlessWorkerPostCommitObserver, W as MaterializedWorkspace, X as WorkloadInvocationResult, Xt as WorkspaceRootResolver, Y as WorkloadInvocationPreparation, Yt as ParsedSriIntegrity, Z as runWorkloadInvocation, Zt as assertContainedIn, _ as OperationDeliveryEndpointIdentity, _t as OutcomeReconnect, a as InstalledAttemptControlEndpoint, an as WorkflowWorkerEntryMode, at as InProcessWorkflowRunner, b as RegisterAndAdmitWorkflowRunOptions, bt as submitAttemptOutcomeWithAck, c as BootstrapStartRefusedError, ct as PiscinaThinWorkflowProviderOptions, d as bootstrapWorkerRuntime, dt as createWorkflowLaunchResolver, en as computeDirectoryDigest, et as IsolatedWorkflowRuntime, f as AdmitWorkflowRunOperationOptions, ft as AttemptOutcomeDeliveryError, g as OperationDeliveryEndpoint, gt as OutcomeDeliveryError, h as OperationAdmissionRefusedError, ht as DELIVERED_DECISIONS, i as AttemptControlReportOptions, in as verifyContribution, it as createIsolatedWorkflowRuntime, j as LocalGitSourceOptions, jt as BootstrapDeadlineExceededError, k as loadWorkflowFromConfig, kt as WorkerBootstrapExchangeOptions, l as BootstrapWorkerRuntimeOptions, lt as WorkflowAttemptInstructionReader, m as DeliverableOperationKind, mt as AuthorityRequestDeliveryError, n as AttemptControlEndpointIdentity, nn as materializeLocalDirectory, nt as WorkflowRuntimeAuthorityConnector, o as installAttemptControlEndpoint, on as WorkflowWorkerEntryResolverOptions, ot as InProcessWorkflowRunnerOptions, p as AdmittedWorkflowRun, pt as AttemptOutcomeSubmitPayload, q as RunWorkloadInvocationOptions, qt as LocalDirectoryMaterializerOptions, r as AttemptControlLastReport, rn as parseSriIntegrity, rt as WorkflowRuntimeContributionLoader, s as BootstrapRuntimeConnection, sn as resolveWorkflowWorkerEntry, st as PiscinaThinWorkflowProvider, t as AttemptControlEndpointDeps, tn as computeFileDigest, tt as IsolatedWorkflowRuntimeContext, u as StartedWorkerRuntime, ut as WorkflowLaunchResolver, v as OperationDeliveryHandler, vt as OutcomeSubmitPayload, w as installOperationDeliveryEndpoint, wt as CreateNodeWorkflowRunnerPackageOptionsParams, x as RegisterWorkerRuntimeOptions, xt as submitOutcomeWithAck, y as OperationDeliveryHandlers, yt as OutcomeSubmitRetryConfig, z as HeadlessWorkerExecutor } from "../../index-DyWD9bfP.mjs";
|
|
2
2
|
export { AdmitWorkflowRunOperationOptions, AdmittedWorkflowRun, AttemptControlEndpointDeps, AttemptControlEndpointIdentity, AttemptControlLastReport, AttemptControlReportOptions, AttemptOutcomeDeliveryError, AttemptOutcomeSubmitPayload, AuthorityRequestDeliveryError, BootstrapDeadlineExceededError, BootstrapExchangeResult, BootstrapRuntimeConnection, BootstrapStartRefusedError, BootstrapWorkerRuntimeOptions, CreateIsolatedWorkflowRuntimeOptions, CreateNodeWorkflowRunnerPackageOptionsParams, DELIVERED_DECISIONS, DeliverableOperationKind, HeadlessWorkerBootstrap, HeadlessWorkerBootstrapCredentials, HeadlessWorkerBusConnector, HeadlessWorkerContributionLoader, HeadlessWorkerDeps, HeadlessWorkerExecutor, HeadlessWorkerMaterializer, HeadlessWorkerPostCommitObserver, HeadlessWorkerResult, HeadlessWorkflowWorkerDeps, HeadlessWorkflowWorkerResult, IWorkflowRunner, InProcessWorkflowRunner, InProcessWorkflowRunnerOptions, InstalledAttemptControlEndpoint, InstalledWorkloadAdapter, IsolatedWorkflowRuntime, IsolatedWorkflowRuntimeContext, LocalDirectoryMaterializerOptions, LocalGitSourceOptions, MaterializationError, MaterializedWorkspace, NodeWorkflowRunnerPackageOptions, OperationAdmissionRefusedError, OperationDeliveryEndpoint, OperationDeliveryEndpointIdentity, OperationDeliveryHandler, OperationDeliveryHandlers, OutcomeDeliveryError, OutcomeReconnect, OutcomeSubmitPayload, OutcomeSubmitRetryConfig, ParsedSriIntegrity, PiscinaThinWorkflowProvider, PiscinaThinWorkflowProviderOptions, RegisterAndAdmitWorkflowRunOptions, RegisterWorkerRuntimeOptions, RunWorkloadInvocationOptions, RuntimeLoadedWorkflow, RuntimeRegistrationRefusedError, StartedWorkerRuntime, ThinWorkflowPiscinaRunner, ThinWorkflowPiscinaRunnerOptions, WorkerBootstrapExchangeOptions, WorkerRunner, WorkerRunnerOptions, WorkflowAttemptInstructionReader, WorkflowLaunchResolver, WorkflowRunResult, WorkflowRuntimeAuthorityConnector, WorkflowRuntimeContributionLoader, WorkflowWorkerEntryMode, WorkflowWorkerEntryResolverOptions, WorkloadControlBinding, WorkloadInvocationPreparation, WorkloadInvocationResult, WorkspaceRootResolver, admitWorkflowRunOperation, assertContainedIn, assertNoSymlinkEscape, bootstrapWorkerRuntime, computeContributionPackageDigest, computeDirectoryDigest, computeFileDigest, createIsolatedWorkflowRuntime, createLocalGitWorkspacePreparation, createNodeWorkflowRunner, createNodeWorkflowRunnerPackageOptions, createWorkerBusAuth, createWorkflowLaunchResolver, installAttemptControlEndpoint, installOperationDeliveryEndpoint, loadWorkflowFromConfig, loadWorkflowModule, loadWorkflowModules, materializeLocalDirectory, parseSriIntegrity, registerAndAdmitWorkflowRun, registerWorkerRuntime, resolveWorkflowWorkerEntry, runHeadlessWorker, runHeadlessWorkflowWorker, runWorkerBootstrapExchange, runWorkloadInvocation, submitAttemptOutcomeWithAck, submitOutcomeWithAck, verifyContribution, withWorkerBootstrapDeadline };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,D as t,E as n,O as r,S as i,T as a,_ as o,a as s,b as c,c as l,d as u,f as d,g as f,h as p,i as m,k as h,l as g,m as _,n as v,o as y,p as b,r as x,s as S,t as C,u as w,v as T,w as E,x as D,y as O}from"../../workflow-worker-
|
|
1
|
+
import{C as e,D as t,E as n,O as r,S as i,T as a,_ as o,a as s,b as c,c as l,d as u,f as d,g as f,h as p,i as m,k as h,l as g,m as _,n as v,o as y,p as b,r as x,s as S,t as C,u as w,v as T,w as E,x as D,y as O}from"../../workflow-worker-BCLy_g_a.mjs";import{a as k,c as A,d as j,f as M,h as N,i as P,l as F,m as I,n as L,p as R,r as z,s as B,t as V,v as H,y as U}from"../../bootstrap-start-client-9nOdeDYl.mjs";export{g as AttemptOutcomeDeliveryError,w as AuthorityRequestDeliveryError,H as BootstrapDeadlineExceededError,V as BootstrapStartRefusedError,u as DELIVERED_DECISIONS,o as InProcessWorkflowRunner,D as MaterializationError,z as OperationAdmissionRefusedError,d as OutcomeDeliveryError,l as PiscinaThinWorkflowProvider,P as RuntimeRegistrationRefusedError,c as ThinWorkflowPiscinaRunner,T as WorkerRunner,k as admitWorkflowRunOperation,i as assertContainedIn,e as assertNoSymlinkEscape,L as bootstrapWorkerRuntime,E as computeContributionPackageDigest,a as computeDirectoryDigest,n as computeFileDigest,y as createIsolatedWorkflowRuntime,C as createLocalGitWorkspacePreparation,p as createNodeWorkflowRunner,f as createNodeWorkflowRunnerPackageOptions,N as createWorkerBusAuth,S as createWorkflowLaunchResolver,m as installAttemptControlEndpoint,B as installOperationDeliveryEndpoint,j as loadWorkflowFromConfig,M as loadWorkflowModule,R as loadWorkflowModules,t as materializeLocalDirectory,r as parseSriIntegrity,A as registerAndAdmitWorkflowRun,F as registerWorkerRuntime,O as resolveWorkflowWorkerEntry,x as runHeadlessWorker,v as runHeadlessWorkflowWorker,I as runWorkerBootstrapExchange,s as runWorkloadInvocation,b as submitAttemptOutcomeWithAck,_ as submitOutcomeWithAck,h as verifyContribution,U as withWorkerBootstrapDeadline};
|
|
@@ -10,8 +10,8 @@ import { UiNavigationLevel } from "@makaio/framework/contracts";
|
|
|
10
10
|
*/
|
|
11
11
|
declare const SurfaceIdSchema: z.ZodEnum<{
|
|
12
12
|
tray: "tray";
|
|
13
|
-
mobile: "mobile";
|
|
14
13
|
web: "web";
|
|
14
|
+
mobile: "mobile";
|
|
15
15
|
electron: "electron";
|
|
16
16
|
electrobun: "electrobun";
|
|
17
17
|
}>;
|
|
@@ -101,8 +101,8 @@ declare const PageMetadataSchema: z.ZodObject<{
|
|
|
101
101
|
level: z.ZodCustom<UiNavigationLevel, UiNavigationLevel>;
|
|
102
102
|
surfaces: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodEnum<{
|
|
103
103
|
tray: "tray";
|
|
104
|
-
mobile: "mobile";
|
|
105
104
|
web: "web";
|
|
105
|
+
mobile: "mobile";
|
|
106
106
|
electron: "electron";
|
|
107
107
|
electrobun: "electrobun";
|
|
108
108
|
}>>]>>;
|
|
@@ -127,8 +127,8 @@ declare const PageSchemas: {
|
|
|
127
127
|
readonly request: z.ZodObject<{
|
|
128
128
|
surface: z.ZodOptional<z.ZodEnum<{
|
|
129
129
|
tray: "tray";
|
|
130
|
-
mobile: "mobile";
|
|
131
130
|
web: "web";
|
|
131
|
+
mobile: "mobile";
|
|
132
132
|
electron: "electron";
|
|
133
133
|
electrobun: "electrobun";
|
|
134
134
|
}>>;
|
|
@@ -147,8 +147,8 @@ declare const PageSchemas: {
|
|
|
147
147
|
level: z.ZodCustom<UiNavigationLevel, UiNavigationLevel>;
|
|
148
148
|
surfaces: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodEnum<{
|
|
149
149
|
tray: "tray";
|
|
150
|
-
mobile: "mobile";
|
|
151
150
|
web: "web";
|
|
151
|
+
mobile: "mobile";
|
|
152
152
|
electron: "electron";
|
|
153
153
|
electrobun: "electrobun";
|
|
154
154
|
}>>]>>;
|
|
@@ -46,7 +46,6 @@ declare const SubagentTemplateCreateSchema: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodString;
|
|
47
47
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
48
48
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
49
|
-
adapterName: z.ZodString;
|
|
50
49
|
model: z.ZodOptional<z.ZodString>;
|
|
51
50
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
52
51
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -56,6 +55,7 @@ declare const SubagentTemplateCreateSchema: z.ZodObject<{
|
|
|
56
55
|
fork: "fork";
|
|
57
56
|
fresh: "fresh";
|
|
58
57
|
}>>;
|
|
58
|
+
adapterName: z.ZodString;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
60
|
type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
|
|
61
61
|
/**
|
|
@@ -131,7 +131,6 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
131
131
|
name: z.ZodString;
|
|
132
132
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
133
133
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
134
|
-
adapterName: z.ZodString;
|
|
135
134
|
model: z.ZodOptional<z.ZodString>;
|
|
136
135
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
137
136
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -141,6 +140,7 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
141
140
|
fork: "fork";
|
|
142
141
|
fresh: "fresh";
|
|
143
142
|
}>>;
|
|
143
|
+
adapterName: z.ZodString;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
response: z.ZodObject<{
|
|
146
146
|
id: z.ZodString;
|
|
@@ -13,9 +13,9 @@ declare const PreferenceKeySchema: z.ZodObject<{
|
|
|
13
13
|
scope: z.ZodString;
|
|
14
14
|
context: z.ZodOptional<z.ZodString>;
|
|
15
15
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
mobile: "mobile";
|
|
16
17
|
desktop: "desktop";
|
|
17
18
|
tablet: "tablet";
|
|
18
|
-
mobile: "mobile";
|
|
19
19
|
}>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
type PreferenceKey = z.infer<typeof PreferenceKeySchema>;
|
|
@@ -33,9 +33,9 @@ declare const PreferenceItemSchema: z.ZodObject<{
|
|
|
33
33
|
scope: z.ZodString;
|
|
34
34
|
context: z.ZodOptional<z.ZodString>;
|
|
35
35
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
mobile: "mobile";
|
|
36
37
|
desktop: "desktop";
|
|
37
38
|
tablet: "tablet";
|
|
38
|
-
mobile: "mobile";
|
|
39
39
|
}>>;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
category: z.ZodString;
|
|
@@ -67,9 +67,9 @@ declare const PreferencesSchemas: {
|
|
|
67
67
|
scope: z.ZodString;
|
|
68
68
|
context: z.ZodOptional<z.ZodString>;
|
|
69
69
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
70
|
+
mobile: "mobile";
|
|
70
71
|
desktop: "desktop";
|
|
71
72
|
tablet: "tablet";
|
|
72
|
-
mobile: "mobile";
|
|
73
73
|
}>>;
|
|
74
74
|
}, z.core.$strip>;
|
|
75
75
|
category: z.ZodString;
|
|
@@ -94,9 +94,9 @@ declare const PreferencesSchemas: {
|
|
|
94
94
|
scope: z.ZodString;
|
|
95
95
|
context: z.ZodOptional<z.ZodString>;
|
|
96
96
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
97
|
+
mobile: "mobile";
|
|
97
98
|
desktop: "desktop";
|
|
98
99
|
tablet: "tablet";
|
|
99
|
-
mobile: "mobile";
|
|
100
100
|
}>>;
|
|
101
101
|
}, z.core.$strip>;
|
|
102
102
|
category: z.ZodString;
|
|
@@ -122,9 +122,9 @@ declare const PreferencesSchemas: {
|
|
|
122
122
|
scope: z.ZodString;
|
|
123
123
|
context: z.ZodOptional<z.ZodString>;
|
|
124
124
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
mobile: "mobile";
|
|
125
126
|
desktop: "desktop";
|
|
126
127
|
tablet: "tablet";
|
|
127
|
-
mobile: "mobile";
|
|
128
128
|
}>>;
|
|
129
129
|
}, z.core.$strip>;
|
|
130
130
|
category: z.ZodString;
|
|
@@ -149,9 +149,9 @@ declare const PreferencesSchemas: {
|
|
|
149
149
|
scope: z.ZodOptional<z.ZodString>;
|
|
150
150
|
context: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
151
151
|
viewport: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
152
|
+
mobile: "mobile";
|
|
152
153
|
desktop: "desktop";
|
|
153
154
|
tablet: "tablet";
|
|
154
|
-
mobile: "mobile";
|
|
155
155
|
}>>>;
|
|
156
156
|
}, z.core.$strip>>;
|
|
157
157
|
category: z.ZodOptional<z.ZodString>;
|
|
@@ -166,9 +166,9 @@ declare const PreferencesSchemas: {
|
|
|
166
166
|
scope: z.ZodString;
|
|
167
167
|
context: z.ZodOptional<z.ZodString>;
|
|
168
168
|
viewport: z.ZodOptional<z.ZodEnum<{
|
|
169
|
+
mobile: "mobile";
|
|
169
170
|
desktop: "desktop";
|
|
170
171
|
tablet: "tablet";
|
|
171
|
-
mobile: "mobile";
|
|
172
172
|
}>>;
|
|
173
173
|
}, z.core.$strip>;
|
|
174
174
|
category: z.ZodString;
|
|
@@ -27,15 +27,15 @@ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../na
|
|
|
27
27
|
import { v as ArtifactSchemaRegistry } from "../packages-KX9yofCa.mjs";
|
|
28
28
|
import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-BjrbddkU.mjs";
|
|
29
29
|
import { a as WORKFLOW_START_ACTION_TYPE, i as TransitionActionRegistry, n as TransitionPipelineService, r as TransitionRuleRegistry, t as createTransitionContributionProcessor } from "../index-BCuWtlv5.mjs";
|
|
30
|
-
import { t as ToolApprovalService } from "../index-
|
|
30
|
+
import { n as ToolApprovalServiceOptions, t as ToolApprovalService } from "../index-DmV9ybgT.mjs";
|
|
31
31
|
import { t as TrayMenuService } from "../index-CwVSr7Ow.mjs";
|
|
32
32
|
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-feb64ScA.mjs";
|
|
33
33
|
import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-D38Fmd0E.mjs";
|
|
34
34
|
import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModelOverrideSchema, _ as ModelRegistryGetLabModelsResponse, a as ModelRegistryService, b as ModelRegistryRefreshRequest, c as IModelRegistryFetcher, d as ModelRegistry, f as ModelRegistryCheckModelInProvidersRequest, g as ModelRegistryGetLabModelsRequest, h as ModelRegistryGetForProviderResponse, i as ModelRegistryProviderNotFoundError, l as ModelRegistryNamespace, m as ModelRegistryGetForProviderRequest, n as CachedRegistryFetcher, o as ModelRegistryServiceOptions, p as ModelRegistryCheckModelInProvidersResponse, r as FallbackRegistryFetcher, s as IModelRegistryCache, t as mergeModelMetadata, u as ModelRegistrySubjects, v as ModelRegistryGetProviderModelsRequest, w as ProviderModelOverride, x as ModelRegistryRefreshResponse, y as ModelRegistryGetProviderModelsResponse } from "../index-DsmyofuM.mjs";
|
|
35
35
|
import { a as InternalPendingRequest, c as SubagentServiceToken, d as SubagentFailureFinalizationError, f as SubagentFailureFinalizationErrorCode, i as InputResolver, l as createSubagentServicePackage, n as TrackOptions, o as SpawnOptions, p as SubagentService, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as subagentServicePackage } from "../index-DAqAa9aL.mjs";
|
|
36
|
-
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-
|
|
37
|
-
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-
|
|
38
|
-
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-
|
|
36
|
+
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-RwAlAMbq2.mjs";
|
|
37
|
+
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-NHTWAjaX.mjs";
|
|
38
|
+
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-CYjPZwlQ.mjs";
|
|
39
39
|
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-KomML5ti.mjs";
|
|
40
40
|
import * as _$zod from "zod";
|
|
41
41
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -1014,9 +1014,18 @@ declare const sessionBridgePackage: MakaioNodeExtension<IMakaioBus>;
|
|
|
1014
1014
|
declare const sessionPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1015
1015
|
/** Package that registers the framework session.sendMessage orchestrator. */
|
|
1016
1016
|
declare const sessionOrchestratorPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1017
|
-
/**
|
|
1017
|
+
/**
|
|
1018
|
+
* Host-supplied file-access rules for the framework tool packages.
|
|
1019
|
+
*
|
|
1020
|
+
* One provider feeds both the tool registry (rules injected into every tool
|
|
1021
|
+
* execution context) and the tool approval service (absolute deny pre-check
|
|
1022
|
+
* ahead of the policy cascade), so both layers enforce the same rules. When
|
|
1023
|
+
* `fileAccessRuleProvider` is omitted, neither package enforces file-access rules.
|
|
1024
|
+
*/
|
|
1025
|
+
type FrameworkFileAccessOptions = Pick<ToolApprovalServiceOptions, 'fileAccessRuleProvider'>;
|
|
1026
|
+
/** Package that starts the framework tool registry without file-access rules. */
|
|
1018
1027
|
declare const toolRegistryPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1019
|
-
/** Package that starts the framework tool approval service. */
|
|
1028
|
+
/** Package that starts the framework tool approval service without file-access rules. */
|
|
1020
1029
|
declare const toolApprovalPackage: MakaioNodeExtension<IMakaioBus>;
|
|
1021
1030
|
/** Package that starts the framework tray menu service. */
|
|
1022
1031
|
declare const trayMenuPackage: MakaioNodeExtension<IMakaioBus>;
|
|
@@ -1048,6 +1057,16 @@ declare function createModelRegistryPackage(fetcher: IModelRegistryFetcher): Mak
|
|
|
1048
1057
|
* coordinator's to satisfy rather than the array order's to preserve.
|
|
1049
1058
|
*/
|
|
1050
1059
|
declare const frameworkCorePackages: ReadonlyArray<MakaioNodeExtension<IMakaioBus>>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Framework core packages for a host, with the tool packages bound to the
|
|
1062
|
+
* host's file-access rule provider when one is supplied.
|
|
1063
|
+
*
|
|
1064
|
+
* Without a provider this returns {@link frameworkCorePackages} itself, so the
|
|
1065
|
+
* composition stays identical to the static set.
|
|
1066
|
+
* @param options - Optional file-access rule provider for this host.
|
|
1067
|
+
* @returns Framework core packages in {@link frameworkCorePackages} order.
|
|
1068
|
+
*/
|
|
1069
|
+
declare function createFrameworkCorePackages(options?: FrameworkFileAccessOptions): ReadonlyArray<MakaioNodeExtension<IMakaioBus>>;
|
|
1051
1070
|
//#endregion
|
|
1052
1071
|
//#region services/core/src/namespace-catalog.d.ts
|
|
1053
1072
|
/**
|
|
@@ -5160,8 +5179,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5160
5179
|
id: _$zod.ZodString;
|
|
5161
5180
|
config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
5162
5181
|
enabled: _$zod.ZodBoolean;
|
|
5163
|
-
extensionName: _$zod.ZodString;
|
|
5164
5182
|
scope: _$zod.ZodString;
|
|
5183
|
+
extensionName: _$zod.ZodString;
|
|
5165
5184
|
}, _$zod_v4_core0.$strip>;
|
|
5166
5185
|
}, _$zod_v4_core0.$strip>;
|
|
5167
5186
|
response: _$zod.ZodObject<{
|
|
@@ -6467,9 +6486,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6467
6486
|
scope: _$zod.ZodString;
|
|
6468
6487
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6469
6488
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6489
|
+
mobile: "mobile";
|
|
6470
6490
|
desktop: "desktop";
|
|
6471
6491
|
tablet: "tablet";
|
|
6472
|
-
mobile: "mobile";
|
|
6473
6492
|
}>>;
|
|
6474
6493
|
}, _$zod_v4_core0.$strip>;
|
|
6475
6494
|
category: _$zod.ZodString;
|
|
@@ -6488,9 +6507,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6488
6507
|
scope: _$zod.ZodString;
|
|
6489
6508
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6490
6509
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6510
|
+
mobile: "mobile";
|
|
6491
6511
|
desktop: "desktop";
|
|
6492
6512
|
tablet: "tablet";
|
|
6493
|
-
mobile: "mobile";
|
|
6494
6513
|
}>>;
|
|
6495
6514
|
}, _$zod_v4_core0.$strip>;
|
|
6496
6515
|
category: _$zod.ZodString;
|
|
@@ -6510,9 +6529,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6510
6529
|
scope: _$zod.ZodString;
|
|
6511
6530
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6512
6531
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6532
|
+
mobile: "mobile";
|
|
6513
6533
|
desktop: "desktop";
|
|
6514
6534
|
tablet: "tablet";
|
|
6515
|
-
mobile: "mobile";
|
|
6516
6535
|
}>>;
|
|
6517
6536
|
}, _$zod_v4_core0.$strip>;
|
|
6518
6537
|
category: _$zod.ZodString;
|
|
@@ -6531,9 +6550,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6531
6550
|
scope: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6532
6551
|
context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
6533
6552
|
viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6553
|
+
mobile: "mobile";
|
|
6534
6554
|
desktop: "desktop";
|
|
6535
6555
|
tablet: "tablet";
|
|
6536
|
-
mobile: "mobile";
|
|
6537
6556
|
}>>>;
|
|
6538
6557
|
}, _$zod_v4_core0.$strip>>;
|
|
6539
6558
|
category: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6548,9 +6567,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6548
6567
|
scope: _$zod.ZodString;
|
|
6549
6568
|
context: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6550
6569
|
viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6570
|
+
mobile: "mobile";
|
|
6551
6571
|
desktop: "desktop";
|
|
6552
6572
|
tablet: "tablet";
|
|
6553
|
-
mobile: "mobile";
|
|
6554
6573
|
}>>;
|
|
6555
6574
|
}, _$zod_v4_core0.$strip>;
|
|
6556
6575
|
category: _$zod.ZodString;
|
|
@@ -7801,7 +7820,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7801
7820
|
name: _$zod.ZodString;
|
|
7802
7821
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
7803
7822
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7804
|
-
adapterName: _$zod.ZodString;
|
|
7805
7823
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7806
7824
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7807
7825
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -7811,6 +7829,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7811
7829
|
fork: "fork";
|
|
7812
7830
|
fresh: "fresh";
|
|
7813
7831
|
}>>;
|
|
7832
|
+
adapterName: _$zod.ZodString;
|
|
7814
7833
|
}, _$zod_v4_core0.$strip>;
|
|
7815
7834
|
response: _$zod.ZodObject<{
|
|
7816
7835
|
id: _$zod.ZodString;
|
|
@@ -7850,4 +7869,4 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7850
7869
|
};
|
|
7851
7870
|
}>];
|
|
7852
7871
|
//#endregion
|
|
7853
|
-
export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type AgentContextState, type AgentInstanceStatus, AgentInstanceStatusSchema, type AgentRecoveryOutcome, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects, AgentStorageNamespace, AgentStorageSubjects, type AmbiguousMatch, ArtifactLifecycleHookRegistry, ArtifactLifecycleHookRegistryToken, ArtifactLifecycleHookRejectedError, ArtifactSchemaRegistry, ArtifactSchemaRegistryToken, type AwaitResult, type BugEntry, BugEntrySchema, type BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, CachedRegistryFetcher, CanonicalModelResolutionError, type CanonicalModelResolutionErrorCode, CanonicalModelResolver, type CanonicalModelResolverDeps, CanonicalModelService, CapabilityService, CapabilityToken, type CodeExecutionProviderRejected, type CodeExecutionProviderSelected, type CodeExecutionProviderSelection, type CodeExecutionSelectionFailureCode, CodeExecutionService, CodeExecutionServiceToken, type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ContainerCreated, ContainerCreatedSchema, type ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, type ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, type ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, type ContainerLocalWorkflowSpawnRequest, ContainerLocalWorkflowSpawnRequestSchema, type ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, type ContainerStarted, ContainerStartedSchema, type ContainerState, ContainerStateSchema, type ContainerStopped, ContainerStoppedSchema, type ContextAssemblyResult, ContextWindowTracker, type ContextWindowTrackerConfig, type DefaultModelResolution, DockerNamespace, DockerSubjects, type EffectiveExecutionSignal, type EffectiveExecutionSignalOptions, EmbeddingIndexManager, type EventTransform, type ExecutionTarget, type ExecutionTargetInput, ExecutionTargetInputSchema, type ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, type ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, type ExecutionTargetType, ExecutionTargetTypeSchema, type ExtractedContext, ExtractedContextSchema, FacetNamespaceRegistry, FacetNamespaceRegistryToken, FallbackRegistryFetcher, type FallbackRuntimeOptions, FrameworkServicesCoreNamespaces, type IModelRegistryCache, type IModelRegistryFetcher, type ISessionOrchestrator, type InputResolver, type InsertMessage, type InsertMessageRouting, type InsertSessionEvent, type InsertTurn, type InternalPendingRequest, type ListToolsFilter, LocalExecutionTargetSchema, MakaioSession, type MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, type ModelRegistry, type ModelRegistryCheckModelInProvidersRequest, type ModelRegistryCheckModelInProvidersResponse, type ModelRegistryGetForProviderRequest, type ModelRegistryGetForProviderResponse, type ModelRegistryGetLabModelsRequest, type ModelRegistryGetLabModelsResponse, type ModelRegistryGetProviderModelsRequest, type ModelRegistryGetProviderModelsResponse, ModelRegistryNamespace, ModelRegistryProviderNotFoundError, type ModelRegistryRefreshRequest, type ModelRegistryRefreshResponse, ModelRegistrySchema, ModelRegistrySchemas, ModelRegistryService, type ModelRegistryServiceOptions, ModelRegistrySubjects, ModelRegistryToken, type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects, ProviderContextActivationError, type ProviderContextActivationErrorCode, type ProviderModelOverride, ProviderModelOverrideSchema, type ReactionContributionProcessorOptions, type ReactionInvocationInput, ReactionRegistry, ReactionRegistryToken, type RecoveryConfig, type RegisteredAdapterRuntimeIdentityHandlers, type ResolveArtifactContextOptions, type ResolveIdRequest, ResolveIdRequestSchema, type ResolveIdResponse, ResolveIdResponseSchema, type ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, type ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, type ResolveNameRequest, ResolveNameRequestSchema, type ResolveNameResponse, ResolveNameResponseSchema, type ResolvedDefaultTarget, type ResolvedSelection, type RunAfterInput, type RunBeforeInput, type RunBeforeResult, RuntimeProviderContextResolutionError, type RuntimeProviderContextResolutionErrorCode, type SearchFilters, type SearchSessionRow, type SelectMessage, type SelectMessageRouting, type SelectSessionEvent, type SelectTurn, SessionBridge, SessionBridgeToken, type SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionOrchestrator, SessionOrchestratorToken, type SessionPreviewMaps, SessionStartError, type SessionStorageMemoryState, SessionStorageNamespace, SessionStorageSubjects, SessionStorageToken, SessionToken, SessionTurnManager, type SpawnOptions, type SpawnRequest, SpawnRequestSchema, type SpawnResponse, SpawnResponseSchema, type StartTurnOptions, type StatusRequest, StatusRequestSchema, type StatusResponse, StatusResponseSchema, type StopRequest, StopRequestSchema, type StopResponse, StopResponseSchema, SubagentFailureFinalizationError, type SubagentFailureFinalizationErrorCode, SubagentManager, SubagentService, SubagentServiceToken, 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, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema, ToolApprovalService, ToolApprovalToken, ToolRegistry, type ToolRegistryOptions, ToolRegistryToken, type ToolsWithToolsetsResult, type ToolsetInfo, type ToolsetPolicy, type ToolsetPolicyProvider, type TrackOptions, type TrackedSubagent, TransitionActionRegistry, TransitionPipelineService, TransitionPipelineToken, TransitionRuleRegistry, type TrayMenuEntry, TrayMenuEntrySchema, type TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, type TrayMenuItemClicked, TrayMenuItemClickedSchema, type TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects, TrayMenuToken, Turn, type TurnConfig, type TurnContext, TurnContextEnricher, type TurnPairStateChange, type TurnPairTerminalOutcome, type TurnResult, TurnStorageNamespace, TurnStorageSubjects, type VerifiedAgents, WORKFLOW_START_ACTION_TYPE, WorkflowBlockRegistry, WorkflowBlockRegistryToken, actionRegistry, activateProviderContext, agents, artifactLifecycleHookRegistryPackage, artifactSchemaRegistryPackage, assembleForkContext, buildDeterministicAdapterId, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, canonicalModelPackage, capabilityPackage, codeExecutionPackage, createArtifactKindContributionProcessor, createArtifactLifecycleHookContributionProcessor, createEffectiveExecutionSignal, createFacetNamespaceContributionProcessor, createModelRegistryPackage, createReactionContributionProcessor, createSessionExtensionContext, createSessionStorageMemoryState, createSubagentServicePackage, createToolContributionProcessor, createTransitionContributionProcessor, createWorkflowBlockContributionProcessor, ensureAgentCwd, ensureAgentModel, extractTextContent, facetNamespaceRegistryPackage, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, frameworkCorePackages, getFullConversation, getOrCreateSession, importCursors, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, mergeModelMetadata, messageRouting, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, reactionRegistryPackage, recoverAgent, registerAbandonHandler, registerAdapterRuntimeIdentityHandlers, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionOwnershipStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionOwnershipStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveArtifactContext, resolveDeterministicAdapterId, resolveExecutionTarget, resolveModelCapabilities, resolveRuntimeProviderContext, resolveTargetAgents, routeToAgents, routeToAgentsCore, selectCodeExecutionProvider, sessionBridgePackage, sessionEvents, sessionOrchestratorPackage, sessionPackage, sessionStoragePackage, sessions, subagentServicePackage, toolApprovalPackage, toolRegistryPackage, transitionPipelinePackage, trayMenuPackage, turns, verifyAndRecoverAgents, workflowBlockRegistryPackage };
|
|
7872
|
+
export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type AgentContextState, type AgentInstanceStatus, AgentInstanceStatusSchema, type AgentRecoveryOutcome, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects, AgentStorageNamespace, AgentStorageSubjects, type AmbiguousMatch, ArtifactLifecycleHookRegistry, ArtifactLifecycleHookRegistryToken, ArtifactLifecycleHookRejectedError, ArtifactSchemaRegistry, ArtifactSchemaRegistryToken, type AwaitResult, type BugEntry, BugEntrySchema, type BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, CachedRegistryFetcher, CanonicalModelResolutionError, type CanonicalModelResolutionErrorCode, CanonicalModelResolver, type CanonicalModelResolverDeps, CanonicalModelService, CapabilityService, CapabilityToken, type CodeExecutionProviderRejected, type CodeExecutionProviderSelected, type CodeExecutionProviderSelection, type CodeExecutionSelectionFailureCode, CodeExecutionService, CodeExecutionServiceToken, type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ContainerCreated, ContainerCreatedSchema, type ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, type ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, type ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, type ContainerLocalWorkflowSpawnRequest, ContainerLocalWorkflowSpawnRequestSchema, type ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, type ContainerStarted, ContainerStartedSchema, type ContainerState, ContainerStateSchema, type ContainerStopped, ContainerStoppedSchema, type ContextAssemblyResult, ContextWindowTracker, type ContextWindowTrackerConfig, type DefaultModelResolution, DockerNamespace, DockerSubjects, type EffectiveExecutionSignal, type EffectiveExecutionSignalOptions, EmbeddingIndexManager, type EventTransform, type ExecutionTarget, type ExecutionTargetInput, ExecutionTargetInputSchema, type ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, type ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, type ExecutionTargetType, ExecutionTargetTypeSchema, type ExtractedContext, ExtractedContextSchema, FacetNamespaceRegistry, FacetNamespaceRegistryToken, FallbackRegistryFetcher, type FallbackRuntimeOptions, type FrameworkFileAccessOptions, FrameworkServicesCoreNamespaces, type IModelRegistryCache, type IModelRegistryFetcher, type ISessionOrchestrator, type InputResolver, type InsertMessage, type InsertMessageRouting, type InsertSessionEvent, type InsertTurn, type InternalPendingRequest, type ListToolsFilter, LocalExecutionTargetSchema, MakaioSession, type MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, type ModelRegistry, type ModelRegistryCheckModelInProvidersRequest, type ModelRegistryCheckModelInProvidersResponse, type ModelRegistryGetForProviderRequest, type ModelRegistryGetForProviderResponse, type ModelRegistryGetLabModelsRequest, type ModelRegistryGetLabModelsResponse, type ModelRegistryGetProviderModelsRequest, type ModelRegistryGetProviderModelsResponse, ModelRegistryNamespace, ModelRegistryProviderNotFoundError, type ModelRegistryRefreshRequest, type ModelRegistryRefreshResponse, ModelRegistrySchema, ModelRegistrySchemas, ModelRegistryService, type ModelRegistryServiceOptions, ModelRegistrySubjects, ModelRegistryToken, type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects, ProviderContextActivationError, type ProviderContextActivationErrorCode, type ProviderModelOverride, ProviderModelOverrideSchema, type ReactionContributionProcessorOptions, type ReactionInvocationInput, ReactionRegistry, ReactionRegistryToken, type RecoveryConfig, type RegisteredAdapterRuntimeIdentityHandlers, type ResolveArtifactContextOptions, type ResolveIdRequest, ResolveIdRequestSchema, type ResolveIdResponse, ResolveIdResponseSchema, type ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, type ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, type ResolveNameRequest, ResolveNameRequestSchema, type ResolveNameResponse, ResolveNameResponseSchema, type ResolvedDefaultTarget, type ResolvedSelection, type RunAfterInput, type RunBeforeInput, type RunBeforeResult, RuntimeProviderContextResolutionError, type RuntimeProviderContextResolutionErrorCode, type SearchFilters, type SearchSessionRow, type SelectMessage, type SelectMessageRouting, type SelectSessionEvent, type SelectTurn, SessionBridge, SessionBridgeToken, type SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionOrchestrator, SessionOrchestratorToken, type SessionPreviewMaps, SessionStartError, type SessionStorageMemoryState, SessionStorageNamespace, SessionStorageSubjects, SessionStorageToken, SessionToken, SessionTurnManager, type SpawnOptions, type SpawnRequest, SpawnRequestSchema, type SpawnResponse, SpawnResponseSchema, type StartTurnOptions, type StatusRequest, StatusRequestSchema, type StatusResponse, StatusResponseSchema, type StopRequest, StopRequestSchema, type StopResponse, StopResponseSchema, SubagentFailureFinalizationError, type SubagentFailureFinalizationErrorCode, SubagentManager, SubagentService, SubagentServiceToken, 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, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema, ToolApprovalService, ToolApprovalToken, ToolRegistry, type ToolRegistryOptions, ToolRegistryToken, type ToolsWithToolsetsResult, type ToolsetInfo, type ToolsetPolicy, type ToolsetPolicyProvider, type TrackOptions, type TrackedSubagent, TransitionActionRegistry, TransitionPipelineService, TransitionPipelineToken, TransitionRuleRegistry, type TrayMenuEntry, TrayMenuEntrySchema, type TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, type TrayMenuItemClicked, TrayMenuItemClickedSchema, type TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects, TrayMenuToken, Turn, type TurnConfig, type TurnContext, TurnContextEnricher, type TurnPairStateChange, type TurnPairTerminalOutcome, type TurnResult, TurnStorageNamespace, TurnStorageSubjects, type VerifiedAgents, WORKFLOW_START_ACTION_TYPE, WorkflowBlockRegistry, WorkflowBlockRegistryToken, actionRegistry, activateProviderContext, agents, artifactLifecycleHookRegistryPackage, artifactSchemaRegistryPackage, assembleForkContext, buildDeterministicAdapterId, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, canonicalModelPackage, capabilityPackage, codeExecutionPackage, createArtifactKindContributionProcessor, createArtifactLifecycleHookContributionProcessor, createEffectiveExecutionSignal, createFacetNamespaceContributionProcessor, createFrameworkCorePackages, createModelRegistryPackage, createReactionContributionProcessor, createSessionExtensionContext, createSessionStorageMemoryState, createSubagentServicePackage, createToolContributionProcessor, createTransitionContributionProcessor, createWorkflowBlockContributionProcessor, ensureAgentCwd, ensureAgentModel, extractTextContent, facetNamespaceRegistryPackage, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, frameworkCorePackages, getFullConversation, getOrCreateSession, importCursors, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, mergeModelMetadata, messageRouting, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, reactionRegistryPackage, recoverAgent, registerAbandonHandler, registerAdapterRuntimeIdentityHandlers, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionOwnershipStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionOwnershipStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveArtifactContext, resolveDeterministicAdapterId, resolveExecutionTarget, resolveModelCapabilities, resolveRuntimeProviderContext, resolveTargetAgents, routeToAgents, routeToAgentsCore, selectCodeExecutionProvider, sessionBridgePackage, sessionEvents, sessionOrchestratorPackage, sessionPackage, sessionStoragePackage, sessions, subagentServicePackage, toolApprovalPackage, toolRegistryPackage, transitionPipelinePackage, trayMenuPackage, turns, verifyAndRecoverAgents, workflowBlockRegistryPackage };
|
package/dist/services/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{t as n}from"../schema-BnuyCklU.mjs";import{t as r}from"../schema-Cz6-4_Dn.mjs";import{n as i,r as a,t as o}from"../namespace-CMntzAPI.mjs";import{$ as s,A as c,B as l,D as u,G as ee,H as te,K as ne,L as re,M as ie,O as ae,R as oe,Tt as se,U as ce,V as le,W as ue,Z as de,a as fe,b as pe,c as me,d as he,f as ge,i as _e,j as ve,k as ye,l as be,n as xe,nt as Se,o as Ce,r as we,s as Te,t as Ee,tt as De,wt as Oe,x as ke,z as Ae}from"../handlers-CfWqy2KP.mjs";import{TurnStorageNamespace as je,TurnStorageSubjects as Me}from"./turn/namespace.mjs";import{a as Ne,i as d}from"../ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageNamespace as f,SessionStorageSubjects as p}from"./session/storage/namespace.mjs";import{AdapterRuntimeSchemas as m,ResolveIdRequestSchema as h,ResolveIdResponseSchema as g,ResolveLiveIdentityRequestSchema as _,ResolveLiveIdentityResponseSchema as v,ResolveNameRequestSchema as y,ResolveNameResponseSchema as b}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as x,AdapterRuntimeSubjects as Pe}from"./adapter-runtime/namespace.mjs";import{$ as Fe,A as Ie,B as Le,C as Re,E as ze,F as Be,G as Ve,H as He,I as Ue,J as We,K as Ge,L as Ke,M as qe,N as Je,P as Ye,R as Xe,S as Ze,T as Qe,U as $e,V as et,X as tt,Y as S,Z as nt,a as rt,b as it,c as at,et as ot,i as st,j as ct,k as lt,l as ut,nt as dt,o as ft,r as pt,rt as mt,s as ht,t as gt,tt as _t,w as vt,x as yt,z as bt}from"../session-Tj_635zr.mjs";import{n as xt}from"../namespace-J87EeVTm.mjs";import{ProviderStorageNamespace as St}from"./settings/storage/providers-namespace.mjs";import{A as Ct,E as wt,M as Tt,N as Et,O as Dt,S as Ot,T as kt,_ as At,a as jt,b as Mt,c as Nt,i as Pt,j as Ft,k as It,l as Lt,n as Rt,o as zt,r as Bt,s as Vt,t as Ht,v as Ut,w as Wt,x as Gt,y as Kt}from"../schemas-Djjq4LLs.mjs";import{ExecutionTargetNamespace as C,ExecutionTargetSubjects as qt}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Jt,MessageStorageSubjects as Yt}from"./session/messages/namespace.mjs";import{a as Xt,o as Zt,r as Qt,t as $t}from"../provider-context-D6GIZ5DC.mjs";import{TurnStorageNamespace as en}from"./session/turns/namespace.mjs";import{i as tn,n as nn,r as rn,t as an}from"../identity-DgTjgflr.mjs";import{BugEntrySchema as on,CompressRequestSchema as sn,CompressResponseSchema as cn,CompressionEventSchema as ln,CompressionSchemas as un,ExtractedContextSchema as dn,TechnicalDetailsSchema as fn,TodoEntrySchema as pn}from"./compression/schemas.mjs";import{PreferenceItemSchema as mn,PreferenceKeySchema as hn,PreferenceValueSchema as gn,PreferencesSchemas as _n}from"./preferences/schemas.mjs";import{PreferencesNamespace as w,PreferencesSubjects as vn}from"./preferences/storage-namespace.mjs";import{t as yn}from"../namespace-Bo6-o_rW.mjs";import{l as bn,n as xn,p as Sn,r as Cn,t as wn}from"../ownership-memory-handler-C-y9zQf8.mjs";import{_ as Tn,g as T,v as En}from"../packages-vF9F4M41.mjs";import{A as Dn,B as On,C as kn,D as An,E as jn,F as Mn,I as Nn,L as Pn,M as E,N as Fn,O as In,P as Ln,R as Rn,S as zn,T as Bn,V as Vn,_ as Hn,a as Un,b as Wn,c as Gn,d as D,f as O,g as Kn,h as qn,i as Jn,j as Yn,k as Xn,l as Zn,m as Qn,n as k,o as $n,p as er,r as tr,s as nr,t as A,u as rr,v as ir,w as ar,x as or,y as sr,z as cr}from"../framework-packages-CLrOCDDK.mjs";import{n as lr,r as ur,t as dr}from"../package-BCKYMTYG.mjs";import{a as fr,c as pr,i as mr,l as hr,n as gr,o as j,r as _r,s as vr,t as yr,u as br}from"../model-registry-CeDu27XL.mjs";import{t as xr}from"../tool-approval-service-BRyBObcL.mjs";import{TrayMenuEntrySchema as Sr,TrayMenuGroupEntrySchema as Cr,TrayMenuGroupSchema as wr,TrayMenuItemClickedSchema as Tr,TrayMenuListEntrySchema as Er,TrayMenuMetadataSchema as Dr,TrayMenuSchemas as Or,TrayMenuSectionSchema as kr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as M,TrayMenuSubjects as Ar}from"./tray-menu/namespace.mjs";import{t as jr}from"../tray-menu-service-BRrnoqaY.mjs";import{n as Mr}from"../handler-Cc1MhaR4.mjs";import{a as Nr,i as Pr,n as Fr,o as Ir,r as Lr,t as Rr}from"../package-BSz4hbav.mjs";import{FsNamespace as zr}from"./filesystem/namespace.mjs";import{r as Br}from"../tools-nkqlVAQ1.mjs";import{t as Vr}from"../workflow-transitions-DEaRIZDU.mjs";import"./capability/index.mjs";import{a as Hr,i as Ur,n as Wr,r as Gr,t as Kr}from"../code-execution-BspFbEdT.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as qr,AgentRuntimeSchemas as Jr,AgentRuntimeSelectionSchema as Yr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as N,AgentRuntimeSubjects as Xr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as Zr,CodebaseSchemas as Qr}from"./codebase/schemas.mjs";import{CodebaseNamespace as P,CodebaseSubjects as $r}from"./codebase/namespace.mjs";import{CompressionNamespace as F,CompressionSubjects as ei}from"./compression/namespace.mjs";import{r as ti,t as ni}from"../storage-namespace-TBX8VgK3.mjs";import{DefinitionNamespace as ri}from"./definition/namespace.mjs";import{DialogNamespace as ii}from"./dialog/namespace.mjs";import{a as ai,i as I,n as oi,t as si}from"../execution-target-CDeIBu4b.mjs";import{CLIDetectionNamespace as ci}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as li}from"./local-notification/namespace.mjs";import{t as ui}from"../namespace-C9xmGXbW.mjs";import{ExtensionConfigStorageNamespace as di}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as fi}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as pi,SubagentTemplateCreateSchema as mi,SubagentTemplateInstanceSchema as hi,SubagentTemplateInstanceStatusSchema as gi,SubagentTemplateKernelSchemas as _i,SubagentTemplateSchema as vi,SubagentTemplateSettingsSchemas as yi,SubagentTemplateSpawnRequestSchema as bi,SubagentTemplateSpawnedEventSchema as xi,SubagentTemplateSummarySchema as Si,SubagentTemplateUpdateSchema as Ci}from"./subagent-template/schemas.mjs";import{r as wi,t as Ti}from"../namespace-CqJhR19O.mjs";import{SubagentTemplateKernelNamespace as L,SubagentTemplateSubjects as Ei}from"./subagent-template/namespace.mjs";import"./adapter-runtime/index.mjs";import"./agent-runtime/index.mjs";import"./codebase/index.mjs";import"./compression/index.mjs";import"./preferences/index.mjs";import"./subagent-template/index.mjs";import{ArtifactSubjects as R}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as Di}from"@makaio/framework/adapters";import{artifactRevisionKey as z}from"@makaio/framework/contracts/artifact";import{ModelRegistryPublicNamespace as Oi}from"@makaio/framework/contracts/model-registry";function ki(e){return{source:`extension`,ownerKey:`extension:${e}`}}function Ai(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function ji(){let e=new Map,t=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterKind(t.kind,t.schemaVersion,n.owner)}Ai(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(T);if(!a)throw Error(`ArtifactSchemaRegistry is not available — ensure artifact-schema-registry is started before extensions with artifactKinds.`);let o=(r.artifactKinds?.kinds??[]).map(e=>e.toRegistration()),s=ki(n);t(n);for(let e of o)a.registerKind(e,s);e.set(n,{registry:a,owner:s,registrations:o})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactContributionProcessor] Deregister error for "${e}":`,t)}}}}function Mi(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function Ni(){let e=new Map,t=t=>{let n=e.get(t);n&&(e.delete(t),n.cleanup())};return{filter:e=>{let t=e.artifactLifecycleHooks!=null,n=(e.artifactKinds?.kinds??[]).some(e=>(e.hooks?.hooks.length??0)>0);return t||n},async processActivated(n,r,i){let a=i.getService(A);if(!a)throw Error(`ArtifactLifecycleHookRegistry is not available — ensure artifact-lifecycle-hook-registry is started before extensions with artifact lifecycle hooks.`);let o=r.artifactLifecycleHooks?[...await r.artifactLifecycleHooks.createHooks({bus:i.bus,extensionName:n})]:[],s=[];for(let e of r.artifactKinds?.kinds??[])if(e.hooks)for(let t of e.hooks.hooks)s.push(Mi(e.kind,e.schemaVersion,t));let c=[...o,...s];t(n);let l=a.registerHooks(n,c);e.set(n,{cleanup:l})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactLifecycleHookContributionProcessor] Deregister error for "${e}":`,t)}}}}function B(e,t){return{sourceRef:e.sourceRef,target:e.target,relationType:e.relationType,sourceLocalId:e.sourceLocalId,...e.direction?{direction:e.direction}:{},hint:e.selector?.hint??`link`,...t}}function V(e,t,n){let r=Li(t),i=e.refIndexByKey.get(r);if(i===void 0){e.refIndexByKey.set(r,e.refs.length),G(e,r,t,n),e.refs.push(t);return}let a=e.refs[i];if(a){if(t.status===`unresolved`&&t.reason===`depth-exceeded`){if(!Pi(a,Ii(e,r)))return;W(e,i,r,t,n);return}if(a.status===`unresolved`&&a.reason===`depth-exceeded`){if(t.status===`resolved`&&q(n)||t.status===`unresolved`&&!H(t.reason,a.reason))return;W(e,i,r,t,n);return}if(t.status===`unresolved`&&a.status===`unresolved`){H(t.reason,a.reason)&&W(e,i,r,t,n);return}if(t.status===`resolved`&&a.status===`unresolved`){W(e,i,r,t,n);return}t.status===`resolved`&&!q(n)&&K(e,r,n)}}function Pi(e,t){return e.status===`resolved`?t:H(`depth-exceeded`,e.reason)}function H(e,t){return U(e)>U(t)}function U(e){return e===`not-selected`?0:e===`depth-exceeded`?1:2}function W(e,t,n,r,i){G(e,n,r,i),e.refs[t]=r}function G(e,t,n,r){if(n.status===`resolved`){K(e,t,r);return}Fi(e,t)}function K(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Fi(e,t){e.refMetadataByKey.delete(t)}function Ii(e,t){return q(e.refMetadataByKey.get(t))}function q(e){return e?.resolvedViaBackEdge===!0}function Li(e){return JSON.stringify([z(e.sourceRef),e.sourceLocalId??null,e.relationType,e.direction??`outbound`,Ri(e.target)])}function Ri(e){return e.refClass===`entity`?JSON.stringify([`entity`,e.entityType,e.id]):e.refClass===`artifact`?JSON.stringify([`artifact`,e.kind,e.id,e.revision]):e.refClass===`local`?JSON.stringify([`local`,z(e.artifact),e.localId]):JSON.stringify([`evidence`,e.kind,e.id,e.revision??null,e.locator??null])}async function zi(e){let t=e.maxDepth??5,n={bus:e.bus,maxDepth:t,resolvedByKey:new Map,walkedByKey:new Set,inboundByKey:new Map,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await X(n,e.ref);if(!r)throw Error(`artifact.resolveContext: root artifact '${e.ref.kind}:${e.ref.id}:${e.ref.revision}' not found`);return n.resolved.push(r),await J(n,r,e.selectors,0,new Set([z(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function J(e,t,n,r,i){let a=Ki(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=Q(t);for(let a of t.relations)await Bi(e,o,a,n,r,i);for(let[t,a]of Object.entries(n??{}))a.direction===`inbound`&&await Vi(e,o,t,a,r,i)}async function Bi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.direction===`inbound`?void 0:o,{target:c}=n,l={sourceRef:t,relationType:n.type,sourceLocalId:n.sourceLocalId,selector:s};if(c.refClass!==`artifact`){let t=Z(s,c)?`unsupported-ref-class`:`not-selected`;V(e,B({...l,target:c},{status:`unresolved`,reason:t}));return}await Y(e,{...l,target:c,load:()=>X(e,c)},i,a)}async function Vi(e,t,n,r,i,a){if(r.hint===`omit`)return;let o=JSON.stringify([n,t.kind,t.id]),s=e.inboundByKey.get(o);if(!s){let{artifacts:r}=await e.bus.request(R.query,{relation:{type:n,target:{refClass:`artifact`,kind:t.kind,id:t.id}},currentOnly:!0});s=r,e.inboundByKey.set(o,s)}for(let o of s){let s=Q(o);for(let c of o.relations)c.type!==n||!Wi(c.target,t)||await Y(e,{sourceRef:t,target:s,relationType:n,sourceLocalId:c.sourceLocalId,direction:`inbound`,selector:r,load:()=>X(e,s,async()=>o)},i,a)}}async function Y(e,t,n,r){let{selector:i,target:a}=t;if(!Z(i,a)){V(e,B(t,{status:`unresolved`,reason:`not-selected`}));return}let o=z(a),s=r.has(o);if(n>=e.maxDepth&&!s){V(e,B(t,{status:`unresolved`,reason:`depth-exceeded`}));return}let c=e.resolvedByKey.has(o),l=await t.load();if(!l){V(e,B(t,{status:`unresolved`,reason:`not-found`}));return}V(e,B(t,{status:`resolved`}),{resolvedViaBackEdge:s}),c||e.resolved.push(l),!s&&await Hi(e,l,o,t.relationType,i,n,r)}async function Hi(e,t,n,r,i,a,o){let s=(i.depth??1)-1;await J(e,t,Ui(s>0?{[r]:{...i,depth:s}}:void 0,i.nested),a+1,new Set([...o,n]))}async function X(e,t,n=async()=>(await e.bus.request(R.resolve,{ref:t})).artifact){let r=z(t);if(e.resolvedByKey.has(r))return e.resolvedByKey.get(r)??null;let i=await n();return e.resolvedByKey.set(r,i),i}function Ui(e,t){return!t||!e?t??e:{...e,...t}}function Z(e,t){if(!e)return!1;if(!e.kinds)return!0;let n=Gi(t);return n!==void 0&&e.kinds.includes(n)}function Wi(e,t){return e.refClass===`artifact`&&e.kind===t.kind&&e.id===t.id}function Gi(e){if(e.refClass!==`entity`)return e.refClass===`local`?e.artifact.kind:e.kind}function Q(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Ki(e,t,n,r){return JSON.stringify([e.kind,e.id,e.revision,n,t??null,[...r].sort()])}function $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function qi(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerNamespace(e);e.set(t,n)}},n=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterNamespace(t.namespace)}$(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(k);if(!o)throw Error(`FacetNamespaceRegistry is not available — ensure facet-namespace-registry is started before extensions with facetNamespaces.`);let s=(i.facetNamespaces?.namespaces??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerNamespace(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterNamespace(l[e].namespace);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[FacetNamespaceContributionProcessor] Deregister error for "${e}":`,t)}}}}function Ji(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(O);if(!i)throw Error(`WorkflowBlockRegistry is not available — ensure workflow-block-registry is started before extensions with workflowBlocks.`);await i.register(t,n.workflowBlocks.blocks),e.set(t,()=>i.deregister(t))},async processStopped(t){let n=e.get(t);if(n){try{await n()}catch(e){console.error(`[WorkflowBlockContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function Yi(e){let t=new Map,n=e=>{let n=t.get(e);n&&(t.delete(e),n())},r=async(e,n,r)=>{let i=n.reactions;if(!i)return;let a=r.getService(E);if(!a)throw Error(`ReactionRegistry is not available — ensure reaction-registry is started before extensions with reactions.`);let o=await i.createReactions(r);a.register(e,o),t.set(e,()=>a.deregister(e))};return{filter:e=>e.name===E.name||!!e.reactions,async processActivated(n,i,a){if(n===E.name){let n=[];e.forEachActiveExtension((e,t,r)=>{t.reactions&&n.push([e,t,r])});try{for(let[e,t,i]of n)await r(e,t,i)}catch(e){throw t.clear(),e}return}await r(n,i,a)},async processStopped(e){if(e===E.name){t.clear();return}try{n(e)}catch(t){console.error(`[ReactionContributionProcessor] Deregister error for "${e}":`,t)}}}}const Xi=[x,xt,N,d,ci,fi,P,F,ti,ni,ri,ii,I,C,di,zr,Mr,Di,li,S,j,Oi,w,ui,St,yn,Ti,M,je,L,wi];export{an as AdapterIdentityRegistry,_t as AdapterRegistry,x as AdapterRuntimeNamespace,m as AdapterRuntimeSchemas,Pe as AdapterRuntimeSubjects,qr as AgentInstanceStatusSchema,N as AgentRuntimeNamespace,Jr as AgentRuntimeSchemas,Yr as AgentRuntimeSelectionSchema,Xr as AgentRuntimeSubjects,d as AgentStorageNamespace,Ne as AgentStorageSubjects,On as ArtifactLifecycleHookRegistry,A as ArtifactLifecycleHookRegistryToken,Vn as ArtifactLifecycleHookRejectedError,En as ArtifactSchemaRegistry,T as ArtifactSchemaRegistryToken,on as BugEntrySchema,Xe as CONNECTOR_SWAP_DEFAULT_PIPELINE,yr as CachedRegistryFetcher,Rn as CanonicalModelResolutionError,Pn as CanonicalModelResolver,Nn as CanonicalModelService,ur as CapabilityService,dr as CapabilityToken,Gr as CodeExecutionService,Kr as CodeExecutionServiceToken,Zr as CodebaseChangedEventSchema,P as CodebaseNamespace,Qr as CodebaseSchemas,$r as CodebaseSubjects,sn as CompressRequestSchema,cn as CompressResponseSchema,ln as CompressionEventSchema,F as CompressionNamespace,un as CompressionSchemas,ei as CompressionSubjects,At as ContainerCreatedSchema,Ut as ContainerDestroyedSchema,Ht as ContainerIsolatedExecutionTargetSchema,Kt as ContainerIsolatedSpawnRequestSchema,Rt as ContainerLocalExecutionTargetSchema,Mt as ContainerLocalSpawnRequestSchema,Gt as ContainerLocalWorkflowSpawnRequestSchema,Ot as ContainerRuntimeSchema,si as ContainerSpawnNamespace,oi as ContainerSpawnSubjects,Wt as ContainerStartedSchema,kt as ContainerStateSchema,wt as ContainerStoppedSchema,gt as ContextWindowTracker,I as DockerNamespace,ai as DockerSubjects,ht as EmbeddingIndexManager,Bt as ExecutionTargetInputSchema,Pt as ExecutionTargetListQuerySchema,C as ExecutionTargetNamespace,jt as ExecutionTargetResolveRequestSchema,zt as ExecutionTargetSchema,Vt as ExecutionTargetSchemas,qt as ExecutionTargetSubjects,Nt as ExecutionTargetTypeSchema,dn as ExtractedContextSchema,cr as FacetNamespaceRegistry,k as FacetNamespaceRegistryToken,gr as FallbackRegistryFetcher,Xi as FrameworkServicesCoreNamespaces,Lt as LocalExecutionTargetSchema,ft as MakaioSession,dt as MakaioSessionService,S as MessageRoutingNamespace,tt as MessageRoutingSubjects,Jt as MessageStorageNamespace,Yt as MessageStorageSubjects,j as ModelRegistryNamespace,_r as ModelRegistryProviderNotFoundError,pr as ModelRegistrySchema,hr as ModelRegistrySchemas,mr as ModelRegistryService,vr as ModelRegistrySubjects,tr as ModelRegistryToken,mn as PreferenceItemSchema,hn as PreferenceKeySchema,gn as PreferenceValueSchema,w as PreferencesNamespace,_n as PreferencesSchemas,vn as PreferencesSubjects,$t as ProviderContextActivationError,br as ProviderModelOverrideSchema,Ln as ReactionRegistry,E as ReactionRegistryToken,h as ResolveIdRequestSchema,g as ResolveIdResponseSchema,_ as ResolveLiveIdentityRequestSchema,v as ResolveLiveIdentityResponseSchema,y as ResolveNameRequestSchema,b as ResolveNameResponseSchema,Xt as RuntimeProviderContextResolutionError,Ue as SessionBridge,Jn as SessionBridgeToken,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,Ye as SessionExtensionContextImpl,$e as SessionOrchestrator,Un as SessionOrchestratorToken,de as SessionStartError,f as SessionStorageNamespace,p as SessionStorageSubjects,$n as SessionStorageToken,nr as SessionToken,Ve as SessionTurnManager,Dt as SpawnRequestSchema,It as SpawnResponseSchema,Ct as StatusRequestSchema,Ft as StatusResponseSchema,Tt as StopRequestSchema,Et as StopResponseSchema,Pr as SubagentFailureFinalizationError,Ir as SubagentManager,Nr as SubagentService,Rr as SubagentServiceToken,pi as SubagentTemplateCompletedEventSchema,mi as SubagentTemplateCreateSchema,hi as SubagentTemplateInstanceSchema,gi as SubagentTemplateInstanceStatusSchema,L as SubagentTemplateKernelNamespace,_i as SubagentTemplateKernelSchemas,vi as SubagentTemplateSchema,yi as SubagentTemplateSettingsSchemas,bi as SubagentTemplateSpawnRequestSchema,xi as SubagentTemplateSpawnedEventSchema,Ei as SubagentTemplateSubjects,Si as SubagentTemplateSummarySchema,Ci as SubagentTemplateUpdateSchema,fn as TechnicalDetailsSchema,pn as TodoEntrySchema,xr as ToolApprovalService,Gn as ToolApprovalToken,Yn as ToolRegistry,Zn as ToolRegistryToken,In as TransitionActionRegistry,jn as TransitionPipelineService,rr as TransitionPipelineToken,An as TransitionRuleRegistry,Sr as TrayMenuEntrySchema,Cr as TrayMenuGroupEntrySchema,wr as TrayMenuGroupSchema,Tr as TrayMenuItemClickedSchema,Er as TrayMenuListEntrySchema,Dr as TrayMenuMetadataSchema,M as TrayMenuNamespace,Or as TrayMenuSchemas,kr as TrayMenuSectionSchema,jr as TrayMenuService,Ar as TrayMenuSubjects,D as TrayMenuToken,Ge as Turn,He as TurnContextEnricher,en as TurnStorageNamespace,Me as TurnStorageSubjects,Xn as WORKFLOW_START_ACTION_TYPE,Dn as WorkflowBlockRegistry,O as WorkflowBlockRegistryToken,Ae as actionRegistry,Qt as activateProviderContext,e as agents,er as artifactLifecycleHookRegistryPackage,Tn as artifactSchemaRegistryPackage,xe as assembleForkContext,nn as buildDeterministicAdapterId,re as buildRecoveryContext,ae as buildRecoveryContextWithPipeline,l as buildSessionContext,le as buildTurnInitiator,Mn as canonicalModelPackage,lr as capabilityPackage,Wr as codeExecutionPackage,ji as createArtifactKindContributionProcessor,Ni as createArtifactLifecycleHookContributionProcessor,Hr as createEffectiveExecutionSignal,qi as createFacetNamespaceContributionProcessor,Qn as createModelRegistryPackage,Yi as createReactionContributionProcessor,Be as createSessionExtensionContext,Sn as createSessionStorageMemoryState,Fr as createSubagentServicePackage,Br as createToolContributionProcessor,Vr as createTransitionContributionProcessor,Ji as createWorkflowBlockContributionProcessor,ye as ensureAgentCwd,c as ensureAgentModel,ee as extractTextContent,qn as facetNamespaceRegistryPackage,yt as fetchAgentsBySession,Ze as fetchMessageCountsBySession,Re as fetchPreviewBySession,Ie as fetchSessionPreviewMaps,te as findTurnByAgent,Kn as frameworkCorePackages,oe as getFullConversation,ce as getOrCreateSession,ut as importCursors,bn as kindToBranchKind,ct as mapAgentsBySession,vt as mapRowToSession,qe as mapToSession,fr as mergeModelMetadata,nt as messageRouting,r as messages,he as normalizeSelectionString,ne as normalizeToBlocks,Qe as parseForkTransforms,Ke as pickFallbackRuntimeOptions,Fn as reactionRegistryPackage,ve as recoverAgent,me as registerAbandonHandler,rn as registerAdapterRuntimeIdentityHandlers,be as registerAttachHandler,Ce as registerBuiltInActions,fe as registerCompressHandler,st as registerCompressLineageResolver,mt as registerCoreSessionServiceHandlers,Je as registerDrizzleAgentStorage,at as registerDrizzleImportCursorStorage,We as registerDrizzleMessageRoutingStorage,ot as registerDrizzleMessageStorage,Oe as registerDrizzleSessionEventStorage,ze as registerDrizzleSessionOwnershipStorage,lt as registerDrizzleSessionStorage,ke as registerDrizzleTurnStorage,_e as registerForkHandler,it as registerFtsSearchHandler,Le as registerGetStatusCountsHandler,bt as registerListActionsHandler,xn as registerMemoryAgentStorage,Fe as registerMemoryMessageStorage,se as registerMemorySessionEventStorage,wn as registerMemorySessionOwnershipStorage,Cn as registerMemorySessionStorage,pe as registerMemoryTurnStorage,we as registerMergeHandler,rt as registerParentResolver,et as registerResumeHandler,pt as registerSpawningToolCallResolver,Te as resetBuiltInActionsRegistration,s as resolveAdapterId,ge as resolveAdapterNameById,zi as resolveArtifactContext,tn as resolveDeterministicAdapterId,De as resolveExecutionTarget,Se as resolveModelCapabilities,Zt as resolveRuntimeProviderContext,ue as resolveTargetAgents,Ee as routeToAgents,u as routeToAgentsCore,Ur as selectCodeExecutionProvider,Hn as sessionBridgePackage,a as sessionEvents,ir as sessionOrchestratorPackage,sr as sessionPackage,Wn as sessionStoragePackage,t as sessions,Lr as subagentServicePackage,or as toolApprovalPackage,zn as toolRegistryPackage,kn as transitionPipelinePackage,ar as trayMenuPackage,n as turns,ie as verifyAndRecoverAgents,Bn as workflowBlockRegistryPackage};
|
|
1
|
+
import{agents as e,sessions as t}from"./session/storage/schema.mjs";import{t as n}from"../schema-BnuyCklU.mjs";import{t as r}from"../schema-Cz6-4_Dn.mjs";import{n as i,r as a,t as o}from"../namespace-CMntzAPI.mjs";import{$ as s,A as c,B as l,D as u,G as ee,H as te,K as ne,L as re,M as ie,O as ae,R as oe,Tt as se,U as ce,V as le,W as ue,Z as de,a as fe,b as pe,c as me,d as he,f as ge,i as _e,j as ve,k as ye,l as be,n as xe,nt as Se,o as Ce,r as we,s as Te,t as Ee,tt as De,wt as Oe,x as ke,z as Ae}from"../handlers-CfWqy2KP.mjs";import{TurnStorageNamespace as je,TurnStorageSubjects as Me}from"./turn/namespace.mjs";import{a as Ne,i as d}from"../ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageNamespace as f,SessionStorageSubjects as p}from"./session/storage/namespace.mjs";import{AdapterRuntimeSchemas as m,ResolveIdRequestSchema as h,ResolveIdResponseSchema as g,ResolveLiveIdentityRequestSchema as _,ResolveLiveIdentityResponseSchema as v,ResolveNameRequestSchema as y,ResolveNameResponseSchema as b}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as x,AdapterRuntimeSubjects as Pe}from"./adapter-runtime/namespace.mjs";import{$ as Fe,A as Ie,B as Le,C as Re,E as ze,F as Be,G as Ve,H as He,I as Ue,J as We,K as Ge,L as Ke,M as qe,N as Je,P as Ye,R as Xe,S as Ze,T as Qe,U as $e,V as et,X as tt,Y as S,Z as nt,a as rt,b as it,c as at,et as ot,i as st,j as ct,k as lt,l as ut,nt as dt,o as ft,r as pt,rt as mt,s as ht,t as gt,tt as _t,w as vt,x as yt,z as bt}from"../session-Tj_635zr.mjs";import{n as xt}from"../namespace-J87EeVTm.mjs";import{ProviderStorageNamespace as St}from"./settings/storage/providers-namespace.mjs";import{A as Ct,E as wt,M as Tt,N as Et,O as Dt,S as Ot,T as kt,_ as At,a as jt,b as Mt,c as Nt,i as Pt,j as Ft,k as It,l as Lt,n as Rt,o as zt,r as Bt,s as Vt,t as Ht,v as Ut,w as Wt,x as Gt,y as Kt}from"../schemas-Djjq4LLs.mjs";import{ExecutionTargetNamespace as C,ExecutionTargetSubjects as qt}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Jt,MessageStorageSubjects as Yt}from"./session/messages/namespace.mjs";import{a as Xt,o as Zt,r as Qt,t as $t}from"../provider-context-D6GIZ5DC.mjs";import{TurnStorageNamespace as en}from"./session/turns/namespace.mjs";import{i as tn,n as nn,r as rn,t as an}from"../identity-DgTjgflr.mjs";import{BugEntrySchema as on,CompressRequestSchema as sn,CompressResponseSchema as cn,CompressionEventSchema as ln,CompressionSchemas as un,ExtractedContextSchema as dn,TechnicalDetailsSchema as fn,TodoEntrySchema as pn}from"./compression/schemas.mjs";import{PreferenceItemSchema as mn,PreferenceKeySchema as hn,PreferenceValueSchema as gn,PreferencesSchemas as _n}from"./preferences/schemas.mjs";import{PreferencesNamespace as w,PreferencesSubjects as vn}from"./preferences/storage-namespace.mjs";import{t as yn}from"../namespace-Bo6-o_rW.mjs";import{l as bn,n as xn,p as Sn,r as Cn,t as wn}from"../ownership-memory-handler-C-y9zQf8.mjs";import{_ as Tn,g as T,v as En}from"../packages-vF9F4M41.mjs";import{A as Dn,B as On,C as kn,D as An,E as jn,F as Mn,H as Nn,I as Pn,L as Fn,M as In,N as E,O as Ln,P as Rn,R as zn,S as Bn,T as Vn,V as Hn,_ as Un,a as Wn,b as Gn,c as D,d as Kn,f as O,g as qn,h as Jn,i as Yn,j as Xn,k as Zn,l as Qn,m as $n,n as k,o as er,p as tr,r as nr,s as rr,t as A,u as ir,v as ar,w as or,x as sr,y as cr,z as lr}from"../framework-packages-D2fycy02.mjs";import{n as ur,r as dr,t as fr}from"../package-BCKYMTYG.mjs";import{a as pr,c as mr,i as hr,l as gr,n as _r,o as j,r as vr,s as yr,t as br,u as xr}from"../model-registry-CeDu27XL.mjs";import{t as Sr}from"../tool-approval-service-BCN4W8eS.mjs";import{TrayMenuEntrySchema as Cr,TrayMenuGroupEntrySchema as wr,TrayMenuGroupSchema as Tr,TrayMenuItemClickedSchema as Er,TrayMenuListEntrySchema as Dr,TrayMenuMetadataSchema as Or,TrayMenuSchemas as kr,TrayMenuSectionSchema as Ar}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as M,TrayMenuSubjects as jr}from"./tray-menu/namespace.mjs";import{t as Mr}from"../tray-menu-service-BRrnoqaY.mjs";import{n as Nr}from"../handler-Cc1MhaR4.mjs";import{a as Pr,i as Fr,n as Ir,o as Lr,r as Rr,t as zr}from"../package-BSz4hbav.mjs";import{FsNamespace as Br}from"./filesystem/namespace.mjs";import{r as Vr}from"../tools-BCL_dtHe.mjs";import{t as Hr}from"../workflow-transitions-7d9lGi08.mjs";import"./capability/index.mjs";import{a as Ur,i as Wr,n as Gr,r as Kr,t as qr}from"../code-execution-BspFbEdT.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as Jr,AgentRuntimeSchemas as Yr,AgentRuntimeSelectionSchema as Xr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as N,AgentRuntimeSubjects as Zr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as Qr,CodebaseSchemas as $r}from"./codebase/schemas.mjs";import{CodebaseNamespace as P,CodebaseSubjects as ei}from"./codebase/namespace.mjs";import{CompressionNamespace as F,CompressionSubjects as ti}from"./compression/namespace.mjs";import{r as ni,t as ri}from"../storage-namespace-TBX8VgK3.mjs";import{DefinitionNamespace as ii}from"./definition/namespace.mjs";import{DialogNamespace as ai}from"./dialog/namespace.mjs";import{a as oi,i as I,n as si,t as ci}from"../execution-target-CDeIBu4b.mjs";import{CLIDetectionNamespace as li}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as ui}from"./local-notification/namespace.mjs";import{t as di}from"../namespace-C9xmGXbW.mjs";import{ExtensionConfigStorageNamespace as fi}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as pi}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as mi,SubagentTemplateCreateSchema as hi,SubagentTemplateInstanceSchema as gi,SubagentTemplateInstanceStatusSchema as _i,SubagentTemplateKernelSchemas as vi,SubagentTemplateSchema as yi,SubagentTemplateSettingsSchemas as bi,SubagentTemplateSpawnRequestSchema as xi,SubagentTemplateSpawnedEventSchema as Si,SubagentTemplateSummarySchema as Ci,SubagentTemplateUpdateSchema as wi}from"./subagent-template/schemas.mjs";import{r as Ti,t as Ei}from"../namespace-CqJhR19O.mjs";import{SubagentTemplateKernelNamespace as L,SubagentTemplateSubjects as Di}from"./subagent-template/namespace.mjs";import"./adapter-runtime/index.mjs";import"./agent-runtime/index.mjs";import"./codebase/index.mjs";import"./compression/index.mjs";import"./preferences/index.mjs";import"./subagent-template/index.mjs";import{ArtifactSubjects as R}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as Oi}from"@makaio/framework/adapters";import{artifactRevisionKey as z}from"@makaio/framework/contracts/artifact";import{ModelRegistryPublicNamespace as ki}from"@makaio/framework/contracts/model-registry";function Ai(e){return{source:`extension`,ownerKey:`extension:${e}`}}function ji(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function Mi(){let e=new Map,t=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterKind(t.kind,t.schemaVersion,n.owner)}ji(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(T);if(!a)throw Error(`ArtifactSchemaRegistry is not available — ensure artifact-schema-registry is started before extensions with artifactKinds.`);let o=(r.artifactKinds?.kinds??[]).map(e=>e.toRegistration()),s=Ai(n);t(n);for(let e of o)a.registerKind(e,s);e.set(n,{registry:a,owner:s,registrations:o})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactContributionProcessor] Deregister error for "${e}":`,t)}}}}function Ni(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function Pi(){let e=new Map,t=t=>{let n=e.get(t);n&&(e.delete(t),n.cleanup())};return{filter:e=>{let t=e.artifactLifecycleHooks!=null,n=(e.artifactKinds?.kinds??[]).some(e=>(e.hooks?.hooks.length??0)>0);return t||n},async processActivated(n,r,i){let a=i.getService(A);if(!a)throw Error(`ArtifactLifecycleHookRegistry is not available — ensure artifact-lifecycle-hook-registry is started before extensions with artifact lifecycle hooks.`);let o=r.artifactLifecycleHooks?[...await r.artifactLifecycleHooks.createHooks({bus:i.bus,extensionName:n})]:[],s=[];for(let e of r.artifactKinds?.kinds??[])if(e.hooks)for(let t of e.hooks.hooks)s.push(Ni(e.kind,e.schemaVersion,t));let c=[...o,...s];t(n);let l=a.registerHooks(n,c);e.set(n,{cleanup:l})},async processStopped(e){try{t(e)}catch(t){console.error(`[ArtifactLifecycleHookContributionProcessor] Deregister error for "${e}":`,t)}}}}function B(e,t){return{sourceRef:e.sourceRef,target:e.target,relationType:e.relationType,sourceLocalId:e.sourceLocalId,...e.direction?{direction:e.direction}:{},hint:e.selector?.hint??`link`,...t}}function V(e,t,n){let r=Ri(t),i=e.refIndexByKey.get(r);if(i===void 0){e.refIndexByKey.set(r,e.refs.length),G(e,r,t,n),e.refs.push(t);return}let a=e.refs[i];if(a){if(t.status===`unresolved`&&t.reason===`depth-exceeded`){if(!Fi(a,Li(e,r)))return;W(e,i,r,t,n);return}if(a.status===`unresolved`&&a.reason===`depth-exceeded`){if(t.status===`resolved`&&q(n)||t.status===`unresolved`&&!H(t.reason,a.reason))return;W(e,i,r,t,n);return}if(t.status===`unresolved`&&a.status===`unresolved`){H(t.reason,a.reason)&&W(e,i,r,t,n);return}if(t.status===`resolved`&&a.status===`unresolved`){W(e,i,r,t,n);return}t.status===`resolved`&&!q(n)&&K(e,r,n)}}function Fi(e,t){return e.status===`resolved`?t:H(`depth-exceeded`,e.reason)}function H(e,t){return U(e)>U(t)}function U(e){return e===`not-selected`?0:e===`depth-exceeded`?1:2}function W(e,t,n,r,i){G(e,n,r,i),e.refs[t]=r}function G(e,t,n,r){if(n.status===`resolved`){K(e,t,r);return}Ii(e,t)}function K(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Ii(e,t){e.refMetadataByKey.delete(t)}function Li(e,t){return q(e.refMetadataByKey.get(t))}function q(e){return e?.resolvedViaBackEdge===!0}function Ri(e){return JSON.stringify([z(e.sourceRef),e.sourceLocalId??null,e.relationType,e.direction??`outbound`,zi(e.target)])}function zi(e){return e.refClass===`entity`?JSON.stringify([`entity`,e.entityType,e.id]):e.refClass===`artifact`?JSON.stringify([`artifact`,e.kind,e.id,e.revision]):e.refClass===`local`?JSON.stringify([`local`,z(e.artifact),e.localId]):JSON.stringify([`evidence`,e.kind,e.id,e.revision??null,e.locator??null])}async function Bi(e){let t=e.maxDepth??5,n={bus:e.bus,maxDepth:t,resolvedByKey:new Map,walkedByKey:new Set,inboundByKey:new Map,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await X(n,e.ref);if(!r)throw Error(`artifact.resolveContext: root artifact '${e.ref.kind}:${e.ref.id}:${e.ref.revision}' not found`);return n.resolved.push(r),await J(n,r,e.selectors,0,new Set([z(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function J(e,t,n,r,i){let a=qi(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=Q(t);for(let a of t.relations)await Vi(e,o,a,n,r,i);for(let[t,a]of Object.entries(n??{}))a.direction===`inbound`&&await Hi(e,o,t,a,r,i)}async function Vi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.direction===`inbound`?void 0:o,{target:c}=n,l={sourceRef:t,relationType:n.type,sourceLocalId:n.sourceLocalId,selector:s};if(c.refClass!==`artifact`){let t=Z(s,c)?`unsupported-ref-class`:`not-selected`;V(e,B({...l,target:c},{status:`unresolved`,reason:t}));return}await Y(e,{...l,target:c,load:()=>X(e,c)},i,a)}async function Hi(e,t,n,r,i,a){if(r.hint===`omit`)return;let o=JSON.stringify([n,t.kind,t.id]),s=e.inboundByKey.get(o);if(!s){let{artifacts:r}=await e.bus.request(R.query,{relation:{type:n,target:{refClass:`artifact`,kind:t.kind,id:t.id}},currentOnly:!0});s=r,e.inboundByKey.set(o,s)}for(let o of s){let s=Q(o);for(let c of o.relations)c.type!==n||!Gi(c.target,t)||await Y(e,{sourceRef:t,target:s,relationType:n,sourceLocalId:c.sourceLocalId,direction:`inbound`,selector:r,load:()=>X(e,s,async()=>o)},i,a)}}async function Y(e,t,n,r){let{selector:i,target:a}=t;if(!Z(i,a)){V(e,B(t,{status:`unresolved`,reason:`not-selected`}));return}let o=z(a),s=r.has(o);if(n>=e.maxDepth&&!s){V(e,B(t,{status:`unresolved`,reason:`depth-exceeded`}));return}let c=e.resolvedByKey.has(o),l=await t.load();if(!l){V(e,B(t,{status:`unresolved`,reason:`not-found`}));return}V(e,B(t,{status:`resolved`}),{resolvedViaBackEdge:s}),c||e.resolved.push(l),!s&&await Ui(e,l,o,t.relationType,i,n,r)}async function Ui(e,t,n,r,i,a,o){let s=(i.depth??1)-1;await J(e,t,Wi(s>0?{[r]:{...i,depth:s}}:void 0,i.nested),a+1,new Set([...o,n]))}async function X(e,t,n=async()=>(await e.bus.request(R.resolve,{ref:t})).artifact){let r=z(t);if(e.resolvedByKey.has(r))return e.resolvedByKey.get(r)??null;let i=await n();return e.resolvedByKey.set(r,i),i}function Wi(e,t){return!t||!e?t??e:{...e,...t}}function Z(e,t){if(!e)return!1;if(!e.kinds)return!0;let n=Ki(t);return n!==void 0&&e.kinds.includes(n)}function Gi(e,t){return e.refClass===`artifact`&&e.kind===t.kind&&e.id===t.id}function Ki(e){if(e.refClass!==`entity`)return e.refClass===`local`?e.artifact.kind:e.kind}function Q(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function qi(e,t,n,r){return JSON.stringify([e.kind,e.id,e.revision,n,t??null,[...r].sort()])}function $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function Ji(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerNamespace(e);e.set(t,n)}},n=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterNamespace(t.namespace)}$(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(k);if(!o)throw Error(`FacetNamespaceRegistry is not available — ensure facet-namespace-registry is started before extensions with facetNamespaces.`);let s=(i.facetNamespaces?.namespaces??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerNamespace(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterNamespace(l[e].namespace);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[FacetNamespaceContributionProcessor] Deregister error for "${e}":`,t)}}}}function Yi(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(O);if(!i)throw Error(`WorkflowBlockRegistry is not available — ensure workflow-block-registry is started before extensions with workflowBlocks.`);await i.register(t,n.workflowBlocks.blocks),e.set(t,()=>i.deregister(t))},async processStopped(t){let n=e.get(t);if(n){try{await n()}catch(e){console.error(`[WorkflowBlockContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function Xi(e){let t=new Map,n=e=>{let n=t.get(e);n&&(t.delete(e),n())},r=async(e,n,r)=>{let i=n.reactions;if(!i)return;let a=r.getService(E);if(!a)throw Error(`ReactionRegistry is not available — ensure reaction-registry is started before extensions with reactions.`);let o=await i.createReactions(r);a.register(e,o),t.set(e,()=>a.deregister(e))};return{filter:e=>e.name===E.name||!!e.reactions,async processActivated(n,i,a){if(n===E.name){let n=[];e.forEachActiveExtension((e,t,r)=>{t.reactions&&n.push([e,t,r])});try{for(let[e,t,i]of n)await r(e,t,i)}catch(e){throw t.clear(),e}return}await r(n,i,a)},async processStopped(e){if(e===E.name){t.clear();return}try{n(e)}catch(t){console.error(`[ReactionContributionProcessor] Deregister error for "${e}":`,t)}}}}const Zi=[x,xt,N,d,li,pi,P,F,ni,ri,ii,ai,I,C,fi,Br,Nr,Oi,ui,S,j,ki,w,di,St,yn,Ei,M,je,L,Ti];export{an as AdapterIdentityRegistry,_t as AdapterRegistry,x as AdapterRuntimeNamespace,m as AdapterRuntimeSchemas,Pe as AdapterRuntimeSubjects,Jr as AgentInstanceStatusSchema,N as AgentRuntimeNamespace,Yr as AgentRuntimeSchemas,Xr as AgentRuntimeSelectionSchema,Zr as AgentRuntimeSubjects,d as AgentStorageNamespace,Ne as AgentStorageSubjects,Hn as ArtifactLifecycleHookRegistry,A as ArtifactLifecycleHookRegistryToken,Nn as ArtifactLifecycleHookRejectedError,En as ArtifactSchemaRegistry,T as ArtifactSchemaRegistryToken,on as BugEntrySchema,Xe as CONNECTOR_SWAP_DEFAULT_PIPELINE,br as CachedRegistryFetcher,lr as CanonicalModelResolutionError,zn as CanonicalModelResolver,Fn as CanonicalModelService,dr as CapabilityService,fr as CapabilityToken,Kr as CodeExecutionService,qr as CodeExecutionServiceToken,Qr as CodebaseChangedEventSchema,P as CodebaseNamespace,$r as CodebaseSchemas,ei as CodebaseSubjects,sn as CompressRequestSchema,cn as CompressResponseSchema,ln as CompressionEventSchema,F as CompressionNamespace,un as CompressionSchemas,ti as CompressionSubjects,At as ContainerCreatedSchema,Ut as ContainerDestroyedSchema,Ht as ContainerIsolatedExecutionTargetSchema,Kt as ContainerIsolatedSpawnRequestSchema,Rt as ContainerLocalExecutionTargetSchema,Mt as ContainerLocalSpawnRequestSchema,Gt as ContainerLocalWorkflowSpawnRequestSchema,Ot as ContainerRuntimeSchema,ci as ContainerSpawnNamespace,si as ContainerSpawnSubjects,Wt as ContainerStartedSchema,kt as ContainerStateSchema,wt as ContainerStoppedSchema,gt as ContextWindowTracker,I as DockerNamespace,oi as DockerSubjects,ht as EmbeddingIndexManager,Bt as ExecutionTargetInputSchema,Pt as ExecutionTargetListQuerySchema,C as ExecutionTargetNamespace,jt as ExecutionTargetResolveRequestSchema,zt as ExecutionTargetSchema,Vt as ExecutionTargetSchemas,qt as ExecutionTargetSubjects,Nt as ExecutionTargetTypeSchema,dn as ExtractedContextSchema,On as FacetNamespaceRegistry,k as FacetNamespaceRegistryToken,_r as FallbackRegistryFetcher,Zi as FrameworkServicesCoreNamespaces,Lt as LocalExecutionTargetSchema,ft as MakaioSession,dt as MakaioSessionService,S as MessageRoutingNamespace,tt as MessageRoutingSubjects,Jt as MessageStorageNamespace,Yt as MessageStorageSubjects,j as ModelRegistryNamespace,vr as ModelRegistryProviderNotFoundError,mr as ModelRegistrySchema,gr as ModelRegistrySchemas,hr as ModelRegistryService,yr as ModelRegistrySubjects,nr as ModelRegistryToken,mn as PreferenceItemSchema,hn as PreferenceKeySchema,gn as PreferenceValueSchema,w as PreferencesNamespace,_n as PreferencesSchemas,vn as PreferencesSubjects,$t as ProviderContextActivationError,xr as ProviderModelOverrideSchema,Mn as ReactionRegistry,E as ReactionRegistryToken,h as ResolveIdRequestSchema,g as ResolveIdResponseSchema,_ as ResolveLiveIdentityRequestSchema,v as ResolveLiveIdentityResponseSchema,y as ResolveNameRequestSchema,b as ResolveNameResponseSchema,Xt as RuntimeProviderContextResolutionError,Ue as SessionBridge,Yn as SessionBridgeToken,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,Ye as SessionExtensionContextImpl,$e as SessionOrchestrator,Wn as SessionOrchestratorToken,de as SessionStartError,f as SessionStorageNamespace,p as SessionStorageSubjects,er as SessionStorageToken,rr as SessionToken,Ve as SessionTurnManager,Dt as SpawnRequestSchema,It as SpawnResponseSchema,Ct as StatusRequestSchema,Ft as StatusResponseSchema,Tt as StopRequestSchema,Et as StopResponseSchema,Fr as SubagentFailureFinalizationError,Lr as SubagentManager,Pr as SubagentService,zr as SubagentServiceToken,mi as SubagentTemplateCompletedEventSchema,hi as SubagentTemplateCreateSchema,gi as SubagentTemplateInstanceSchema,_i as SubagentTemplateInstanceStatusSchema,L as SubagentTemplateKernelNamespace,vi as SubagentTemplateKernelSchemas,yi as SubagentTemplateSchema,bi as SubagentTemplateSettingsSchemas,xi as SubagentTemplateSpawnRequestSchema,Si as SubagentTemplateSpawnedEventSchema,Di as SubagentTemplateSubjects,Ci as SubagentTemplateSummarySchema,wi as SubagentTemplateUpdateSchema,fn as TechnicalDetailsSchema,pn as TodoEntrySchema,Sr as ToolApprovalService,D as ToolApprovalToken,In as ToolRegistry,Qn as ToolRegistryToken,Zn as TransitionActionRegistry,An as TransitionPipelineService,ir as TransitionPipelineToken,Ln as TransitionRuleRegistry,Cr as TrayMenuEntrySchema,wr as TrayMenuGroupEntrySchema,Tr as TrayMenuGroupSchema,Er as TrayMenuItemClickedSchema,Dr as TrayMenuListEntrySchema,Or as TrayMenuMetadataSchema,M as TrayMenuNamespace,kr as TrayMenuSchemas,Ar as TrayMenuSectionSchema,Mr as TrayMenuService,jr as TrayMenuSubjects,Kn as TrayMenuToken,Ge as Turn,He as TurnContextEnricher,en as TurnStorageNamespace,Me as TurnStorageSubjects,Dn as WORKFLOW_START_ACTION_TYPE,Xn as WorkflowBlockRegistry,O as WorkflowBlockRegistryToken,Ae as actionRegistry,Qt as activateProviderContext,e as agents,tr as artifactLifecycleHookRegistryPackage,Tn as artifactSchemaRegistryPackage,xe as assembleForkContext,nn as buildDeterministicAdapterId,re as buildRecoveryContext,ae as buildRecoveryContextWithPipeline,l as buildSessionContext,le as buildTurnInitiator,Pn as canonicalModelPackage,ur as capabilityPackage,Gr as codeExecutionPackage,Mi as createArtifactKindContributionProcessor,Pi as createArtifactLifecycleHookContributionProcessor,Ur as createEffectiveExecutionSignal,Ji as createFacetNamespaceContributionProcessor,$n as createFrameworkCorePackages,Jn as createModelRegistryPackage,Xi as createReactionContributionProcessor,Be as createSessionExtensionContext,Sn as createSessionStorageMemoryState,Ir as createSubagentServicePackage,Vr as createToolContributionProcessor,Hr as createTransitionContributionProcessor,Yi as createWorkflowBlockContributionProcessor,ye as ensureAgentCwd,c as ensureAgentModel,ee as extractTextContent,qn as facetNamespaceRegistryPackage,yt as fetchAgentsBySession,Ze as fetchMessageCountsBySession,Re as fetchPreviewBySession,Ie as fetchSessionPreviewMaps,te as findTurnByAgent,Un as frameworkCorePackages,oe as getFullConversation,ce as getOrCreateSession,ut as importCursors,bn as kindToBranchKind,ct as mapAgentsBySession,vt as mapRowToSession,qe as mapToSession,pr as mergeModelMetadata,nt as messageRouting,r as messages,he as normalizeSelectionString,ne as normalizeToBlocks,Qe as parseForkTransforms,Ke as pickFallbackRuntimeOptions,Rn as reactionRegistryPackage,ve as recoverAgent,me as registerAbandonHandler,rn as registerAdapterRuntimeIdentityHandlers,be as registerAttachHandler,Ce as registerBuiltInActions,fe as registerCompressHandler,st as registerCompressLineageResolver,mt as registerCoreSessionServiceHandlers,Je as registerDrizzleAgentStorage,at as registerDrizzleImportCursorStorage,We as registerDrizzleMessageRoutingStorage,ot as registerDrizzleMessageStorage,Oe as registerDrizzleSessionEventStorage,ze as registerDrizzleSessionOwnershipStorage,lt as registerDrizzleSessionStorage,ke as registerDrizzleTurnStorage,_e as registerForkHandler,it as registerFtsSearchHandler,Le as registerGetStatusCountsHandler,bt as registerListActionsHandler,xn as registerMemoryAgentStorage,Fe as registerMemoryMessageStorage,se as registerMemorySessionEventStorage,wn as registerMemorySessionOwnershipStorage,Cn as registerMemorySessionStorage,pe as registerMemoryTurnStorage,we as registerMergeHandler,rt as registerParentResolver,et as registerResumeHandler,pt as registerSpawningToolCallResolver,Te as resetBuiltInActionsRegistration,s as resolveAdapterId,ge as resolveAdapterNameById,Bi as resolveArtifactContext,tn as resolveDeterministicAdapterId,De as resolveExecutionTarget,Se as resolveModelCapabilities,Zt as resolveRuntimeProviderContext,ue as resolveTargetAgents,Ee as routeToAgents,u as routeToAgentsCore,Wr as selectCodeExecutionProvider,ar as sessionBridgePackage,a as sessionEvents,cr as sessionOrchestratorPackage,Gn as sessionPackage,sr as sessionStoragePackage,t as sessions,Rr as subagentServicePackage,Bn as toolApprovalPackage,kn as toolRegistryPackage,or as transitionPipelinePackage,Vn as trayMenuPackage,n as turns,ie as verifyAndRecoverAgents,jn as workflowBlockRegistryPackage};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../../schemas-
|
|
2
|
-
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../../storage-namespace-
|
|
1
|
+
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../../schemas-RwAlAMbq2.mjs";
|
|
2
|
+
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../../storage-namespace-NHTWAjaX.mjs";
|
|
3
3
|
export { type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../../schemas-
|
|
1
|
+
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../../schemas-RwAlAMbq2.mjs";
|
|
2
2
|
export { PreferenceItem, PreferenceItemSchema, PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesSchemas };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../../schemas-
|
|
2
|
-
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../../storage-namespace-
|
|
1
|
+
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../../schemas-RwAlAMbq2.mjs";
|
|
2
|
+
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../../storage-namespace-NHTWAjaX.mjs";
|
|
3
3
|
export { PreferenceItem, PreferenceItemSchema, PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects };
|
|
@@ -742,7 +742,6 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
|
|
|
742
742
|
name: _$zod.ZodString;
|
|
743
743
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
744
744
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
745
|
-
adapterName: _$zod.ZodString;
|
|
746
745
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
747
746
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
748
747
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -752,6 +751,7 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
|
|
|
752
751
|
fork: "fork";
|
|
753
752
|
fresh: "fresh";
|
|
754
753
|
}>>;
|
|
754
|
+
adapterName: _$zod.ZodString;
|
|
755
755
|
}, _$zod_v4_core0.$strip>;
|
|
756
756
|
response: _$zod.ZodObject<{
|
|
757
757
|
id: _$zod.ZodString;
|
|
@@ -833,7 +833,6 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
|
|
|
833
833
|
name: _$zod.ZodString;
|
|
834
834
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
835
835
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
836
|
-
adapterName: _$zod.ZodString;
|
|
837
836
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
838
837
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
839
838
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -843,6 +842,7 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
|
|
|
843
842
|
fork: "fork";
|
|
844
843
|
fresh: "fresh";
|
|
845
844
|
}>>;
|
|
845
|
+
adapterName: _$zod.ZodString;
|
|
846
846
|
}, _$zod_v4_core0.$strip>;
|
|
847
847
|
response: _$zod.ZodObject<{
|
|
848
848
|
id: _$zod.ZodString;
|
|
@@ -18,8 +18,8 @@ declare const ExtensionConfigInputSchema: z.ZodObject<{
|
|
|
18
18
|
id: z.ZodString;
|
|
19
19
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
20
|
enabled: z.ZodBoolean;
|
|
21
|
-
extensionName: z.ZodString;
|
|
22
21
|
scope: z.ZodString;
|
|
22
|
+
extensionName: z.ZodString;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
/** Query schema for listing extension configs. */
|
|
25
25
|
declare const ExtensionConfigListQuerySchema: z.ZodObject<{
|
|
@@ -63,8 +63,8 @@ declare const ExtensionConfigStorageNamespace: _$_makaio_storage_core0.StorageNa
|
|
|
63
63
|
id: z.ZodString;
|
|
64
64
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
65
65
|
enabled: z.ZodBoolean;
|
|
66
|
-
extensionName: z.ZodString;
|
|
67
66
|
scope: z.ZodString;
|
|
67
|
+
extensionName: z.ZodString;
|
|
68
68
|
}, z.core.$strip>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
70
|
response: z.ZodObject<{
|
|
@@ -131,8 +131,8 @@ declare const ExtensionConfigStorageSubjects: _$_makaio_core0.BusSubjects<_$_mak
|
|
|
131
131
|
id: z.ZodString;
|
|
132
132
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
133
133
|
enabled: z.ZodBoolean;
|
|
134
|
-
extensionName: z.ZodString;
|
|
135
134
|
scope: z.ZodString;
|
|
135
|
+
extensionName: z.ZodString;
|
|
136
136
|
}, z.core.$strip>;
|
|
137
137
|
}, z.core.$strip>;
|
|
138
138
|
response: z.ZodObject<{
|
|
@@ -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-
|
|
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-CYjPZwlQ.mjs";
|
|
2
2
|
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-KomML5ti.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 { _ 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-CYjPZwlQ.mjs";
|
|
2
2
|
export { SubagentTemplate, SubagentTemplateCompletedEventSchema, SubagentTemplateCreate, SubagentTemplateCreateSchema, SubagentTemplateInstance, SubagentTemplateInstanceSchema, SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSummary, SubagentTemplateSummarySchema, SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ToolApprovalService } from "../../index-
|
|
1
|
+
import { t as ToolApprovalService } from "../../index-DmV9ybgT.mjs";
|
|
2
2
|
export { ToolApprovalService };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"../../tool-approval-service-
|
|
1
|
+
import{t as e}from"../../tool-approval-service-BCN4W8eS.mjs";export{e as ToolApprovalService};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{M as e}from"../../framework-packages-D2fycy02.mjs";import{n as t,r as n,t as r}from"../../tools-BCL_dtHe.mjs";export{r as FILE_ACCESS_RULES_KEY,e as ToolRegistry,n as createToolContributionProcessor,t as extractToolFilePath};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{A as e,D as t,O as n,k as r}from"../../framework-packages-D2fycy02.mjs";import{t as i}from"../../workflow-transitions-7d9lGi08.mjs";export{r as TransitionActionRegistry,t as TransitionPipelineService,n as TransitionRuleRegistry,e as WORKFLOW_START_ACTION_TYPE,i as createTransitionContributionProcessor};
|