@makaio/framework 1.0.0-dev-1784707578477 → 1.0.0-dev-1784806252593
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 +2 -2
- package/dist/clients/index.d.mts +5 -5
- package/dist/clients/index.mjs +1 -1
- package/dist/{context-resolution-DsPuX5ox.d.mts → context-resolution-B5IH2Z9v.d.mts} +5 -5
- 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 +2 -2
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/index.d.mts +97 -97
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{hook-responses-mmqRa2Dq.d.mts → hook-responses-Dg8wDvRo.d.mts} +308 -21
- package/dist/{index-BLwvcw5C.d.mts → index-B6SBIKyk.d.mts} +57 -57
- package/dist/{index-DxDMF5CP.d.mts → index-BF-ZfYo4.d.mts} +7 -298
- package/dist/{index-t9fTvyq6.d.mts → index-BXgsQUhf.d.mts} +4 -4
- package/dist/{index-C3XXcDNg2.d.mts → index-BhXCCgJV2.d.mts} +1 -1
- package/dist/{index-DRTyhYK0.d.mts → index-CYfiCzb-.d.mts} +1 -1
- package/dist/{index-FamxGT0U.d.mts → index-Chy9aknK.d.mts} +10 -10
- package/dist/{index-C5vYc3m12.d.mts → index-D73PTKXG2.d.mts} +2 -2
- package/dist/{index-CtZODNBo.d.mts → index-D9Tk7hyM.d.mts} +30 -30
- package/dist/{index-DK5z1A5p.d.mts → index-DSyyWwR2.d.mts} +12 -12
- package/dist/{index-vTBR3OFK.d.mts → index-DeoKITib.d.mts} +73 -73
- package/dist/{index-B0N0tFS-.d.mts → index-Dfl1vniO.d.mts} +71 -71
- package/dist/{index-0Ju2i8gV.d.mts → index-g36yJDge.d.mts} +6 -6
- package/dist/{index-D6gaVj-T.d.mts → index-y5-qCuUL.d.mts} +6 -6
- package/dist/{index-DitLUuR5.d.mts → index-z9bcglqL.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-DGORv0pz.d.mts → namespace-BHliaabz.d.mts} +6 -6
- package/dist/{namespace-C_EIMKwg2.d.mts → namespace-DRHnU5Yi2.d.mts} +26 -26
- package/dist/{namespace-CwGeWIRG.d.mts → namespace-Db_PFX3v.d.mts} +9 -9
- package/dist/{namespace-DrPPxElg.d.mts → namespace-Dvo_7BQw.d.mts} +20 -20
- package/dist/package.json +1 -1
- package/dist/{schemas-oTIqxZN_.d.mts → schemas-1ahuxM83.d.mts} +10 -10
- package/dist/{schemas-Bu4ZEJAD.d.mts → schemas-B5tMYfhC.d.mts} +4 -4
- package/dist/{schemas-DIQ9GUVX.d.mts → schemas-SsGbBOZ-.d.mts} +20 -20
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/execution-target/index.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/index.d.mts +33 -33
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +4 -4
- 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-editor/index.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +10 -10
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{session-lineage-Cte63dGx.d.mts → session-lineage-D4z26OtM.d.mts} +1 -1
- package/dist/{transition-DWv5Abk6.d.mts → transition-BuUKc2J1.d.mts} +1 -1
- package/dist/{types-CzTC6z8M.d.mts → types-D2KG8ewJ.d.mts} +39 -39
- package/dist/{types-BwEQ9ucW.d.mts → types-DVLq657Y.d.mts} +1 -1
- package/dist/{view-builder-Drp9dB59.d.mts → view-builder-BktOepKR.d.mts} +4 -4
- package/dist/workflow-engine/index.d.mts +8 -8
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { H as ArtifactLifecycleHookEvent, N as AnyArtifactKindDefinition, U as ArtifactLifecycleHookRegistration$1 } from "./index-
|
|
1
|
+
import { H as ArtifactLifecycleHookEvent, N as AnyArtifactKindDefinition, U as ArtifactLifecycleHookRegistration$1 } from "./index-DeoKITib.mjs";
|
|
2
2
|
import { s as AdapterProviderAuth$1 } from "./adapter-binding-Dfk_g-lP.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { D as ExtensionService$1, H as ClientDefinition$1, T as NodeExtensionContext$1, f as ExtensionClientHookResponsesContribution, gt as VersionRange, mt as VersionLiteral$1, w as ExtensionContext$1 } from "./hook-responses-Dg8wDvRo.mjs";
|
|
4
4
|
import { c as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-BEvV7tbD.mjs";
|
|
5
5
|
import { t as RequiredTimeoutConfig } from "./index-pgYFJ5h6.mjs";
|
|
6
|
-
import { H as SessionMessage$1, b as SESSION_EVENT_TYPES, i as MakaioSessionEvent$1 } from "./types-
|
|
6
|
+
import { H as SessionMessage$1, b as SESSION_EVENT_TYPES, i as MakaioSessionEvent$1 } from "./types-D2KG8ewJ.mjs";
|
|
7
7
|
import { D as EntityUIConfig$1, I as FormFieldProps } from "./index-4NQLoI7R.mjs";
|
|
8
|
-
import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, y as WorkflowBlockCollection$1 } from "./transition-
|
|
8
|
+
import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, y as WorkflowBlockCollection$1 } from "./transition-BuUKc2J1.mjs";
|
|
9
9
|
import { l as FacetNamespaceDefinition } from "./index-CzKLLQLw.mjs";
|
|
10
|
-
import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-
|
|
10
|
+
import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-BktOepKR.mjs";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
import { MakaioBusLike, PayloadFilter, RegistrableBusNamespaceDefinition, SubjectSchema } from "@makaio/framework/core";
|
|
13
13
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
@@ -1376,34 +1376,6 @@ declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
1376
1376
|
}, z.core.$strip>>;
|
|
1377
1377
|
}, z.core.$strip>;
|
|
1378
1378
|
//#endregion
|
|
1379
|
-
//#region core/contracts/src/extension/extension-token.d.ts
|
|
1380
|
-
/**
|
|
1381
|
-
* Typed extension service tokens.
|
|
1382
|
-
*
|
|
1383
|
-
* Extension tokens pair a runtime extension name with the service type the
|
|
1384
|
-
* extension exposes. Consumers import an extension-owned token instead of
|
|
1385
|
-
* repeating string literals at service lookup call sites.
|
|
1386
|
-
*/
|
|
1387
|
-
/**
|
|
1388
|
-
* Typed token for retrieving an extension service from an extension context.
|
|
1389
|
-
*
|
|
1390
|
-
* The type parameter is intentionally phantom: the runtime uses {@link name}
|
|
1391
|
-
* while TypeScript carries the expected service type through `getService`.
|
|
1392
|
-
* @typeParam T - Service type exposed by the extension.
|
|
1393
|
-
*/
|
|
1394
|
-
interface ExtensionToken$1<T = unknown> {
|
|
1395
|
-
/** Extension name registered with the runtime coordinator. */
|
|
1396
|
-
readonly name: string;
|
|
1397
|
-
/** Phantom marker for the token's service type. */
|
|
1398
|
-
readonly __service?: T;
|
|
1399
|
-
}
|
|
1400
|
-
/**
|
|
1401
|
-
* Create a typed extension service token.
|
|
1402
|
-
* @param name - Extension name registered with the runtime coordinator.
|
|
1403
|
-
* @returns Frozen token carrying the extension name and service type.
|
|
1404
|
-
*/
|
|
1405
|
-
declare function extensionToken$1<T>(name: string): ExtensionToken$1<T>;
|
|
1406
|
-
//#endregion
|
|
1407
1379
|
//#region core/contracts/src/extension/adapter-definition.d.ts
|
|
1408
1380
|
/**
|
|
1409
1381
|
* Adapter-side declaration of a supported provider.
|
|
@@ -1585,269 +1557,6 @@ interface AdapterDefinitionContract$1<TAdapter = unknown, TOptions = never> {
|
|
|
1585
1557
|
readonly createAdapter: (options?: TOptions) => Promise<TAdapter>;
|
|
1586
1558
|
}
|
|
1587
1559
|
//#endregion
|
|
1588
|
-
//#region core/contracts/src/extension/extension-warning.d.ts
|
|
1589
|
-
/**
|
|
1590
|
-
* Discriminated union of actionable responses to an extension warning.
|
|
1591
|
-
*
|
|
1592
|
-
* Each variant carries the data the host needs to execute the action without
|
|
1593
|
-
* further round-trips to the extension.
|
|
1594
|
-
*
|
|
1595
|
-
* - `configure-integration` — open the integration settings for a client.
|
|
1596
|
-
* - `install-extension` — prompt the user to install another extension.
|
|
1597
|
-
* - `open-url` — navigate to an external or internal URL.
|
|
1598
|
-
* - `run-command` — invoke a registered bus command by name.
|
|
1599
|
-
*/
|
|
1600
|
-
declare const ExtensionWarningActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1601
|
-
kind: z.ZodLiteral<"configure-integration">;
|
|
1602
|
-
clientId: z.ZodString;
|
|
1603
|
-
bundle: z.ZodString;
|
|
1604
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1605
|
-
kind: z.ZodLiteral<"install-extension">;
|
|
1606
|
-
extensionName: z.ZodString;
|
|
1607
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1608
|
-
kind: z.ZodLiteral<"open-url">;
|
|
1609
|
-
url: z.ZodString;
|
|
1610
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1611
|
-
kind: z.ZodLiteral<"run-command">;
|
|
1612
|
-
command: z.ZodString;
|
|
1613
|
-
}, z.core.$strip>], "kind">;
|
|
1614
|
-
/**
|
|
1615
|
-
* Severity levels for an {@link ExtensionWarning}.
|
|
1616
|
-
*
|
|
1617
|
-
* - `'info'` — informational note; the extension functions normally.
|
|
1618
|
-
* - `'recommended'` — a recommended configuration is missing; functionality is reduced.
|
|
1619
|
-
* - `'degraded'` — the extension is operating in a degraded fallback mode.
|
|
1620
|
-
*/
|
|
1621
|
-
declare const ExtensionWarningSeveritySchema: z.ZodEnum<{
|
|
1622
|
-
info: "info";
|
|
1623
|
-
degraded: "degraded";
|
|
1624
|
-
recommended: "recommended";
|
|
1625
|
-
}>;
|
|
1626
|
-
/**
|
|
1627
|
-
* A single health warning emitted by a package's `checkHealth` hook.
|
|
1628
|
-
*
|
|
1629
|
-
* The host collects these after startup and may display them in the UI as
|
|
1630
|
-
* notification toasts or persistent status indicators.
|
|
1631
|
-
*/
|
|
1632
|
-
declare const ExtensionWarningSchema: z.ZodObject<{
|
|
1633
|
-
severity: z.ZodEnum<{
|
|
1634
|
-
info: "info";
|
|
1635
|
-
degraded: "degraded";
|
|
1636
|
-
recommended: "recommended";
|
|
1637
|
-
}>;
|
|
1638
|
-
title: z.ZodString;
|
|
1639
|
-
message: z.ZodString;
|
|
1640
|
-
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1641
|
-
kind: z.ZodLiteral<"configure-integration">;
|
|
1642
|
-
clientId: z.ZodString;
|
|
1643
|
-
bundle: z.ZodString;
|
|
1644
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1645
|
-
kind: z.ZodLiteral<"install-extension">;
|
|
1646
|
-
extensionName: z.ZodString;
|
|
1647
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1648
|
-
kind: z.ZodLiteral<"open-url">;
|
|
1649
|
-
url: z.ZodString;
|
|
1650
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1651
|
-
kind: z.ZodLiteral<"run-command">;
|
|
1652
|
-
command: z.ZodString;
|
|
1653
|
-
}, z.core.$strip>], "kind">>;
|
|
1654
|
-
}, z.core.$strip>;
|
|
1655
|
-
/** Inferred TypeScript type for {@link ExtensionWarningSchema}. */
|
|
1656
|
-
type ExtensionWarning = z.infer<typeof ExtensionWarningSchema>;
|
|
1657
|
-
/** Inferred TypeScript type for {@link ExtensionWarningActionSchema}. */
|
|
1658
|
-
type ExtensionWarningAction = z.infer<typeof ExtensionWarningActionSchema>;
|
|
1659
|
-
/** Inferred TypeScript type for {@link ExtensionWarningSeveritySchema}. */
|
|
1660
|
-
type ExtensionWarningSeverity = z.infer<typeof ExtensionWarningSeveritySchema>;
|
|
1661
|
-
/**
|
|
1662
|
-
* Return the default user-facing label for an extension warning action.
|
|
1663
|
-
*
|
|
1664
|
-
* Kept with the action contract so every surface labels the same action kind
|
|
1665
|
-
* consistently without duplicating switch statements.
|
|
1666
|
-
* @param action - Extension warning action to label.
|
|
1667
|
-
* @returns Short button label for the action kind.
|
|
1668
|
-
*/
|
|
1669
|
-
declare function getExtensionWarningActionLabel(action: ExtensionWarningAction): string;
|
|
1670
|
-
/**
|
|
1671
|
-
* Aggregated warning entry grouping all health warnings for a single extension.
|
|
1672
|
-
*
|
|
1673
|
-
* Used as the payload shape for `kernel:extension.warnings.list` responses and
|
|
1674
|
-
* `kernel:extension.warnings.changed` events so consumers receive extension identity
|
|
1675
|
-
* alongside the full warning array in one atomic value.
|
|
1676
|
-
*/
|
|
1677
|
-
declare const ExtensionWarningEntrySchema: z.ZodObject<{
|
|
1678
|
-
extensionName: z.ZodString;
|
|
1679
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
1680
|
-
severity: z.ZodEnum<{
|
|
1681
|
-
info: "info";
|
|
1682
|
-
degraded: "degraded";
|
|
1683
|
-
recommended: "recommended";
|
|
1684
|
-
}>;
|
|
1685
|
-
title: z.ZodString;
|
|
1686
|
-
message: z.ZodString;
|
|
1687
|
-
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1688
|
-
kind: z.ZodLiteral<"configure-integration">;
|
|
1689
|
-
clientId: z.ZodString;
|
|
1690
|
-
bundle: z.ZodString;
|
|
1691
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1692
|
-
kind: z.ZodLiteral<"install-extension">;
|
|
1693
|
-
extensionName: z.ZodString;
|
|
1694
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1695
|
-
kind: z.ZodLiteral<"open-url">;
|
|
1696
|
-
url: z.ZodString;
|
|
1697
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1698
|
-
kind: z.ZodLiteral<"run-command">;
|
|
1699
|
-
command: z.ZodString;
|
|
1700
|
-
}, z.core.$strip>], "kind">>;
|
|
1701
|
-
}, z.core.$strip>>;
|
|
1702
|
-
}, z.core.$strip>;
|
|
1703
|
-
/** Inferred TypeScript type for {@link ExtensionWarningEntrySchema}. */
|
|
1704
|
-
type ExtensionWarningEntry = z.infer<typeof ExtensionWarningEntrySchema>;
|
|
1705
|
-
//#endregion
|
|
1706
|
-
//#region core/contracts/src/extension/extension-lifecycle.d.ts
|
|
1707
|
-
declare const extensionIdentityBrand: unique symbol;
|
|
1708
|
-
/**
|
|
1709
|
-
* Opaque extension identity minted by the runtime coordinator.
|
|
1710
|
-
*
|
|
1711
|
-
* This identity proves which loaded extension is calling runtime-owned seams
|
|
1712
|
-
* such as future direct channels. Extension code receives it through
|
|
1713
|
-
* {@link ExtensionContext.identity}; external callers cannot construct one
|
|
1714
|
-
* without a type assertion.
|
|
1715
|
-
*/
|
|
1716
|
-
interface ExtensionIdentity {
|
|
1717
|
-
/** Extension name associated with this identity. */
|
|
1718
|
-
readonly extensionName: string;
|
|
1719
|
-
/** Opaque brand preventing structural construction. */
|
|
1720
|
-
readonly [extensionIdentityBrand]: true;
|
|
1721
|
-
}
|
|
1722
|
-
/**
|
|
1723
|
-
* Minimal lifecycle shape accepted as an extension service.
|
|
1724
|
-
*
|
|
1725
|
-
* BaseService satisfies this interface, but plain service classes can also
|
|
1726
|
-
* participate in extension startup when they expose the same lifecycle.
|
|
1727
|
-
*/
|
|
1728
|
-
interface ExtensionServiceLifecycle$1 {
|
|
1729
|
-
/** Initialize the service when startup work is not constructor-owned. */
|
|
1730
|
-
init?(): Promise<void> | void;
|
|
1731
|
-
/** Destroy the service and release resources when teardown is required. */
|
|
1732
|
-
destroy?(): Promise<void> | void;
|
|
1733
|
-
/**
|
|
1734
|
-
* Called after the extension reaches active state.
|
|
1735
|
-
*
|
|
1736
|
-
* Returns zero or more {@link ExtensionWarning} entries describing integration
|
|
1737
|
-
* health issues the user may want to act on. An empty array (or omitting the
|
|
1738
|
-
* hook entirely) signals that the extension is fully healthy.
|
|
1739
|
-
* @returns Active health warnings, or an empty array when the extension is healthy.
|
|
1740
|
-
*/
|
|
1741
|
-
checkHealth?(): Promise<ExtensionWarning[]> | ExtensionWarning[];
|
|
1742
|
-
}
|
|
1743
|
-
/**
|
|
1744
|
-
* Service shape returned by {@link MakaioExtension.create}.
|
|
1745
|
-
*
|
|
1746
|
-
* Any class that extends `BaseService` satisfies this interface structurally
|
|
1747
|
-
* because `BaseService` exposes the same lifecycle methods.
|
|
1748
|
-
*/
|
|
1749
|
-
type ExtensionService$1 = ExtensionServiceLifecycle$1;
|
|
1750
|
-
//#endregion
|
|
1751
|
-
//#region core/contracts/src/extension/extension-context.d.ts
|
|
1752
|
-
/**
|
|
1753
|
-
* Generic context provided by a host runtime when creating an extension's service.
|
|
1754
|
-
*
|
|
1755
|
-
* Contains host-agnostic runtime seams: the bus instance, extension identity,
|
|
1756
|
-
* extension-local data directory, machine identity, config, service lookup, and
|
|
1757
|
-
* lifecycle controls. Host-specific environment details belong on explicit
|
|
1758
|
-
* context extensions such as {@link NodeExtensionContext}.
|
|
1759
|
-
*/
|
|
1760
|
-
interface ExtensionContext$1<TBus extends MakaioBusLike = MakaioBusLike> {
|
|
1761
|
-
/** Bus instance for registering handlers and emitting events. */
|
|
1762
|
-
readonly bus: TBus;
|
|
1763
|
-
/** Coordinator-minted identity for the extension being created. */
|
|
1764
|
-
readonly identity: ExtensionIdentity;
|
|
1765
|
-
/**
|
|
1766
|
-
* Per-extension writable data directory resolved by the host runtime.
|
|
1767
|
-
*
|
|
1768
|
-
* Use this for extension-local persistence (caches, state files, etc.).
|
|
1769
|
-
*/
|
|
1770
|
-
readonly dataDir: string;
|
|
1771
|
-
/**
|
|
1772
|
-
* Stable machine identifier used for machine-scoped persistence and
|
|
1773
|
-
* encryption key derivation.
|
|
1774
|
-
*
|
|
1775
|
-
* Resolved by the composition root (e.g., `node-machine-id`) before
|
|
1776
|
-
* extensions are started.
|
|
1777
|
-
*/
|
|
1778
|
-
readonly machineId: string;
|
|
1779
|
-
/**
|
|
1780
|
-
* Resolved configuration for this extension, merged from stored values and
|
|
1781
|
-
* descriptor defaults. Present only when the extension declared a
|
|
1782
|
-
* `configSchema` on its {@link MakaioExtension}.
|
|
1783
|
-
*
|
|
1784
|
-
* Extensions should parse this with their Zod schema to get typed config:
|
|
1785
|
-
* ```ts
|
|
1786
|
-
* const config = parseExtensionConfig(MyConfigSchema, ctx.config);
|
|
1787
|
-
* ```
|
|
1788
|
-
*/
|
|
1789
|
-
readonly config?: unknown;
|
|
1790
|
-
/**
|
|
1791
|
-
* Retrieve a service exposed by another active extension.
|
|
1792
|
-
* @param token - Extension-owned token identifying the desired service.
|
|
1793
|
-
* @returns The active service instance, or `undefined` when unavailable.
|
|
1794
|
-
*/
|
|
1795
|
-
getService<T>(token: ExtensionToken$1<T>): T | undefined;
|
|
1796
|
-
/**
|
|
1797
|
-
* Attempt a dynamic import, returning `null` when the package is not installed.
|
|
1798
|
-
*
|
|
1799
|
-
* Only swallows errors caused by the package itself being absent. Transitive
|
|
1800
|
-
* dependency failures and module evaluation errors are re-thrown.
|
|
1801
|
-
* @typeParam T - Expected module shape (caller-asserted, not runtime-verified).
|
|
1802
|
-
* @param specifier - Package specifier to import.
|
|
1803
|
-
* @returns The imported module cast to `T`, or `null` when the package is not installed.
|
|
1804
|
-
*/
|
|
1805
|
-
readonly tryImport: <T>(specifier: string) => Promise<T | null>;
|
|
1806
|
-
/**
|
|
1807
|
-
* Abort signal triggered during graceful shutdown.
|
|
1808
|
-
*
|
|
1809
|
-
* Extensions can pass this to long-running operations (fetch, timers, streams)
|
|
1810
|
-
* so they cancel promptly when the runtime is stopping.
|
|
1811
|
-
*/
|
|
1812
|
-
readonly signal: AbortSignal;
|
|
1813
|
-
/**
|
|
1814
|
-
* Check whether an extension with the given name is active.
|
|
1815
|
-
*
|
|
1816
|
-
* Returns `true` when the named extension has been loaded and reached
|
|
1817
|
-
* `active` state. Use this for optional integration checks without
|
|
1818
|
-
* requiring an ExtensionToken.
|
|
1819
|
-
* @param name - Extension name to check.
|
|
1820
|
-
* @returns `true` when the extension is active.
|
|
1821
|
-
*/
|
|
1822
|
-
readonly hasExtension: (name: string) => boolean;
|
|
1823
|
-
}
|
|
1824
|
-
/**
|
|
1825
|
-
* Node.js host extension context.
|
|
1826
|
-
*
|
|
1827
|
-
* Adds the OS and filesystem fields supplied by Node-based composition roots.
|
|
1828
|
-
* Extensions that need these fields should opt into this context explicitly;
|
|
1829
|
-
* host-agnostic extensions can type themselves against {@link ExtensionContext}.
|
|
1830
|
-
*/
|
|
1831
|
-
interface NodeExtensionContext$1<TBus extends MakaioBusLike = MakaioBusLike> extends ExtensionContext$1<TBus> {
|
|
1832
|
-
/** Working directory selected by the Node host for relative filesystem operations. */
|
|
1833
|
-
readonly cwd?: string;
|
|
1834
|
-
/** Current platform identifier (e.g., `'darwin'`, `'linux'`, `'win32'`). */
|
|
1835
|
-
readonly platform: NodeJS.Platform;
|
|
1836
|
-
/** User's home directory path. */
|
|
1837
|
-
readonly homedir: string;
|
|
1838
|
-
/** Resolved `.makaio` directory root (e.g., `~/.makaio`). */
|
|
1839
|
-
readonly makaioHome: string;
|
|
1840
|
-
/** Current OS username. */
|
|
1841
|
-
readonly username: string;
|
|
1842
|
-
/**
|
|
1843
|
-
* WebSocket URL for the host bus, when the runtime exposes one.
|
|
1844
|
-
*
|
|
1845
|
-
* Detached `bus-websocket` extensions use this to connect back to the host.
|
|
1846
|
-
* Hosts without a WebSocket bus omit it.
|
|
1847
|
-
*/
|
|
1848
|
-
readonly busUrl?: string;
|
|
1849
|
-
}
|
|
1850
|
-
//#endregion
|
|
1851
1560
|
//#region core/contracts/src/extension/extension-cli.d.ts
|
|
1852
1561
|
/**
|
|
1853
1562
|
* Type-erased output channel used by extension-local CLI handlers.
|
|
@@ -3649,7 +3358,7 @@ interface MakaioExtension$1<THostContext extends ExtensionContext$1 = NodeExtens
|
|
|
3649
3358
|
* envelopes. Descriptor metadata is discovery-only; executable callbacks
|
|
3650
3359
|
* are not serialized.
|
|
3651
3360
|
*/
|
|
3652
|
-
readonly clientHookResponses?: ExtensionClientHookResponsesContribution
|
|
3361
|
+
readonly clientHookResponses?: ExtensionClientHookResponsesContribution<THostContext>;
|
|
3653
3362
|
/**
|
|
3654
3363
|
* Provider definitions contributed by this extension.
|
|
3655
3364
|
*
|
|
@@ -4307,4 +4016,4 @@ interface ExtensionConfigProvider$1 {
|
|
|
4307
4016
|
loadEnabled(name: string): boolean | undefined;
|
|
4308
4017
|
}
|
|
4309
4018
|
//#endregion
|
|
4310
|
-
export { PluginToolCallFormatterInput as $,
|
|
4019
|
+
export { PluginToolCallFormatterInput as $, ContributionManifestSchema as $n, SessionEventActionDeclaration as $t, BootstrapImportResult as A, TrayManifest$1 as An, GatheredEntry as At, LogImportContribution as B, CapabilityToken as Bn, ActionShortcutModifiers as Bt, BootstrapAsset as C, ExtensionManifestSchema as Cn, UiContextValueMap as Ct, BootstrapExportContext as D, StorageDialect$1 as Dn, UiScope$1 as Dt, BootstrapDiscoverContext as E, STORAGE_DIALECTS as En, UiRuntimeNavigationLevel as Et, ExtensionNamespaceContribution as F, WindowParamSpecSchema as Fn, HashTriggerStage as Ft, LoaderContext as G, AdapterManifest as Gn, ExecuteResult as Gt, ExtensionConfigComponentLoader as H, CapabilityTokenSchema as Hn, EntrypointConfig as Ht, ExtensionSessionEventActionsContribution as I, WindowStyle as In, HashTriggerSuggestResult as It, MakaioWebUiComponentProps as J, ArtifactLifecycleHookManifest as Jn, PickerConfig as Jt, MakaioWebUiAction as K, AdapterManifestSchema as Kn, MessageEventFilter as Kt, ExtensionToolsContribution as L, allMigrationsPaths as Ln, ActionCategory as Lt, ExtensionBootstrap as M, WindowManifest as Mn, HashTrigger as Mt, getBootstrapAssetKey as N, WindowManifestSchema as Nn, HashTriggerContext as Nt, BootstrapExportResult as O, StorageManifest as On, UiScopeMap as Ot, AdapterContribution as P, WindowParamSpec as Pn, HashTriggerMetadata as Pt, PluginFormattedToolCallOutput as Q, ContributionManifest as Qn, SessionEventActionContext as Qt, ExtensionTriggersContribution as R, dep$1 as Rn, ActionCategoryMap as Rt, MakaioNodeExtension$1 as S, ExtensionManifest as Sn, UiContextSnapshot$1 as St, BootstrapChoice as T, RuntimeRequirementSchema as Tn, UiNavigationLevelMap as Tt, ExtensionConfigComponentProps as U, AdapterClientRef$1 as Un, EventFilter as Ut, ExtensionWorkflowBlocksContribution as V, CapabilityTokenMap as Vn, CreateSessionEventActionResult as Vt, ExtensionFieldTypeLoader as W, AdapterClientRefSchema as Wn, ExecuteContext as Wt, MakaioWebUiRoute as X, ClientManifest as Xn, SelectionChangeContext as Xt, MakaioWebUiLoader as Y, ArtifactLifecycleHookManifestSchema as Yn, PickerOpenContext as Yt, PromisifiedActions as Z, ClientManifestSchema as Zn, SelectionFeedback as Zt, ExtensionArtifactLifecycleHooksContribution as _, CliManifestSchema as _n, TileDeclaration as _t, DetachedTransportSchema as a, ExtensionCliBeforeRunResult as an, ProtocolRefSchema as ar, PageMode as at, ExtensionRuntimeBootContribution as b, ExtensionDependency as bn, TileRenderers as bt, ExtensionDescriptorBase as c, ExtensionCliInteractiveContext as cn, SessionEventActionManifest as cr, SlotId as ct, ExtensionEntrypoints as d, AdapterDefinitionContract$1 as dn, TriggerManifestSchema as dr, WidgetDeclaration as dt, SessionEventActionOptions as en, LogImporterManifest as er, PluginTransformedContent as et, ExtensionEntrypointsSchema as f, AdapterProviderDefinitionContract$1 as fn, TriggerStage as fr, WidgetDefinition as ft, ArtifactLifecycleHooksContributionContext as g, CliManifest as gn, BrowserEntrypointSchema$1 as gr, TileCapabilities as gt, safeParseExtensionDescriptor$1 as h, CliArgManifestSchema as hn, BrowserEntrypoint as hr, WidgetSize$1 as ht, DetachedTransportConfig as i, ExtensionCliBeforeRunContext as in, ProtocolRef as ir, PageDeclaration as it, BootstrapResult as j, TrayManifestSchema as jn, HashSuggestion as jt, BootstrapImportContext as k, StorageManifestSchema as kn, GatheredContext as kt, ExtensionDescriptorParseResult as l, ExtensionCliOutputWriter as ln, SessionEventActionManifestSchema as lr, SlotPlacementDeclaration as lt, parseExtensionDescriptor$1 as m, CliArgManifest as mn, UiSurfaceFlagsSchema as mr, WidgetRenderers as mt, parseExtensionConfig as n, WhenContext as nn, ProtocolConfig as nr, ToolCallFormatterDeclaration as nt, EmbeddedDescriptor as o, ExtensionCliContribution as on, ProviderManifest as or, SlotContentDeclaration as ot, isDetachedDescriptor$1 as p, AdapterProviderRef$1 as pn, UiSurfaceFlags as pr, WidgetProps as pt, MakaioWebUiActions as q, ArtifactLifecycleHookEventSchema as qn, MessageRole as qt, DetachedDescriptor as r, ExtensionRuntimeOwnership as rn, ProtocolConfigSchema as rr, PageComponentProps as rt, ExtensionDescriptor$1 as s, ExtensionCliHandlerContext as sn, ProviderManifestSchema as sr, SlotDeclaration as st, ExtensionConfigProvider$1 as t, StructuralEventFilter as tn, LogImporterManifestSchema as tr, PluginTransformedContentType as tt, ExtensionDescriptorSchema as u, ExtensionCliSubcommandEntry as un, TriggerManifest as ur, WidgetSize as ut, ExtensionContributionProcessor$1 as v, CliSubcommandManifest as vn, TileIconLoader as vt, BootstrapAssetKey as w, RuntimeRequirement as wn, UiNavigationLevel$1 as wt, MakaioExtension$1 as x, ExtensionDependencySchema as xn, UiContextDimension as xt, ExtensionRuntimeBootContext as y, CliSubcommandManifestSchema as yn, TileProps as yt, ExtensionUiContribution as z, primaryMigrationsPath$1 as zn, ActionShortcut as zt };
|
|
@@ -27,9 +27,9 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
|
|
|
27
27
|
*/
|
|
28
28
|
declare const VariantUpgradeStatusSchema: z.ZodEnum<{
|
|
29
29
|
error: "error";
|
|
30
|
+
downloading: "downloading";
|
|
30
31
|
progress: "progress";
|
|
31
32
|
complete: "complete";
|
|
32
|
-
downloading: "downloading";
|
|
33
33
|
applying: "applying";
|
|
34
34
|
}>;
|
|
35
35
|
/** Inferred TypeScript type for an upgrade status value. */
|
|
@@ -101,9 +101,9 @@ declare const VariantSchemas: {
|
|
|
101
101
|
upgradeProgress: z.ZodObject<{
|
|
102
102
|
status: z.ZodEnum<{
|
|
103
103
|
error: "error";
|
|
104
|
+
downloading: "downloading";
|
|
104
105
|
progress: "progress";
|
|
105
106
|
complete: "complete";
|
|
106
|
-
downloading: "downloading";
|
|
107
107
|
applying: "applying";
|
|
108
108
|
}>;
|
|
109
109
|
percent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -158,9 +158,9 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
|
|
|
158
158
|
upgradeProgress: _$zod.ZodObject<{
|
|
159
159
|
status: _$zod.ZodEnum<{
|
|
160
160
|
error: "error";
|
|
161
|
+
downloading: "downloading";
|
|
161
162
|
progress: "progress";
|
|
162
163
|
complete: "complete";
|
|
163
|
-
downloading: "downloading";
|
|
164
164
|
applying: "applying";
|
|
165
165
|
}>;
|
|
166
166
|
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -205,9 +205,9 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
205
205
|
upgradeProgress: _$zod.ZodObject<{
|
|
206
206
|
status: _$zod.ZodEnum<{
|
|
207
207
|
error: "error";
|
|
208
|
+
downloading: "downloading";
|
|
208
209
|
progress: "progress";
|
|
209
210
|
complete: "complete";
|
|
210
|
-
downloading: "downloading";
|
|
211
211
|
applying: "applying";
|
|
212
212
|
}>;
|
|
213
213
|
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-
|
|
1
|
+
import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-B5tMYfhC.mjs";
|
|
2
2
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
3
3
|
import { ProviderContext, ResolvedProviderContext } from "@makaio/framework/contracts";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as CliContribution } from "./types-Bju4dmAg.mjs";
|
|
2
|
-
import { c as ExtensionInfo } from "./index-
|
|
2
|
+
import { c as ExtensionInfo } from "./index-DSyyWwR2.mjs";
|
|
3
3
|
import { r as WindowRegistry } from "./window-registry-Qcnvlhp7.mjs";
|
|
4
4
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
5
5
|
import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
|
|
@@ -310,9 +310,9 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
|
|
|
310
310
|
description: z.ZodOptional<z.ZodString>;
|
|
311
311
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
312
312
|
exposureMode: z.ZodEnum<{
|
|
313
|
-
hidden: "hidden";
|
|
314
313
|
direct: "direct";
|
|
315
314
|
discovery: "discovery";
|
|
315
|
+
hidden: "hidden";
|
|
316
316
|
}>;
|
|
317
317
|
enabled: z.ZodBoolean;
|
|
318
318
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -329,9 +329,9 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
|
|
|
329
329
|
description: z.ZodOptional<z.ZodString>;
|
|
330
330
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
331
331
|
exposureMode: z.ZodEnum<{
|
|
332
|
-
hidden: "hidden";
|
|
333
332
|
direct: "direct";
|
|
334
333
|
discovery: "discovery";
|
|
334
|
+
hidden: "hidden";
|
|
335
335
|
}>;
|
|
336
336
|
enabled: z.ZodBoolean;
|
|
337
337
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -427,9 +427,9 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
|
|
|
427
427
|
description: z.ZodOptional<z.ZodString>;
|
|
428
428
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
429
429
|
exposureMode: z.ZodEnum<{
|
|
430
|
-
hidden: "hidden";
|
|
431
430
|
direct: "direct";
|
|
432
431
|
discovery: "discovery";
|
|
432
|
+
hidden: "hidden";
|
|
433
433
|
}>;
|
|
434
434
|
enabled: z.ZodBoolean;
|
|
435
435
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -446,9 +446,9 @@ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
|
|
|
446
446
|
description: z.ZodOptional<z.ZodString>;
|
|
447
447
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
448
448
|
exposureMode: z.ZodEnum<{
|
|
449
|
-
hidden: "hidden";
|
|
450
449
|
direct: "direct";
|
|
451
450
|
discovery: "discovery";
|
|
451
|
+
hidden: "hidden";
|
|
452
452
|
}>;
|
|
453
453
|
enabled: z.ZodBoolean;
|
|
454
454
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -557,9 +557,9 @@ declare const CanonicalModelSchemas: {
|
|
|
557
557
|
description: z.ZodOptional<z.ZodString>;
|
|
558
558
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
559
559
|
exposureMode: z.ZodEnum<{
|
|
560
|
-
hidden: "hidden";
|
|
561
560
|
direct: "direct";
|
|
562
561
|
discovery: "discovery";
|
|
562
|
+
hidden: "hidden";
|
|
563
563
|
}>;
|
|
564
564
|
enabled: z.ZodBoolean;
|
|
565
565
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -576,9 +576,9 @@ declare const CanonicalModelSchemas: {
|
|
|
576
576
|
description: z.ZodOptional<z.ZodString>;
|
|
577
577
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
578
578
|
exposureMode: z.ZodEnum<{
|
|
579
|
-
hidden: "hidden";
|
|
580
579
|
direct: "direct";
|
|
581
580
|
discovery: "discovery";
|
|
581
|
+
hidden: "hidden";
|
|
582
582
|
}>;
|
|
583
583
|
enabled: z.ZodBoolean;
|
|
584
584
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -686,9 +686,9 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
|
|
|
686
686
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
687
687
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
688
688
|
exposureMode: _$zod.ZodEnum<{
|
|
689
|
-
hidden: "hidden";
|
|
690
689
|
direct: "direct";
|
|
691
690
|
discovery: "discovery";
|
|
691
|
+
hidden: "hidden";
|
|
692
692
|
}>;
|
|
693
693
|
enabled: _$zod.ZodBoolean;
|
|
694
694
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -705,9 +705,9 @@ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"c
|
|
|
705
705
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
706
706
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
707
707
|
exposureMode: _$zod.ZodEnum<{
|
|
708
|
-
hidden: "hidden";
|
|
709
708
|
direct: "direct";
|
|
710
709
|
discovery: "discovery";
|
|
710
|
+
hidden: "hidden";
|
|
711
711
|
}>;
|
|
712
712
|
enabled: _$zod.ZodBoolean;
|
|
713
713
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -813,9 +813,9 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
813
813
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
814
814
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
815
815
|
exposureMode: _$zod.ZodEnum<{
|
|
816
|
-
hidden: "hidden";
|
|
817
816
|
direct: "direct";
|
|
818
817
|
discovery: "discovery";
|
|
818
|
+
hidden: "hidden";
|
|
819
819
|
}>;
|
|
820
820
|
enabled: _$zod.ZodBoolean;
|
|
821
821
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -832,9 +832,9 @@ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
832
832
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
833
833
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
834
834
|
exposureMode: _$zod.ZodEnum<{
|
|
835
|
-
hidden: "hidden";
|
|
836
835
|
direct: "direct";
|
|
837
836
|
discovery: "discovery";
|
|
837
|
+
hidden: "hidden";
|
|
838
838
|
}>;
|
|
839
839
|
enabled: _$zod.ZodBoolean;
|
|
840
840
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as ExecutionTarget } from "./schemas-ChF2z4RB.mjs";
|
|
2
2
|
import { l as Turn$1 } from "./index-8fJ6dkzR.mjs";
|
|
3
|
-
import { a as PipelineStep, o as SessionEditorAction, t as ActionCategory } from "./types-
|
|
3
|
+
import { a as PipelineStep, o as SessionEditorAction, t as ActionCategory } from "./types-DVLq657Y.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
6
6
|
import { ExtractSubjectPayload, SubjectDefinition } from "@makaio/framework/core";
|
|
@@ -4826,7 +4826,7 @@ declare const messages: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
|
|
|
4826
4826
|
tableName: "messages";
|
|
4827
4827
|
dataType: "string";
|
|
4828
4828
|
columnType: "SQLiteText";
|
|
4829
|
-
data: "text" | "
|
|
4829
|
+
data: "text" | "compact" | "voice";
|
|
4830
4830
|
driverParam: string;
|
|
4831
4831
|
notNull: false;
|
|
4832
4832
|
hasDefault: false;
|