@makaio/framework 1.0.0-dev-1789404058608 → 1.0.0-dev-1789642522820
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/{adapter-C4v_gNTI.mjs → adapter-DSRgsh2d.mjs} +1 -1
- package/dist/adapters/claude/index.d.mts +24 -24
- package/dist/adapters/claude/index.mjs +3 -3
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-BOGcnhgA.mjs +9 -0
- package/dist/client-DqfP7BeX.mjs +1 -0
- package/dist/clients/index.d.mts +152 -11
- package/dist/clients/index.mjs +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- 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 +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 +35 -35
- 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/session/index.mjs +1 -1
- 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/drizzle/0040_session_generation.sql +1 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{framework-packages-Bg4edkkM.mjs → framework-packages-BNFG51Td.mjs} +1 -1
- package/dist/{hook-responses-Dq16X3Cb.d.mts → hook-responses-CQ2q0aPE.d.mts} +47 -4
- 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-Du4wUv9q.d.mts → index-BS-Fhlux.d.mts} +48 -13
- package/dist/{index-BArnbdj6.d.mts → index-Bh57xARQ.d.mts} +65 -65
- package/dist/{index-DH0m01hJ2.d.mts → index-CXpgL3gz2.d.mts} +3 -3
- package/dist/{index-n1hV8uFw2.d.mts → index-CdWxSwhQ2.d.mts} +11 -11
- package/dist/{index-DjQebquc.d.mts → index-ClKwF6LE.d.mts} +291 -291
- package/dist/{index-BUC9P6Q12.d.mts → index-CztxEJrG2.d.mts} +51 -8
- package/dist/{index-BEi6nx1S2.d.mts → index-De_oh9M-2.d.mts} +1 -1
- package/dist/{index-N3f65Z_S.d.mts → index-Dn23R_ck.d.mts} +9 -9
- package/dist/{index-gu4mzfTr.d.mts → index-Hnsy6XhM.d.mts} +1 -1
- package/dist/{index-CWlvL7GB.d.mts → index-nkix3hP7.d.mts} +6 -6
- package/dist/{index-CGxjX4fw.d.mts → index-p1l00SGS.d.mts} +320 -12
- package/dist/{index-T-aAKybB.d.mts → index-xsaaa85T.d.mts} +8 -8
- package/dist/{index-HMb0RcTG2.d.mts → index-zEkS2L862.d.mts} +18 -12
- 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-Cmu-5_P9.d.mts → namespace-BR03HE8G.d.mts} +42 -0
- package/dist/{namespace-uCaKZm89.d.mts → namespace-BqfzcRkL.d.mts} +3 -3
- 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/{orchestrator-shared-CtPB6PAr.mjs → orchestrator-shared-CxO1lfpP.mjs} +1 -1
- package/dist/ownership-memory-handler-BOhmmlJj.mjs +1 -0
- package/dist/{package-D-oIvXJD.d.mts → package-CDj3F-L3.d.mts} +1 -1
- package/dist/package.json +1 -1
- package/dist/{registry-DNMjJ-Oj.mjs → registry-DtaRGU8i.mjs} +1 -0
- package/dist/{schema-BA1cHBbc.d.mts → schema-DqKCg5Ec.d.mts} +30 -0
- package/dist/{schemas-CJKDu4Kt.d.mts → schemas-2_D4iVbb.d.mts} +1 -1
- package/dist/{schemas-BQsXr4FF.d.mts → schemas-CFciElld.d.mts} +7 -7
- package/dist/{schemas-BcynDWi-.d.mts → schemas-Cj6Gbqch.d.mts} +7 -7
- package/dist/schemas-CkxAK13D.mjs +1 -0
- 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 +28 -28
- package/dist/services/index.mjs +1 -1
- package/dist/services/session/index.d.mts +4 -4
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +2 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- 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/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.mjs +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/services/workflow-transitions/index.mjs +1 -1
- package/dist/session-BP5aq2kt.mjs +95 -0
- package/dist/{session-BB0s7c2B.mjs → session-BcArFp9M.mjs} +1 -1
- package/dist/{session-lineage-BQimcKsh.d.mts → session-lineage-C3myyt5x.d.mts} +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/{tool-approval-service-pbkGcAV8.mjs → tool-approval-service-CXTklh3T.mjs} +1 -1
- package/dist/{tools-C5Gy0IQG.mjs → tools-hiFv-jJn.mjs} +1 -1
- package/dist/{transition-JmAdtcwW.d.mts → transition-D-Lgbp1j.d.mts} +1 -1
- package/dist/{types-C5MnkQv6.d.mts → types-D5kqrOad.d.mts} +18 -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/dist/{workflow-transitions-C0sg3kar.mjs → workflow-transitions-BalNKTtE.mjs} +1 -1
- package/package.json +1 -1
- package/dist/bus-DlTN167w.mjs +0 -9
- package/dist/client-CgtNXGXg.mjs +0 -1
- package/dist/ownership-memory-handler-xex7sLiX.mjs +0 -1
- package/dist/schemas-ClkcU_N5.mjs +0 -1
- package/dist/session-6UG5udTX.mjs +0 -95
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as ClientDefinitionInput, k as ClientDefinition } from "./hook-responses-CQ2q0aPE.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -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,52 @@ 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>;
|
|
600
|
+
'session.token.get': {
|
|
601
|
+
request: z.ZodObject<{
|
|
602
|
+
clientId: z.ZodString;
|
|
603
|
+
adapterSessionId: z.ZodString;
|
|
604
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
605
|
+
}, z.core.$strip>;
|
|
606
|
+
response: z.ZodObject<{
|
|
607
|
+
token: z.ZodNullable<z.ZodString>;
|
|
608
|
+
}, z.core.$strip>;
|
|
609
|
+
};
|
|
564
610
|
'wiring.list': {
|
|
565
611
|
request: z.ZodObject<{
|
|
566
612
|
clientId: z.ZodOptional<z.ZodString>;
|
|
@@ -688,8 +734,8 @@ declare const ClientSchemas: {
|
|
|
688
734
|
reason: z.ZodEnum<{
|
|
689
735
|
update: "update";
|
|
690
736
|
install: "install";
|
|
691
|
-
uninstall: "uninstall";
|
|
692
737
|
"set-active": "set-active";
|
|
738
|
+
uninstall: "uninstall";
|
|
693
739
|
}>;
|
|
694
740
|
}, z.core.$strip>;
|
|
695
741
|
resolveBinary: {
|
|
@@ -1246,8 +1292,8 @@ declare const ClientVersionChangedSchema: z.ZodObject<{
|
|
|
1246
1292
|
reason: z.ZodEnum<{
|
|
1247
1293
|
update: "update";
|
|
1248
1294
|
install: "install";
|
|
1249
|
-
uninstall: "uninstall";
|
|
1250
1295
|
"set-active": "set-active";
|
|
1296
|
+
uninstall: "uninstall";
|
|
1251
1297
|
}>;
|
|
1252
1298
|
}, z.core.$strip>;
|
|
1253
1299
|
type ClientVersionChanged = z.infer<typeof ClientVersionChangedSchema>;
|
|
@@ -1487,8 +1533,8 @@ declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "
|
|
|
1487
1533
|
/** Zod schema for the client-reported session start mode. */
|
|
1488
1534
|
declare const ClientSessionStartModeSchema: z.ZodEnum<{
|
|
1489
1535
|
fork: "fork";
|
|
1490
|
-
fresh: "fresh";
|
|
1491
1536
|
resume: "resume";
|
|
1537
|
+
fresh: "fresh";
|
|
1492
1538
|
clear: "clear";
|
|
1493
1539
|
compact: "compact";
|
|
1494
1540
|
}>;
|
|
@@ -1506,8 +1552,8 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
|
|
|
1506
1552
|
machineId: z.ZodOptional<z.ZodString>;
|
|
1507
1553
|
startMode: z.ZodOptional<z.ZodEnum<{
|
|
1508
1554
|
fork: "fork";
|
|
1509
|
-
fresh: "fresh";
|
|
1510
1555
|
resume: "resume";
|
|
1556
|
+
fresh: "fresh";
|
|
1511
1557
|
clear: "clear";
|
|
1512
1558
|
compact: "compact";
|
|
1513
1559
|
}>>;
|
|
@@ -1605,6 +1651,125 @@ declare const ClientSessionToolPostSchema: z.ZodObject<{
|
|
|
1605
1651
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
1606
1652
|
}, z.core.$strip>;
|
|
1607
1653
|
type ClientSessionToolPost = z.infer<typeof ClientSessionToolPostSchema>;
|
|
1654
|
+
/**
|
|
1655
|
+
* Closed set of compaction trigger types a client runtime can report.
|
|
1656
|
+
*
|
|
1657
|
+
* - `'manual'` — the user explicitly requested context compaction.
|
|
1658
|
+
* - `'auto'` — the client runtime triggered compaction automatically
|
|
1659
|
+
* (e.g. approaching the context-window limit).
|
|
1660
|
+
*/
|
|
1661
|
+
declare const CLIENT_SESSION_COMPACTION_TRIGGERS: readonly ["manual", "auto"];
|
|
1662
|
+
/** Zod schema for the client-reported compaction trigger. */
|
|
1663
|
+
declare const ClientSessionCompactionTriggerSchema: z.ZodEnum<{
|
|
1664
|
+
auto: "auto";
|
|
1665
|
+
manual: "manual";
|
|
1666
|
+
}>;
|
|
1667
|
+
/** Client-reported compaction trigger discriminator. */
|
|
1668
|
+
type ClientSessionCompactionTrigger = z.infer<typeof ClientSessionCompactionTriggerSchema>;
|
|
1669
|
+
/**
|
|
1670
|
+
* Payload for `client.session.compaction.pre`.
|
|
1671
|
+
*
|
|
1672
|
+
* Fires BEFORE the client compacts its context window. The post-compaction
|
|
1673
|
+
* framework signal is `client.session.started` with `startMode: 'compact'`,
|
|
1674
|
+
* delivered by the SessionStart hook that fires after compaction on the SAME
|
|
1675
|
+
* session id. Both clients also fire a raw-only `PostCompact` hook carrying a
|
|
1676
|
+
* `trigger` field, but its ordering relative to `SessionStart(compact)` differs
|
|
1677
|
+
* by client: Codex fires `PreCompact → PostCompact → SessionStart(compact)`;
|
|
1678
|
+
* Claude Code fires `PreCompact → SessionStart(compact) → PostCompact`.
|
|
1679
|
+
* Consumers must treat `client.session.started{startMode:'compact'}` as the
|
|
1680
|
+
* authoritative post-compaction signal and must NOT assume it precedes or
|
|
1681
|
+
* follows the raw PostCompact hook.
|
|
1682
|
+
*
|
|
1683
|
+
* Three compaction signals together describe the full compaction lifecycle:
|
|
1684
|
+
* `client.session.compaction.pre` fires before compaction begins (from hooks,
|
|
1685
|
+
* carries `trigger` and `transcriptPath`); `client.session.started` with
|
|
1686
|
+
* `startMode: 'compact'` fires after compaction completes (from hooks, same
|
|
1687
|
+
* payload as a normal session start); and `SessionSubjects.session.compacted` (from `@makaio/contracts`) is emitted
|
|
1688
|
+
* post-hoc during transcript import, after the compacted session has been
|
|
1689
|
+
* ingested.
|
|
1690
|
+
*
|
|
1691
|
+
* Fields:
|
|
1692
|
+
* - `trigger` — how the compaction was initiated (`'manual'` or `'auto'`).
|
|
1693
|
+
* Absent when the adapter cannot determine the trigger.
|
|
1694
|
+
* - `transcriptPath` — absolute path to the transcript file at the time of
|
|
1695
|
+
* compaction, if available from the client runtime.
|
|
1696
|
+
*/
|
|
1697
|
+
declare const ClientSessionCompactionPreSchema: z.ZodObject<{
|
|
1698
|
+
clientId: z.ZodString;
|
|
1699
|
+
source: z.ZodString;
|
|
1700
|
+
observedAt: z.ZodNumber;
|
|
1701
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1702
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1704
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
1705
|
+
auto: "auto";
|
|
1706
|
+
manual: "manual";
|
|
1707
|
+
}>>;
|
|
1708
|
+
transcriptPath: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
}, z.core.$strip>;
|
|
1710
|
+
type ClientSessionCompactionPre = z.infer<typeof ClientSessionCompactionPreSchema>;
|
|
1711
|
+
/**
|
|
1712
|
+
* Payload for `client.session.subagent.started`.
|
|
1713
|
+
*
|
|
1714
|
+
* Emitted when a client-native subagent is observed via hooks. The subagent
|
|
1715
|
+
* event belongs to the parent session: `adapterSessionId` on the base carries
|
|
1716
|
+
* the parent session id (the same as every other `client.session.*` event),
|
|
1717
|
+
* which keeps subagent events joinable on `adapterSessionId`. The subagent
|
|
1718
|
+
* identity is `agentId`.
|
|
1719
|
+
*
|
|
1720
|
+
* Fields:
|
|
1721
|
+
* - `agentId` — stable identity of the subagent as reported by the client
|
|
1722
|
+
* runtime.
|
|
1723
|
+
* - `agentType` — optional type label for the subagent (e.g. the agent type
|
|
1724
|
+
* string reported by the client).
|
|
1725
|
+
* - `turnId` — opaque turn correlation id, if available. Codex populates
|
|
1726
|
+
* this from `turn_id`; Claude Code does not expose it.
|
|
1727
|
+
*
|
|
1728
|
+
* Note: this is the client-native OBSERVATION of a subagent (`agentId` = the
|
|
1729
|
+
* client's agent id, `adapterSessionId` = the owning session); it is distinct
|
|
1730
|
+
* from the framework's control-plane `subagent.*` namespace
|
|
1731
|
+
* (`SubagentSchemas`/`SubagentSubjects`, using `subagentId` and
|
|
1732
|
+
* `parentSessionId`) exported from `@makaio/contracts`. Client-native keys
|
|
1733
|
+
* (`makaio.client.agent_id`, `makaio.client.agent_type`, `makaio.client.turn_id`)
|
|
1734
|
+
* keep telemetry joins from attributing client-observed subagents to framework
|
|
1735
|
+
* agents that share the `makaio.agent.id` / `makaio.turn.id` namespace.
|
|
1736
|
+
*/
|
|
1737
|
+
declare const ClientSessionSubagentStartedSchema: z.ZodObject<{
|
|
1738
|
+
clientId: z.ZodString;
|
|
1739
|
+
source: z.ZodString;
|
|
1740
|
+
observedAt: z.ZodNumber;
|
|
1741
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1742
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1743
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1744
|
+
agentId: z.ZodString;
|
|
1745
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
1746
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
1747
|
+
}, z.core.$strip>;
|
|
1748
|
+
type ClientSessionSubagentStarted = z.infer<typeof ClientSessionSubagentStartedSchema>;
|
|
1749
|
+
/**
|
|
1750
|
+
* Payload for `client.session.subagent.completed`.
|
|
1751
|
+
*
|
|
1752
|
+
* Emitted when a client-native subagent completes. Extends
|
|
1753
|
+
* {@link ClientSessionSubagentStartedSchema} with an optional transcript path
|
|
1754
|
+
* so consumers can trigger targeted log imports for the finished subagent turn.
|
|
1755
|
+
*
|
|
1756
|
+
* Fields (in addition to {@link ClientSessionSubagentStartedSchema}):
|
|
1757
|
+
* - `agentTranscriptPath` — absolute path to the subagent's transcript file,
|
|
1758
|
+
* if the client runtime exposes it at completion time.
|
|
1759
|
+
*/
|
|
1760
|
+
declare const ClientSessionSubagentCompletedSchema: z.ZodObject<{
|
|
1761
|
+
clientId: z.ZodString;
|
|
1762
|
+
source: z.ZodString;
|
|
1763
|
+
observedAt: z.ZodNumber;
|
|
1764
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1765
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
1766
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1767
|
+
agentId: z.ZodString;
|
|
1768
|
+
agentType: z.ZodOptional<z.ZodString>;
|
|
1769
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
1770
|
+
agentTranscriptPath: z.ZodOptional<z.ZodString>;
|
|
1771
|
+
}, z.core.$strip>;
|
|
1772
|
+
type ClientSessionSubagentCompleted = z.infer<typeof ClientSessionSubagentCompletedSchema>;
|
|
1608
1773
|
/**
|
|
1609
1774
|
* A single wiring entry in a client `wiring.list` response.
|
|
1610
1775
|
*
|
|
@@ -1620,6 +1785,52 @@ declare const ClientWiringEntrySchema: z.ZodObject<{
|
|
|
1620
1785
|
/** A single wiring entry in a list response. */
|
|
1621
1786
|
type ClientWiringEntry = z.infer<typeof ClientWiringEntrySchema>;
|
|
1622
1787
|
//#endregion
|
|
1788
|
+
//#region core/contracts/src/client/session-token.d.ts
|
|
1789
|
+
/**
|
|
1790
|
+
* Scope that identifies a session (or a subagent within a session) for token
|
|
1791
|
+
* operations.
|
|
1792
|
+
*
|
|
1793
|
+
* - `clientId` — stable string identity of the client that produced the hook
|
|
1794
|
+
* (e.g. `'claude-code'`, `'codex'`). Two client providers may report the
|
|
1795
|
+
* same provider-local session id; including the client id in the key
|
|
1796
|
+
* prevents a Codex record from overwriting a Claude Code token, and prevents
|
|
1797
|
+
* a subagent-completion event from one client from deleting the other's
|
|
1798
|
+
* entry. An MCP server that runs under Claude Code knows it belongs to that
|
|
1799
|
+
* client because `CLAUDE_CODE_SESSION_ID` is set in its environment.
|
|
1800
|
+
* - `adapterSessionId` — Claude Code hook payload `session_id`; equals
|
|
1801
|
+
* `CLAUDE_CODE_SESSION_ID` in stdio MCP servers.
|
|
1802
|
+
* - `agentId` — present only for SubagentStart events; absent for
|
|
1803
|
+
* top-level SessionStart events.
|
|
1804
|
+
*/
|
|
1805
|
+
declare const ClientSessionTokenScopeSchema: z.ZodObject<{
|
|
1806
|
+
clientId: z.ZodString;
|
|
1807
|
+
adapterSessionId: z.ZodString;
|
|
1808
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1809
|
+
}, z.core.$strip>;
|
|
1810
|
+
type ClientSessionTokenScope = z.infer<typeof ClientSessionTokenScopeSchema>;
|
|
1811
|
+
/**
|
|
1812
|
+
* Request payload for `client.session.token.get`.
|
|
1813
|
+
*
|
|
1814
|
+
* Issued by MCP servers over the WebSocket bus to retrieve a previously
|
|
1815
|
+
* recorded correlation token by its scope.
|
|
1816
|
+
*/
|
|
1817
|
+
declare const ClientSessionTokenGetRequestSchema: z.ZodObject<{
|
|
1818
|
+
clientId: z.ZodString;
|
|
1819
|
+
adapterSessionId: z.ZodString;
|
|
1820
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1821
|
+
}, z.core.$strip>;
|
|
1822
|
+
type ClientSessionTokenGetRequest = z.infer<typeof ClientSessionTokenGetRequestSchema>;
|
|
1823
|
+
/**
|
|
1824
|
+
* Response payload for `client.session.token.get`.
|
|
1825
|
+
*
|
|
1826
|
+
* Returns the stored token, or `null` when no token has been recorded for
|
|
1827
|
+
* the given scope (e.g. no SessionToken effect was contributed at hook time).
|
|
1828
|
+
*/
|
|
1829
|
+
declare const ClientSessionTokenGetResponseSchema: z.ZodObject<{
|
|
1830
|
+
token: z.ZodNullable<z.ZodString>;
|
|
1831
|
+
}, z.core.$strip>;
|
|
1832
|
+
type ClientSessionTokenGetResponse = z.infer<typeof ClientSessionTokenGetResponseSchema>;
|
|
1833
|
+
//#endregion
|
|
1623
1834
|
//#region core/contracts/src/client/namespace.d.ts
|
|
1624
1835
|
/**
|
|
1625
1836
|
* Client namespace definition.
|
|
@@ -1631,7 +1842,12 @@ type ClientWiringEntry = z.infer<typeof ClientWiringEntrySchema>;
|
|
|
1631
1842
|
* observed session semantics subjects
|
|
1632
1843
|
* (`client.session.started`, `client.session.userPrompt.submitted`,
|
|
1633
1844
|
* `client.session.turn.started`, `client.session.turn.completed`,
|
|
1634
|
-
* `client.session.tool.pre`, `client.session.tool.post
|
|
1845
|
+
* `client.session.tool.pre`, `client.session.tool.post`,
|
|
1846
|
+
* `client.session.compaction.pre`, `client.session.subagent.started`,
|
|
1847
|
+
* `client.session.subagent.completed`), the session correlation-token
|
|
1848
|
+
* subject (`client.session.token.get` as a normal bus request reachable by
|
|
1849
|
+
* remote MCP servers — the token is handed to the runtime in-process via
|
|
1850
|
+
* {@link ClientSessionTokenSink}, never over the bus), the global
|
|
1635
1851
|
* wiring aggregator (`client.wiring.list`), the binary management
|
|
1636
1852
|
* subjects (`client.list`, `client.install`, `client.uninstall`,
|
|
1637
1853
|
* `client.update`, `client.setActive`, `client.installJob.progress`,
|
|
@@ -2077,8 +2293,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2077
2293
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2078
2294
|
startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2079
2295
|
fork: "fork";
|
|
2080
|
-
fresh: "fresh";
|
|
2081
2296
|
resume: "resume";
|
|
2297
|
+
fresh: "fresh";
|
|
2082
2298
|
clear: "clear";
|
|
2083
2299
|
compact: "compact";
|
|
2084
2300
|
}>>;
|
|
@@ -2131,6 +2347,52 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2131
2347
|
toolCallId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2132
2348
|
success: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2133
2349
|
}, _$zod_v4_core0.$strip>;
|
|
2350
|
+
'session.compaction.pre': _$zod.ZodObject<{
|
|
2351
|
+
clientId: _$zod.ZodString;
|
|
2352
|
+
source: _$zod.ZodString;
|
|
2353
|
+
observedAt: _$zod.ZodNumber;
|
|
2354
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2355
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2356
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2357
|
+
trigger: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2358
|
+
auto: "auto";
|
|
2359
|
+
manual: "manual";
|
|
2360
|
+
}>>;
|
|
2361
|
+
transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2362
|
+
}, _$zod_v4_core0.$strip>;
|
|
2363
|
+
'session.subagent.started': _$zod.ZodObject<{
|
|
2364
|
+
clientId: _$zod.ZodString;
|
|
2365
|
+
source: _$zod.ZodString;
|
|
2366
|
+
observedAt: _$zod.ZodNumber;
|
|
2367
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2368
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2369
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2370
|
+
agentId: _$zod.ZodString;
|
|
2371
|
+
agentType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2372
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2373
|
+
}, _$zod_v4_core0.$strip>;
|
|
2374
|
+
'session.subagent.completed': _$zod.ZodObject<{
|
|
2375
|
+
clientId: _$zod.ZodString;
|
|
2376
|
+
source: _$zod.ZodString;
|
|
2377
|
+
observedAt: _$zod.ZodNumber;
|
|
2378
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2379
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2380
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
2381
|
+
agentId: _$zod.ZodString;
|
|
2382
|
+
agentType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2383
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2384
|
+
agentTranscriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2385
|
+
}, _$zod_v4_core0.$strip>;
|
|
2386
|
+
'session.token.get': {
|
|
2387
|
+
request: _$zod.ZodObject<{
|
|
2388
|
+
clientId: _$zod.ZodString;
|
|
2389
|
+
adapterSessionId: _$zod.ZodString;
|
|
2390
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2391
|
+
}, _$zod_v4_core0.$strip>;
|
|
2392
|
+
response: _$zod.ZodObject<{
|
|
2393
|
+
token: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2394
|
+
}, _$zod_v4_core0.$strip>;
|
|
2395
|
+
};
|
|
2134
2396
|
'wiring.list': {
|
|
2135
2397
|
request: _$zod.ZodObject<{
|
|
2136
2398
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2258,8 +2520,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2258
2520
|
reason: _$zod.ZodEnum<{
|
|
2259
2521
|
update: "update";
|
|
2260
2522
|
install: "install";
|
|
2261
|
-
uninstall: "uninstall";
|
|
2262
2523
|
"set-active": "set-active";
|
|
2524
|
+
uninstall: "uninstall";
|
|
2263
2525
|
}>;
|
|
2264
2526
|
}, _$zod_v4_core0.$strip>;
|
|
2265
2527
|
resolveBinary: {
|
|
@@ -2717,8 +2979,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2717
2979
|
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2718
2980
|
startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2719
2981
|
fork: "fork";
|
|
2720
|
-
fresh: "fresh";
|
|
2721
2982
|
resume: "resume";
|
|
2983
|
+
fresh: "fresh";
|
|
2722
2984
|
clear: "clear";
|
|
2723
2985
|
compact: "compact";
|
|
2724
2986
|
}>>;
|
|
@@ -2771,6 +3033,52 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2771
3033
|
toolCallId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2772
3034
|
success: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2773
3035
|
}, _$zod_v4_core0.$strip>;
|
|
3036
|
+
'session.compaction.pre': _$zod.ZodObject<{
|
|
3037
|
+
clientId: _$zod.ZodString;
|
|
3038
|
+
source: _$zod.ZodString;
|
|
3039
|
+
observedAt: _$zod.ZodNumber;
|
|
3040
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3041
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3042
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
3043
|
+
trigger: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3044
|
+
auto: "auto";
|
|
3045
|
+
manual: "manual";
|
|
3046
|
+
}>>;
|
|
3047
|
+
transcriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3048
|
+
}, _$zod_v4_core0.$strip>;
|
|
3049
|
+
'session.subagent.started': _$zod.ZodObject<{
|
|
3050
|
+
clientId: _$zod.ZodString;
|
|
3051
|
+
source: _$zod.ZodString;
|
|
3052
|
+
observedAt: _$zod.ZodNumber;
|
|
3053
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3054
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3055
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
3056
|
+
agentId: _$zod.ZodString;
|
|
3057
|
+
agentType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3058
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3059
|
+
}, _$zod_v4_core0.$strip>;
|
|
3060
|
+
'session.subagent.completed': _$zod.ZodObject<{
|
|
3061
|
+
clientId: _$zod.ZodString;
|
|
3062
|
+
source: _$zod.ZodString;
|
|
3063
|
+
observedAt: _$zod.ZodNumber;
|
|
3064
|
+
sessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3065
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3066
|
+
metadata: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
3067
|
+
agentId: _$zod.ZodString;
|
|
3068
|
+
agentType: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3069
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3070
|
+
agentTranscriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3071
|
+
}, _$zod_v4_core0.$strip>;
|
|
3072
|
+
'session.token.get': {
|
|
3073
|
+
request: _$zod.ZodObject<{
|
|
3074
|
+
clientId: _$zod.ZodString;
|
|
3075
|
+
adapterSessionId: _$zod.ZodString;
|
|
3076
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3077
|
+
}, _$zod_v4_core0.$strip>;
|
|
3078
|
+
response: _$zod.ZodObject<{
|
|
3079
|
+
token: _$zod.ZodNullable<_$zod.ZodString>;
|
|
3080
|
+
}, _$zod_v4_core0.$strip>;
|
|
3081
|
+
};
|
|
2774
3082
|
'wiring.list': {
|
|
2775
3083
|
request: _$zod.ZodObject<{
|
|
2776
3084
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2898,8 +3206,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2898
3206
|
reason: _$zod.ZodEnum<{
|
|
2899
3207
|
update: "update";
|
|
2900
3208
|
install: "install";
|
|
2901
|
-
uninstall: "uninstall";
|
|
2902
3209
|
"set-active": "set-active";
|
|
3210
|
+
uninstall: "uninstall";
|
|
2903
3211
|
}>;
|
|
2904
3212
|
}, _$zod_v4_core0.$strip>;
|
|
2905
3213
|
resolveBinary: {
|
|
@@ -3302,4 +3610,4 @@ type SessionConfigDestroyResponse = z.infer<(typeof ClientSessionConfigSchemas)[
|
|
|
3302
3610
|
type SessionConfigCleanupRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['request']>;
|
|
3303
3611
|
type SessionConfigCleanupResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['response']>;
|
|
3304
3612
|
//#endregion
|
|
3305
|
-
export {
|
|
3613
|
+
export { ClientSessionCompactionPreSchema as $, ClientUninstallRequest as $t, SessionConfigInheritance as A, ClientScanResultSchema as An, ClientRuntimeObserveResponse as At, SessionConfigTeardownResponseSchema as B, ClientUsageIngestSchema as Bn, ClientInstallCompleted as Bt, SessionConfigCleanupRequest as C, ClientAccountObserveSchema as Cn, ClientWiringEntrySchema as Ct, SessionConfigDestroyRequest as D, ClientIdentityObservationSchema as Dn, ClientRuntimeIsAdapterManagedResponse as Dt, SessionConfigCreateResponse as E, ClientIdentityObservation as En, ClientRuntimeIsAdapterManagedRequest as Et, SessionConfigSetupResponse as F, ClientSessionAccountObserveSchema as Fn, ClientRuntimeSourceSchema as Ft, ClientSessionTokenGetRequestSchema as G, ClientUsageWindows as Gn, ClientInstallResponse as Gt, ClientNamespace as H, ClientUsageSnapshotSchema as Hn, ClientInstallProgress as Ht, SessionConfigSetupResponseSchema as I, ClientSessionLocator as In, ClientRuntimeStarted as It, ClientSessionTokenScope as J, ClientExecutionContext as Jn, ClientListResponse as Jt, ClientSessionTokenGetResponse as K, ClientUsageWindowsSchema as Kn, ClientInstallSchema as Kt, SessionConfigTeardownRequest as L, ClientSessionLocatorSchema as Ln, ClientRuntimeStartedSchema as Lt, SessionConfigLeaseIdSchema as M, ClientScanTargetSchema as Mn, ClientRuntimeSource as Mt, SessionConfigSetupRequest as N, ClientSessionAccountObserveRequest as Nn, ClientRuntimeSourceLayer as Nt, SessionConfigDestroyResponse as O, ClientMetadataSchema as On, ClientRuntimeIsAdapterManagedSchema as Ot, SessionConfigSetupRequestSchema as P, ClientSessionAccountObserveResponse as Pn, ClientRuntimeSourceLayerSchema as Pt, ClientSessionCompactionPre as Q, ClientResolveBinarySchema as Qn, ClientSetActiveSchema as Qt, SessionConfigTeardownRequestSchema as R, ClientUsageIngestRequest as Rn, ClientBinaryListEntry as Rt, ProfileUpdateResponse as S, ClientAccountObserveResponse as Sn, ClientWiringEntry as St, SessionConfigCreateRequest as T, ClientIdentifierStrengthSchema as Tn, ClientRuntimeEvidenceBaseSchema as Tt, ClientSubjects as U, ClientUsageWindow as Un, ClientInstallProgressSchema as Ut, createClientDefinition as V, ClientUsageSnapshot as Vn, ClientInstallCompletedSchema as Vt, ClientSessionTokenGetRequest as W, ClientUsageWindowSchema as Wn, ClientInstallRequest as Wt, CLIENT_SESSION_COMPACTION_TRIGGERS as X, ClientResolveBinaryRequest as Xn, ClientSetActiveRequest as Xt, ClientSessionTokenScopeSchema as Y, ClientExecutionContextSchema as Yn, ClientListSchema as Yt, CLIENT_SESSION_START_MODES as Z, ClientResolveBinaryResponse as Zn, ClientSetActiveResponse as Zt, ProfileListRequest as _, ClientSessionUsageSnapshot as _n, ClientSessionTurnCompletedSchema as _t, ClientConfigPrimeSchema as a, ClientVersionChanged as an, ClientSessionStartModeSchema as at, ProfileSetDefaultResponse as b, ClientAccountIdentifierSchema as bn, ClientSessionUserPromptSubmitted as bt, ClientProfileSchema as c, InstallErrorSchema as cn, ClientSessionSubagentCompleted as ct, ProfileCreateRequest as d, InstalledVersionEntry as dn, ClientSessionSubagentStartedSchema as dt, ClientUninstallResponse as en, ClientSessionCompactionTrigger as et, ProfileCreateResponse as f, InstalledVersionEntrySchema as fn, ClientSessionToolPost as ft, ProfileGetResponse as g, ClientSessionUsageCostProvenanceSchema as gn, ClientSessionTurnCompleted as gt, ProfileGetRequest as h, ClientSessionUsageCostProvenance as hn, ClientSessionToolPreSchema as ht, ClientConfigPrimeResponse as i, ClientUpdateSchema as in, ClientSessionStartMode as it, SessionConfigInheritanceSchema as j, ClientScanTarget as jn, ClientRuntimeObserveSchema as jt, SessionConfigEnvSchema as k, ClientScanResult as kn, ClientRuntimeObserveRequest as kt, ClientProfileSchemas as l, InstallStage as ln, ClientSessionSubagentCompletedSchema as lt, ProfileDeleteResponse as m, ManagedInstallStrategySchema as mn, ClientSessionToolPre as mt, ClientConfigPrimePhaseSchema as n, ClientUpdateRequest as nn, ClientSessionObservedBase as nt, ClientProfile as o, ClientVersionChangedSchema as on, ClientSessionStarted as ot, ProfileDeleteRequest as p, ManagedInstallStrategy as pn, ClientSessionToolPostSchema as pt, ClientSessionTokenGetResponseSchema as q, ClientSchemas as qn, ClientListRequest as qt, ClientConfigPrimeRequest as r, ClientUpdateResponse as rn, ClientSessionObservedBaseSchema as rt, ClientProfileNameSchema as s, InstallError as sn, ClientSessionStartedSchema as st, ClientConfigPrimePhase as t, ClientUninstallSchema as tn, ClientSessionCompactionTriggerSchema as tt, ClientSessionConfigSchemas as u, InstallStageSchema as un, ClientSessionSubagentStarted as ut, ProfileListResponse as v, ClientSessionUsageSnapshotSchema as vn, ClientSessionTurnStarted as vt, SessionConfigCleanupResponse as w, ClientIdentifierStrength as wn, ClientRuntimeEvidenceBase as wt, ProfileUpdateRequest as x, ClientAccountObserveRequest as xn, ClientSessionUserPromptSubmittedSchema as xt, ProfileSetDefaultRequest as y, ClientAccountIdentifier as yn, ClientSessionTurnStartedSchema as yt, SessionConfigTeardownResponse as z, ClientUsageIngestResponse as zn, ClientBinaryListEntrySchema as zt };
|
|
@@ -1889,8 +1889,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
|
|
|
1889
1889
|
success: _$zod.ZodBoolean;
|
|
1890
1890
|
evidence: _$zod.ZodEnum<{
|
|
1891
1891
|
unknown: "unknown";
|
|
1892
|
-
closed: "closed";
|
|
1893
1892
|
exited: "exited";
|
|
1893
|
+
closed: "closed";
|
|
1894
1894
|
released: "released";
|
|
1895
1895
|
detached: "detached";
|
|
1896
1896
|
}>;
|
|
@@ -2013,9 +2013,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
|
|
|
2013
2013
|
timestamp: _$zod.ZodNumber;
|
|
2014
2014
|
level: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2015
2015
|
error: "error";
|
|
2016
|
-
warn: "warn";
|
|
2017
2016
|
debug: "debug";
|
|
2018
2017
|
info: "info";
|
|
2018
|
+
warn: "warn";
|
|
2019
2019
|
}>>;
|
|
2020
2020
|
}, _$zod_v4_core0.$strip>;
|
|
2021
2021
|
error: _$zod.ZodObject<{
|
|
@@ -3939,8 +3939,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
3939
3939
|
success: _$zod.ZodBoolean;
|
|
3940
3940
|
evidence: _$zod.ZodEnum<{
|
|
3941
3941
|
unknown: "unknown";
|
|
3942
|
-
closed: "closed";
|
|
3943
3942
|
exited: "exited";
|
|
3943
|
+
closed: "closed";
|
|
3944
3944
|
released: "released";
|
|
3945
3945
|
detached: "detached";
|
|
3946
3946
|
}>;
|
|
@@ -4063,9 +4063,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
4063
4063
|
timestamp: _$zod.ZodNumber;
|
|
4064
4064
|
level: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4065
4065
|
error: "error";
|
|
4066
|
-
warn: "warn";
|
|
4067
4066
|
debug: "debug";
|
|
4068
4067
|
info: "info";
|
|
4068
|
+
warn: "warn";
|
|
4069
4069
|
}>>;
|
|
4070
4070
|
}, _$zod_v4_core0.$strip>;
|
|
4071
4071
|
error: _$zod.ZodObject<{
|
|
@@ -6013,8 +6013,8 @@ declare const AdapterSchemas: {
|
|
|
6013
6013
|
success: _$zod.ZodBoolean;
|
|
6014
6014
|
evidence: _$zod.ZodEnum<{
|
|
6015
6015
|
unknown: "unknown";
|
|
6016
|
-
closed: "closed";
|
|
6017
6016
|
exited: "exited";
|
|
6017
|
+
closed: "closed";
|
|
6018
6018
|
released: "released";
|
|
6019
6019
|
detached: "detached";
|
|
6020
6020
|
}>;
|
|
@@ -6137,9 +6137,9 @@ declare const AdapterSchemas: {
|
|
|
6137
6137
|
timestamp: _$zod.ZodNumber;
|
|
6138
6138
|
level: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6139
6139
|
error: "error";
|
|
6140
|
-
warn: "warn";
|
|
6141
6140
|
debug: "debug";
|
|
6142
6141
|
info: "info";
|
|
6142
|
+
warn: "warn";
|
|
6143
6143
|
}>>;
|
|
6144
6144
|
}, _$zod_v4_core0.$strip>;
|
|
6145
6145
|
error: _$zod.ZodObject<{
|
|
@@ -8118,8 +8118,8 @@ type AcknowledgeCallerSettlementResponse = z.infer<typeof AcknowledgeCallerSettl
|
|
|
8118
8118
|
*/
|
|
8119
8119
|
declare const TeardownEvidenceSchema: z.ZodEnum<{
|
|
8120
8120
|
unknown: "unknown";
|
|
8121
|
-
closed: "closed";
|
|
8122
8121
|
exited: "exited";
|
|
8122
|
+
closed: "closed";
|
|
8123
8123
|
released: "released";
|
|
8124
8124
|
detached: "detached";
|
|
8125
8125
|
}>;
|
|
@@ -8147,8 +8147,8 @@ declare function teardownWasObserved$1(evidence: TeardownEvidence$1): boolean;
|
|
|
8147
8147
|
declare const ConnectorTeardownResultSchema$1: z.ZodObject<{
|
|
8148
8148
|
evidence: z.ZodEnum<{
|
|
8149
8149
|
unknown: "unknown";
|
|
8150
|
-
closed: "closed";
|
|
8151
8150
|
exited: "exited";
|
|
8151
|
+
closed: "closed";
|
|
8152
8152
|
released: "released";
|
|
8153
8153
|
detached: "detached";
|
|
8154
8154
|
}>;
|