@makaio/framework 1.0.0-dev-1782480236258 → 1.0.0-dev-1783282710723
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/bus/index.d.mts +39 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-D-ioC0DE.mjs +1 -0
- package/dist/bus-rgUFuO2a.mjs +2 -0
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +6 -6
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +24 -24
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/provider/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{definition-DePb3ke-.d.mts → definition-DFcxkf2i.d.mts} +1 -1
- package/dist/{index-B1XsbrAr.d.mts → index-2fK9iSHI.d.mts} +3 -3
- package/dist/{index-Clqt7Nm3.d.mts → index-9b2_jXxq.d.mts} +2 -2
- package/dist/{index-D4gn93gL.d.mts → index-Bh6lHiW4.d.mts} +16 -16
- package/dist/{index-Cvjnj7Zh.d.mts → index-CL2T6LVv.d.mts} +8 -8
- package/dist/{index-BhOLtp0B.d.mts → index-CTEsbp9H.d.mts} +16 -16
- package/dist/{index-DsLpP5ek.d.mts → index-CaOWqztb.d.mts} +1 -1
- package/dist/{index-wfSedMR9.d.mts → index-CfIW5biI.d.mts} +1 -1
- package/dist/{index-mU2lnU7O.d.mts → index-CqCe7Phc.d.mts} +6 -6
- package/dist/{index-Cyi7y_aG.d.mts → index-D6aAzr32.d.mts} +20 -20
- package/dist/{index-CYHWOXUm.d.mts → index-DEzdNQum.d.mts} +1 -1
- package/dist/{index-D8ScOpus.d.mts → index-DLy-tc0L.d.mts} +9 -9
- package/dist/{index-BKZhnb2B.d.mts → index-DdBRlm7m.d.mts} +3 -3
- package/dist/{index-0WhPbKnH.d.mts → index-Dg-y1mrq.d.mts} +8 -8
- package/dist/{index-C6SLILCZ.d.mts → index-GD-i3DW7.d.mts} +104 -104
- package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
- package/dist/{index-B5w-0Gg9.d.mts → index-Y2r0Zvcm.d.mts} +4 -4
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{namespace-CGxFYDlK.d.mts → namespace-B4cV_pk3.d.mts} +32 -32
- package/dist/{namespace-Bm77p82L.d.mts → namespace-DGAWYjbO.d.mts} +5 -5
- package/dist/{namespace-Bmi5bjm4.d.mts → namespace-DXW-voCe.d.mts} +42 -42
- package/dist/{namespace-BeMGmLrp.d.mts → namespace-KMxsPJwm.d.mts} +9 -9
- package/dist/node/transports/index.d.mts +8 -0
- package/dist/node/transports/index.mjs +2 -2
- package/dist/package.json +1 -1
- package/dist/{schema-Bf_ZNjif.d.mts → schema-D1HrnvT7.d.mts} +2 -2
- package/dist/{schemas-C6TVJ80V2.d.mts → schemas-D-9zNyAM2.d.mts} +4 -4
- package/dist/{schemas-D512XweP.d.mts → schemas-DMCGXlKa.d.mts} +1 -1
- package/dist/scoped-bus-CZId-Df8.mjs +1 -0
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +6 -6
- package/dist/services/execution-target/index.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/git/namespace.d.mts +4 -4
- package/dist/services/git/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +33 -33
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/namespace.d.mts +2 -2
- package/dist/services/log-import/schemas.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/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +7 -7
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{session-lineage-5-wRBzuC.d.mts → session-lineage-DR-9DU-U.d.mts} +1 -1
- package/dist/{transition-CBjccCMw.d.mts → transition-DnXibkhX.d.mts} +1 -1
- package/dist/{types-InWSdi-V.d.mts → types-BslClRkH.d.mts} +1 -1
- package/dist/{types-8rhArs_K.d.mts → types-Dur8EtpR.d.mts} +38 -38
- package/dist/workflow-engine/index.d.mts +11 -11
- package/package.json +1 -1
- package/dist/bus-BgodbPl9.mjs +0 -2
- package/dist/bus-HgaFcCZ1.mjs +0 -1
- package/dist/scoped-bus-H3xMYR0E.mjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as ResolveIdResponseSchema, c as ResolveNameResponse, i as ResolveIdResponse, l as ResolveNameResponseSchema, n as ResolveIdRequest, o as ResolveNameRequest, r as ResolveIdRequestSchema, s as ResolveNameRequestSchema, t as AdapterRuntimeSchemas } from "../schemas-DmGRSeIq.mjs";
|
|
2
2
|
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-B3ol3pc-.mjs";
|
|
3
3
|
import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-D9-vOJvZ.mjs";
|
|
4
|
-
import { _ as BindingRecord } from "../index-
|
|
4
|
+
import { _ as BindingRecord } from "../index-D6aAzr32.mjs";
|
|
5
5
|
import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-CoFCV42v.mjs";
|
|
6
6
|
import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-CfvtDD_U.mjs";
|
|
7
7
|
import { t as CapabilityService } from "../index-C4nStEdA.mjs";
|
|
@@ -12,16 +12,16 @@ import { n as CompressionSubjects, t as CompressionNamespace } from "../namespac
|
|
|
12
12
|
import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-Bo78h9e3.mjs";
|
|
13
13
|
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-D4zaFE2p.mjs";
|
|
14
14
|
import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-65uwTpbg.mjs";
|
|
15
|
-
import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-
|
|
16
|
-
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../index-
|
|
15
|
+
import { A as StatusResponseSchema, C as SpawnRequest, D as StatusRequest, E as SpawnResponseSchema, M as StopRequestSchema, N as StopResponse, O as StatusRequestSchema, P as StopResponseSchema, S as ContainerStoppedSchema, T as SpawnResponse, _ as ContainerStarted, b as ContainerStateSchema, c as ContainerCreatedSchema, d as ContainerIsolatedSpawnRequest, f as ContainerIsolatedSpawnRequestSchema, g as ContainerRuntimeSchema, h as ContainerRuntime, i as DockerSubjects, j as StopRequest, k as StatusResponse, l as ContainerDestroyed, m as ContainerLocalSpawnRequestSchema, n as ContainerSpawnSubjects, p as ContainerLocalSpawnRequest, r as DockerNamespace, s as ContainerCreated, t as ContainerSpawnNamespace, u as ContainerDestroyedSchema, v as ContainerStartedSchema, w as SpawnRequestSchema, x as ContainerStopped, y as ContainerState } from "../index-CqCe7Phc.mjs";
|
|
16
|
+
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../index-9b2_jXxq.mjs";
|
|
17
17
|
import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../index-gAFwNiJT.mjs";
|
|
18
18
|
import { n as activateProviderContextStrict, r as buildProviderContext, t as activateProviderContext } from "../index-DtwGhFFQ.mjs";
|
|
19
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-
|
|
20
|
-
import { a as agents, s as sessions } from "../schema-
|
|
21
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-
|
|
19
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-DXW-voCe.mjs";
|
|
20
|
+
import { a as agents, s as sessions } from "../schema-D1HrnvT7.mjs";
|
|
21
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-KMxsPJwm.mjs";
|
|
22
22
|
import { t as TurnStorageNamespace } from "../namespace-LUNf8zo5.mjs";
|
|
23
23
|
import { n as TurnStorageSubjects } from "../namespace-BsYKEMd8.mjs";
|
|
24
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-
|
|
24
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-DGAWYjbO.mjs";
|
|
25
25
|
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-Cr9lh21j.mjs";
|
|
26
26
|
import { t as ToolApprovalService } from "../index-BvLXySoB2.mjs";
|
|
27
27
|
import { t as TrayMenuService } from "../index-DUD7wikz2.mjs";
|
|
@@ -31,7 +31,7 @@ import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModel
|
|
|
31
31
|
import { a as InternalPendingRequest, c as SubagentServiceToken, i as InputResolver, l as subagentServicePackage, n as TrackOptions, o as SpawnOptions, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as SubagentService } from "../index-C23g_M_J2.mjs";
|
|
32
32
|
import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-DWfo0wp4.mjs";
|
|
33
33
|
import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-Di1A3DMm.mjs";
|
|
34
|
-
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-
|
|
34
|
+
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-D-9zNyAM2.mjs";
|
|
35
35
|
import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-D8P8Sxce2.mjs";
|
|
36
36
|
import * as _$zod from "zod";
|
|
37
37
|
import { z } from "zod";
|
|
@@ -1331,13 +1331,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1331
1331
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1332
1332
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1333
1333
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1334
|
-
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1335
1334
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1336
1335
|
label: _$zod.ZodString;
|
|
1337
1336
|
url: _$zod.ZodString;
|
|
1338
1337
|
}, _$zod_v4_core0.$strict>>>;
|
|
1339
1338
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1340
1339
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1340
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1341
1341
|
name: _$zod.ZodString;
|
|
1342
1342
|
enabled: _$zod.ZodBoolean;
|
|
1343
1343
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1356,13 +1356,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1356
1356
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1357
1357
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1358
1358
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1359
|
-
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1360
1359
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1361
1360
|
label: _$zod.ZodString;
|
|
1362
1361
|
url: _$zod.ZodString;
|
|
1363
1362
|
}, _$zod_v4_core0.$strict>>>;
|
|
1364
1363
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1365
1364
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1365
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1366
1366
|
name: _$zod.ZodString;
|
|
1367
1367
|
enabled: _$zod.ZodBoolean;
|
|
1368
1368
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1384,8 +1384,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1384
1384
|
name: _$zod.ZodString;
|
|
1385
1385
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1386
1386
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1387
|
-
enabled: "enabled";
|
|
1388
1387
|
disabled: "disabled";
|
|
1388
|
+
enabled: "enabled";
|
|
1389
1389
|
visible: "visible";
|
|
1390
1390
|
}>>>;
|
|
1391
1391
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1411,8 +1411,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1411
1411
|
name: _$zod.ZodString;
|
|
1412
1412
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1413
1413
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1414
|
-
enabled: "enabled";
|
|
1415
1414
|
disabled: "disabled";
|
|
1415
|
+
enabled: "enabled";
|
|
1416
1416
|
visible: "visible";
|
|
1417
1417
|
}>>>;
|
|
1418
1418
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1438,8 +1438,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1438
1438
|
name: _$zod.ZodString;
|
|
1439
1439
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1440
1440
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1441
|
-
enabled: "enabled";
|
|
1442
1441
|
disabled: "disabled";
|
|
1442
|
+
enabled: "enabled";
|
|
1443
1443
|
visible: "visible";
|
|
1444
1444
|
}>>>;
|
|
1445
1445
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1502,8 +1502,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1502
1502
|
name: _$zod.ZodString;
|
|
1503
1503
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1504
1504
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1505
|
-
enabled: "enabled";
|
|
1506
1505
|
disabled: "disabled";
|
|
1506
|
+
enabled: "enabled";
|
|
1507
1507
|
visible: "visible";
|
|
1508
1508
|
}>>>;
|
|
1509
1509
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1651,8 +1651,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1651
1651
|
openai: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1652
1652
|
}, _$zod_v4_core0.$strip>>;
|
|
1653
1653
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1654
|
-
enabled: "enabled";
|
|
1655
1654
|
disabled: "disabled";
|
|
1655
|
+
enabled: "enabled";
|
|
1656
1656
|
visible: "visible";
|
|
1657
1657
|
}>>>;
|
|
1658
1658
|
modelFilterMode: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -1668,8 +1668,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1668
1668
|
name: _$zod.ZodString;
|
|
1669
1669
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1670
1670
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1671
|
-
enabled: "enabled";
|
|
1672
1671
|
disabled: "disabled";
|
|
1672
|
+
enabled: "enabled";
|
|
1673
1673
|
visible: "visible";
|
|
1674
1674
|
}>>>;
|
|
1675
1675
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1694,8 +1694,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1694
1694
|
openai: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1695
1695
|
}, _$zod_v4_core0.$strip>>>;
|
|
1696
1696
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1697
|
-
enabled: "enabled";
|
|
1698
1697
|
disabled: "disabled";
|
|
1698
|
+
enabled: "enabled";
|
|
1699
1699
|
visible: "visible";
|
|
1700
1700
|
}>>>;
|
|
1701
1701
|
enabled: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
@@ -1708,8 +1708,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1708
1708
|
name: _$zod.ZodString;
|
|
1709
1709
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1710
1710
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1711
|
-
enabled: "enabled";
|
|
1712
1711
|
disabled: "disabled";
|
|
1712
|
+
enabled: "enabled";
|
|
1713
1713
|
visible: "visible";
|
|
1714
1714
|
}>>>;
|
|
1715
1715
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1736,8 +1736,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1736
1736
|
name: _$zod.ZodString;
|
|
1737
1737
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1738
1738
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1739
|
-
enabled: "enabled";
|
|
1740
1739
|
disabled: "disabled";
|
|
1740
|
+
enabled: "enabled";
|
|
1741
1741
|
visible: "visible";
|
|
1742
1742
|
}>>>;
|
|
1743
1743
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1771,8 +1771,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1771
1771
|
name: _$zod.ZodString;
|
|
1772
1772
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1773
1773
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1774
|
-
enabled: "enabled";
|
|
1775
1774
|
disabled: "disabled";
|
|
1775
|
+
enabled: "enabled";
|
|
1776
1776
|
visible: "visible";
|
|
1777
1777
|
}>>>;
|
|
1778
1778
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1803,8 +1803,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1803
1803
|
name: _$zod.ZodString;
|
|
1804
1804
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1805
1805
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1806
|
-
enabled: "enabled";
|
|
1807
1806
|
disabled: "disabled";
|
|
1807
|
+
enabled: "enabled";
|
|
1808
1808
|
visible: "visible";
|
|
1809
1809
|
}>>>;
|
|
1810
1810
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1843,13 +1843,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1843
1843
|
displayName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1844
1844
|
protocol: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1845
1845
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1846
|
-
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1847
1846
|
helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1848
1847
|
label: _$zod.ZodString;
|
|
1849
1848
|
url: _$zod.ZodString;
|
|
1850
1849
|
}, _$zod_v4_core0.$strict>>>;
|
|
1851
1850
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1852
1851
|
providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1852
|
+
settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
1853
1853
|
name: _$zod.ZodString;
|
|
1854
1854
|
enabled: _$zod.ZodBoolean;
|
|
1855
1855
|
bindings: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1908,8 +1908,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1908
1908
|
name: _$zod.ZodString;
|
|
1909
1909
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1910
1910
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1911
|
-
enabled: "enabled";
|
|
1912
1911
|
disabled: "disabled";
|
|
1912
|
+
enabled: "enabled";
|
|
1913
1913
|
visible: "visible";
|
|
1914
1914
|
}>>>;
|
|
1915
1915
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -1928,8 +1928,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
1928
1928
|
name: _$zod.ZodString;
|
|
1929
1929
|
endpointOverrides: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
1930
1930
|
modelVisibility: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodEnum<{
|
|
1931
|
-
enabled: "enabled";
|
|
1932
1931
|
disabled: "disabled";
|
|
1932
|
+
enabled: "enabled";
|
|
1933
1933
|
visible: "visible";
|
|
1934
1934
|
}>>>;
|
|
1935
1935
|
modelFilterMode: _$zod.ZodEnum<{
|
|
@@ -3256,9 +3256,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3256
3256
|
changed: _$zod.ZodObject<{
|
|
3257
3257
|
ruleId: _$zod.ZodString;
|
|
3258
3258
|
changeType: _$zod.ZodEnum<{
|
|
3259
|
-
updated: "updated";
|
|
3260
|
-
deleted: "deleted";
|
|
3261
3259
|
created: "created";
|
|
3260
|
+
deleted: "deleted";
|
|
3261
|
+
updated: "updated";
|
|
3262
3262
|
}>;
|
|
3263
3263
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
3264
3264
|
scope: _$zod.ZodEnum<{
|
|
@@ -3460,9 +3460,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3460
3460
|
}, _$zod_v4_core0.$strip>;
|
|
3461
3461
|
response: _$zod.ZodObject<{
|
|
3462
3462
|
state: _$zod.ZodEnum<{
|
|
3463
|
+
created: "created";
|
|
3463
3464
|
running: "running";
|
|
3464
3465
|
stopped: "stopped";
|
|
3465
|
-
created: "created";
|
|
3466
3466
|
destroyed: "destroyed";
|
|
3467
3467
|
}>;
|
|
3468
3468
|
sessionId: _$zod.ZodString;
|
|
@@ -3808,8 +3808,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3808
3808
|
id: _$zod.ZodString;
|
|
3809
3809
|
config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
3810
3810
|
enabled: _$zod.ZodBoolean;
|
|
3811
|
-
scope: _$zod.ZodString;
|
|
3812
3811
|
extensionName: _$zod.ZodString;
|
|
3812
|
+
scope: _$zod.ZodString;
|
|
3813
3813
|
}, _$zod_v4_core0.$strip>;
|
|
3814
3814
|
}, _$zod_v4_core0.$strip>;
|
|
3815
3815
|
response: _$zod.ZodObject<{
|
|
@@ -3856,18 +3856,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
3856
3856
|
changed: _$zod.ZodObject<{
|
|
3857
3857
|
path: _$zod.ZodString;
|
|
3858
3858
|
kind: _$zod.ZodEnum<{
|
|
3859
|
-
change: "change";
|
|
3860
3859
|
create: "create";
|
|
3861
3860
|
delete: "delete";
|
|
3861
|
+
change: "change";
|
|
3862
3862
|
}>;
|
|
3863
3863
|
}, _$zod_v4_core0.$strip>;
|
|
3864
3864
|
batch: _$zod.ZodObject<{
|
|
3865
3865
|
changes: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3866
3866
|
path: _$zod.ZodString;
|
|
3867
3867
|
kind: _$zod.ZodEnum<{
|
|
3868
|
-
change: "change";
|
|
3869
3868
|
create: "create";
|
|
3870
3869
|
delete: "delete";
|
|
3870
|
+
change: "change";
|
|
3871
3871
|
}>;
|
|
3872
3872
|
}, _$zod_v4_core0.$strip>>;
|
|
3873
3873
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -5627,8 +5627,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
5627
5627
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5628
5628
|
readiness: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5629
5629
|
ready: "ready";
|
|
5630
|
-
"missing-credentials": "missing-credentials";
|
|
5631
5630
|
"needs-setup": "needs-setup";
|
|
5631
|
+
"missing-credentials": "missing-credentials";
|
|
5632
5632
|
}>>;
|
|
5633
5633
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5634
5634
|
protocol: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -6282,11 +6282,11 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
|
|
|
6282
6282
|
create: {
|
|
6283
6283
|
request: _$zod.ZodObject<{
|
|
6284
6284
|
name: _$zod.ZodString;
|
|
6285
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
6285
6286
|
adapterName: _$zod.ZodString;
|
|
6286
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6287
6287
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6288
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
6289
6288
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6289
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6290
6290
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6291
6291
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6292
6292
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
package/dist/services/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{TurnStorageNamespace as e,TurnStorageSubjects as t}from"./turn/namespace.mjs";import{agents as n,sessions as r}from"./session/storage/schema.mjs";import{n as i,t as a}from"../schema-DHlTAy0N.mjs";import{t as o}from"../schema-D6WAI8OL.mjs";import{i as s,n as c,r as l,t as u}from"../namespace-C-piH3w4.mjs";import{SessionStorageNamespace as d,SessionStorageSubjects as f}from"./session/storage/namespace.mjs";import{A as p,C as m,D as ee,E as h,F as te,M as ne,N as re,O as ie,P as g,S as ae,T as oe,_ as se,a as ce,b as le,c as ue,d as de,f as fe,g as pe,h as me,i as he,j as ge,k as _e,l as ve,m as ye,n as be,o as xe,p as Se,r as Ce,s as we,t as Te,u as _,v,w as y,x as b,y as x}from"../handlers-BAycjV02.mjs";import{A as S,B as C,C as w,E as T,F as E,G as D,H as O,I as Ee,J as De,K as Oe,L as ke,M as Ae,N as je,O as Me,P as Ne,R as Pe,S as Fe,T as Ie,U as Le,V as Re,W as ze,X as Be,Y as Ve,_ as He,a as Ue,b as We,c as Ge,d as Ke,g as qe,h as Je,i as Ye,j as Xe,k as Ze,l as Qe,m as $e,o as et,p as tt,q as nt,r as rt,s as it,t as at,u as ot,v as st,w as ct,x as lt,y as ut,z as dt}from"../session-0nWT4st6.mjs";import{t as ft}from"../namespace-DBHwyhME.mjs";import{n as pt,r as mt,t as ht}from"../provider-context-DC_eq7es.mjs";import{AdapterRuntimeSchemas as gt,ResolveIdRequestSchema as _t,ResolveIdResponseSchema as vt,ResolveNameRequestSchema as yt,ResolveNameResponseSchema as bt}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as k,AdapterRuntimeSubjects as xt}from"./adapter-runtime/namespace.mjs";import{ProviderStorageNamespace as St}from"./settings/storage/providers-namespace.mjs";import{ContainerIsolatedExecutionTargetSchema as Ct,ContainerLocalExecutionTargetSchema as wt,ExecutionTargetInputSchema as Tt,ExecutionTargetListQuerySchema as Et,ExecutionTargetResolveRequestSchema as Dt,ExecutionTargetSchema as Ot,ExecutionTargetSchemas as kt,ExecutionTargetTypeSchema as At,LocalExecutionTargetSchema as jt}from"./execution-target/schemas.mjs";import{ExecutionTargetNamespace as A,ExecutionTargetSubjects as Mt}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Nt,MessageStorageSubjects as Pt}from"./session/messages/namespace.mjs";import{TurnStorageNamespace as Ft}from"./session/turns/namespace.mjs";import{BugEntrySchema as It,CompressRequestSchema as Lt,CompressResponseSchema as Rt,CompressionEventSchema as zt,CompressionSchemas as Bt,ExtractedContextSchema as Vt,TechnicalDetailsSchema as Ht,TodoEntrySchema as Ut}from"./compression/schemas.mjs";import{PreferenceItemSchema as Wt,PreferenceKeySchema as Gt,PreferenceValueSchema as Kt,PreferencesSchemas as qt}from"./preferences/schemas.mjs";import{PreferencesNamespace as j,PreferencesSubjects as Jt}from"./preferences/storage-namespace.mjs";import{t as Yt}from"../namespace-wke7juzy.mjs";import{A as Xt,B as Zt,C as Qt,D as $t,E as en,F as tn,G as nn,H as rn,I as an,J as on,K as sn,L as cn,M as ln,N as un,O as dn,P as fn,R as pn,S as mn,T as hn,U as gn,V as _n,W as vn,Y as yn,_ as bn,a as M,b as xn,c as Sn,d as Cn,f as N,g as P,h as wn,i as F,j as Tn,k as En,l as Dn,m as On,o as kn,p as I,q as An,r as jn,s as L,u as Mn,v as R,w as Nn,x as Pn,y as Fn,z as In}from"../tools-DFOsOboy.mjs";import{t as Ln}from"../capability-service-XlymTzz1.mjs";import{a as Rn,c as zn,i as Bn,l as Vn,n as Hn,o as z,r as Un,s as Wn,t as Gn,u as Kn}from"../model-registry-rYICIwyR.mjs";import{t as qn}from"../tool-approval-service-DEQiipxj.mjs";import{TrayMenuEntrySchema as Jn,TrayMenuGroupEntrySchema as Yn,TrayMenuGroupSchema as Xn,TrayMenuItemClickedSchema as Zn,TrayMenuListEntrySchema as Qn,TrayMenuMetadataSchema as $n,TrayMenuSchemas as er,TrayMenuSectionSchema as tr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as B,TrayMenuSubjects as nr}from"./tray-menu/namespace.mjs";import{t as rr}from"../tray-menu-service-B2AxiQqL.mjs";import{n as ir}from"../handler-2bPhRn0u.mjs";import{i as ar,n as or,r as sr,t as cr}from"../package-CF_Zm2v4.mjs";import{FsNamespace as lr}from"./filesystem/namespace.mjs";import"./capability/index.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as ur,AgentRuntimeSchemas as dr,AgentRuntimeSelectionSchema as fr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as V,AgentRuntimeSubjects as pr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as mr,CodebaseSchemas as hr}from"./codebase/schemas.mjs";import{CodebaseNamespace as H,CodebaseSubjects as gr}from"./codebase/namespace.mjs";import{CompressionNamespace as U,CompressionSubjects as _r}from"./compression/namespace.mjs";import{r as vr,t as yr}from"../storage-namespace-D5q9CrBp.mjs";import{DefinitionNamespace as br}from"./definition/namespace.mjs";import{DialogNamespace as xr}from"./dialog/namespace.mjs";import{_ as Sr,c as Cr,d as wr,f as Tr,g as Er,h as Dr,i as Or,l as kr,m as Ar,n as jr,o as Mr,p as Nr,r as W,s as Pr,t as Fr,u as Ir,v as Lr,y as Rr}from"../execution-target-BR8bLkCR.mjs";import{CLIDetectionNamespace as zr}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as Br}from"./local-notification/namespace.mjs";import{t as Vr}from"../namespace-CVMZVqB5.mjs";import{ExtensionConfigStorageNamespace as Hr}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as Ur}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as Wr,SubagentTemplateCreateSchema as Gr,SubagentTemplateInstanceSchema as Kr,SubagentTemplateInstanceStatusSchema as qr,SubagentTemplateKernelSchemas as Jr,SubagentTemplateSchema as Yr,SubagentTemplateSettingsSchemas as Xr,SubagentTemplateSpawnRequestSchema as Zr,SubagentTemplateSpawnedEventSchema as Qr,SubagentTemplateSummarySchema as $r,SubagentTemplateUpdateSchema as ei}from"./subagent-template/schemas.mjs";import{r as ti,t as ni}from"../namespace-BO3tODGC.mjs";import{SubagentTemplateKernelNamespace as G,SubagentTemplateSubjects as ri}from"./subagent-template/namespace.mjs";import{i as ii,n as ai,r as oi,t as si}from"../identity-BarL3JYI.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 li}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as ui}from"@makaio/framework/contracts/model-registry";function di(e){return{source:`extension`,ownerKey:`extension:${e}`}}function fi(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function pi(){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)}fi(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(M);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=di(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 hi(){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(F);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)}}}}async function gi(e){let t=e.maxDepth??5,n={bus:e.bus,kindRegistry:e.kindRegistry,maxDepth:t,resolvedByKey:new Map,kindDefaultsCache:new Map,walkedByKey:new Set,resolved:[],refs:[]},r=await q(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 K(n,r,Y(await J(n,r),e.selectors),0,new Set([Z(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function K(e,t,n,r,i){let a=xi(t,n,r);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=bi(t);for(let a of t.relations)await _i(e,o,a,n,r,i)}async function _i(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!vi(o,n.target)){e.refs.push(X(t,n,s,`not-selected`));return}if(n.target.refClass!==`artifact`){e.refs.push(X(t,n,s,`unsupported-ref-class`));return}if(i>=e.maxDepth){e.refs.push(X(t,n,s,`depth-exceeded`));return}let c=Z(n.target);if(a.has(c)){e.refs.push(X(t,n,s,`cycle-detected`));return}let l=e.resolvedByKey.has(c),u=await q(e,n.target);if(!u){e.refs.push(X(t,n,s,`not-found`));return}e.refs.push({sourceRef:t,target:n.target,relationType:n.type,hint:s,status:`resolved`}),l||e.resolved.push(u);let d=(o.depth??1)-1,f=d>0?{[n.type]:{...o,depth:d}}:void 0,p=Y(Y(await J(e,u),f),o.nested),m=new Set(a);m.add(c),await K(e,u,p,i+1,m)}async function q(e,t){let n=Z(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}async function J(e,t){let n=JSON.stringify([t.kind,t.schemaVersion]);if(e.kindDefaultsCache.has(n))return e.kindDefaultsCache.get(n);let r=(await e.kindRegistry.getKind(t.kind,t.schemaVersion))?.defaultContext;return e.kindDefaultsCache.set(n,r),r}function Y(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 vi(e,t){return e?e.kinds?e.kinds.includes(yi(t)):!0:!1}function yi(e){return e.refClass===`local`?e.artifact.kind:e.kind}function X(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,hint:n,status:`unresolved`,reason:r}}function bi(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Z(e){return JSON.stringify([e.kind,e.id,e.revision])}function xi(e,t,n){return JSON.stringify([e.kind,e.id,e.revision,n,t??null])}function Q(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function Si(){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)}Q(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(L);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 Q(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 $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerBinding(e)}function Ci(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerBinding(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.deregisterBinding(t.id)}$(e,n.registry)}};return{filter:e=>(e.surfaceBindings?.bindings?.length??0)>0,async processActivated(r,i,a){let o=a.getService(I);if(!o)throw Error(`SurfaceBindingRegistry is not available — ensure surface-binding-registry is started before extensions with surfaceBindings.`);let s=(i.surfaceBindings?.bindings??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerBinding(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterBinding(l[e].id);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[SurfaceBindingContributionProcessor] 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(R);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 Ti(){let e=new Map;return{filter:e=>!!(e.transitionRules?.rules?.length||e.transitionActions?.actions),async processActivated(t,n,r){let i=r.getService(P);if(!i)throw Error(`TransitionContributionProcessor: TransitionPipelineService is not available — ensure '${P.name}' is started before extensions with transitionRules or transitionActions.`);let a=n.transitionRules?.rules??[],o=n.transitionActions?.actions,s=a.length>0,c=o!==void 0;s&&Ei(t,a),c&&Di(t,o);let l=!1,u=!1;try{s&&(i.ruleRegistry.register(t,a),l=!0),c&&(i.actionRegistry.register(t,o),u=!0)}catch(e){throw l&&i.ruleRegistry.deregister(t),u&&i.actionRegistry.deregister(t),e}e.set(t,()=>{s&&i.ruleRegistry.deregister(t),c&&i.actionRegistry.deregister(t)})},async processStopped(t){let n=e.get(t);if(n){try{n()}catch(e){console.error(`[TransitionContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function Ei(e,t){let n=`${e}.`;for(let e of t)if(!e.id.startsWith(n))throw Error(`TransitionContributionProcessor: rule '${e.id}' must be namespaced by extension '${n}'`)}function Di(e,t){let n=`${e}.`;for(let e of Object.keys(t))if(!e.startsWith(n))throw Error(`TransitionContributionProcessor: action type '${e}' must be namespaced by extension '${n}'`)}const Oi=[k,ft,V,g,zr,Ur,H,U,vr,yr,br,xr,W,A,Hr,lr,ir,li,Br,C,z,ui,j,Vr,St,Yt,ni,B,e,G,ti];export{si as AdapterIdentityRegistry,De as AdapterRegistry,k as AdapterRuntimeNamespace,gt as AdapterRuntimeSchemas,xt as AdapterRuntimeSubjects,ur as AgentInstanceStatusSchema,V as AgentRuntimeNamespace,dr as AgentRuntimeSchemas,fr as AgentRuntimeSelectionSchema,pr as AgentRuntimeSubjects,g as AgentStorageNamespace,te as AgentStorageSubjects,An as ArtifactLifecycleHookRegistry,F as ArtifactLifecycleHookRegistryToken,on as ArtifactLifecycleHookRejectedError,yn as ArtifactSchemaRegistry,M as ArtifactSchemaRegistryToken,It as BugEntrySchema,Ae as CONNECTOR_SWAP_DEFAULT_PIPELINE,Gn as CachedRegistryFetcher,vn as CanonicalModelResolutionError,gn as CanonicalModelResolver,rn as CanonicalModelService,Ln as CapabilityService,kn as CapabilityToken,mr as CodebaseChangedEventSchema,H as CodebaseNamespace,hr as CodebaseSchemas,gr as CodebaseSubjects,Lt as CompressRequestSchema,Rt as CompressResponseSchema,zt as CompressionEventSchema,U as CompressionNamespace,Bt as CompressionSchemas,_r as CompressionSubjects,Mr as ContainerCreatedSchema,Pr as ContainerDestroyedSchema,Ct as ContainerIsolatedExecutionTargetSchema,Cr as ContainerIsolatedSpawnRequestSchema,wt as ContainerLocalExecutionTargetSchema,kr as ContainerLocalSpawnRequestSchema,Ir as ContainerRuntimeSchema,Fr as ContainerSpawnNamespace,jr as ContainerSpawnSubjects,wr as ContainerStartedSchema,Tr as ContainerStateSchema,Nr as ContainerStoppedSchema,at as ContextWindowTracker,W as DockerNamespace,Or as DockerSubjects,it as EmbeddingIndexManager,Tt as ExecutionTargetInputSchema,Et as ExecutionTargetListQuerySchema,A as ExecutionTargetNamespace,Dt as ExecutionTargetResolveRequestSchema,Ot as ExecutionTargetSchema,kt as ExecutionTargetSchemas,Mt as ExecutionTargetSubjects,At as ExecutionTargetTypeSchema,Vt as ExtractedContextSchema,sn as FacetNamespaceRegistry,L as FacetNamespaceRegistryToken,Hn as FallbackRegistryFetcher,Oi as FrameworkServicesCoreNamespaces,jt as LocalExecutionTargetSchema,et as MakaioSession,Ve as MakaioSessionService,C as MessageRoutingNamespace,Re as MessageRoutingSubjects,Nt as MessageStorageNamespace,Pt as MessageStorageSubjects,z as ModelRegistryNamespace,Un as ModelRegistryProviderNotFoundError,zn as ModelRegistrySchema,Vn as ModelRegistrySchemas,Bn as ModelRegistryService,Wn as ModelRegistrySubjects,Sn as ModelRegistryToken,Wt as PreferenceItemSchema,Gt as PreferenceKeySchema,Kt as PreferenceValueSchema,j as PreferencesNamespace,qt as PreferencesSchemas,Jt as PreferencesSubjects,Kn as ProviderModelOverrideSchema,_t as ResolveIdRequestSchema,vt as ResolveIdResponseSchema,yt as ResolveNameRequestSchema,bt as ResolveNameResponseSchema,S as SessionBridge,Dn as SessionBridgeToken,u as SessionEventStorageNamespace,c as SessionEventStorageSubjects,Me as SessionExtensionContextImpl,Ke as SessionLogger,ke as SessionOrchestrator,Mn as SessionOrchestratorToken,d as SessionStorageNamespace,f as SessionStorageSubjects,Cn as SessionStorageToken,N as SessionToken,Pe as SessionTurnManager,Ar as SpawnRequestSchema,Dr as SpawnResponseSchema,Er as StatusRequestSchema,Sr as StatusResponseSchema,Lr as StopRequestSchema,Rr as StopResponseSchema,ar as SubagentManager,sr as SubagentService,cr as SubagentServiceToken,Wr as SubagentTemplateCompletedEventSchema,Gr as SubagentTemplateCreateSchema,Kr as SubagentTemplateInstanceSchema,qr as SubagentTemplateInstanceStatusSchema,G as SubagentTemplateKernelNamespace,Jr as SubagentTemplateKernelSchemas,Yr as SubagentTemplateSchema,Xr as SubagentTemplateSettingsSchemas,Zr as SubagentTemplateSpawnRequestSchema,Qr as SubagentTemplateSpawnedEventSchema,ri as SubagentTemplateSubjects,$r as SubagentTemplateSummarySchema,ei as SubagentTemplateUpdateSchema,nn as SurfaceBindingRegistry,I as SurfaceBindingRegistryToken,Ht as TechnicalDetailsSchema,Ut as TodoEntrySchema,qn as ToolApprovalService,On as ToolApprovalToken,Zt as ToolRegistry,wn as ToolRegistryToken,cn as TransitionActionRegistry,tn as TransitionPipelineService,P as TransitionPipelineToken,an as TransitionRuleRegistry,Jn as TrayMenuEntrySchema,Yn as TrayMenuGroupEntrySchema,Xn as TrayMenuGroupSchema,Zn as TrayMenuItemClickedSchema,Qn as TrayMenuListEntrySchema,$n as TrayMenuMetadataSchema,B as TrayMenuNamespace,er as TrayMenuSchemas,tr as TrayMenuSectionSchema,rr as TrayMenuService,nr as TrayMenuSubjects,bn as TrayMenuToken,x as Turn,Ee as TurnContextEnricher,Ft as TurnStorageNamespace,t as TurnStorageSubjects,pn as WORKFLOW_START_ACTION_TYPE,In as WorkflowBlockRegistry,R as WorkflowBlockRegistryToken,_e as actionRegistry,ht as activateProviderContext,pt as activateProviderContextStrict,n as agents,Fn as artifactLifecycleHookRegistryPackage,xn as artifactSchemaRegistryPackage,be as assembleForkContext,ai as buildDeterministicAdapterId,mt as buildProviderContext,ee as buildRecoveryContext,ae as buildRecoveryContextWithPipeline,p as buildSessionContext,Se as buildTurnInitiator,_n as canonicalModelPackage,Pn as capabilityPackage,pi as createArtifactKindContributionProcessor,hi as createArtifactLifecycleHookContributionProcessor,Si as createFacetNamespaceContributionProcessor,mn as createModelRegistryPackage,Ze as createSessionExtensionContext,Ci as createSurfaceBindingContributionProcessor,jn as createToolContributionProcessor,Ti as createTransitionContributionProcessor,wi as createWorkflowBlockContributionProcessor,m as ensureAgentCwd,y as ensureAgentModel,se as extractTextContent,Qt as facetNamespaceRegistryPackage,$e as fetchAgentsBySession,Je as fetchMessageCountsBySession,qe as fetchPreviewBySession,lt as fetchSessionPreviewMaps,ye as findTurnByAgent,Nn as frameworkCorePackages,ie as getFullConversation,me as getOrCreateSession,Qe as importCursors,ot as importCursorsDual,T as kindToBranchKind,Fe as mapAgentsBySession,He as mapRowToSession,w as mapToSession,Rn as mergeModelMetadata,O as messageRouting,Le as messageRoutingDual,o as messages,de as normalizeSelectionString,v as normalizeToBlocks,st as parseForkTransforms,Xe as pickFallbackRuntimeOptions,oe as recoverAgent,ue as registerAbandonHandler,oi as registerAdapterRuntimeIdentityHandlers,_ as registerAttachHandler,xe as registerBuiltInActions,ce as registerCompressHandler,Ye as registerCompressLineageResolver,Be as registerCoreSessionServiceHandlers,ct as registerDrizzleAgentStorage,Ge as registerDrizzleImportCursorStorage,dt as registerDrizzleMessageRoutingStorage,D as registerDrizzleMessageStorage,Oe as registerDrizzleSessionEventStorage,We as registerDrizzleSessionStorage,b as registerDrizzleTurnStorage,he as registerForkHandler,tt as registerFtsSearchHandler,Ne as registerGetStatusCountsHandler,je as registerListActionsHandler,ut as registerMemoryAgentStorage,ze as registerMemoryMessageStorage,nt as registerMemorySessionEventStorage,Ie as registerMemorySessionStorage,le as registerMemoryTurnStorage,Ce as registerMergeHandler,Ue as registerParentResolver,E as registerResumeHandler,rt as registerSpawningToolCallResolver,we as resetBuiltInActionsRegistration,ge as resolveAdapterId,fe as resolveAdapterNameById,gi as resolveArtifactContext,ii as resolveDeterministicAdapterId,ne as resolveExecutionTarget,re as resolveModelCapabilities,pe as resolveTargetAgents,Te as routeToAgents,ve as routeToAgentsCore,hn as sessionBridgePackage,l as sessionEvents,s as sessionEventsDual,en as sessionOrchestratorPackage,$t as sessionPackage,dn as sessionStoragePackage,r as sessions,or as subagentServicePackage,En as surfaceBindingRegistryPackage,Xt as toolApprovalPackage,Tn as toolRegistryPackage,ln as transitionPipelinePackage,un as trayMenuPackage,a as turns,i as turnsDual,h as verifyAndRecoverAgents,fn as workflowBlockRegistryPackage};
|
|
1
|
+
import{TurnStorageNamespace as e,TurnStorageSubjects as t}from"./turn/namespace.mjs";import{agents as n,sessions as r}from"./session/storage/schema.mjs";import{n as i,t as a}from"../schema-DHlTAy0N.mjs";import{t as o}from"../schema-D6WAI8OL.mjs";import{i as s,n as c,r as l,t as u}from"../namespace-C-piH3w4.mjs";import{SessionStorageNamespace as d,SessionStorageSubjects as f}from"./session/storage/namespace.mjs";import{A as p,C as m,D as h,E as ee,F as g,M as te,N as ne,O as re,P as _,S as ie,T as ae,_ as oe,a as se,b as ce,c as le,d as ue,f as de,g as fe,h as pe,i as me,j as he,k as ge,l as _e,m as ve,n as ye,o as be,p as xe,r as Se,s as Ce,t as we,u as Te,v as Ee,w as v,x as y,y as b}from"../handlers-BAycjV02.mjs";import{A as x,B as S,C,E as w,F as T,G as E,H as D,I as De,J as Oe,K as ke,L as Ae,M as je,N as Me,O as Ne,P as Pe,R as Fe,S as Ie,T as Le,U as Re,V as ze,W as Be,X as Ve,Y as He,_ as Ue,a as We,b as Ge,c as Ke,d as qe,g as Je,h as Ye,i as Xe,j as Ze,k as Qe,l as $e,m as et,o as tt,p as nt,q as rt,r as it,s as at,t as ot,u as st,v as ct,w as lt,x as ut,y as dt,z as ft}from"../session-0nWT4st6.mjs";import{t as pt}from"../namespace-DBHwyhME.mjs";import{n as mt,r as ht,t as gt}from"../provider-context-DC_eq7es.mjs";import{AdapterRuntimeSchemas as _t,ResolveIdRequestSchema as vt,ResolveIdResponseSchema as yt,ResolveNameRequestSchema as bt,ResolveNameResponseSchema as xt}from"./adapter-runtime/schemas.mjs";import{AdapterRuntimeNamespace as O,AdapterRuntimeSubjects as St}from"./adapter-runtime/namespace.mjs";import{ProviderStorageNamespace as Ct}from"./settings/storage/providers-namespace.mjs";import{ContainerIsolatedExecutionTargetSchema as wt,ContainerLocalExecutionTargetSchema as Tt,ExecutionTargetInputSchema as Et,ExecutionTargetListQuerySchema as Dt,ExecutionTargetResolveRequestSchema as Ot,ExecutionTargetSchema as kt,ExecutionTargetSchemas as At,ExecutionTargetTypeSchema as jt,LocalExecutionTargetSchema as Mt}from"./execution-target/schemas.mjs";import{ExecutionTargetNamespace as k,ExecutionTargetSubjects as Nt}from"./execution-target/namespace.mjs";import{MessageStorageNamespace as Pt,MessageStorageSubjects as Ft}from"./session/messages/namespace.mjs";import{TurnStorageNamespace as It}from"./session/turns/namespace.mjs";import{BugEntrySchema as Lt,CompressRequestSchema as Rt,CompressResponseSchema as zt,CompressionEventSchema as Bt,CompressionSchemas as Vt,ExtractedContextSchema as Ht,TechnicalDetailsSchema as Ut,TodoEntrySchema as Wt}from"./compression/schemas.mjs";import{PreferenceItemSchema as Gt,PreferenceKeySchema as Kt,PreferenceValueSchema as qt,PreferencesSchemas as Jt}from"./preferences/schemas.mjs";import{PreferencesNamespace as A,PreferencesSubjects as Yt}from"./preferences/storage-namespace.mjs";import{t as Xt}from"../namespace-wke7juzy.mjs";import{A as Zt,B as Qt,C as $t,D as en,E as tn,F as nn,G as rn,H as an,I as on,J as sn,K as cn,L as ln,M as un,N as dn,O as fn,P as pn,R as mn,S as hn,T as gn,U as _n,V as vn,W as yn,Y as bn,_ as xn,a as j,b as Sn,c as Cn,d as wn,f as M,g as N,h as Tn,i as P,j as En,k as Dn,l as On,m as kn,o as An,p as F,q as jn,r as Mn,s as I,u as Nn,v as L,w as Pn,x as Fn,y as In,z as Ln}from"../tools-DFOsOboy.mjs";import{t as Rn}from"../capability-service-XlymTzz1.mjs";import{a as zn,c as Bn,i as Vn,l as Hn,n as Un,o as R,r as Wn,s as Gn,t as Kn,u as qn}from"../model-registry-rYICIwyR.mjs";import{t as Jn}from"../tool-approval-service-DEQiipxj.mjs";import{TrayMenuEntrySchema as Yn,TrayMenuGroupEntrySchema as Xn,TrayMenuGroupSchema as Zn,TrayMenuItemClickedSchema as Qn,TrayMenuListEntrySchema as $n,TrayMenuMetadataSchema as er,TrayMenuSchemas as tr,TrayMenuSectionSchema as nr}from"./tray-menu/schemas.mjs";import{TrayMenuNamespace as z,TrayMenuSubjects as rr}from"./tray-menu/namespace.mjs";import{t as ir}from"../tray-menu-service-B2AxiQqL.mjs";import{n as ar}from"../handler-2bPhRn0u.mjs";import{i as or,n as sr,r as cr,t as lr}from"../package-CF_Zm2v4.mjs";import{FsNamespace as ur}from"./filesystem/namespace.mjs";import"./capability/index.mjs";import"./tool-approval/index.mjs";import"./tray-menu/index.mjs";import"./subagent/index.mjs";import{AgentInstanceStatusSchema as dr,AgentRuntimeSchemas as fr,AgentRuntimeSelectionSchema as pr}from"./agent-runtime/schemas.mjs";import{AgentRuntimeNamespace as B,AgentRuntimeSubjects as mr}from"./agent-runtime/namespace.mjs";import{CodebaseChangedEventSchema as hr,CodebaseSchemas as gr}from"./codebase/schemas.mjs";import{CodebaseNamespace as V,CodebaseSubjects as _r}from"./codebase/namespace.mjs";import{CompressionNamespace as H,CompressionSubjects as vr}from"./compression/namespace.mjs";import{r as yr,t as br}from"../storage-namespace-D5q9CrBp.mjs";import{DefinitionNamespace as xr}from"./definition/namespace.mjs";import{DialogNamespace as Sr}from"./dialog/namespace.mjs";import{_ as Cr,c as wr,d as Tr,f as Er,g as Dr,h as Or,i as kr,l as Ar,m as jr,n as Mr,o as Nr,p as Pr,r as U,s as Fr,t as Ir,u as Lr,v as Rr,y as zr}from"../execution-target-BR8bLkCR.mjs";import{CLIDetectionNamespace as Br}from"./cli-detection/namespace.mjs";import{LocalNotificationNamespace as Vr}from"./local-notification/namespace.mjs";import{t as Hr}from"../namespace-CVMZVqB5.mjs";import{ExtensionConfigStorageNamespace as Ur}from"./settings/storage/extension-configs/namespace.mjs";import{ClientStorageNamespace as Wr}from"./settings/storage/clients-namespace.mjs";import{SubagentTemplateCompletedEventSchema as Gr,SubagentTemplateCreateSchema as Kr,SubagentTemplateInstanceSchema as qr,SubagentTemplateInstanceStatusSchema as Jr,SubagentTemplateKernelSchemas as Yr,SubagentTemplateSchema as Xr,SubagentTemplateSettingsSchemas as Zr,SubagentTemplateSpawnRequestSchema as Qr,SubagentTemplateSpawnedEventSchema as $r,SubagentTemplateSummarySchema as ei,SubagentTemplateUpdateSchema as ti}from"./subagent-template/schemas.mjs";import{r as ni,t as ri}from"../namespace-BO3tODGC.mjs";import{SubagentTemplateKernelNamespace as W,SubagentTemplateSubjects as ii}from"./subagent-template/namespace.mjs";import{i as ai,n as oi,r as si,t as ci}from"../identity-BarL3JYI.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 li}from"@makaio/framework/contracts";import{ImportCursorStorageNamespace as ui}from"@makaio/framework/adapters";import{ModelRegistryPublicNamespace as di}from"@makaio/framework/contracts/model-registry";function fi(e){return{source:`extension`,ownerKey:`extension:${e}`}}function pi(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerKind(e,n.owner)}function mi(){let e=new Map,t=t=>{let n=e.get(t);if(n){e.delete(t);for(let e=n.registrations.length-1;e>=0;--e){let t=n.registrations[e];n.registry.deregisterKind(t.kind,t.schemaVersion,n.owner)}pi(e,n.registry)}};return{filter:e=>(e.artifactKinds?.kinds?.length??0)>0,async processActivated(n,r,i){let a=i.getService(j);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=fi(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 hi(e,t,n){return{...n,filter:{...n.filter,kind:e,schemaVersion:t}}}function gi(){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(hi(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 _i(e){let t=e.maxDepth??5,n={bus:e.bus,kindRegistry:e.kindRegistry,maxDepth:t,resolvedByKey:new Map,kindDefaultsCache:new Map,walkedByKey:new Set,refIndexByKey:new Map,resolved:[],refs:[]},r=await K(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 G(n,r,J(await q(n,r),e.selectors),0,new Set([Z(e.ref)])),{rootRef:e.ref,refs:n.refs,resolved:n.resolved}}async function G(e,t,n,r,i){let a=wi(t,n,r,i);if(e.walkedByKey.has(a))return;e.walkedByKey.add(a);let o=xi(t);for(let a of t.relations)await vi(e,o,a,n,r,i)}async function vi(e,t,n,r,i,a){let o=r?.[n.type];if(o?.hint===`omit`)return;let s=o?.hint??`link`;if(!yi(o,n.target)){X(e,Y(t,n,s,`not-selected`));return}if(n.target.refClass!==`artifact`){X(e,Y(t,n,s,`unsupported-ref-class`));return}let c=Z(n.target),l=a.has(c);if(i>=e.maxDepth&&!l){X(e,Y(t,n,s,`depth-exceeded`));return}let u=e.resolvedByKey.has(c),d=await K(e,n.target);if(!d){X(e,Y(t,n,s,`not-found`));return}if(X(e,{sourceRef:t,target:n.target,relationType:n.type,hint:s,status:`resolved`}),u||e.resolved.push(d),l)return;let f=(o.depth??1)-1,p=f>0?{[n.type]:{...o,depth:f}}:void 0,m=J(J(await q(e,d),p),o.nested),h=new Set(a);h.add(c),await G(e,d,m,i+1,h)}async function K(e,t){let n=Z(t);if(e.resolvedByKey.has(n))return e.resolvedByKey.get(n)??null;let{artifact:r}=await e.bus.request(li.resolve,{ref:t});return e.resolvedByKey.set(n,r),r}async function q(e,t){let n=JSON.stringify([t.kind,t.schemaVersion]);if(e.kindDefaultsCache.has(n))return e.kindDefaultsCache.get(n);let r=(await e.kindRegistry.getKind(t.kind,t.schemaVersion))?.defaultContext;return e.kindDefaultsCache.set(n,r),r}function J(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 yi(e,t){return e?e.kinds?e.kinds.includes(bi(t)):!0:!1}function bi(e){return e.refClass===`local`?e.artifact.kind:e.kind}function Y(e,t,n,r){return{sourceRef:e,target:t.target,relationType:t.type,hint:n,status:`unresolved`,reason:r}}function X(e,t){let n=Si(t),r=e.refIndexByKey.get(n);if(r===void 0){e.refIndexByKey.set(n,e.refs.length),e.refs.push(t);return}t.status===`resolved`&&e.refs[r]?.status===`unresolved`&&(e.refs[r]=t)}function xi(e){return{refClass:`artifact`,kind:e.kind,id:e.id,revision:e.revision}}function Z(e){return JSON.stringify([e.kind,e.id,e.revision])}function Si(e){return JSON.stringify([Z(e.sourceRef),e.relationType,Ci(e.target)])}function Ci(e){return 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])}function wi(e,t,n,r){return JSON.stringify([e.kind,e.id,e.revision,n,t??null,[...r].sort()])}function Q(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerNamespace(e)}function Ti(){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)}Q(e,n.registry)}};return{filter:e=>(e.facetNamespaces?.namespaces?.length??0)>0,async processActivated(r,i,a){let o=a.getService(I);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 Q(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 $(e,t){for(let n of e.values())if(n.registry===t)for(let e of n.registrations)t.registerBinding(e)}function Ei(){let e=new Map,t=(t,n)=>{if(n){for(let e of n.registrations)n.registry.registerBinding(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.deregisterBinding(t.id)}$(e,n.registry)}};return{filter:e=>(e.surfaceBindings?.bindings?.length??0)>0,async processActivated(r,i,a){let o=a.getService(F);if(!o)throw Error(`SurfaceBindingRegistry is not available — ensure surface-binding-registry is started before extensions with surfaceBindings.`);let s=(i.surfaceBindings?.bindings??[]).map(e=>e.toRegistration()),c=e.get(r);n(r);let l=[];try{for(let e of s)o.registerBinding(e),l.push(e)}catch(n){for(let e=l.length-1;e>=0;--e)o.deregisterBinding(l[e].id);throw $(e,o),t(r,c),n}e.set(r,{registry:o,registrations:s})},async processStopped(e){try{n(e)}catch(t){console.error(`[SurfaceBindingContributionProcessor] Deregister error for "${e}":`,t)}}}}function Di(){let e=new Map;return{filter:e=>!!e.workflowBlocks?.blocks,async processActivated(t,n,r){let i=r.getService(L);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 Oi(){let e=new Map;return{filter:e=>!!(e.transitionRules?.rules?.length||e.transitionActions?.actions),async processActivated(t,n,r){let i=r.getService(N);if(!i)throw Error(`TransitionContributionProcessor: TransitionPipelineService is not available — ensure '${N.name}' is started before extensions with transitionRules or transitionActions.`);let a=n.transitionRules?.rules??[],o=n.transitionActions?.actions,s=a.length>0,c=o!==void 0;s&&ki(t,a),c&&Ai(t,o);let l=!1,u=!1;try{s&&(i.ruleRegistry.register(t,a),l=!0),c&&(i.actionRegistry.register(t,o),u=!0)}catch(e){throw l&&i.ruleRegistry.deregister(t),u&&i.actionRegistry.deregister(t),e}e.set(t,()=>{s&&i.ruleRegistry.deregister(t),c&&i.actionRegistry.deregister(t)})},async processStopped(t){let n=e.get(t);if(n){try{n()}catch(e){console.error(`[TransitionContributionProcessor] Deregister error for "${t}":`,e)}e.delete(t)}}}}function ki(e,t){let n=`${e}.`;for(let e of t)if(!e.id.startsWith(n))throw Error(`TransitionContributionProcessor: rule '${e.id}' must be namespaced by extension '${n}'`)}function Ai(e,t){let n=`${e}.`;for(let e of Object.keys(t))if(!e.startsWith(n))throw Error(`TransitionContributionProcessor: action type '${e}' must be namespaced by extension '${n}'`)}const ji=[O,pt,B,_,Br,Wr,V,H,yr,br,xr,Sr,U,k,Ur,ur,ar,ui,Vr,S,R,di,A,Hr,Ct,Xt,ri,z,e,W,ni];export{ci as AdapterIdentityRegistry,Oe as AdapterRegistry,O as AdapterRuntimeNamespace,_t as AdapterRuntimeSchemas,St as AdapterRuntimeSubjects,dr as AgentInstanceStatusSchema,B as AgentRuntimeNamespace,fr as AgentRuntimeSchemas,pr as AgentRuntimeSelectionSchema,mr as AgentRuntimeSubjects,_ as AgentStorageNamespace,g as AgentStorageSubjects,jn as ArtifactLifecycleHookRegistry,P as ArtifactLifecycleHookRegistryToken,sn as ArtifactLifecycleHookRejectedError,bn as ArtifactSchemaRegistry,j as ArtifactSchemaRegistryToken,Lt as BugEntrySchema,je as CONNECTOR_SWAP_DEFAULT_PIPELINE,Kn as CachedRegistryFetcher,yn as CanonicalModelResolutionError,_n as CanonicalModelResolver,an as CanonicalModelService,Rn as CapabilityService,An as CapabilityToken,hr as CodebaseChangedEventSchema,V as CodebaseNamespace,gr as CodebaseSchemas,_r as CodebaseSubjects,Rt as CompressRequestSchema,zt as CompressResponseSchema,Bt as CompressionEventSchema,H as CompressionNamespace,Vt as CompressionSchemas,vr as CompressionSubjects,Nr as ContainerCreatedSchema,Fr as ContainerDestroyedSchema,wt as ContainerIsolatedExecutionTargetSchema,wr as ContainerIsolatedSpawnRequestSchema,Tt as ContainerLocalExecutionTargetSchema,Ar as ContainerLocalSpawnRequestSchema,Lr as ContainerRuntimeSchema,Ir as ContainerSpawnNamespace,Mr as ContainerSpawnSubjects,Tr as ContainerStartedSchema,Er as ContainerStateSchema,Pr as ContainerStoppedSchema,ot as ContextWindowTracker,U as DockerNamespace,kr as DockerSubjects,at as EmbeddingIndexManager,Et as ExecutionTargetInputSchema,Dt as ExecutionTargetListQuerySchema,k as ExecutionTargetNamespace,Ot as ExecutionTargetResolveRequestSchema,kt as ExecutionTargetSchema,At as ExecutionTargetSchemas,Nt as ExecutionTargetSubjects,jt as ExecutionTargetTypeSchema,Ht as ExtractedContextSchema,cn as FacetNamespaceRegistry,I as FacetNamespaceRegistryToken,Un as FallbackRegistryFetcher,ji as FrameworkServicesCoreNamespaces,Mt as LocalExecutionTargetSchema,tt as MakaioSession,He as MakaioSessionService,S as MessageRoutingNamespace,ze as MessageRoutingSubjects,Pt as MessageStorageNamespace,Ft as MessageStorageSubjects,R as ModelRegistryNamespace,Wn as ModelRegistryProviderNotFoundError,Bn as ModelRegistrySchema,Hn as ModelRegistrySchemas,Vn as ModelRegistryService,Gn as ModelRegistrySubjects,Cn as ModelRegistryToken,Gt as PreferenceItemSchema,Kt as PreferenceKeySchema,qt as PreferenceValueSchema,A as PreferencesNamespace,Jt as PreferencesSchemas,Yt as PreferencesSubjects,qn as ProviderModelOverrideSchema,vt as ResolveIdRequestSchema,yt as ResolveIdResponseSchema,bt as ResolveNameRequestSchema,xt as ResolveNameResponseSchema,x as SessionBridge,On as SessionBridgeToken,u as SessionEventStorageNamespace,c as SessionEventStorageSubjects,Ne as SessionExtensionContextImpl,qe as SessionLogger,Ae as SessionOrchestrator,Nn as SessionOrchestratorToken,d as SessionStorageNamespace,f as SessionStorageSubjects,wn as SessionStorageToken,M as SessionToken,Fe as SessionTurnManager,jr as SpawnRequestSchema,Or as SpawnResponseSchema,Dr as StatusRequestSchema,Cr as StatusResponseSchema,Rr as StopRequestSchema,zr as StopResponseSchema,or as SubagentManager,cr as SubagentService,lr as SubagentServiceToken,Gr as SubagentTemplateCompletedEventSchema,Kr as SubagentTemplateCreateSchema,qr as SubagentTemplateInstanceSchema,Jr as SubagentTemplateInstanceStatusSchema,W as SubagentTemplateKernelNamespace,Yr as SubagentTemplateKernelSchemas,Xr as SubagentTemplateSchema,Zr as SubagentTemplateSettingsSchemas,Qr as SubagentTemplateSpawnRequestSchema,$r as SubagentTemplateSpawnedEventSchema,ii as SubagentTemplateSubjects,ei as SubagentTemplateSummarySchema,ti as SubagentTemplateUpdateSchema,rn as SurfaceBindingRegistry,F as SurfaceBindingRegistryToken,Ut as TechnicalDetailsSchema,Wt as TodoEntrySchema,Jn as ToolApprovalService,kn as ToolApprovalToken,Qt as ToolRegistry,Tn as ToolRegistryToken,ln as TransitionActionRegistry,nn as TransitionPipelineService,N as TransitionPipelineToken,on as TransitionRuleRegistry,Yn as TrayMenuEntrySchema,Xn as TrayMenuGroupEntrySchema,Zn as TrayMenuGroupSchema,Qn as TrayMenuItemClickedSchema,$n as TrayMenuListEntrySchema,er as TrayMenuMetadataSchema,z as TrayMenuNamespace,tr as TrayMenuSchemas,nr as TrayMenuSectionSchema,ir as TrayMenuService,rr as TrayMenuSubjects,xn as TrayMenuToken,b as Turn,De as TurnContextEnricher,It as TurnStorageNamespace,t as TurnStorageSubjects,mn as WORKFLOW_START_ACTION_TYPE,Ln as WorkflowBlockRegistry,L as WorkflowBlockRegistryToken,ge as actionRegistry,gt as activateProviderContext,mt as activateProviderContextStrict,n as agents,In as artifactLifecycleHookRegistryPackage,Sn as artifactSchemaRegistryPackage,ye as assembleForkContext,oi as buildDeterministicAdapterId,ht as buildProviderContext,h as buildRecoveryContext,ie as buildRecoveryContextWithPipeline,p as buildSessionContext,xe as buildTurnInitiator,vn as canonicalModelPackage,Fn as capabilityPackage,mi as createArtifactKindContributionProcessor,gi as createArtifactLifecycleHookContributionProcessor,Ti as createFacetNamespaceContributionProcessor,hn as createModelRegistryPackage,Qe as createSessionExtensionContext,Ei as createSurfaceBindingContributionProcessor,Mn as createToolContributionProcessor,Oi as createTransitionContributionProcessor,Di as createWorkflowBlockContributionProcessor,m as ensureAgentCwd,v as ensureAgentModel,oe as extractTextContent,$t as facetNamespaceRegistryPackage,et as fetchAgentsBySession,Ye as fetchMessageCountsBySession,Je as fetchPreviewBySession,ut as fetchSessionPreviewMaps,ve as findTurnByAgent,Pn as frameworkCorePackages,re as getFullConversation,pe as getOrCreateSession,$e as importCursors,st as importCursorsDual,w as kindToBranchKind,Ie as mapAgentsBySession,Ue as mapRowToSession,C as mapToSession,zn as mergeModelMetadata,D as messageRouting,Re as messageRoutingDual,o as messages,ue as normalizeSelectionString,Ee as normalizeToBlocks,ct as parseForkTransforms,Ze as pickFallbackRuntimeOptions,ae as recoverAgent,le as registerAbandonHandler,si as registerAdapterRuntimeIdentityHandlers,Te as registerAttachHandler,be as registerBuiltInActions,se as registerCompressHandler,Xe as registerCompressLineageResolver,Ve as registerCoreSessionServiceHandlers,lt as registerDrizzleAgentStorage,Ke as registerDrizzleImportCursorStorage,ft as registerDrizzleMessageRoutingStorage,E as registerDrizzleMessageStorage,ke as registerDrizzleSessionEventStorage,Ge as registerDrizzleSessionStorage,y as registerDrizzleTurnStorage,me as registerForkHandler,nt as registerFtsSearchHandler,Pe as registerGetStatusCountsHandler,Me as registerListActionsHandler,dt as registerMemoryAgentStorage,Be as registerMemoryMessageStorage,rt as registerMemorySessionEventStorage,Le as registerMemorySessionStorage,ce as registerMemoryTurnStorage,Se as registerMergeHandler,We as registerParentResolver,T as registerResumeHandler,it as registerSpawningToolCallResolver,Ce as resetBuiltInActionsRegistration,he as resolveAdapterId,de as resolveAdapterNameById,_i as resolveArtifactContext,ai as resolveDeterministicAdapterId,te as resolveExecutionTarget,ne as resolveModelCapabilities,fe as resolveTargetAgents,we as routeToAgents,_e as routeToAgentsCore,gn as sessionBridgePackage,l as sessionEvents,s as sessionEventsDual,tn as sessionOrchestratorPackage,en as sessionPackage,fn as sessionStoragePackage,r as sessions,sr as subagentServicePackage,Dn as surfaceBindingRegistryPackage,Zt as toolApprovalPackage,En as toolRegistryPackage,un as transitionPipelinePackage,dn as trayMenuPackage,a as turns,i as turnsDual,ee as verifyAndRecoverAgents,pn as workflowBlockRegistryPackage};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as LogImporterInfo } from "../../index-
|
|
2
|
-
import { a as OrchestratorFactory, i as OrchestratorEntry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-
|
|
1
|
+
import { t as LogImporterInfo } from "../../index-CfIW5biI.mjs";
|
|
2
|
+
import { a as OrchestratorFactory, i as OrchestratorEntry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-BslClRkH.mjs";
|
|
3
3
|
export { type LogImportRegistryOptions, type LogImporterInfo, type LogImporterRegistration, type OrchestratorEntry, type OrchestratorFactory };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as LogImportSettings, t as LogImporterInfo } from "../../index-
|
|
2
|
-
import { a as OrchestratorFactory, i as OrchestratorEntry, n as LogImportServiceInstance, o as LogImportRegistry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-
|
|
1
|
+
import { i as LogImportSettings, t as LogImporterInfo } from "../../index-CfIW5biI.mjs";
|
|
2
|
+
import { a as OrchestratorFactory, i as OrchestratorEntry, n as LogImportServiceInstance, o as LogImportRegistry, r as LogImporterRegistration, t as LogImportRegistryOptions } from "../../types-BslClRkH.mjs";
|
|
3
3
|
import { LogImportNamespace, LogImportSubjects } from "./namespace.mjs";
|
|
4
4
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
5
5
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as IMPORT_LAST_SCAN_CATEGORY, r as LogImportMode, t as LogImporterInfo } from "../../index-
|
|
1
|
+
import { n as IMPORT_LAST_SCAN_CATEGORY, r as LogImportMode, t as LogImporterInfo } from "../../index-CfIW5biI.mjs";
|
|
2
2
|
import { LogImportSubjects } from "./namespace.mjs";
|
|
3
3
|
export { IMPORT_LAST_SCAN_CATEGORY, type LogImportMode, LogImportSubjects, type LogImporterInfo };
|
|
@@ -74,8 +74,8 @@ declare const LogImportNamespace: _$_makaio_core0.BusNamespaceDefinition<"log-im
|
|
|
74
74
|
adapterName: _$zod.ZodString;
|
|
75
75
|
displayName: _$zod.ZodString;
|
|
76
76
|
source: _$zod.ZodEnum<{
|
|
77
|
-
extension: "extension";
|
|
78
77
|
adapter: "adapter";
|
|
78
|
+
extension: "extension";
|
|
79
79
|
}>;
|
|
80
80
|
logFilePattern: _$zod.ZodString;
|
|
81
81
|
isRunning: _$zod.ZodBoolean;
|
|
@@ -234,8 +234,8 @@ declare const LogImportSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
234
234
|
adapterName: _$zod.ZodString;
|
|
235
235
|
displayName: _$zod.ZodString;
|
|
236
236
|
source: _$zod.ZodEnum<{
|
|
237
|
-
extension: "extension";
|
|
238
237
|
adapter: "adapter";
|
|
238
|
+
extension: "extension";
|
|
239
239
|
}>;
|
|
240
240
|
logFilePattern: _$zod.ZodString;
|
|
241
241
|
isRunning: _$zod.ZodBoolean;
|
|
@@ -90,8 +90,8 @@ declare const LogImportSchemas: {
|
|
|
90
90
|
adapterName: z.ZodString;
|
|
91
91
|
displayName: z.ZodString;
|
|
92
92
|
source: z.ZodEnum<{
|
|
93
|
-
extension: "extension";
|
|
94
93
|
adapter: "adapter";
|
|
94
|
+
extension: "extension";
|
|
95
95
|
}>;
|
|
96
96
|
logFilePattern: z.ZodString;
|
|
97
97
|
isRunning: z.ZodBoolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-
|
|
1
|
+
import { $ as fetchMessageCountsBySession, A as registerMemoryTurnStorage, At as RecoveryConfig, B as registerMemorySessionEventStorage, Bt as findTurnByAgent, C as messages, Ct as registerGetStatusCountsHandler, D as SelectTurn, Dt as ContextWindowTrackerConfig, E as InsertTurn, Et as AgentContextState, F as importCursorsDual, Ft as verifyAndRecoverAgents, G as getSessionAncestorChain, Gt as TurnContextEnricher, H as SelectSessionEvent, Ht as resolveTargetAgents, I as EventTransform, It as buildRecoveryContext, J as mapAgentsBySession, Jt as SessionOrchestrator, K as SessionPreviewMaps, Kt as AdapterRegistry, L as SessionLogger, Lt as resolveAdapterId, M as EmbeddingIndexManager, Mt as ensureAgentCwd, N as registerDrizzleImportCursorStorage, Nt as ensureAgentModel, O as turns, Ot as SessionContextWindowState, P as importCursors, Pt as recoverAgent, Q as fetchAgentsBySession, R as SessionLoggerOptions, Rt as resolveExecutionTarget, S as SelectMessage, St as actionRegistry, T as registerDrizzleMessageStorage, Tt as ContextWindowTracker, U as sessionEvents, Ut as extractTextContent, V as InsertSessionEvent, Vt as getOrCreateSession, W as sessionEventsDual, Wt as normalizeToBlocks, X as SearchFilters, Xt as MakaioSessionService, Y as mapToSession, Yt as registerCoreSessionServiceHandlers, Z as SearchSessionRow, _ as messageRoutingDual, _t as normalizeSelectionString, a as kindToBranchKind, at as registerMemoryAgentStorage, b as MessageRoutingSubjects, bt as registerBuiltInActions, c as registerSpawningToolCallResolver, ct as AgentStorageNamespace, d as MakaioSession, dt as createSessionExtensionContext, et as fetchPreviewBySession, f as MakaioSessionConfig, ft as SessionBridge, g as messageRouting, gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, h as SelectMessageRouting, ht as pickFallbackRuntimeOptions, i as ContextAssemblyResult, it as registerDrizzleAgentStorage, j as registerDrizzleTurnStorage, jt as buildRecoveryContextWithPipeline, k as turnsDual, kt as buildTurnInitiator, l as registerCompressLineageResolver, lt as AgentStorageSubjects, m as InsertMessageRouting, mt as FallbackRuntimeOptions, n as buildSessionContext, nt as parseForkTransforms, o as toSessionLineage, ot as registerDrizzleSessionStorage, p as StartTurnOptions, pt as assembleForkContext, q as fetchSessionPreviewMaps, qt as ISessionOrchestrator, r as BuildContextOptions, rt as registerFtsSearchHandler, s as registerSessionDiscoveredHandler, st as registerMemorySessionStorage, t as getFullConversation, tt as mapRowToSession, u as registerParentResolver, ut as SessionExtensionContextImpl, v as registerDrizzleMessageRoutingStorage, vt as resolveAdapterNameById, w as registerMemoryMessageStorage, wt as registerResumeHandler, x as InsertMessage, xt as resetBuiltInActionsRegistration, y as MessageRoutingNamespace, yt as registerListActionsHandler, z as registerDrizzleSessionEventStorage, zt as resolveModelCapabilities } from "../../index-9b2_jXxq.mjs";
|
|
2
2
|
import { a as registerCompressHandler, c as SessionTurnManager, d as Turn, f as TurnConfig, h as TurnStateChange, i as registerForkHandler, l as TurnCompleteCallback, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnContext, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnCompletionResult } from "../../index-gAFwNiJT.mjs";
|
|
3
3
|
import { r as buildProviderContext } from "../../index-DtwGhFFQ.mjs";
|
|
4
|
-
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-
|
|
5
|
-
import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-
|
|
6
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-
|
|
4
|
+
import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-DXW-voCe.mjs";
|
|
5
|
+
import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "../../schema-D1HrnvT7.mjs";
|
|
6
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-KMxsPJwm.mjs";
|
|
7
7
|
import { t as TurnStorageNamespace } from "../../namespace-LUNf8zo5.mjs";
|
|
8
8
|
import { n as TurnStorageSubjects } from "../../namespace-BsYKEMd8.mjs";
|
|
9
|
-
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-
|
|
9
|
+
import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-DGAWYjbO.mjs";
|
|
10
10
|
export { AdapterRegistry, AgentContextState, AgentStorageNamespace, AgentStorageSubjects, BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, ContextAssemblyResult, ContextWindowTracker, ContextWindowTrackerConfig, EmbeddingIndexManager, EventTransform, FallbackRuntimeOptions, ISessionOrchestrator, InsertMessage, InsertMessageRouting, InsertSessionEvent, InsertTurn, MakaioSession, MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, RecoveryConfig, SearchFilters, SearchSessionRow, SelectMessage, SelectMessageRouting, SelectSessionEvent, SelectTurn, SessionBridge, SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLogger, SessionLoggerOptions, SessionOrchestrator, SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionTurnManager, StartTurnOptions, Turn, TurnCompleteCallback, TurnCompletionResult, TurnConfig, TurnContext, TurnContextEnricher, TurnResult, TurnStateChange, TurnStorageNamespace, TurnStorageSubjects, actionRegistry, agents, agentsDual, assembleForkContext, buildProviderContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, createSessionExtensionContext, ensureAgentCwd, ensureAgentModel, extractTextContent, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, getFullConversation, getOrCreateSession, getSessionAncestorChain, importCursors, importCursorsDual, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, messageRouting, messageRoutingDual, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSessionDiscoveredHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveExecutionTarget, resolveModelCapabilities, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionEvents, sessionEventsDual, sessions, sessionsDual, toSessionLineage, turns, turnsDual, verifyAndRecoverAgents };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-
|
|
1
|
+
import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-DGAWYjbO.mjs";
|
|
2
2
|
export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-
|
|
1
|
+
import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-KMxsPJwm.mjs";
|
|
2
2
|
export { SessionEventStorageNamespace, SessionEventStorageSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-
|
|
1
|
+
import { a as SessionWithPreview, i as SessionStorageSubjects, n as SessionPreviewDataSchema, o as SessionWithPreviewSchema, r as SessionStorageNamespace, t as SessionPreviewData } from "../../../namespace-DXW-voCe.mjs";
|
|
2
2
|
export { SessionPreviewData, SessionPreviewDataSchema, SessionStorageNamespace, SessionStorageSubjects, SessionWithPreview, SessionWithPreviewSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as agents, c as sessionsDual, i as SelectSession, n as InsertSession, o as agentsDual, r as SelectAgent, s as sessions, t as InsertAgent } from "../../../schema-
|
|
1
|
+
import { a as agents, c as sessionsDual, i as SelectSession, n as InsertSession, o as agentsDual, r as SelectAgent, s as sessions, t as InsertAgent } from "../../../schema-D1HrnvT7.mjs";
|
|
2
2
|
export { InsertAgent, InsertSession, SelectAgent, SelectSession, agents, agentsDual, sessions, sessionsDual };
|
|
@@ -24,8 +24,8 @@ declare const AdapterInfoSchema: z.ZodObject<{
|
|
|
24
24
|
instructions: z.ZodOptional<z.ZodString>;
|
|
25
25
|
readiness: z.ZodOptional<z.ZodEnum<{
|
|
26
26
|
ready: "ready";
|
|
27
|
-
"missing-credentials": "missing-credentials";
|
|
28
27
|
"needs-setup": "needs-setup";
|
|
28
|
+
"missing-credentials": "missing-credentials";
|
|
29
29
|
}>>;
|
|
30
30
|
clientId: z.ZodOptional<z.ZodString>;
|
|
31
31
|
protocol: z.ZodOptional<z.ZodEnum<{
|
|
@@ -145,8 +145,8 @@ declare const SettingsNamespace: _$_makaio_core0.BusNamespaceDefinition<"setting
|
|
|
145
145
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
146
146
|
readiness: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
147
147
|
ready: "ready";
|
|
148
|
-
"missing-credentials": "missing-credentials";
|
|
149
148
|
"needs-setup": "needs-setup";
|
|
149
|
+
"missing-credentials": "missing-credentials";
|
|
150
150
|
}>>;
|
|
151
151
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
152
152
|
protocol: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -358,8 +358,8 @@ declare const SettingsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
358
358
|
instructions: _$zod.ZodOptional<_$zod.ZodString>;
|
|
359
359
|
readiness: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
360
360
|
ready: "ready";
|
|
361
|
-
"missing-credentials": "missing-credentials";
|
|
362
361
|
"needs-setup": "needs-setup";
|
|
362
|
+
"missing-credentials": "missing-credentials";
|
|
363
363
|
}>>;
|
|
364
364
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
365
365
|
protocol: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -518,11 +518,11 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
|
|
|
518
518
|
create: {
|
|
519
519
|
request: _$zod.ZodObject<{
|
|
520
520
|
name: _$zod.ZodString;
|
|
521
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
521
522
|
adapterName: _$zod.ZodString;
|
|
522
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
523
523
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
524
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
525
524
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
525
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
526
526
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
527
527
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
528
528
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -609,11 +609,11 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
|
|
|
609
609
|
create: {
|
|
610
610
|
request: _$zod.ZodObject<{
|
|
611
611
|
name: _$zod.ZodString;
|
|
612
|
+
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
612
613
|
adapterName: _$zod.ZodString;
|
|
613
|
-
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
614
614
|
model: _$zod.ZodOptional<_$zod.ZodString>;
|
|
615
|
-
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
616
615
|
systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
|
|
616
|
+
providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
617
617
|
allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
618
618
|
disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
619
619
|
allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
@@ -18,8 +18,8 @@ declare const ExtensionConfigInputSchema: z.ZodObject<{
|
|
|
18
18
|
id: z.ZodString;
|
|
19
19
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20
20
|
enabled: z.ZodBoolean;
|
|
21
|
-
scope: z.ZodString;
|
|
22
21
|
extensionName: z.ZodString;
|
|
22
|
+
scope: z.ZodString;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
/** Query schema for listing extension configs. */
|
|
25
25
|
declare const ExtensionConfigListQuerySchema: z.ZodObject<{
|
|
@@ -63,8 +63,8 @@ declare const ExtensionConfigStorageNamespace: _$_makaio_storage_core0.StorageNa
|
|
|
63
63
|
id: z.ZodString;
|
|
64
64
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
65
65
|
enabled: z.ZodBoolean;
|
|
66
|
-
scope: z.ZodString;
|
|
67
66
|
extensionName: z.ZodString;
|
|
67
|
+
scope: z.ZodString;
|
|
68
68
|
}, z.core.$strip>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
70
|
response: z.ZodObject<{
|
|
@@ -131,8 +131,8 @@ declare const ExtensionConfigStorageSubjects: _$_makaio_core0.BusSubjects<_$_mak
|
|
|
131
131
|
id: z.ZodString;
|
|
132
132
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
133
133
|
enabled: z.ZodBoolean;
|
|
134
|
-
scope: z.ZodString;
|
|
135
134
|
extensionName: z.ZodString;
|
|
135
|
+
scope: z.ZodString;
|
|
136
136
|
}, z.core.$strip>;
|
|
137
137
|
}, z.core.$strip>;
|
|
138
138
|
response: z.ZodObject<{
|