@makaio/framework 1.0.0-dev-1789238522058 → 1.0.0-dev-1789609124644
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/adapters/claude/index.mjs +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-BQ64i3DN.mjs +9 -0
- package/dist/client-Bg3_IdaF.mjs +1 -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 +2 -2
- package/dist/contracts/automation-trigger/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +3 -3
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/index.d.mts +34 -34
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/reaction/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{contribution-ZhnuhOfc.d.mts → contribution-DDbHzCPF.d.mts} +1 -1
- package/dist/{extension-context-CBzrM1F0.d.mts → extension-context-BH31eOMv.d.mts} +3 -3
- package/dist/{hook-responses-C1fnL4N2.d.mts → hook-responses-Dq16X3Cb.d.mts} +1 -1
- package/dist/{index-Du4wUv9q.d.mts → index-7CVumCjj.d.mts} +6 -6
- package/dist/{index-DO-OFkMA.d.mts → index-B-u0Tu8X.d.mts} +30 -30
- package/dist/{index-C1nSuiG0.d.mts → index-B6WkHnCQ.d.mts} +1 -1
- package/dist/{index-DGsmGacL.d.mts → index-Bg3WVL8n.d.mts} +8 -8
- package/dist/{index-CAuJ4nsk.d.mts → index-Bh57xARQ.d.mts} +24 -24
- package/dist/{index-f5W_Zqj72.d.mts → index-C87P0WpY2.d.mts} +1 -1
- package/dist/{index-BRIHyYnt.d.mts → index-CRZ1jrxp.d.mts} +243 -14
- package/dist/{index-DKuobpsN2.d.mts → index-CXpgL3gz2.d.mts} +4 -4
- package/dist/{index-BDSMRw8q.d.mts → index-C_kOkO3E.d.mts} +3 -3
- package/dist/{index-CCe0cTiI.d.mts → index-ClKwF6LE.d.mts} +79 -79
- package/dist/{index-D29N22wH.d.mts → index-D_j_T3nS.d.mts} +1 -1
- package/dist/{index-CzUUoexw.d.mts → index-HJkz7i4E.d.mts} +70 -1
- package/dist/{index-RiTM6SGs2.d.mts → index-iVisrVdC2.d.mts} +5 -5
- package/dist/{index-BJds6o8j2.d.mts → index-mTaFX2HH2.d.mts} +28 -28
- package/dist/{index-CWlvL7GB.d.mts → index-nkix3hP7.d.mts} +6 -6
- package/dist/{index-T-aAKybB.d.mts → index-xsaaa85T.d.mts} +8 -8
- 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-LSHmxtMn.d.mts → namespace-BEbQb19g.d.mts} +6 -6
- package/dist/{namespace-CPGTaFqO.d.mts → namespace-Phxf0Lep.d.mts} +2 -2
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.d.mts +2 -2
- package/dist/runtime-node/index.mjs +22 -22
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schemas-CJKDu4Kt.d.mts → schemas-2_D4iVbb.d.mts} +1 -1
- package/dist/{schemas-DnY1EYUr.d.mts → schemas-CaYEFzK_.d.mts} +2 -2
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- 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/index.d.mts +16 -16
- package/dist/services/session/index.d.mts +2 -2
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +2 -2
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{session-lineage-BQimcKsh.d.mts → session-lineage-C3myyt5x.d.mts} +1 -1
- package/dist/{transition-Rp5wD763.d.mts → transition-D-Lgbp1j.d.mts} +1 -1
- package/dist/{types-CJrhRe5f.d.mts → types-DhbllltK.d.mts} +3 -3
- package/dist/{view-builder-CIDqBcRz.d.mts → view-builder-CHUTXJDl.d.mts} +2 -2
- package/dist/workflow-engine/index.d.mts +32 -32
- package/dist/workflow-worker-ChrMIcKm.mjs +2 -0
- package/package.json +1 -1
- package/dist/bus-DlTN167w.mjs +0 -9
- package/dist/client-CgtNXGXg.mjs +0 -1
- package/dist/workflow-worker-COM5U2Rv.mjs +0 -2
- package/dist/{index-CCH0Dnty2.d.mts → index-Htfr-K5U2.d.mts} +6 -6
- package/dist/{schemas-CRobhM7q.d.mts → schemas-JjyFxrC0.d.mts} +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as ClientDefinitionInput, E as ClientDefinition } from "./hook-responses-
|
|
1
|
+
import { D as ClientDefinitionInput, E as ClientDefinition } from "./hook-responses-Dq16X3Cb.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -90,8 +90,8 @@ declare const ClientSchemas: {
|
|
|
90
90
|
projectDir: z.ZodOptional<z.ZodString>;
|
|
91
91
|
configInheritance: z.ZodOptional<z.ZodEnum<{
|
|
92
92
|
empty: "empty";
|
|
93
|
-
full: "full";
|
|
94
93
|
"auth-only": "auth-only";
|
|
94
|
+
full: "full";
|
|
95
95
|
}>>;
|
|
96
96
|
}, z.core.$strip>;
|
|
97
97
|
response: z.ZodObject<{
|
|
@@ -507,8 +507,8 @@ declare const ClientSchemas: {
|
|
|
507
507
|
machineId: z.ZodOptional<z.ZodString>;
|
|
508
508
|
startMode: z.ZodOptional<z.ZodEnum<{
|
|
509
509
|
fork: "fork";
|
|
510
|
-
fresh: "fresh";
|
|
511
510
|
resume: "resume";
|
|
511
|
+
fresh: "fresh";
|
|
512
512
|
clear: "clear";
|
|
513
513
|
compact: "compact";
|
|
514
514
|
}>>;
|
|
@@ -561,6 +561,42 @@ declare const ClientSchemas: {
|
|
|
561
561
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
562
562
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
563
563
|
}, z.core.$strip>;
|
|
564
|
+
'session.compaction.pre': z.ZodObject<{
|
|
565
|
+
clientId: z.ZodString;
|
|
566
|
+
source: z.ZodString;
|
|
567
|
+
observedAt: z.ZodNumber;
|
|
568
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
569
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
570
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
571
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
572
|
+
auto: "auto";
|
|
573
|
+
manual: "manual";
|
|
574
|
+
}>>;
|
|
575
|
+
transcriptPath: z.ZodOptional<z.ZodString>;
|
|
576
|
+
}, z.core.$strip>;
|
|
577
|
+
'session.subagent.started': z.ZodObject<{
|
|
578
|
+
clientId: z.ZodString;
|
|
579
|
+
source: z.ZodString;
|
|
580
|
+
observedAt: z.ZodNumber;
|
|
581
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
582
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
583
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
584
|
+
agentId: z.ZodString;
|
|
585
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
586
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
587
|
+
}, z.core.$strip>;
|
|
588
|
+
'session.subagent.completed': z.ZodObject<{
|
|
589
|
+
clientId: z.ZodString;
|
|
590
|
+
source: z.ZodString;
|
|
591
|
+
observedAt: z.ZodNumber;
|
|
592
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
593
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
594
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
595
|
+
agentId: z.ZodString;
|
|
596
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
597
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
598
|
+
agentTranscriptPath: z.ZodOptional<z.ZodString>;
|
|
599
|
+
}, z.core.$strip>;
|
|
564
600
|
'wiring.list': {
|
|
565
601
|
request: z.ZodObject<{
|
|
566
602
|
clientId: z.ZodOptional<z.ZodString>;
|
|
@@ -1487,8 +1523,8 @@ declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "
|
|
|
1487
1523
|
/** Zod schema for the client-reported session start mode. */
|
|
1488
1524
|
declare const ClientSessionStartModeSchema: z.ZodEnum<{
|
|
1489
1525
|
fork: "fork";
|
|
1490
|
-
fresh: "fresh";
|
|
1491
1526
|
resume: "resume";
|
|
1527
|
+
fresh: "fresh";
|
|
1492
1528
|
clear: "clear";
|
|
1493
1529
|
compact: "compact";
|
|
1494
1530
|
}>;
|
|
@@ -1506,8 +1542,8 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
|
|
|
1506
1542
|
machineId: z.ZodOptional<z.ZodString>;
|
|
1507
1543
|
startMode: z.ZodOptional<z.ZodEnum<{
|
|
1508
1544
|
fork: "fork";
|
|
1509
|
-
fresh: "fresh";
|
|
1510
1545
|
resume: "resume";
|
|
1546
|
+
fresh: "fresh";
|
|
1511
1547
|
clear: "clear";
|
|
1512
1548
|
compact: "compact";
|
|
1513
1549
|
}>>;
|
|
@@ -1605,6 +1641,125 @@ declare const ClientSessionToolPostSchema: z.ZodObject<{
|
|
|
1605
1641
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
1606
1642
|
}, z.core.$strip>;
|
|
1607
1643
|
type ClientSessionToolPost = z.infer<typeof ClientSessionToolPostSchema>;
|
|
1644
|
+
/**
|
|
1645
|
+
* Closed set of compaction trigger types a client runtime can report.
|
|
1646
|
+
*
|
|
1647
|
+
* - `'manual'` — the user explicitly requested context compaction.
|
|
1648
|
+
* - `'auto'` — the client runtime triggered compaction automatically
|
|
1649
|
+
* (e.g. approaching the context-window limit).
|
|
1650
|
+
*/
|
|
1651
|
+
declare const CLIENT_SESSION_COMPACTION_TRIGGERS: readonly ["manual", "auto"];
|
|
1652
|
+
/** Zod schema for the client-reported compaction trigger. */
|
|
1653
|
+
declare const ClientSessionCompactionTriggerSchema: z.ZodEnum<{
|
|
1654
|
+
auto: "auto";
|
|
1655
|
+
manual: "manual";
|
|
1656
|
+
}>;
|
|
1657
|
+
/** Client-reported compaction trigger discriminator. */
|
|
1658
|
+
type ClientSessionCompactionTrigger = z.infer<typeof ClientSessionCompactionTriggerSchema>;
|
|
1659
|
+
/**
|
|
1660
|
+
* Payload for `client.session.compaction.pre`.
|
|
1661
|
+
*
|
|
1662
|
+
* Fires BEFORE the client compacts its context window. The post-compaction
|
|
1663
|
+
* framework signal is `client.session.started` with `startMode: 'compact'`,
|
|
1664
|
+
* delivered by the SessionStart hook that fires after compaction on the SAME
|
|
1665
|
+
* session id. Both clients also fire a raw-only `PostCompact` hook carrying a
|
|
1666
|
+
* `trigger` field, but its ordering relative to `SessionStart(compact)` differs
|
|
1667
|
+
* by client: Codex fires `PreCompact → PostCompact → SessionStart(compact)`;
|
|
1668
|
+
* Claude Code fires `PreCompact → SessionStart(compact) → PostCompact`.
|
|
1669
|
+
* Consumers must treat `client.session.started{startMode:'compact'}` as the
|
|
1670
|
+
* authoritative post-compaction signal and must NOT assume it precedes or
|
|
1671
|
+
* follows the raw PostCompact hook.
|
|
1672
|
+
*
|
|
1673
|
+
* Three compaction signals together describe the full compaction lifecycle:
|
|
1674
|
+
* `client.session.compaction.pre` fires before compaction begins (from hooks,
|
|
1675
|
+
* carries `trigger` and `transcriptPath`); `client.session.started` with
|
|
1676
|
+
* `startMode: 'compact'` fires after compaction completes (from hooks, same
|
|
1677
|
+
* payload as a normal session start); and `SessionSubjects.session.compacted` (from `@makaio/contracts`) is emitted
|
|
1678
|
+
* post-hoc during transcript import, after the compacted session has been
|
|
1679
|
+
* ingested.
|
|
1680
|
+
*
|
|
1681
|
+
* Fields:
|
|
1682
|
+
* - `trigger` — how the compaction was initiated (`'manual'` or `'auto'`).
|
|
1683
|
+
* Absent when the adapter cannot determine the trigger.
|
|
1684
|
+
* - `transcriptPath` — absolute path to the transcript file at the time of
|
|
1685
|
+
* compaction, if available from the client runtime.
|
|
1686
|
+
*/
|
|
1687
|
+
declare const ClientSessionCompactionPreSchema: z.ZodObject<{
|
|
1688
|
+
clientId: z.ZodString;
|
|
1689
|
+
source: z.ZodString;
|
|
1690
|
+
observedAt: z.ZodNumber;
|
|
1691
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1692
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1693
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1694
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
1695
|
+
auto: "auto";
|
|
1696
|
+
manual: "manual";
|
|
1697
|
+
}>>;
|
|
1698
|
+
transcriptPath: z.ZodOptional<z.ZodString>;
|
|
1699
|
+
}, z.core.$strip>;
|
|
1700
|
+
type ClientSessionCompactionPre = z.infer<typeof ClientSessionCompactionPreSchema>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Payload for `client.session.subagent.started`.
|
|
1703
|
+
*
|
|
1704
|
+
* Emitted when a client-native subagent is observed via hooks. The subagent
|
|
1705
|
+
* event belongs to the parent session: `adapterSessionId` on the base carries
|
|
1706
|
+
* the parent session id (the same as every other `client.session.*` event),
|
|
1707
|
+
* which keeps subagent events joinable on `adapterSessionId`. The subagent
|
|
1708
|
+
* identity is `agentId`.
|
|
1709
|
+
*
|
|
1710
|
+
* Fields:
|
|
1711
|
+
* - `agentId` — stable identity of the subagent as reported by the client
|
|
1712
|
+
* runtime.
|
|
1713
|
+
* - `agentType` — optional type label for the subagent (e.g. the agent type
|
|
1714
|
+
* string reported by the client).
|
|
1715
|
+
* - `turnId` — opaque turn correlation id, if available. Codex populates
|
|
1716
|
+
* this from `turn_id`; Claude Code does not expose it.
|
|
1717
|
+
*
|
|
1718
|
+
* Note: this is the client-native OBSERVATION of a subagent (`agentId` = the
|
|
1719
|
+
* client's agent id, `adapterSessionId` = the owning session); it is distinct
|
|
1720
|
+
* from the framework's control-plane `subagent.*` namespace
|
|
1721
|
+
* (`SubagentSchemas`/`SubagentSubjects`, using `subagentId` and
|
|
1722
|
+
* `parentSessionId`) exported from `@makaio/contracts`. Client-native keys
|
|
1723
|
+
* (`makaio.client.agent_id`, `makaio.client.agent_type`, `makaio.client.turn_id`)
|
|
1724
|
+
* keep telemetry joins from attributing client-observed subagents to framework
|
|
1725
|
+
* agents that share the `makaio.agent.id` / `makaio.turn.id` namespace.
|
|
1726
|
+
*/
|
|
1727
|
+
declare const ClientSessionSubagentStartedSchema: z.ZodObject<{
|
|
1728
|
+
clientId: z.ZodString;
|
|
1729
|
+
source: z.ZodString;
|
|
1730
|
+
observedAt: z.ZodNumber;
|
|
1731
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1732
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1734
|
+
agentId: z.ZodString;
|
|
1735
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
1736
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
}, z.core.$strip>;
|
|
1738
|
+
type ClientSessionSubagentStarted = z.infer<typeof ClientSessionSubagentStartedSchema>;
|
|
1739
|
+
/**
|
|
1740
|
+
* Payload for `client.session.subagent.completed`.
|
|
1741
|
+
*
|
|
1742
|
+
* Emitted when a client-native subagent completes. Extends
|
|
1743
|
+
* {@link ClientSessionSubagentStartedSchema} with an optional transcript path
|
|
1744
|
+
* so consumers can trigger targeted log imports for the finished subagent turn.
|
|
1745
|
+
*
|
|
1746
|
+
* Fields (in addition to {@link ClientSessionSubagentStartedSchema}):
|
|
1747
|
+
* - `agentTranscriptPath` — absolute path to the subagent's transcript file,
|
|
1748
|
+
* if the client runtime exposes it at completion time.
|
|
1749
|
+
*/
|
|
1750
|
+
declare const ClientSessionSubagentCompletedSchema: z.ZodObject<{
|
|
1751
|
+
clientId: z.ZodString;
|
|
1752
|
+
source: z.ZodString;
|
|
1753
|
+
observedAt: z.ZodNumber;
|
|
1754
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1755
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1756
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1757
|
+
agentId: z.ZodString;
|
|
1758
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
1759
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
1760
|
+
agentTranscriptPath: z.ZodOptional<z.ZodString>;
|
|
1761
|
+
}, z.core.$strip>;
|
|
1762
|
+
type ClientSessionSubagentCompleted = z.infer<typeof ClientSessionSubagentCompletedSchema>;
|
|
1608
1763
|
/**
|
|
1609
1764
|
* A single wiring entry in a client `wiring.list` response.
|
|
1610
1765
|
*
|
|
@@ -1631,7 +1786,9 @@ type ClientWiringEntry = z.infer<typeof ClientWiringEntrySchema>;
|
|
|
1631
1786
|
* observed session semantics subjects
|
|
1632
1787
|
* (`client.session.started`, `client.session.userPrompt.submitted`,
|
|
1633
1788
|
* `client.session.turn.started`, `client.session.turn.completed`,
|
|
1634
|
-
* `client.session.tool.pre`, `client.session.tool.post
|
|
1789
|
+
* `client.session.tool.pre`, `client.session.tool.post`,
|
|
1790
|
+
* `client.session.compaction.pre`, `client.session.subagent.started`,
|
|
1791
|
+
* `client.session.subagent.completed`), the global
|
|
1635
1792
|
* wiring aggregator (`client.wiring.list`), the binary management
|
|
1636
1793
|
* subjects (`client.list`, `client.install`, `client.uninstall`,
|
|
1637
1794
|
* `client.update`, `client.setActive`, `client.installJob.progress`,
|
|
@@ -1676,8 +1833,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
1676
1833
|
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1677
1834
|
configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1678
1835
|
empty: "empty";
|
|
1679
|
-
full: "full";
|
|
1680
1836
|
"auth-only": "auth-only";
|
|
1837
|
+
full: "full";
|
|
1681
1838
|
}>>;
|
|
1682
1839
|
}, _$zod_v4_core0.$strip>;
|
|
1683
1840
|
response: _$zod.ZodObject<{
|
|
@@ -2077,8 +2234,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2077
2234
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2078
2235
|
startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2079
2236
|
fork: "fork";
|
|
2080
|
-
fresh: "fresh";
|
|
2081
2237
|
resume: "resume";
|
|
2238
|
+
fresh: "fresh";
|
|
2082
2239
|
clear: "clear";
|
|
2083
2240
|
compact: "compact";
|
|
2084
2241
|
}>>;
|
|
@@ -2131,6 +2288,42 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2131
2288
|
toolCallId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2132
2289
|
success: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2133
2290
|
}, _$zod_v4_core0.$strip>;
|
|
2291
|
+
'session.compaction.pre': _$zod.ZodObject<{
|
|
2292
|
+
clientId: _$zod.ZodString;
|
|
2293
|
+
source: _$zod.ZodString;
|
|
2294
|
+
observedAt: _$zod.ZodNumber;
|
|
2295
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2296
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2297
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2298
|
+
trigger: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2299
|
+
auto: "auto";
|
|
2300
|
+
manual: "manual";
|
|
2301
|
+
}>>;
|
|
2302
|
+
transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2303
|
+
}, _$zod_v4_core0.$strip>;
|
|
2304
|
+
'session.subagent.started': _$zod.ZodObject<{
|
|
2305
|
+
clientId: _$zod.ZodString;
|
|
2306
|
+
source: _$zod.ZodString;
|
|
2307
|
+
observedAt: _$zod.ZodNumber;
|
|
2308
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2309
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2310
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2311
|
+
agentId: _$zod.ZodString;
|
|
2312
|
+
agentType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2313
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2314
|
+
}, _$zod_v4_core0.$strip>;
|
|
2315
|
+
'session.subagent.completed': _$zod.ZodObject<{
|
|
2316
|
+
clientId: _$zod.ZodString;
|
|
2317
|
+
source: _$zod.ZodString;
|
|
2318
|
+
observedAt: _$zod.ZodNumber;
|
|
2319
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2320
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2321
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2322
|
+
agentId: _$zod.ZodString;
|
|
2323
|
+
agentType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2324
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2325
|
+
agentTranscriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2326
|
+
}, _$zod_v4_core0.$strip>;
|
|
2134
2327
|
'wiring.list': {
|
|
2135
2328
|
request: _$zod.ZodObject<{
|
|
2136
2329
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2316,8 +2509,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2316
2509
|
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2317
2510
|
configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2318
2511
|
empty: "empty";
|
|
2319
|
-
full: "full";
|
|
2320
2512
|
"auth-only": "auth-only";
|
|
2513
|
+
full: "full";
|
|
2321
2514
|
}>>;
|
|
2322
2515
|
}, _$zod_v4_core0.$strip>;
|
|
2323
2516
|
response: _$zod.ZodObject<{
|
|
@@ -2717,8 +2910,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2717
2910
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2718
2911
|
startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2719
2912
|
fork: "fork";
|
|
2720
|
-
fresh: "fresh";
|
|
2721
2913
|
resume: "resume";
|
|
2914
|
+
fresh: "fresh";
|
|
2722
2915
|
clear: "clear";
|
|
2723
2916
|
compact: "compact";
|
|
2724
2917
|
}>>;
|
|
@@ -2771,6 +2964,42 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2771
2964
|
toolCallId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2772
2965
|
success: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2773
2966
|
}, _$zod_v4_core0.$strip>;
|
|
2967
|
+
'session.compaction.pre': _$zod.ZodObject<{
|
|
2968
|
+
clientId: _$zod.ZodString;
|
|
2969
|
+
source: _$zod.ZodString;
|
|
2970
|
+
observedAt: _$zod.ZodNumber;
|
|
2971
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2972
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2973
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2974
|
+
trigger: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2975
|
+
auto: "auto";
|
|
2976
|
+
manual: "manual";
|
|
2977
|
+
}>>;
|
|
2978
|
+
transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2979
|
+
}, _$zod_v4_core0.$strip>;
|
|
2980
|
+
'session.subagent.started': _$zod.ZodObject<{
|
|
2981
|
+
clientId: _$zod.ZodString;
|
|
2982
|
+
source: _$zod.ZodString;
|
|
2983
|
+
observedAt: _$zod.ZodNumber;
|
|
2984
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2985
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2986
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2987
|
+
agentId: _$zod.ZodString;
|
|
2988
|
+
agentType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2989
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2990
|
+
}, _$zod_v4_core0.$strip>;
|
|
2991
|
+
'session.subagent.completed': _$zod.ZodObject<{
|
|
2992
|
+
clientId: _$zod.ZodString;
|
|
2993
|
+
source: _$zod.ZodString;
|
|
2994
|
+
observedAt: _$zod.ZodNumber;
|
|
2995
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2996
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2997
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2998
|
+
agentId: _$zod.ZodString;
|
|
2999
|
+
agentType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3000
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3001
|
+
agentTranscriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3002
|
+
}, _$zod_v4_core0.$strip>;
|
|
2774
3003
|
'wiring.list': {
|
|
2775
3004
|
request: _$zod.ZodObject<{
|
|
2776
3005
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2979,8 +3208,8 @@ declare const SessionConfigEnvSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
|
2979
3208
|
*/
|
|
2980
3209
|
declare const SessionConfigInheritanceSchema: z.ZodEnum<{
|
|
2981
3210
|
empty: "empty";
|
|
2982
|
-
full: "full";
|
|
2983
3211
|
"auth-only": "auth-only";
|
|
3212
|
+
full: "full";
|
|
2984
3213
|
}>;
|
|
2985
3214
|
type SessionConfigInheritance = z.infer<typeof SessionConfigInheritanceSchema>;
|
|
2986
3215
|
/**
|
|
@@ -3137,8 +3366,8 @@ declare const ClientSessionConfigSchemas: {
|
|
|
3137
3366
|
projectDir: z.ZodOptional<z.ZodString>;
|
|
3138
3367
|
configInheritance: z.ZodOptional<z.ZodEnum<{
|
|
3139
3368
|
empty: "empty";
|
|
3140
|
-
full: "full";
|
|
3141
3369
|
"auth-only": "auth-only";
|
|
3370
|
+
full: "full";
|
|
3142
3371
|
}>>;
|
|
3143
3372
|
}, z.core.$strip>;
|
|
3144
3373
|
response: z.ZodObject<{
|
|
@@ -3193,8 +3422,8 @@ declare const SessionConfigSetupRequestSchema: z.ZodObject<{
|
|
|
3193
3422
|
}>;
|
|
3194
3423
|
configInheritance: z.ZodEnum<{
|
|
3195
3424
|
empty: "empty";
|
|
3196
|
-
full: "full";
|
|
3197
3425
|
"auth-only": "auth-only";
|
|
3426
|
+
full: "full";
|
|
3198
3427
|
}>;
|
|
3199
3428
|
}, z.core.$strip>;
|
|
3200
3429
|
type SessionConfigSetupRequest = z.infer<typeof SessionConfigSetupRequestSchema>;
|
|
@@ -3302,4 +3531,4 @@ type SessionConfigDestroyResponse = z.infer<(typeof ClientSessionConfigSchemas)[
|
|
|
3302
3531
|
type SessionConfigCleanupRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['request']>;
|
|
3303
3532
|
type SessionConfigCleanupResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['response']>;
|
|
3304
3533
|
//#endregion
|
|
3305
|
-
export {
|
|
3534
|
+
export { ClientSessionStartModeSchema as $, ClientVersionChanged as $t, SessionConfigInheritance as A, ClientSessionLocator as An, ClientRuntimeStarted as At, SessionConfigTeardownResponseSchema as B, ClientUsageWindowsSchema as Bn, ClientInstallSchema as Bt, SessionConfigCleanupRequest as C, ClientScanResult as Cn, ClientRuntimeObserveRequest as Ct, SessionConfigDestroyRequest as D, ClientSessionAccountObserveRequest as Dn, ClientRuntimeSourceLayer as Dt, SessionConfigCreateResponse as E, ClientScanTargetSchema as En, ClientRuntimeSource as Et, SessionConfigSetupResponse as F, ClientUsageSnapshot as Fn, ClientInstallCompletedSchema as Ft, CLIENT_SESSION_START_MODES as G, ClientResolveBinaryResponse as Gn, ClientSetActiveResponse as Gt, ClientNamespace as H, ClientExecutionContext as Hn, ClientListResponse as Ht, SessionConfigSetupResponseSchema as I, ClientUsageSnapshotSchema as In, ClientInstallProgress as It, ClientSessionCompactionTrigger as J, ClientUninstallResponse as Jt, ClientSessionCompactionPre as K, ClientResolveBinarySchema as Kn, ClientSetActiveSchema as Kt, SessionConfigTeardownRequest as L, ClientUsageWindow as Ln, ClientInstallProgressSchema as Lt, SessionConfigLeaseIdSchema as M, ClientUsageIngestRequest as Mn, ClientBinaryListEntry as Mt, SessionConfigSetupRequest as N, ClientUsageIngestResponse as Nn, ClientBinaryListEntrySchema as Nt, SessionConfigDestroyResponse as O, ClientSessionAccountObserveResponse as On, ClientRuntimeSourceLayerSchema as Ot, SessionConfigSetupRequestSchema as P, ClientUsageIngestSchema as Pn, ClientInstallCompleted as Pt, ClientSessionStartMode as Q, ClientUpdateSchema as Qt, SessionConfigTeardownRequestSchema as R, ClientUsageWindowSchema as Rn, ClientInstallRequest as Rt, ProfileUpdateResponse as S, ClientMetadataSchema as Sn, ClientRuntimeIsAdapterManagedSchema as St, SessionConfigCreateRequest as T, ClientScanTarget as Tn, ClientRuntimeObserveSchema as Tt, ClientSubjects as U, ClientExecutionContextSchema as Un, ClientListSchema as Ut, createClientDefinition as V, ClientSchemas as Vn, ClientListRequest as Vt, CLIENT_SESSION_COMPACTION_TRIGGERS as W, ClientResolveBinaryRequest as Wn, ClientSetActiveRequest as Wt, ClientSessionObservedBase as X, ClientUpdateRequest as Xt, ClientSessionCompactionTriggerSchema as Y, ClientUninstallSchema as Yt, ClientSessionObservedBaseSchema as Z, ClientUpdateResponse as Zt, ProfileListRequest as _, ClientAccountObserveSchema as _n, ClientWiringEntrySchema as _t, ClientConfigPrimeSchema as a, InstalledVersionEntry as an, ClientSessionSubagentStartedSchema as at, ProfileSetDefaultResponse as b, ClientIdentityObservation as bn, ClientRuntimeIsAdapterManagedRequest as bt, ClientProfileSchema as c, ManagedInstallStrategySchema as cn, ClientSessionToolPre as ct, ProfileCreateRequest as d, ClientSessionUsageSnapshot as dn, ClientSessionTurnCompletedSchema as dt, ClientVersionChangedSchema as en, ClientSessionStarted as et, ProfileCreateResponse as f, ClientSessionUsageSnapshotSchema as fn, ClientSessionTurnStarted as ft, ProfileGetResponse as g, ClientAccountObserveResponse as gn, ClientWiringEntry as gt, ProfileGetRequest as h, ClientAccountObserveRequest as hn, ClientSessionUserPromptSubmittedSchema as ht, ClientConfigPrimeResponse as i, InstallStageSchema as in, ClientSessionSubagentStarted as it, SessionConfigInheritanceSchema as j, ClientSessionLocatorSchema as jn, ClientRuntimeStartedSchema as jt, SessionConfigEnvSchema as k, ClientSessionAccountObserveSchema as kn, ClientRuntimeSourceSchema as kt, ClientProfileSchemas as l, ClientSessionUsageCostProvenance as ln, ClientSessionToolPreSchema as lt, ProfileDeleteResponse as m, ClientAccountIdentifierSchema as mn, ClientSessionUserPromptSubmitted as mt, ClientConfigPrimePhaseSchema as n, InstallErrorSchema as nn, ClientSessionSubagentCompleted as nt, ClientProfile as o, InstalledVersionEntrySchema as on, ClientSessionToolPost as ot, ProfileDeleteRequest as p, ClientAccountIdentifier as pn, ClientSessionTurnStartedSchema as pt, ClientSessionCompactionPreSchema as q, ClientUninstallRequest as qt, ClientConfigPrimeRequest as r, InstallStage as rn, ClientSessionSubagentCompletedSchema as rt, ClientProfileNameSchema as s, ManagedInstallStrategy as sn, ClientSessionToolPostSchema as st, ClientConfigPrimePhase as t, InstallError as tn, ClientSessionStartedSchema as tt, ClientSessionConfigSchemas as u, ClientSessionUsageCostProvenanceSchema as un, ClientSessionTurnCompleted as ut, ProfileListResponse as v, ClientIdentifierStrength as vn, ClientRuntimeEvidenceBase as vt, SessionConfigCleanupResponse as w, ClientScanResultSchema as wn, ClientRuntimeObserveResponse as wt, ProfileUpdateRequest as x, ClientIdentityObservationSchema as xn, ClientRuntimeIsAdapterManagedResponse as xt, ProfileSetDefaultRequest as y, ClientIdentifierStrengthSchema as yn, ClientRuntimeEvidenceBaseSchema as yt, SessionConfigTeardownResponse as z, ClientUsageWindows as zn, ClientInstallResponse as zt };
|
|
@@ -281,8 +281,8 @@ declare const WorkerDispatchRequestSchema: z.ZodObject<{
|
|
|
281
281
|
"exit-and-resume": "exit-and-resume";
|
|
282
282
|
}>>;
|
|
283
283
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
284
|
-
authority: "authority";
|
|
285
284
|
worker: "worker";
|
|
285
|
+
authority: "authority";
|
|
286
286
|
}>>;
|
|
287
287
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
288
288
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -523,8 +523,8 @@ declare const WorkerSchemas$1: {
|
|
|
523
523
|
"exit-and-resume": "exit-and-resume";
|
|
524
524
|
}>>;
|
|
525
525
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
526
|
-
authority: "authority";
|
|
527
526
|
worker: "worker";
|
|
527
|
+
authority: "authority";
|
|
528
528
|
}>>;
|
|
529
529
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
530
530
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -1147,8 +1147,8 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
|
|
|
1147
1147
|
"exit-and-resume": "exit-and-resume";
|
|
1148
1148
|
}>>;
|
|
1149
1149
|
terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1150
|
-
authority: "authority";
|
|
1151
1150
|
worker: "worker";
|
|
1151
|
+
authority: "authority";
|
|
1152
1152
|
}>>;
|
|
1153
1153
|
materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1154
1154
|
kind: _$zod.ZodLiteral<"local-directory">;
|
|
@@ -1658,8 +1658,8 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
1658
1658
|
"exit-and-resume": "exit-and-resume";
|
|
1659
1659
|
}>>;
|
|
1660
1660
|
terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1661
|
-
authority: "authority";
|
|
1662
1661
|
worker: "worker";
|
|
1662
|
+
authority: "authority";
|
|
1663
1663
|
}>>;
|
|
1664
1664
|
materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1665
1665
|
kind: _$zod.ZodLiteral<"local-directory">;
|
|
@@ -258,8 +258,8 @@ declare const MaterializationSchemas: {
|
|
|
258
258
|
provider: z.ZodString;
|
|
259
259
|
externalId: z.ZodString;
|
|
260
260
|
operation: z.ZodEnum<{
|
|
261
|
-
upserted: "upserted";
|
|
262
261
|
deleted: "deleted";
|
|
262
|
+
upserted: "upserted";
|
|
263
263
|
}>;
|
|
264
264
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
265
265
|
external: "external";
|
|
@@ -500,8 +500,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
500
500
|
provider: z.ZodString;
|
|
501
501
|
externalId: z.ZodString;
|
|
502
502
|
operation: z.ZodEnum<{
|
|
503
|
-
upserted: "upserted";
|
|
504
503
|
deleted: "deleted";
|
|
504
|
+
upserted: "upserted";
|
|
505
505
|
}>;
|
|
506
506
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
507
507
|
external: "external";
|
|
@@ -754,8 +754,8 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
|
|
|
754
754
|
provider: z.ZodString;
|
|
755
755
|
externalId: z.ZodString;
|
|
756
756
|
operation: z.ZodEnum<{
|
|
757
|
-
upserted: "upserted";
|
|
758
757
|
deleted: "deleted";
|
|
758
|
+
upserted: "upserted";
|
|
759
759
|
}>;
|
|
760
760
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
761
761
|
external: "external";
|