@kmmao/happy-wire 0.11.8 → 0.11.9
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/index.cjs +8 -1
- package/dist/index.d.cts +14 -12
- package/dist/index.d.mts +14 -12
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1516,7 +1516,14 @@ const sessionProgressListSchema = z__namespace.object({
|
|
|
1516
1516
|
startedAt: z__namespace.number(),
|
|
1517
1517
|
updatedAt: z__namespace.number(),
|
|
1518
1518
|
/** When this list stopped being active (got pushed to history). */
|
|
1519
|
-
archivedAt: z__namespace.number().optional()
|
|
1519
|
+
archivedAt: z__namespace.number().optional(),
|
|
1520
|
+
/**
|
|
1521
|
+
* Tool-call message IDs for file-editing tools (Edit/Write/MultiEdit/
|
|
1522
|
+
* NotebookEdit) that ran while this list was the active one. Consumers
|
|
1523
|
+
* resolve these against the session message stream to render per-list
|
|
1524
|
+
* file change summaries without duplicating diff content into metadata.
|
|
1525
|
+
*/
|
|
1526
|
+
toolCallIds: z__namespace.array(z__namespace.string()).optional()
|
|
1520
1527
|
});
|
|
1521
1528
|
const sessionProgressStateSchema = z__namespace.object({
|
|
1522
1529
|
/** Ordered by startedAt asc; last item is typically the active one. */
|
package/dist/index.d.cts
CHANGED
|
@@ -1534,8 +1534,8 @@ declare const AutomationPrioritySchema: z.ZodEnum<{
|
|
|
1534
1534
|
}>;
|
|
1535
1535
|
type AutomationPriority = z.infer<typeof AutomationPrioritySchema>;
|
|
1536
1536
|
declare const AutomationJobKindSchema: z.ZodEnum<{
|
|
1537
|
-
supervisor: "supervisor";
|
|
1538
1537
|
webhook: "webhook";
|
|
1538
|
+
supervisor: "supervisor";
|
|
1539
1539
|
agent_loop: "agent_loop";
|
|
1540
1540
|
task: "task";
|
|
1541
1541
|
}>;
|
|
@@ -1552,8 +1552,8 @@ type AutomationJobStatus = z.infer<typeof AutomationJobStatusSchema>;
|
|
|
1552
1552
|
declare const AutomationJobSummarySchema: z.ZodObject<{
|
|
1553
1553
|
id: z.ZodString;
|
|
1554
1554
|
kind: z.ZodEnum<{
|
|
1555
|
-
supervisor: "supervisor";
|
|
1556
1555
|
webhook: "webhook";
|
|
1556
|
+
supervisor: "supervisor";
|
|
1557
1557
|
agent_loop: "agent_loop";
|
|
1558
1558
|
task: "task";
|
|
1559
1559
|
}>;
|
|
@@ -1715,8 +1715,8 @@ declare const AutomationStateSchema: z.ZodObject<{
|
|
|
1715
1715
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
1716
1716
|
id: z.ZodString;
|
|
1717
1717
|
kind: z.ZodEnum<{
|
|
1718
|
-
supervisor: "supervisor";
|
|
1719
1718
|
webhook: "webhook";
|
|
1719
|
+
supervisor: "supervisor";
|
|
1720
1720
|
agent_loop: "agent_loop";
|
|
1721
1721
|
task: "task";
|
|
1722
1722
|
}>;
|
|
@@ -1942,8 +1942,8 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
1942
1942
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
1943
1943
|
id: z.ZodString;
|
|
1944
1944
|
kind: z.ZodEnum<{
|
|
1945
|
-
supervisor: "supervisor";
|
|
1946
1945
|
webhook: "webhook";
|
|
1946
|
+
supervisor: "supervisor";
|
|
1947
1947
|
agent_loop: "agent_loop";
|
|
1948
1948
|
task: "task";
|
|
1949
1949
|
}>;
|
|
@@ -2102,9 +2102,9 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
2102
2102
|
}>;
|
|
2103
2103
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
2104
2104
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
2105
|
+
session: "session";
|
|
2105
2106
|
user: "user";
|
|
2106
2107
|
supervisor: "supervisor";
|
|
2107
|
-
session: "session";
|
|
2108
2108
|
}>;
|
|
2109
2109
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
2110
2110
|
declare const KnowledgeActionSchema: z.ZodEnum<{
|
|
@@ -2135,9 +2135,9 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
2135
2135
|
warning: "warning";
|
|
2136
2136
|
}>;
|
|
2137
2137
|
contributorType: z.ZodEnum<{
|
|
2138
|
+
session: "session";
|
|
2138
2139
|
user: "user";
|
|
2139
2140
|
supervisor: "supervisor";
|
|
2140
|
-
session: "session";
|
|
2141
2141
|
}>;
|
|
2142
2142
|
action: z.ZodEnum<{
|
|
2143
2143
|
create: "create";
|
|
@@ -2461,9 +2461,9 @@ declare const TaskStatusSchema: z.ZodEnum<{
|
|
|
2461
2461
|
}>;
|
|
2462
2462
|
type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
2463
2463
|
declare const TaskTriggerTypeSchema: z.ZodEnum<{
|
|
2464
|
-
webhook: "webhook";
|
|
2465
2464
|
manual: "manual";
|
|
2466
2465
|
cron: "cron";
|
|
2466
|
+
webhook: "webhook";
|
|
2467
2467
|
}>;
|
|
2468
2468
|
type TaskTriggerType = z.infer<typeof TaskTriggerTypeSchema>;
|
|
2469
2469
|
declare const TaskSummarySchema: z.ZodObject<{
|
|
@@ -2484,9 +2484,9 @@ declare const TaskSummarySchema: z.ZodObject<{
|
|
|
2484
2484
|
dispatching: "dispatching";
|
|
2485
2485
|
}>;
|
|
2486
2486
|
triggerType: z.ZodEnum<{
|
|
2487
|
-
webhook: "webhook";
|
|
2488
2487
|
manual: "manual";
|
|
2489
2488
|
cron: "cron";
|
|
2489
|
+
webhook: "webhook";
|
|
2490
2490
|
}>;
|
|
2491
2491
|
triggerRef: z.ZodOptional<z.ZodString>;
|
|
2492
2492
|
attempt: z.ZodNumber;
|
|
@@ -2614,10 +2614,10 @@ declare const SkillContentSchema: z.ZodObject<{
|
|
|
2614
2614
|
type SkillContent = z.infer<typeof SkillContentSchema>;
|
|
2615
2615
|
|
|
2616
2616
|
declare const InboxCategorySchema: z.ZodEnum<{
|
|
2617
|
+
session: "session";
|
|
2617
2618
|
supervisor: "supervisor";
|
|
2618
2619
|
task: "task";
|
|
2619
2620
|
trigger: "trigger";
|
|
2620
|
-
session: "session";
|
|
2621
2621
|
knowledge: "knowledge";
|
|
2622
2622
|
system: "system";
|
|
2623
2623
|
}>;
|
|
@@ -2631,10 +2631,10 @@ type InboxSeverity = z.infer<typeof InboxSeveritySchema>;
|
|
|
2631
2631
|
declare const InboxItemSummarySchema: z.ZodObject<{
|
|
2632
2632
|
id: z.ZodString;
|
|
2633
2633
|
category: z.ZodEnum<{
|
|
2634
|
+
session: "session";
|
|
2634
2635
|
supervisor: "supervisor";
|
|
2635
2636
|
task: "task";
|
|
2636
2637
|
trigger: "trigger";
|
|
2637
|
-
session: "session";
|
|
2638
2638
|
knowledge: "knowledge";
|
|
2639
2639
|
system: "system";
|
|
2640
2640
|
}>;
|
|
@@ -2659,10 +2659,10 @@ declare const InboxNewItemSchema: z.ZodObject<{
|
|
|
2659
2659
|
item: z.ZodObject<{
|
|
2660
2660
|
id: z.ZodString;
|
|
2661
2661
|
category: z.ZodEnum<{
|
|
2662
|
+
session: "session";
|
|
2662
2663
|
supervisor: "supervisor";
|
|
2663
2664
|
task: "task";
|
|
2664
2665
|
trigger: "trigger";
|
|
2665
|
-
session: "session";
|
|
2666
2666
|
knowledge: "knowledge";
|
|
2667
2667
|
system: "system";
|
|
2668
2668
|
}>;
|
|
@@ -2850,8 +2850,8 @@ declare const EVIDENCE_KINDS: readonly ["goal", "task", "decision", "message", "
|
|
|
2850
2850
|
declare const SuggestionEvidenceSchema: z$1.ZodObject<{
|
|
2851
2851
|
kind: z$1.ZodEnum<{
|
|
2852
2852
|
message: "message";
|
|
2853
|
-
task: "task";
|
|
2854
2853
|
decision: "decision";
|
|
2854
|
+
task: "task";
|
|
2855
2855
|
goal: "goal";
|
|
2856
2856
|
narrative: "narrative";
|
|
2857
2857
|
}>;
|
|
@@ -3488,6 +3488,7 @@ declare const sessionProgressListSchema: z.ZodObject<{
|
|
|
3488
3488
|
startedAt: z.ZodNumber;
|
|
3489
3489
|
updatedAt: z.ZodNumber;
|
|
3490
3490
|
archivedAt: z.ZodOptional<z.ZodNumber>;
|
|
3491
|
+
toolCallIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3491
3492
|
}, z.core.$strip>;
|
|
3492
3493
|
type SessionProgressList = z.infer<typeof sessionProgressListSchema>;
|
|
3493
3494
|
/**
|
|
@@ -3518,6 +3519,7 @@ declare const sessionProgressStateSchema: z.ZodObject<{
|
|
|
3518
3519
|
startedAt: z.ZodNumber;
|
|
3519
3520
|
updatedAt: z.ZodNumber;
|
|
3520
3521
|
archivedAt: z.ZodOptional<z.ZodNumber>;
|
|
3522
|
+
toolCallIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3521
3523
|
}, z.core.$strip>>>;
|
|
3522
3524
|
currentListId: z.ZodOptional<z.ZodString>;
|
|
3523
3525
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
package/dist/index.d.mts
CHANGED
|
@@ -1534,8 +1534,8 @@ declare const AutomationPrioritySchema: z.ZodEnum<{
|
|
|
1534
1534
|
}>;
|
|
1535
1535
|
type AutomationPriority = z.infer<typeof AutomationPrioritySchema>;
|
|
1536
1536
|
declare const AutomationJobKindSchema: z.ZodEnum<{
|
|
1537
|
-
supervisor: "supervisor";
|
|
1538
1537
|
webhook: "webhook";
|
|
1538
|
+
supervisor: "supervisor";
|
|
1539
1539
|
agent_loop: "agent_loop";
|
|
1540
1540
|
task: "task";
|
|
1541
1541
|
}>;
|
|
@@ -1552,8 +1552,8 @@ type AutomationJobStatus = z.infer<typeof AutomationJobStatusSchema>;
|
|
|
1552
1552
|
declare const AutomationJobSummarySchema: z.ZodObject<{
|
|
1553
1553
|
id: z.ZodString;
|
|
1554
1554
|
kind: z.ZodEnum<{
|
|
1555
|
-
supervisor: "supervisor";
|
|
1556
1555
|
webhook: "webhook";
|
|
1556
|
+
supervisor: "supervisor";
|
|
1557
1557
|
agent_loop: "agent_loop";
|
|
1558
1558
|
task: "task";
|
|
1559
1559
|
}>;
|
|
@@ -1715,8 +1715,8 @@ declare const AutomationStateSchema: z.ZodObject<{
|
|
|
1715
1715
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
1716
1716
|
id: z.ZodString;
|
|
1717
1717
|
kind: z.ZodEnum<{
|
|
1718
|
-
supervisor: "supervisor";
|
|
1719
1718
|
webhook: "webhook";
|
|
1719
|
+
supervisor: "supervisor";
|
|
1720
1720
|
agent_loop: "agent_loop";
|
|
1721
1721
|
task: "task";
|
|
1722
1722
|
}>;
|
|
@@ -1942,8 +1942,8 @@ declare const DaemonStateSchema: z.ZodObject<{
|
|
|
1942
1942
|
recentJobs: z.ZodArray<z.ZodObject<{
|
|
1943
1943
|
id: z.ZodString;
|
|
1944
1944
|
kind: z.ZodEnum<{
|
|
1945
|
-
supervisor: "supervisor";
|
|
1946
1945
|
webhook: "webhook";
|
|
1946
|
+
supervisor: "supervisor";
|
|
1947
1947
|
agent_loop: "agent_loop";
|
|
1948
1948
|
task: "task";
|
|
1949
1949
|
}>;
|
|
@@ -2102,9 +2102,9 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
|
|
|
2102
2102
|
}>;
|
|
2103
2103
|
type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
|
|
2104
2104
|
declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
|
|
2105
|
+
session: "session";
|
|
2105
2106
|
user: "user";
|
|
2106
2107
|
supervisor: "supervisor";
|
|
2107
|
-
session: "session";
|
|
2108
2108
|
}>;
|
|
2109
2109
|
type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
|
|
2110
2110
|
declare const KnowledgeActionSchema: z.ZodEnum<{
|
|
@@ -2135,9 +2135,9 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
|
|
|
2135
2135
|
warning: "warning";
|
|
2136
2136
|
}>;
|
|
2137
2137
|
contributorType: z.ZodEnum<{
|
|
2138
|
+
session: "session";
|
|
2138
2139
|
user: "user";
|
|
2139
2140
|
supervisor: "supervisor";
|
|
2140
|
-
session: "session";
|
|
2141
2141
|
}>;
|
|
2142
2142
|
action: z.ZodEnum<{
|
|
2143
2143
|
create: "create";
|
|
@@ -2461,9 +2461,9 @@ declare const TaskStatusSchema: z.ZodEnum<{
|
|
|
2461
2461
|
}>;
|
|
2462
2462
|
type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
2463
2463
|
declare const TaskTriggerTypeSchema: z.ZodEnum<{
|
|
2464
|
-
webhook: "webhook";
|
|
2465
2464
|
manual: "manual";
|
|
2466
2465
|
cron: "cron";
|
|
2466
|
+
webhook: "webhook";
|
|
2467
2467
|
}>;
|
|
2468
2468
|
type TaskTriggerType = z.infer<typeof TaskTriggerTypeSchema>;
|
|
2469
2469
|
declare const TaskSummarySchema: z.ZodObject<{
|
|
@@ -2484,9 +2484,9 @@ declare const TaskSummarySchema: z.ZodObject<{
|
|
|
2484
2484
|
dispatching: "dispatching";
|
|
2485
2485
|
}>;
|
|
2486
2486
|
triggerType: z.ZodEnum<{
|
|
2487
|
-
webhook: "webhook";
|
|
2488
2487
|
manual: "manual";
|
|
2489
2488
|
cron: "cron";
|
|
2489
|
+
webhook: "webhook";
|
|
2490
2490
|
}>;
|
|
2491
2491
|
triggerRef: z.ZodOptional<z.ZodString>;
|
|
2492
2492
|
attempt: z.ZodNumber;
|
|
@@ -2614,10 +2614,10 @@ declare const SkillContentSchema: z.ZodObject<{
|
|
|
2614
2614
|
type SkillContent = z.infer<typeof SkillContentSchema>;
|
|
2615
2615
|
|
|
2616
2616
|
declare const InboxCategorySchema: z.ZodEnum<{
|
|
2617
|
+
session: "session";
|
|
2617
2618
|
supervisor: "supervisor";
|
|
2618
2619
|
task: "task";
|
|
2619
2620
|
trigger: "trigger";
|
|
2620
|
-
session: "session";
|
|
2621
2621
|
knowledge: "knowledge";
|
|
2622
2622
|
system: "system";
|
|
2623
2623
|
}>;
|
|
@@ -2631,10 +2631,10 @@ type InboxSeverity = z.infer<typeof InboxSeveritySchema>;
|
|
|
2631
2631
|
declare const InboxItemSummarySchema: z.ZodObject<{
|
|
2632
2632
|
id: z.ZodString;
|
|
2633
2633
|
category: z.ZodEnum<{
|
|
2634
|
+
session: "session";
|
|
2634
2635
|
supervisor: "supervisor";
|
|
2635
2636
|
task: "task";
|
|
2636
2637
|
trigger: "trigger";
|
|
2637
|
-
session: "session";
|
|
2638
2638
|
knowledge: "knowledge";
|
|
2639
2639
|
system: "system";
|
|
2640
2640
|
}>;
|
|
@@ -2659,10 +2659,10 @@ declare const InboxNewItemSchema: z.ZodObject<{
|
|
|
2659
2659
|
item: z.ZodObject<{
|
|
2660
2660
|
id: z.ZodString;
|
|
2661
2661
|
category: z.ZodEnum<{
|
|
2662
|
+
session: "session";
|
|
2662
2663
|
supervisor: "supervisor";
|
|
2663
2664
|
task: "task";
|
|
2664
2665
|
trigger: "trigger";
|
|
2665
|
-
session: "session";
|
|
2666
2666
|
knowledge: "knowledge";
|
|
2667
2667
|
system: "system";
|
|
2668
2668
|
}>;
|
|
@@ -2850,8 +2850,8 @@ declare const EVIDENCE_KINDS: readonly ["goal", "task", "decision", "message", "
|
|
|
2850
2850
|
declare const SuggestionEvidenceSchema: z$1.ZodObject<{
|
|
2851
2851
|
kind: z$1.ZodEnum<{
|
|
2852
2852
|
message: "message";
|
|
2853
|
-
task: "task";
|
|
2854
2853
|
decision: "decision";
|
|
2854
|
+
task: "task";
|
|
2855
2855
|
goal: "goal";
|
|
2856
2856
|
narrative: "narrative";
|
|
2857
2857
|
}>;
|
|
@@ -3488,6 +3488,7 @@ declare const sessionProgressListSchema: z.ZodObject<{
|
|
|
3488
3488
|
startedAt: z.ZodNumber;
|
|
3489
3489
|
updatedAt: z.ZodNumber;
|
|
3490
3490
|
archivedAt: z.ZodOptional<z.ZodNumber>;
|
|
3491
|
+
toolCallIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3491
3492
|
}, z.core.$strip>;
|
|
3492
3493
|
type SessionProgressList = z.infer<typeof sessionProgressListSchema>;
|
|
3493
3494
|
/**
|
|
@@ -3518,6 +3519,7 @@ declare const sessionProgressStateSchema: z.ZodObject<{
|
|
|
3518
3519
|
startedAt: z.ZodNumber;
|
|
3519
3520
|
updatedAt: z.ZodNumber;
|
|
3520
3521
|
archivedAt: z.ZodOptional<z.ZodNumber>;
|
|
3522
|
+
toolCallIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3521
3523
|
}, z.core.$strip>>>;
|
|
3522
3524
|
currentListId: z.ZodOptional<z.ZodString>;
|
|
3523
3525
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
package/dist/index.mjs
CHANGED
|
@@ -1496,7 +1496,14 @@ const sessionProgressListSchema = z.object({
|
|
|
1496
1496
|
startedAt: z.number(),
|
|
1497
1497
|
updatedAt: z.number(),
|
|
1498
1498
|
/** When this list stopped being active (got pushed to history). */
|
|
1499
|
-
archivedAt: z.number().optional()
|
|
1499
|
+
archivedAt: z.number().optional(),
|
|
1500
|
+
/**
|
|
1501
|
+
* Tool-call message IDs for file-editing tools (Edit/Write/MultiEdit/
|
|
1502
|
+
* NotebookEdit) that ran while this list was the active one. Consumers
|
|
1503
|
+
* resolve these against the session message stream to render per-list
|
|
1504
|
+
* file change summaries without duplicating diff content into metadata.
|
|
1505
|
+
*/
|
|
1506
|
+
toolCallIds: z.array(z.string()).optional()
|
|
1500
1507
|
});
|
|
1501
1508
|
const sessionProgressStateSchema = z.object({
|
|
1502
1509
|
/** Ordered by startedAt asc; last item is typically the active one. */
|