@makaio/framework 1.0.0-dev-1790175294701 → 1.0.0-dev-1790248497521
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/artifact-DF2UJsjP.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-DgpPEPoM.mjs +9 -0
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/artifact/index.mjs +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/facet/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +69 -69
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +1 -1
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{index-9O8N514B2.d.mts → index-6UlianLY2.d.mts} +4 -4
- package/dist/{index-CVRQS5jk.d.mts → index-BM53WQaQ.d.mts} +1 -1
- package/dist/{index-oE2q0pTG.d.mts → index-BZQ3OviE.d.mts} +1 -1
- package/dist/{index-Csua5M_M2.d.mts → index-Bmb7jPIe2.d.mts} +8 -8
- package/dist/{index-BusmMFMN.d.mts → index-Bon00c4i.d.mts} +48 -11
- package/dist/{index-7pt_bh4z.d.mts → index-BrMihjbI.d.mts} +68 -68
- package/dist/{index-DWKSiTxX.d.mts → index-C4VB63lu.d.mts} +18 -18
- package/dist/{index-Bgz81LHZ.d.mts → index-CEX9qfLa.d.mts} +1 -1
- package/dist/{index-DxtUM-qd.d.mts → index-CLwnkYRD.d.mts} +1 -1
- package/dist/{index-BMr77str2.d.mts → index-CydQ1dLS2.d.mts} +12 -12
- package/dist/{index-BgkQiruC.d.mts → index-D5BLD2Pw.d.mts} +7 -7
- package/dist/{index-B1iXL1pW.d.mts → index-D5Lw1UsO.d.mts} +8 -8
- package/dist/{index-Cu8k2ZGe.d.mts → index-DJLRXASA.d.mts} +24 -24
- package/dist/{index-D8V1DhrY.d.mts → index-Dcwee5Cl.d.mts} +90 -14
- package/dist/{index-DIEnLLhi2.d.mts → index-LCumcYK12.d.mts} +37 -37
- package/dist/{index-Mk478DlF.d.mts → index-QgSmUedN.d.mts} +4 -4
- package/dist/{index-BVN64wQx.d.mts → index-rkN_9bde.d.mts} +24 -24
- package/dist/kernel/extension/index.d.mts +2 -2
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{materialization-iFhpbs1s.mjs → materialization-CIrHHspa.mjs} +4 -1
- package/dist/{namespace-Bz0ZDWhE.d.mts → namespace-BEi98VfQ.d.mts} +18 -18
- package/dist/{namespace-B9iQN3FQ.d.mts → namespace-C5tKjqgb.d.mts} +4 -4
- package/dist/{namespace-h7gq_v5U.d.mts → namespace-CHSwZhH7.d.mts} +2 -2
- package/dist/{namespace-DAzOxaux.d.mts → namespace-D6W4Erwp.d.mts} +2 -2
- package/dist/{namespace-C1-ZAKEG.d.mts → namespace-D8oTiLLo.d.mts} +6 -6
- package/dist/package.json +1 -1
- package/dist/{schemas-BTJvvq9Y.d.mts → schemas-BXkSHQaF.d.mts} +2 -2
- package/dist/{schemas-CBDNnyz4.d.mts → schemas-Cb9OJ9va.d.mts} +1 -1
- package/dist/{schemas-Dec5VtBU.d.mts → schemas-CrOeGZHg.d.mts} +10 -10
- package/dist/{schemas-Dyp3rHZ7.d.mts → schemas-__oTCzF6.d.mts} +4 -4
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/execution-target/index.d.mts +2 -2
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +32 -28
- package/dist/services/index.mjs +1 -1
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +5 -5
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +10 -10
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{types-DTpwvvY9.d.mts → types-BP_P1izV.d.mts} +15 -15
- package/dist/{view-builder-cjQZJmTY.d.mts → view-builder-2cR7vI7R.d.mts} +10 -10
- package/dist/{worker-B72n8bse.mjs → worker-YKEWHrx5.mjs} +1 -1
- package/dist/{workflow-D-X3rPsl.mjs → workflow-01evBylF.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +9 -9
- package/package.json +1 -1
- package/dist/artifact-CKz9YQPu.mjs +0 -1
- package/dist/bus-30AlabEz.mjs +0 -9
|
@@ -15,8 +15,8 @@ declare const SubagentTemplateSchema: z.ZodObject<{
|
|
|
15
15
|
model: z.ZodOptional<z.ZodString>;
|
|
16
16
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
17
17
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
18
|
-
fork: "fork";
|
|
19
18
|
fresh: "fresh";
|
|
19
|
+
fork: "fork";
|
|
20
20
|
}>>;
|
|
21
21
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
22
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -45,16 +45,16 @@ type SubagentTemplateSummary = z.infer<typeof SubagentTemplateSummarySchema>;
|
|
|
45
45
|
declare const SubagentTemplateCreateSchema: z.ZodObject<{
|
|
46
46
|
name: z.ZodString;
|
|
47
47
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
48
|
-
adapterName: z.ZodString;
|
|
49
48
|
model: z.ZodOptional<z.ZodString>;
|
|
50
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
51
49
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
50
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
52
51
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
53
52
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
53
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
|
+
adapterName: z.ZodString;
|
|
55
55
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
56
|
-
fork: "fork";
|
|
57
56
|
fresh: "fresh";
|
|
57
|
+
fork: "fork";
|
|
58
58
|
}>>;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
60
|
type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
|
|
@@ -69,8 +69,8 @@ declare const SubagentTemplateUpdateSchema: z.ZodObject<{
|
|
|
69
69
|
model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
70
70
|
systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
71
71
|
contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
72
|
-
fork: "fork";
|
|
73
72
|
fresh: "fresh";
|
|
73
|
+
fork: "fork";
|
|
74
74
|
}>>>;
|
|
75
75
|
allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
76
76
|
disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -114,8 +114,8 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
114
114
|
model: z.ZodOptional<z.ZodString>;
|
|
115
115
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
116
116
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
117
|
-
fork: "fork";
|
|
118
117
|
fresh: "fresh";
|
|
118
|
+
fork: "fork";
|
|
119
119
|
}>>;
|
|
120
120
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
121
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -130,16 +130,16 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
130
130
|
request: z.ZodObject<{
|
|
131
131
|
name: z.ZodString;
|
|
132
132
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
133
|
-
adapterName: z.ZodString;
|
|
134
133
|
model: z.ZodOptional<z.ZodString>;
|
|
135
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
136
134
|
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
135
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
137
136
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
137
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
138
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
|
+
adapterName: z.ZodString;
|
|
140
140
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
141
|
-
fork: "fork";
|
|
142
141
|
fresh: "fresh";
|
|
142
|
+
fork: "fork";
|
|
143
143
|
}>>;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
response: z.ZodObject<{
|
|
@@ -155,8 +155,8 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
155
155
|
model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
156
156
|
systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
157
157
|
contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
158
|
-
fork: "fork";
|
|
159
158
|
fresh: "fresh";
|
|
159
|
+
fork: "fork";
|
|
160
160
|
}>>>;
|
|
161
161
|
allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
162
162
|
disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -18,8 +18,8 @@ declare const AdapterSubsystemSchemas: {
|
|
|
18
18
|
config: z.ZodNullable<z.ZodObject<{
|
|
19
19
|
description: z.ZodOptional<z.ZodString>;
|
|
20
20
|
displayName: z.ZodOptional<z.ZodString>;
|
|
21
|
-
protocol: z.ZodOptional<z.ZodString>;
|
|
22
21
|
clientId: z.ZodOptional<z.ZodString>;
|
|
22
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
23
23
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
24
|
label: z.ZodString;
|
|
25
25
|
url: z.ZodString;
|
|
@@ -46,8 +46,8 @@ declare const AdapterSubsystemSchemas: {
|
|
|
46
46
|
configs: z.ZodArray<z.ZodObject<{
|
|
47
47
|
description: z.ZodOptional<z.ZodString>;
|
|
48
48
|
displayName: z.ZodOptional<z.ZodString>;
|
|
49
|
-
protocol: z.ZodOptional<z.ZodString>;
|
|
50
49
|
clientId: z.ZodOptional<z.ZodString>;
|
|
50
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
51
51
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
52
52
|
label: z.ZodString;
|
|
53
53
|
url: z.ZodString;
|
|
@@ -1717,8 +1717,8 @@ declare const AdapterSubsystemSchemas: {
|
|
|
1717
1717
|
config: z.ZodObject<{
|
|
1718
1718
|
description: z.ZodOptional<z.ZodString>;
|
|
1719
1719
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1720
|
-
protocol: z.ZodOptional<z.ZodString>;
|
|
1721
1720
|
clientId: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
1722
1722
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1723
1723
|
label: z.ZodString;
|
|
1724
1724
|
url: z.ZodString;
|
|
@@ -3122,8 +3122,8 @@ type BindingRecord = z.infer<typeof BindingRecordSchema>;
|
|
|
3122
3122
|
declare const AdapterFileConfigSchema: z.ZodObject<{
|
|
3123
3123
|
description: z.ZodOptional<z.ZodString>;
|
|
3124
3124
|
displayName: z.ZodOptional<z.ZodString>;
|
|
3125
|
-
protocol: z.ZodOptional<z.ZodString>;
|
|
3126
3125
|
clientId: z.ZodOptional<z.ZodString>;
|
|
3126
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
3127
3127
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3128
3128
|
label: z.ZodString;
|
|
3129
3129
|
url: z.ZodString;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-
|
|
2
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-
|
|
3
|
-
import { a as ResolveLiveAdapterIdentity, c as resolveDeterministicAdapterId, i as ResolveLiveAdapterId, n as AdapterRuntimeIdentityHandlerOptions, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../../index-
|
|
1
|
+
import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-Cb9OJ9va.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-D6W4Erwp.mjs";
|
|
3
|
+
import { a as ResolveLiveAdapterIdentity, c as resolveDeterministicAdapterId, i as ResolveLiveAdapterId, n as AdapterRuntimeIdentityHandlerOptions, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../../index-BM53WQaQ.mjs";
|
|
4
4
|
export { AdapterIdentityRegistry, AdapterRuntimeIdentityHandlerOptions, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, RegisteredAdapterRuntimeIdentityHandlers, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveAdapterId, ResolveLiveAdapterIdentity, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema, buildDeterministicAdapterId, registerAdapterRuntimeIdentityHandlers, resolveDeterministicAdapterId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-
|
|
1
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-D6W4Erwp.mjs";
|
|
2
2
|
export { AdapterRuntimeNamespace, AdapterRuntimeSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-
|
|
1
|
+
import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-Cb9OJ9va.mjs";
|
|
2
2
|
export { AdapterRuntimeSchemas, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-
|
|
1
|
+
import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-__oTCzF6.mjs";
|
|
2
2
|
import { a as CreateCanonicalProviderConfigInput, c as AdapterFileConfigSet, i as CanonicalProviderConfigPatchSchema, l as IAdapterConfigRepository, n as CanonicalProviderConfigAuthPayload, o as CreateCanonicalProviderConfigInputPayload, r as CanonicalProviderConfigPatch, s as CreateCanonicalProviderConfigInputSchema, t as CanonicalProviderConfigAuth, u as ProviderConfigFileSet } from "../../index-BleQ0SR7.mjs";
|
|
3
|
-
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-
|
|
3
|
+
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-D8oTiLLo.mjs";
|
|
4
4
|
export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterRuntimePackages, AdapterRuntimePackagesSchema, AdapterRuntimeSnapshot, AdapterRuntimeSnapshotErrorCode, AdapterRuntimeSnapshotErrorCodeSchema, AdapterRuntimeSnapshotResolution, AdapterRuntimeSnapshotResolutionSchema, AdapterRuntimeSnapshotSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigAuth, CanonicalProviderConfigAuthPayload, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CompatibleAuthOption, CompatibleAuthOptionSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigAuthSummary, ProviderConfigAuthSummarySchema, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet, ProviderRuntimeSnapshot, ProviderRuntimeSnapshotSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-
|
|
1
|
+
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-D8oTiLLo.mjs";
|
|
2
2
|
export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterSubsystemNamespace, AdapterSubsystemSubjects };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-
|
|
2
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-
|
|
1
|
+
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-BXkSHQaF.mjs";
|
|
2
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-CHSwZhH7.mjs";
|
|
3
3
|
import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, M as ContainerSessionRuntimeBindingSchema, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, _ as ContainerConnectorAuthValue, a as DockerSubjects, b as ContainerCreatedSchema, c as ContainerAdapterAuthEnvelopeSchema, d as ContainerBootstrapConfig, f as ContainerBootstrapConfigSchema, g as ContainerConnectorAuthDeliverySchema, h as ContainerConnectorAuthDelivery, i as DockerNamespace, j as ContainerSessionRuntimeBinding, k as ContainerRuntime, l as ContainerAdapterAuthSelector, m as ContainerBootstrapSpawnRequestSchema, n as ContainerSpawnSubjects, o as CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, p as ContainerBootstrapSpawnRequest, q as StatusResponseSchema, r as CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, s as ContainerAdapterAuthEnvelope, t as ContainerSpawnNamespace, u as ContainerAdapterAuthSelectorSchema, v as ContainerConnectorAuthValueSchema, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as CredentialFreeGitRemoteSchema } from "../../index-BOxMyaqG.mjs";
|
|
4
4
|
export { CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, ContainerAdapterAuthEnvelope, ContainerAdapterAuthEnvelopeSchema, ContainerAdapterAuthSelector, ContainerAdapterAuthSelectorSchema, ContainerBootstrapConfig, ContainerBootstrapConfigSchema, ContainerBootstrapSpawnRequest, ContainerBootstrapSpawnRequestSchema, ContainerConnectorAuthDelivery, ContainerConnectorAuthDeliverySchema, ContainerConnectorAuthValue, ContainerConnectorAuthValueSchema, ContainerCreated, ContainerCreatedSchema, ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, ContainerLocalWorkflowSpawnRequest, ContainerLocalWorkflowSpawnRequestSchema, ContainerRuntime, ContainerRuntimeSchema, ContainerSessionRuntimeBinding, ContainerSessionRuntimeBindingSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, ContainerStarted, ContainerStartedSchema, ContainerState, ContainerStateSchema, ContainerStopped, ContainerStoppedSchema, CredentialFreeGitRemoteSchema, DockerNamespace, DockerSubjects, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema, SpawnRequest, SpawnRequestSchema, SpawnResponse, SpawnResponseSchema, StatusRequest, StatusRequestSchema, StatusResponse, StatusResponseSchema, StopRequest, StopRequestSchema, StopResponse, StopResponseSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-
|
|
1
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-CHSwZhH7.mjs";
|
|
2
2
|
export { ExecutionTargetNamespace, ExecutionTargetSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-
|
|
1
|
+
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-BXkSHQaF.mjs";
|
|
2
2
|
export { ContainerIsolatedExecutionTargetSchema, ContainerLocalExecutionTargetSchema, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema };
|
|
@@ -10,18 +10,18 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
|
|
|
10
10
|
changed: _$zod.ZodObject<{
|
|
11
11
|
path: _$zod.ZodString;
|
|
12
12
|
kind: _$zod.ZodEnum<{
|
|
13
|
-
create: "create";
|
|
14
13
|
delete: "delete";
|
|
15
14
|
change: "change";
|
|
15
|
+
create: "create";
|
|
16
16
|
}>;
|
|
17
17
|
}, _$zod_v4_core0.$strip>;
|
|
18
18
|
batch: _$zod.ZodObject<{
|
|
19
19
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
20
20
|
path: _$zod.ZodString;
|
|
21
21
|
kind: _$zod.ZodEnum<{
|
|
22
|
-
create: "create";
|
|
23
22
|
delete: "delete";
|
|
24
23
|
change: "change";
|
|
24
|
+
create: "create";
|
|
25
25
|
}>;
|
|
26
26
|
}, _$zod_v4_core0.$strip>>;
|
|
27
27
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -153,18 +153,18 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
|
|
|
153
153
|
changed: _$zod.ZodObject<{
|
|
154
154
|
path: _$zod.ZodString;
|
|
155
155
|
kind: _$zod.ZodEnum<{
|
|
156
|
-
create: "create";
|
|
157
156
|
delete: "delete";
|
|
158
157
|
change: "change";
|
|
158
|
+
create: "create";
|
|
159
159
|
}>;
|
|
160
160
|
}, _$zod_v4_core0.$strip>;
|
|
161
161
|
batch: _$zod.ZodObject<{
|
|
162
162
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
163
163
|
path: _$zod.ZodString;
|
|
164
164
|
kind: _$zod.ZodEnum<{
|
|
165
|
-
create: "create";
|
|
166
165
|
delete: "delete";
|
|
167
166
|
change: "change";
|
|
167
|
+
create: "create";
|
|
168
168
|
}>;
|
|
169
169
|
}, _$zod_v4_core0.$strip>>;
|
|
170
170
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -294,18 +294,18 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
294
294
|
changed: _$zod.ZodObject<{
|
|
295
295
|
path: _$zod.ZodString;
|
|
296
296
|
kind: _$zod.ZodEnum<{
|
|
297
|
-
create: "create";
|
|
298
297
|
delete: "delete";
|
|
299
298
|
change: "change";
|
|
299
|
+
create: "create";
|
|
300
300
|
}>;
|
|
301
301
|
}, _$zod_v4_core0.$strip>;
|
|
302
302
|
batch: _$zod.ZodObject<{
|
|
303
303
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
304
304
|
path: _$zod.ZodString;
|
|
305
305
|
kind: _$zod.ZodEnum<{
|
|
306
|
-
create: "create";
|
|
307
306
|
delete: "delete";
|
|
308
307
|
change: "change";
|
|
308
|
+
create: "create";
|
|
309
309
|
}>;
|
|
310
310
|
}, _$zod_v4_core0.$strip>>;
|
|
311
311
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -5,9 +5,9 @@ import { z } from "zod";
|
|
|
5
5
|
* File change kind.
|
|
6
6
|
*/
|
|
7
7
|
declare const FsChangeKindSchema: z.ZodEnum<{
|
|
8
|
-
create: "create";
|
|
9
8
|
delete: "delete";
|
|
10
9
|
change: "change";
|
|
10
|
+
create: "create";
|
|
11
11
|
}>;
|
|
12
12
|
type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
|
|
13
13
|
/**
|
|
@@ -16,9 +16,9 @@ type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
|
|
|
16
16
|
declare const FsChangedSchema: z.ZodObject<{
|
|
17
17
|
path: z.ZodString;
|
|
18
18
|
kind: z.ZodEnum<{
|
|
19
|
-
create: "create";
|
|
20
19
|
delete: "delete";
|
|
21
20
|
change: "change";
|
|
21
|
+
create: "create";
|
|
22
22
|
}>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
type FsChanged = z.infer<typeof FsChangedSchema>;
|
|
@@ -29,9 +29,9 @@ declare const FsBatchSchema: z.ZodObject<{
|
|
|
29
29
|
changes: z.ZodArray<z.ZodObject<{
|
|
30
30
|
path: z.ZodString;
|
|
31
31
|
kind: z.ZodEnum<{
|
|
32
|
-
create: "create";
|
|
33
32
|
delete: "delete";
|
|
34
33
|
change: "change";
|
|
34
|
+
create: "create";
|
|
35
35
|
}>;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as ResolveNameResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, l as ResolveIdResponseSchema, m as ResolveNameRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../schemas-
|
|
2
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-
|
|
3
|
-
import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-
|
|
4
|
-
import { p as BindingRecord } from "../schemas-
|
|
1
|
+
import { _ as ResolveNameResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, l as ResolveIdResponseSchema, m as ResolveNameRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../schemas-Cb9OJ9va.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-D6W4Erwp.mjs";
|
|
3
|
+
import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-BM53WQaQ.mjs";
|
|
4
|
+
import { p as BindingRecord } from "../schemas-__oTCzF6.mjs";
|
|
5
5
|
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-BOT1HUv6.mjs";
|
|
6
6
|
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-HLrZerLd.mjs";
|
|
7
7
|
import { t as CapabilityService } from "../capability-service-BHcRd1td.mjs";
|
|
@@ -12,18 +12,18 @@ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseCha
|
|
|
12
12
|
import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-C0Fb2-LN.mjs";
|
|
13
13
|
import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-QV_2m25r.mjs";
|
|
14
14
|
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-B_mVEuYd.mjs";
|
|
15
|
-
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-
|
|
16
|
-
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-
|
|
15
|
+
import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-BXkSHQaF.mjs";
|
|
16
|
+
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-CHSwZhH7.mjs";
|
|
17
17
|
import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, k as ContainerRuntime, n as ContainerSpawnSubjects, q as StatusResponseSchema, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated } from "../index-BOxMyaqG.mjs";
|
|
18
|
-
import { $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Ft as registerMemoryAgentStorage, Gn as ISessionOrchestrator, Gt as assembleForkContext, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, It as registerDrizzleSessionStorage, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Lt as registerMemorySessionStorage, M as SelectTurn, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, Pt as registerDrizzleAgentStorage, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, Un as TurnContextEnricher, Ut as createSessionExtensionContext, Vn as extractTextContent, Vt as AgentStorageSubjects, Wn as AdapterRegistry, Wt as SessionBridge, _ as MakaioSessionConfig, _t as SessionPreviewMaps, an as registerResumeHandler, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, ft as InsertSessionEvent, g as MakaioSession, h as registerParentResolver, in as registerGetStatusCountsHandler, j as InsertTurn, k as registerMemoryMessageStorage, l as ContextAssemblyResult, ln as SessionContextWindowState, m as registerCompressLineageResolver, mt as sessionEvents, nn as resetBuiltInActionsRegistration, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, p as registerSpawningToolCallResolver, pt as SelectSessionEvent, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, rn as actionRegistry, rr as MakaioSessionService, s as buildSessionContext, sn as AgentContextState, tn as registerBuiltInActions, u as kindToBranchKind, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../index-
|
|
19
|
-
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, T as TurnConfig, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, k as TurnResult, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities } from "../index-
|
|
20
|
-
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-
|
|
18
|
+
import { $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Ft as registerMemoryAgentStorage, Gn as ISessionOrchestrator, Gt as assembleForkContext, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, It as registerDrizzleSessionStorage, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Lt as registerMemorySessionStorage, M as SelectTurn, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, Pt as registerDrizzleAgentStorage, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, Un as TurnContextEnricher, Ut as createSessionExtensionContext, Vn as extractTextContent, Vt as AgentStorageSubjects, Wn as AdapterRegistry, Wt as SessionBridge, _ as MakaioSessionConfig, _t as SessionPreviewMaps, an as registerResumeHandler, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, ft as InsertSessionEvent, g as MakaioSession, h as registerParentResolver, in as registerGetStatusCountsHandler, j as InsertTurn, k as registerMemoryMessageStorage, l as ContextAssemblyResult, ln as SessionContextWindowState, m as registerCompressLineageResolver, mt as sessionEvents, nn as resetBuiltInActionsRegistration, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, p as registerSpawningToolCallResolver, pt as SelectSessionEvent, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, rn as actionRegistry, rr as MakaioSessionService, s as buildSessionContext, sn as AgentContextState, tn as registerBuiltInActions, u as kindToBranchKind, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../index-D5BLD2Pw.mjs";
|
|
19
|
+
import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, T as TurnConfig, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, k as TurnResult, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities } from "../index-CLwnkYRD.mjs";
|
|
20
|
+
import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-BZQ3OviE.mjs";
|
|
21
21
|
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-6O0G1s65.mjs";
|
|
22
22
|
import { g as sessions, u as agents } from "../schema-De6d0FWI.mjs";
|
|
23
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-
|
|
23
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-BEi98VfQ.mjs";
|
|
24
24
|
import { t as TurnStorageNamespace } from "../namespace-Sd6qj6w22.mjs";
|
|
25
25
|
import { n as TurnStorageSubjects } from "../namespace-DbtfwD5Z.mjs";
|
|
26
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-
|
|
26
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-C5tKjqgb.mjs";
|
|
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";
|
|
@@ -35,7 +35,7 @@ import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModel
|
|
|
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
36
|
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DPtj1sPC2.mjs";
|
|
37
37
|
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-CwwiV3kt.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-
|
|
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-CrOeGZHg.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";
|
|
@@ -297,7 +297,11 @@ interface ResolveArtifactContextOptions {
|
|
|
297
297
|
readonly maxDepth?: number;
|
|
298
298
|
}
|
|
299
299
|
/**
|
|
300
|
-
* Resolve a selector-driven
|
|
300
|
+
* Resolve a selector-driven artifact context graph.
|
|
301
|
+
*
|
|
302
|
+
* Selectors follow stored relations outbound by default. A selector with
|
|
303
|
+
* `direction: 'inbound'` instead selects the current revisions of artifacts
|
|
304
|
+
* whose relations of that type point at the walked artifact's identity.
|
|
301
305
|
* @param options - Bus, root ref, and explicit relation selectors.
|
|
302
306
|
* @returns Normalized wire context with all encountered refs visible.
|
|
303
307
|
*/
|
|
@@ -1090,8 +1094,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1090
1094
|
teardownCompleted: _$zod.ZodObject<{
|
|
1091
1095
|
evidence: _$zod.ZodEnum<{
|
|
1092
1096
|
unknown: "unknown";
|
|
1093
|
-
exited: "exited";
|
|
1094
1097
|
closed: "closed";
|
|
1098
|
+
exited: "exited";
|
|
1095
1099
|
released: "released";
|
|
1096
1100
|
detached: "detached";
|
|
1097
1101
|
}>;
|
|
@@ -1107,8 +1111,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1107
1111
|
config: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
1108
1112
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1109
1113
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1110
|
-
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1111
1114
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1115
|
+
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1112
1116
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1113
1117
|
label: _$zod.ZodString;
|
|
1114
1118
|
url: _$zod.ZodString;
|
|
@@ -1132,8 +1136,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1132
1136
|
configs: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1133
1137
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1134
1138
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1135
|
-
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1136
1139
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1140
|
+
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1137
1141
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1138
1142
|
label: _$zod.ZodString;
|
|
1139
1143
|
url: _$zod.ZodString;
|
|
@@ -2743,8 +2747,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
2743
2747
|
config: _$zod.ZodObject<{
|
|
2744
2748
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2745
2749
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2746
|
-
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2747
2750
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2751
|
+
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2748
2752
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
2749
2753
|
label: _$zod.ZodString;
|
|
2750
2754
|
url: _$zod.ZodString;
|
|
@@ -4883,8 +4887,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
4883
4887
|
name: _$zod.ZodString;
|
|
4884
4888
|
image: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4885
4889
|
enabled: _$zod.ZodBoolean;
|
|
4886
|
-
scope: _$zod.ZodString;
|
|
4887
4890
|
busUrl: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4891
|
+
scope: _$zod.ZodString;
|
|
4888
4892
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
4889
4893
|
type: _$zod.ZodLiteral<"container-isolated">;
|
|
4890
4894
|
id: _$zod.ZodString;
|
|
@@ -5158,18 +5162,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5158
5162
|
changed: _$zod.ZodObject<{
|
|
5159
5163
|
path: _$zod.ZodString;
|
|
5160
5164
|
kind: _$zod.ZodEnum<{
|
|
5161
|
-
create: "create";
|
|
5162
5165
|
delete: "delete";
|
|
5163
5166
|
change: "change";
|
|
5167
|
+
create: "create";
|
|
5164
5168
|
}>;
|
|
5165
5169
|
}, _$zod_v4_core0.$strip>;
|
|
5166
5170
|
batch: _$zod.ZodObject<{
|
|
5167
5171
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5168
5172
|
path: _$zod.ZodString;
|
|
5169
5173
|
kind: _$zod.ZodEnum<{
|
|
5170
|
-
create: "create";
|
|
5171
5174
|
delete: "delete";
|
|
5172
5175
|
change: "change";
|
|
5176
|
+
create: "create";
|
|
5173
5177
|
}>;
|
|
5174
5178
|
}, _$zod_v4_core0.$strip>>;
|
|
5175
5179
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -5994,8 +5998,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5994
5998
|
agentId: _$zod.ZodString;
|
|
5995
5999
|
status: _$zod.ZodEnum<{
|
|
5996
6000
|
completed: "completed";
|
|
5997
|
-
acknowledged: "acknowledged";
|
|
5998
6001
|
sent: "sent";
|
|
6002
|
+
acknowledged: "acknowledged";
|
|
5999
6003
|
}>;
|
|
6000
6004
|
timestamp: _$zod.ZodNumber;
|
|
6001
6005
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6014,8 +6018,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6014
6018
|
agentId: _$zod.ZodString;
|
|
6015
6019
|
status: _$zod.ZodEnum<{
|
|
6016
6020
|
completed: "completed";
|
|
6017
|
-
acknowledged: "acknowledged";
|
|
6018
6021
|
sent: "sent";
|
|
6022
|
+
acknowledged: "acknowledged";
|
|
6019
6023
|
}>;
|
|
6020
6024
|
timestamp: _$zod.ZodNumber;
|
|
6021
6025
|
error: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -6089,7 +6093,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6089
6093
|
tableName: "message_routing";
|
|
6090
6094
|
dataType: "string";
|
|
6091
6095
|
columnType: "SQLiteText";
|
|
6092
|
-
data: "completed" | "
|
|
6096
|
+
data: "completed" | "sent" | "acknowledged";
|
|
6093
6097
|
driverParam: string;
|
|
6094
6098
|
notNull: true;
|
|
6095
6099
|
hasDefault: false;
|
|
@@ -7734,8 +7738,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7734
7738
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7735
7739
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7736
7740
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7737
|
-
fork: "fork";
|
|
7738
7741
|
fresh: "fresh";
|
|
7742
|
+
fork: "fork";
|
|
7739
7743
|
}>>;
|
|
7740
7744
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7741
7745
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -7750,16 +7754,16 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7750
7754
|
request: _$zod.ZodObject<{
|
|
7751
7755
|
name: _$zod.ZodString;
|
|
7752
7756
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
7753
|
-
adapterName: _$zod.ZodString;
|
|
7754
7757
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7755
|
-
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7756
7758
|
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7759
|
+
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7757
7760
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7758
7761
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7759
7762
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
7763
|
+
adapterName: _$zod.ZodString;
|
|
7760
7764
|
contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7761
|
-
fork: "fork";
|
|
7762
7765
|
fresh: "fresh";
|
|
7766
|
+
fork: "fork";
|
|
7763
7767
|
}>>;
|
|
7764
7768
|
}, _$zod_v4_core0.$strip>;
|
|
7765
7769
|
response: _$zod.ZodObject<{
|
|
@@ -7775,8 +7779,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
7775
7779
|
model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
7776
7780
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
|
|
7777
7781
|
contextMode: _$zod.ZodOptional<_$zod.ZodDefault<_$zod.ZodEnum<{
|
|
7778
|
-
fork: "fork";
|
|
7779
7782
|
fresh: "fresh";
|
|
7783
|
+
fork: "fork";
|
|
7780
7784
|
}>>>;
|
|
7781
7785
|
allowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
|
7782
7786
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
|
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 d,H as f,K as p,L as m,M as ee,O as te,R as ne,Tt as re,U as ie,V as ae,W as oe,Z as se,a as ce,b as le,c as ue,d as de,f as fe,i as pe,j as me,k as he,l as ge,n as _e,nt as ve,o as ye,r as be,s as xe,t as Se,tt as Ce,wt as we,x as Te,z as Ee}from"../handlers-mjky_fP2.mjs";import{TurnStorageNamespace as De,TurnStorageSubjects as Oe}from"./turn/namespace.mjs";import{a as ke,i as h}from"../ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageNamespace as g,SessionStorageSubjects as _}from"./session/storage/namespace.mjs";import{AdapterRuntimeSchemas as v,ResolveIdRequestSchema as y,ResolveIdResponseSchema as b,ResolveLiveIdentityRequestSchema as x,ResolveLiveIdentityResponseSchema as S,ResolveNameRequestSchema as C,ResolveNameResponseSchema as w}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as T,AdapterRuntimeSubjects as Ae}from"./adapter-runtime/namespace.mjs";import{$ as je,A as Me,B as Ne,C as Pe,E as Fe,F as Ie,G as Le,H as Re,I as ze,J as Be,K as Ve,L as He,M as Ue,N as We,P as Ge,R as Ke,S as qe,T as Je,U as Ye,V as Xe,X as Ze,Y as E,Z as Qe,a as $e,b as et,c as tt,et as nt,i as rt,j as it,k as at,l as ot,nt as st,o as ct,r as lt,rt as ut,s as dt,t as ft,tt as pt,w as mt,x as ht,z as gt}from"../session-D38UuGGX.mjs";import{n as _t}from"../namespace-J87EeVTm.mjs";import{ProviderStorageNamespace as vt}from"./settings/storage/providers-namespace.mjs";import{A as yt,E as bt,M as xt,N as St,O as Ct,S as wt,T as Tt,_ as Et,a as Dt,b as Ot,c as kt,i as At,j as jt,k as Mt,l as Nt,n as Pt,o as Ft,r as It,s as Lt,t as Rt,v as zt,w as Bt,x as Vt,y as Ht}from"../schemas-Djjq4LLs.mjs";import{ExecutionTargetNamespace as D,ExecutionTargetSubjects as Ut}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Wt,MessageStorageSubjects as Gt}from"./session/messages/namespace.mjs";import{a as Kt,o as qt,r as Jt,t as Yt}from"../provider-context-D6GIZ5DC.mjs";import{TurnStorageNamespace as Xt}from"./session/turns/namespace.mjs";import{i as Zt,n as Qt,r as $t,t as en}from"../identity-DgTjgflr.mjs";import{BugEntrySchema as tn,CompressRequestSchema as nn,CompressResponseSchema as rn,CompressionEventSchema as an,CompressionSchemas as on,ExtractedContextSchema as sn,TechnicalDetailsSchema as cn,TodoEntrySchema as ln}from"./compression/schemas.mjs";import{PreferenceItemSchema as un,PreferenceKeySchema as dn,PreferenceValueSchema as fn,PreferencesSchemas as pn}from"./preferences/schemas.mjs";import{PreferencesNamespace as O,PreferencesSubjects as mn}from"./preferences/storage-namespace.mjs";import{t as hn}from"../namespace-Bo6-o_rW.mjs";import{l as gn,n as _n,p as vn,r as yn,t as bn}from"../ownership-memory-handler-C-y9zQf8.mjs";import{_ as xn,g as k,v as Sn}from"../packages-vF9F4M41.mjs";import{A as Cn,B as wn,C as Tn,D as En,E as Dn,F as On,I as kn,L as An,M as A,N as jn,O as Mn,P as Nn,R as j,S as Pn,T as Fn,V as In,_ as Ln,a as Rn,b as zn,c as Bn,d as Vn,f as M,g as Hn,h as Un,i as Wn,j as Gn,k as Kn,l as qn,m as Jn,n as N,o as Yn,p as Xn,r as Zn,s as Qn,t as P,u as $n,v as er,w as tr,x as nr,y as rr,z as ir}from"../framework-packages-mquh5_Yw.mjs";import{n as ar,r as or,t as sr}from"../package-BCKYMTYG.mjs";import{a as cr,c as lr,i as ur,l as dr,n as fr,o as F,r as pr,s as mr,t as hr,u as gr}from"../model-registry-CeDu27XL.mjs";import{t as _r}from"../tool-approval-service-vG2mEC9p.mjs";import{TrayMenuEntrySchema as vr,TrayMenuGroupEntrySchema as yr,TrayMenuGroupSchema as br,TrayMenuItemClickedSchema as xr,TrayMenuListEntrySchema as Sr,TrayMenuMetadataSchema as Cr,TrayMenuSchemas as wr,TrayMenuSectionSchema as Tr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as I,TrayMenuSubjects as Er}from"./tray-menu/namespace.mjs";import{t as Dr}from"../tray-menu-service-BRrnoqaY.mjs";import{n as Or}from"../handler-Cc1MhaR4.mjs";import{a as kr,i as Ar,n as jr,o as Mr,r as Nr,t as Pr}from"../package-BSz4hbav.mjs";import{FsNamespace as Fr}from"./filesystem/namespace.mjs";import{r as Ir}from"../tools-K3DWA4Jr.mjs";import{t as Lr}from"../workflow-transitions-C2BLDE5N.mjs";import"./capability/index.mjs";import{a as Rr,i as zr,n as Br,r as Vr,t as Hr}from"../code-execution-BspFbEdT.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as Ur,AgentRuntimeSchemas as Wr,AgentRuntimeSelectionSchema as Gr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as L,AgentRuntimeSubjects as Kr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as qr,CodebaseSchemas as Jr}from"./codebase/schemas.mjs";import{CodebaseNamespace as R,CodebaseSubjects as Yr}from"./codebase/namespace.mjs";import{CompressionNamespace as z,CompressionSubjects as Xr}from"./compression/namespace.mjs";import{r as Zr,t as Qr}from"../storage-namespace-TBX8VgK3.mjs";import{DefinitionNamespace as $r}from"./definition/namespace.mjs";import{DialogNamespace as ei}from"./dialog/namespace.mjs";import{a as ti,i as B,n as ni,t as ri}from"../execution-target-CDeIBu4b.mjs";import{CLIDetectionNamespace as ii}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as ai}from"./local-notification/namespace.mjs";import{t as oi}from"../namespace-C9xmGXbW.mjs";import{ExtensionConfigStorageNamespace as si}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as ci}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as li,SubagentTemplateCreateSchema as ui,SubagentTemplateInstanceSchema as di,SubagentTemplateInstanceStatusSchema as fi,SubagentTemplateKernelSchemas as pi,SubagentTemplateSchema as mi,SubagentTemplateSettingsSchemas as hi,SubagentTemplateSpawnRequestSchema as gi,SubagentTemplateSpawnedEventSchema as _i,SubagentTemplateSummarySchema as vi,SubagentTemplateUpdateSchema as yi}from"./subagent-template/schemas.mjs";import{r as bi,t as xi}from"../namespace-CqJhR19O.mjs";import{SubagentTemplateKernelNamespace as V,SubagentTemplateSubjects as Si}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 Ci}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as wi}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as Ti}from"@makaio/framework/contracts/model-registry";function Ei(e){return{source:`extension`,ownerKey:`extension:${e}`}}function Di(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function Oi(){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)}Di(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(k);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=Ei(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 ki(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function Ai(){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(P);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(ki(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)}}}}async function ji(e){let t=e.maxDepth??5,n={bus:e.bus,maxDepth:t,resolvedByKey:new Map,walkedByKey:new Set,refIndexByKey:new Map,refMetadataByKey:new Map,resolved:[],refs:[]},r=await U(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 H(n,r,e.selectors,0,new Set([Q(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function H(e,t,n,r,i){let a=Hi(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=zi(t);for(let a of t.relations)await Mi(e,o,a,n,r,i)}async function Mi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!Pi(o,n.target)){G(e,W(t,n,s,`not-selected`));return}if(n.target.refClass!==`artifact`){G(e,W(t,n,s,`unsupported-ref-class`));return}let c=Q(n.target),l=a.has(c);if(i>=e.maxDepth&&!l){G(e,W(t,n,s,`depth-exceeded`));return}let u=e.resolvedByKey.has(c),d=await U(e,n.target);if(!d){G(e,W(t,n,s,`not-found`));return}if(G(e,{sourceRef:t,target:n.target,relationType:n.type,sourceLocalId:n.sourceLocalId,hint:s,status:`resolved`},{resolvedViaBackEdge:l}),u||e.resolved.push(d),l)return;let f=(o.depth??1)-1,p=Ni(f>0?{[n.type]:{...o,depth:f}}:void 0,o.nested),m=new Set(a);m.add(c),await H(e,d,p,i+1,m)}async function U(e,t){let n=Q(t);if(e.resolvedByKey.has(n))return e.resolvedByKey.get(n)??null;let{artifact:r}=await e.bus.request(Ci.resolve,{ref:t});return e.resolvedByKey.set(n,r),r}function Ni(e,t){if(!t)return e;if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t))n[e]=r;return n}function Pi(e,t){if(!e)return!1;if(!e.kinds)return!0;let n=Fi(t);return n!==void 0&&e.kinds.includes(n)}function Fi(e){if(e.refClass!==`entity`)return e.refClass===`local`?e.artifact.kind:e.kind}function W(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,sourceLocalId:t.sourceLocalId,hint:n,status:`unresolved`,reason:r}}function G(e,t,n){let r=Bi(t),i=e.refIndexByKey.get(r);if(i===void 0){e.refIndexByKey.set(r,e.refs.length),Y(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(!Ii(a,Ri(e,r)))return;J(e,i,r,t,n);return}if(a.status===`unresolved`&&a.reason===`depth-exceeded`){if(t.status===`resolved`&&Z(n)||t.status===`unresolved`&&!K(t.reason,a.reason))return;J(e,i,r,t,n);return}if(t.status===`unresolved`&&a.status===`unresolved`){K(t.reason,a.reason)&&J(e,i,r,t,n);return}if(t.status===`resolved`&&a.status===`unresolved`){J(e,i,r,t,n);return}t.status===`resolved`&&!Z(n)&&X(e,r,n)}}function Ii(e,t){return e.status===`resolved`?t:K(`depth-exceeded`,e.reason)}function K(e,t){return q(e)>q(t)}function q(e){return e===`not-selected`?0:e===`depth-exceeded`?1:2}function J(e,t,n,r,i){Y(e,n,r,i),e.refs[t]=r}function Y(e,t,n,r){if(n.status===`resolved`){X(e,t,r);return}Li(e,t)}function X(e,t,n){e.refMetadataByKey.set(t,n??{resolvedViaBackEdge:!1})}function Li(e,t){e.refMetadataByKey.delete(t)}function Ri(e,t){return Z(e.refMetadataByKey.get(t))}function Z(e){return e?.resolvedViaBackEdge===!0}function zi(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Q(e){return JSON.stringify([e.kind,e.id,e.revision])}function Bi(e){return JSON.stringify([Q(e.sourceRef),e.sourceLocalId??null,e.relationType,Vi(e.target)])}function Vi(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`,Q(e.artifact),e.localId]):JSON.stringify([`evidence`,e.kind,e.id,e.revision??null,e.locator??null])}function Hi(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 Ui(){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(N);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 Wi(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(M);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 Gi(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(A);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===A.name||!!e.reactions,async processActivated(n,i,a){if(n===A.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===A.name){t.clear();return}try{n(e)}catch(t){console.error(`[ReactionContributionProcessor] Deregister error for "${e}":`,t)}}}}const Ki=[T,_t,L,h,ii,ci,R,z,Zr,Qr,$r,ei,B,D,si,Fr,Or,wi,ai,E,F,Ti,O,oi,vt,hn,xi,I,De,V,bi];export{en as AdapterIdentityRegistry,pt as AdapterRegistry,T as AdapterRuntimeNamespace,v as AdapterRuntimeSchemas,Ae as AdapterRuntimeSubjects,Ur as AgentInstanceStatusSchema,L as AgentRuntimeNamespace,Wr as AgentRuntimeSchemas,Gr as AgentRuntimeSelectionSchema,Kr as AgentRuntimeSubjects,h as AgentStorageNamespace,ke as AgentStorageSubjects,wn as ArtifactLifecycleHookRegistry,P as ArtifactLifecycleHookRegistryToken,In as ArtifactLifecycleHookRejectedError,Sn as ArtifactSchemaRegistry,k as ArtifactSchemaRegistryToken,tn as BugEntrySchema,Ke as CONNECTOR_SWAP_DEFAULT_PIPELINE,hr as CachedRegistryFetcher,j as CanonicalModelResolutionError,An as CanonicalModelResolver,kn as CanonicalModelService,or as CapabilityService,sr as CapabilityToken,Vr as CodeExecutionService,Hr as CodeExecutionServiceToken,qr as CodebaseChangedEventSchema,R as CodebaseNamespace,Jr as CodebaseSchemas,Yr as CodebaseSubjects,nn as CompressRequestSchema,rn as CompressResponseSchema,an as CompressionEventSchema,z as CompressionNamespace,on as CompressionSchemas,Xr as CompressionSubjects,Et as ContainerCreatedSchema,zt as ContainerDestroyedSchema,Rt as ContainerIsolatedExecutionTargetSchema,Ht as ContainerIsolatedSpawnRequestSchema,Pt as ContainerLocalExecutionTargetSchema,Ot as ContainerLocalSpawnRequestSchema,Vt as ContainerLocalWorkflowSpawnRequestSchema,wt as ContainerRuntimeSchema,ri as ContainerSpawnNamespace,ni as ContainerSpawnSubjects,Bt as ContainerStartedSchema,Tt as ContainerStateSchema,bt as ContainerStoppedSchema,ft as ContextWindowTracker,B as DockerNamespace,ti as DockerSubjects,dt as EmbeddingIndexManager,It as ExecutionTargetInputSchema,At as ExecutionTargetListQuerySchema,D as ExecutionTargetNamespace,Dt as ExecutionTargetResolveRequestSchema,Ft as ExecutionTargetSchema,Lt as ExecutionTargetSchemas,Ut as ExecutionTargetSubjects,kt as ExecutionTargetTypeSchema,sn as ExtractedContextSchema,ir as FacetNamespaceRegistry,N as FacetNamespaceRegistryToken,fr as FallbackRegistryFetcher,Ki as FrameworkServicesCoreNamespaces,Nt as LocalExecutionTargetSchema,ct as MakaioSession,st as MakaioSessionService,E as MessageRoutingNamespace,Ze as MessageRoutingSubjects,Wt as MessageStorageNamespace,Gt as MessageStorageSubjects,F as ModelRegistryNamespace,pr as ModelRegistryProviderNotFoundError,lr as ModelRegistrySchema,dr as ModelRegistrySchemas,ur as ModelRegistryService,mr as ModelRegistrySubjects,Zn as ModelRegistryToken,un as PreferenceItemSchema,dn as PreferenceKeySchema,fn as PreferenceValueSchema,O as PreferencesNamespace,pn as PreferencesSchemas,mn as PreferencesSubjects,Yt as ProviderContextActivationError,gr as ProviderModelOverrideSchema,Nn as ReactionRegistry,A as ReactionRegistryToken,y as ResolveIdRequestSchema,b as ResolveIdResponseSchema,x as ResolveLiveIdentityRequestSchema,S as ResolveLiveIdentityResponseSchema,C as ResolveNameRequestSchema,w as ResolveNameResponseSchema,Kt as RuntimeProviderContextResolutionError,ze as SessionBridge,Wn as SessionBridgeToken,o as SessionEventStorageNamespace,i as SessionEventStorageSubjects,Ge as SessionExtensionContextImpl,Ye as SessionOrchestrator,Rn as SessionOrchestratorToken,se as SessionStartError,g as SessionStorageNamespace,_ as SessionStorageSubjects,Yn as SessionStorageToken,Qn as SessionToken,Le as SessionTurnManager,Ct as SpawnRequestSchema,Mt as SpawnResponseSchema,yt as StatusRequestSchema,jt as StatusResponseSchema,xt as StopRequestSchema,St as StopResponseSchema,Ar as SubagentFailureFinalizationError,Mr as SubagentManager,kr as SubagentService,Pr as SubagentServiceToken,li as SubagentTemplateCompletedEventSchema,ui as SubagentTemplateCreateSchema,di as SubagentTemplateInstanceSchema,fi as SubagentTemplateInstanceStatusSchema,V as SubagentTemplateKernelNamespace,pi as SubagentTemplateKernelSchemas,mi as SubagentTemplateSchema,hi as SubagentTemplateSettingsSchemas,gi as SubagentTemplateSpawnRequestSchema,_i as SubagentTemplateSpawnedEventSchema,Si as SubagentTemplateSubjects,vi as SubagentTemplateSummarySchema,yi as SubagentTemplateUpdateSchema,cn as TechnicalDetailsSchema,ln as TodoEntrySchema,_r as ToolApprovalService,Bn as ToolApprovalToken,Gn as ToolRegistry,qn as ToolRegistryToken,Mn as TransitionActionRegistry,Dn as TransitionPipelineService,$n as TransitionPipelineToken,En as TransitionRuleRegistry,vr as TrayMenuEntrySchema,yr as TrayMenuGroupEntrySchema,br as TrayMenuGroupSchema,xr as TrayMenuItemClickedSchema,Sr as TrayMenuListEntrySchema,Cr as TrayMenuMetadataSchema,I as TrayMenuNamespace,wr as TrayMenuSchemas,Tr as TrayMenuSectionSchema,Dr as TrayMenuService,Er as TrayMenuSubjects,Vn as TrayMenuToken,Ve as Turn,Re as TurnContextEnricher,Xt as TurnStorageNamespace,Oe as TurnStorageSubjects,Kn as WORKFLOW_START_ACTION_TYPE,Cn as WorkflowBlockRegistry,M as WorkflowBlockRegistryToken,Ee as actionRegistry,Jt as activateProviderContext,e as agents,Xn as artifactLifecycleHookRegistryPackage,xn as artifactSchemaRegistryPackage,_e as assembleForkContext,Qt as buildDeterministicAdapterId,m as buildRecoveryContext,te as buildRecoveryContextWithPipeline,l as buildSessionContext,ae as buildTurnInitiator,On as canonicalModelPackage,ar as capabilityPackage,Br as codeExecutionPackage,Oi as createArtifactKindContributionProcessor,Ai as createArtifactLifecycleHookContributionProcessor,Rr as createEffectiveExecutionSignal,Ui as createFacetNamespaceContributionProcessor,Jn as createModelRegistryPackage,Gi as createReactionContributionProcessor,Ie as createSessionExtensionContext,vn as createSessionStorageMemoryState,jr as createSubagentServicePackage,Ir as createToolContributionProcessor,Lr as createTransitionContributionProcessor,Wi as createWorkflowBlockContributionProcessor,he as ensureAgentCwd,c as ensureAgentModel,d as extractTextContent,Un as facetNamespaceRegistryPackage,ht as fetchAgentsBySession,qe as fetchMessageCountsBySession,Pe as fetchPreviewBySession,Me as fetchSessionPreviewMaps,f as findTurnByAgent,Hn as frameworkCorePackages,ne as getFullConversation,ie as getOrCreateSession,ot as importCursors,gn as kindToBranchKind,it as mapAgentsBySession,mt as mapRowToSession,Ue as mapToSession,cr as mergeModelMetadata,Qe as messageRouting,r as messages,de as normalizeSelectionString,p as normalizeToBlocks,Je as parseForkTransforms,He as pickFallbackRuntimeOptions,jn as reactionRegistryPackage,me as recoverAgent,ue as registerAbandonHandler,$t as registerAdapterRuntimeIdentityHandlers,ge as registerAttachHandler,ye as registerBuiltInActions,ce as registerCompressHandler,rt as registerCompressLineageResolver,ut as registerCoreSessionServiceHandlers,We as registerDrizzleAgentStorage,tt as registerDrizzleImportCursorStorage,Be as registerDrizzleMessageRoutingStorage,nt as registerDrizzleMessageStorage,we as registerDrizzleSessionEventStorage,Fe as registerDrizzleSessionOwnershipStorage,at as registerDrizzleSessionStorage,Te as registerDrizzleTurnStorage,pe as registerForkHandler,et as registerFtsSearchHandler,Ne as registerGetStatusCountsHandler,gt as registerListActionsHandler,_n as registerMemoryAgentStorage,je as registerMemoryMessageStorage,re as registerMemorySessionEventStorage,bn as registerMemorySessionOwnershipStorage,yn as registerMemorySessionStorage,le as registerMemoryTurnStorage,be as registerMergeHandler,$e as registerParentResolver,Xe as registerResumeHandler,lt as registerSpawningToolCallResolver,xe as resetBuiltInActionsRegistration,s as resolveAdapterId,fe as resolveAdapterNameById,ji as resolveArtifactContext,Zt as resolveDeterministicAdapterId,Ce as resolveExecutionTarget,ve as resolveModelCapabilities,qt as resolveRuntimeProviderContext,oe as resolveTargetAgents,Se as routeToAgents,u as routeToAgentsCore,zr as selectCodeExecutionProvider,Ln as sessionBridgePackage,a as sessionEvents,er as sessionOrchestratorPackage,rr as sessionPackage,zn as sessionStoragePackage,t as sessions,Nr as subagentServicePackage,nr as toolApprovalPackage,Pn as toolRegistryPackage,Tn as transitionPipelinePackage,tr as trayMenuPackage,n as turns,ee as verifyAndRecoverAgents,Fn 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-mjky_fP2.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-D38UuGGX.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-mquh5_Yw.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-vG2mEC9p.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-K3DWA4Jr.mjs";import{t as Vr}from"../workflow-transitions-C2BLDE5N.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};
|