@makaio/framework 1.0.0-dev-1789404058608 → 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.d.mts +24 -24
- 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/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/index.d.mts +31 -31
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/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/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{index-Du4wUv9q.d.mts → index-7CVumCjj.d.mts} +6 -6
- package/dist/{index-DaAWCLe9.d.mts → index-B-u0Tu8X.d.mts} +24 -24
- package/dist/{index-C1nSuiG0.d.mts → index-B6WkHnCQ.d.mts} +1 -1
- package/dist/{index-N3f65Z_S.d.mts → index-Bg3WVL8n.d.mts} +8 -8
- package/dist/{index-BArnbdj6.d.mts → index-Bh57xARQ.d.mts} +65 -65
- package/dist/{index-n1hV8uFw2.d.mts → index-C6e9cwAl2.d.mts} +7 -7
- package/dist/{index-CGxjX4fw.d.mts → index-CRZ1jrxp.d.mts} +236 -7
- package/dist/{index-DH0m01hJ2.d.mts → index-CXpgL3gz2.d.mts} +3 -3
- package/dist/{index-DjQebquc.d.mts → index-ClKwF6LE.d.mts} +291 -291
- package/dist/{index-gu4mzfTr.d.mts → index-D_j_T3nS.d.mts} +1 -1
- package/dist/{index-BEi6nx1S2.d.mts → index-De_oh9M-2.d.mts} +1 -1
- package/dist/{index-BUC9P6Q12.d.mts → index-iVisrVdC2.d.mts} +6 -6
- package/dist/{index-HMb0RcTG2.d.mts → index-mTaFX2HH2.d.mts} +12 -12
- 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-DQpBf2CK.d.mts → namespace-B5IFLQc-.d.mts} +6 -6
- package/dist/{namespace-uCaKZm89.d.mts → namespace-BEbQb19g.d.mts} +2 -2
- package/dist/{namespace-CPGTaFqO.d.mts → namespace-Phxf0Lep.d.mts} +2 -2
- package/dist/{namespace-D2RZfl0a.d.mts → namespace-UFcDEBJB.d.mts} +2 -2
- package/dist/{namespace-DSRoDmT6.d.mts → namespace-rJ3ycPMg.d.mts} +2 -2
- package/dist/{package-D-oIvXJD.d.mts → package-CDj3F-L3.d.mts} +1 -1
- package/dist/package.json +1 -1
- package/dist/{schemas-CJKDu4Kt.d.mts → schemas-2_D4iVbb.d.mts} +1 -1
- package/dist/{schemas-BQsXr4FF.d.mts → schemas-CaYEFzK_.d.mts} +5 -5
- package/dist/{schemas-BcynDWi-.d.mts → schemas-Cj6Gbqch.d.mts} +7 -7
- package/dist/{schemas-e8o4JGBu.d.mts → schemas-Cq1d5tid.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/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/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 +25 -25
- 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 +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tray-menu/index.d.mts +2 -2
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/{session-lineage-BQimcKsh.d.mts → session-lineage-C3myyt5x.d.mts} +1 -1
- package/dist/{transition-JmAdtcwW.d.mts → transition-D-Lgbp1j.d.mts} +1 -1
- package/dist/{types-C5MnkQv6.d.mts → types-DhbllltK.d.mts} +9 -9
- package/dist/{view-builder-ByHQ4Oop.d.mts → view-builder-CHUTXJDl.d.mts} +2 -2
- package/dist/workflow-engine/index.d.mts +34 -34
- package/dist/workflow-engine/package.d.mts +1 -1
- package/package.json +1 -1
- package/dist/bus-DlTN167w.mjs +0 -9
- package/dist/client-CgtNXGXg.mjs +0 -1
- package/dist/{index-CCH0Dnty2.d.mts → index-Htfr-K5U2.d.mts} +6 -6
- package/dist/{schemas-lAb9QH1A.d.mts → schemas-JjyFxrC0.d.mts} +8 -8
|
@@ -27,10 +27,10 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
|
|
|
27
27
|
*/
|
|
28
28
|
declare const VariantUpgradeStatusSchema: z.ZodEnum<{
|
|
29
29
|
error: "error";
|
|
30
|
+
complete: "complete";
|
|
30
31
|
progress: "progress";
|
|
31
32
|
downloading: "downloading";
|
|
32
33
|
applying: "applying";
|
|
33
|
-
complete: "complete";
|
|
34
34
|
}>;
|
|
35
35
|
/** Inferred TypeScript type for an upgrade status value. */
|
|
36
36
|
type VariantUpgradeStatus = z.infer<typeof VariantUpgradeStatusSchema>;
|
|
@@ -58,8 +58,8 @@ declare const VariantSchemas: {
|
|
|
58
58
|
}>;
|
|
59
59
|
bundleCEF: z.ZodBoolean;
|
|
60
60
|
defaultRenderer: z.ZodEnum<{
|
|
61
|
-
cef: "cef";
|
|
62
61
|
native: "native";
|
|
62
|
+
cef: "cef";
|
|
63
63
|
}>;
|
|
64
64
|
}, z.core.$strip>;
|
|
65
65
|
};
|
|
@@ -101,10 +101,10 @@ declare const VariantSchemas: {
|
|
|
101
101
|
upgradeProgress: z.ZodObject<{
|
|
102
102
|
status: z.ZodEnum<{
|
|
103
103
|
error: "error";
|
|
104
|
+
complete: "complete";
|
|
104
105
|
progress: "progress";
|
|
105
106
|
downloading: "downloading";
|
|
106
107
|
applying: "applying";
|
|
107
|
-
complete: "complete";
|
|
108
108
|
}>;
|
|
109
109
|
percent: z.ZodOptional<z.ZodNumber>;
|
|
110
110
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -134,8 +134,8 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
|
|
|
134
134
|
}>;
|
|
135
135
|
bundleCEF: _$zod.ZodBoolean;
|
|
136
136
|
defaultRenderer: _$zod.ZodEnum<{
|
|
137
|
-
cef: "cef";
|
|
138
137
|
native: "native";
|
|
138
|
+
cef: "cef";
|
|
139
139
|
}>;
|
|
140
140
|
}, _$zod_v4_core0.$strip>;
|
|
141
141
|
};
|
|
@@ -158,10 +158,10 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
|
|
|
158
158
|
upgradeProgress: _$zod.ZodObject<{
|
|
159
159
|
status: _$zod.ZodEnum<{
|
|
160
160
|
error: "error";
|
|
161
|
+
complete: "complete";
|
|
161
162
|
progress: "progress";
|
|
162
163
|
downloading: "downloading";
|
|
163
164
|
applying: "applying";
|
|
164
|
-
complete: "complete";
|
|
165
165
|
}>;
|
|
166
166
|
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
167
167
|
message: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -181,8 +181,8 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
181
181
|
}>;
|
|
182
182
|
bundleCEF: _$zod.ZodBoolean;
|
|
183
183
|
defaultRenderer: _$zod.ZodEnum<{
|
|
184
|
-
cef: "cef";
|
|
185
184
|
native: "native";
|
|
185
|
+
cef: "cef";
|
|
186
186
|
}>;
|
|
187
187
|
}, _$zod_v4_core0.$strip>;
|
|
188
188
|
};
|
|
@@ -205,10 +205,10 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
205
205
|
upgradeProgress: _$zod.ZodObject<{
|
|
206
206
|
status: _$zod.ZodEnum<{
|
|
207
207
|
error: "error";
|
|
208
|
+
complete: "complete";
|
|
208
209
|
progress: "progress";
|
|
209
210
|
downloading: "downloading";
|
|
210
211
|
applying: "applying";
|
|
211
|
-
complete: "complete";
|
|
212
212
|
}>;
|
|
213
213
|
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
214
214
|
message: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -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`,
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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 };
|
|
@@ -706,9 +706,9 @@ declare const WorkerSchemas$1: {
|
|
|
706
706
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
707
707
|
level: z.ZodEnum<{
|
|
708
708
|
inferred: "inferred";
|
|
709
|
+
confirmed: "confirmed";
|
|
709
710
|
assumed: "assumed";
|
|
710
711
|
stated: "stated";
|
|
711
|
-
confirmed: "confirmed";
|
|
712
712
|
verified: "verified";
|
|
713
713
|
}>;
|
|
714
714
|
basis: z.ZodArray<z.ZodObject<{
|
|
@@ -1310,9 +1310,9 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
|
|
|
1310
1310
|
confidence: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1311
1311
|
level: _$zod.ZodEnum<{
|
|
1312
1312
|
inferred: "inferred";
|
|
1313
|
+
confirmed: "confirmed";
|
|
1313
1314
|
assumed: "assumed";
|
|
1314
1315
|
stated: "stated";
|
|
1315
|
-
confirmed: "confirmed";
|
|
1316
1316
|
verified: "verified";
|
|
1317
1317
|
}>;
|
|
1318
1318
|
basis: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -1821,9 +1821,9 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
1821
1821
|
confidence: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1822
1822
|
level: _$zod.ZodEnum<{
|
|
1823
1823
|
inferred: "inferred";
|
|
1824
|
+
confirmed: "confirmed";
|
|
1824
1825
|
assumed: "assumed";
|
|
1825
1826
|
stated: "stated";
|
|
1826
|
-
confirmed: "confirmed";
|
|
1827
1827
|
verified: "verified";
|
|
1828
1828
|
}>;
|
|
1829
1829
|
basis: _$zod.ZodArray<_$zod.ZodObject<{
|