@agent-phonon/protocol 0.9.1 → 0.10.0
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/README.md +35 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/native-version.d.ts +6 -0
- package/dist/native-version.d.ts.map +1 -0
- package/dist/native-version.js +41 -0
- package/dist/native-version.js.map +1 -0
- package/dist/schemas/capabilities.d.ts +9 -0
- package/dist/schemas/capabilities.d.ts.map +1 -1
- package/dist/schemas/capabilities.js +3 -0
- package/dist/schemas/capabilities.js.map +1 -1
- package/dist/schemas/common.d.ts +4 -4
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/common.js +9 -0
- package/dist/schemas/common.js.map +1 -1
- package/dist/schemas/compression.d.ts +191 -0
- package/dist/schemas/compression.d.ts.map +1 -0
- package/dist/schemas/compression.js +18 -0
- package/dist/schemas/compression.js.map +1 -0
- package/dist/schemas/conversation-archive.d.ts +1021 -0
- package/dist/schemas/conversation-archive.d.ts.map +1 -0
- package/dist/schemas/conversation-archive.js +148 -0
- package/dist/schemas/conversation-archive.js.map +1 -0
- package/dist/schemas/conversation-board.d.ts +428 -0
- package/dist/schemas/conversation-board.d.ts.map +1 -0
- package/dist/schemas/conversation-board.js +32 -0
- package/dist/schemas/conversation-board.js.map +1 -0
- package/dist/schemas/conversation-message.d.ts +658 -0
- package/dist/schemas/conversation-message.d.ts.map +1 -0
- package/dist/schemas/conversation-message.js +42 -0
- package/dist/schemas/conversation-message.js.map +1 -0
- package/dist/schemas/conversation-workflow.d.ts +1201 -0
- package/dist/schemas/conversation-workflow.d.ts.map +1 -0
- package/dist/schemas/conversation-workflow.js +68 -0
- package/dist/schemas/conversation-workflow.js.map +1 -0
- package/dist/schemas/device.d.ts +198 -2
- package/dist/schemas/device.d.ts.map +1 -1
- package/dist/schemas/device.js +29 -1
- package/dist/schemas/device.js.map +1 -1
- package/dist/schemas/discovery.d.ts +107 -0
- package/dist/schemas/discovery.d.ts.map +1 -1
- package/dist/schemas/discovery.js +2 -0
- package/dist/schemas/discovery.js.map +1 -1
- package/dist/schemas/document.d.ts +56 -26
- package/dist/schemas/document.d.ts.map +1 -1
- package/dist/schemas/document.js +11 -0
- package/dist/schemas/document.js.map +1 -1
- package/dist/schemas/employee.d.ts +139 -0
- package/dist/schemas/employee.d.ts.map +1 -0
- package/dist/schemas/employee.js +17 -0
- package/dist/schemas/employee.js.map +1 -0
- package/dist/schemas/env.d.ts +15 -15
- package/dist/schemas/env.d.ts.map +1 -1
- package/dist/schemas/env.js +1 -1
- package/dist/schemas/env.js.map +1 -1
- package/dist/schemas/file.d.ts +6 -6
- package/dist/schemas/hook.d.ts +4 -4
- package/dist/schemas/interaction.d.ts +363 -2
- package/dist/schemas/interaction.d.ts.map +1 -1
- package/dist/schemas/interaction.js +28 -1
- package/dist/schemas/interaction.js.map +1 -1
- package/dist/schemas/jsonrpc.d.ts +19 -19
- package/dist/schemas/maintenance.d.ts +822 -0
- package/dist/schemas/maintenance.d.ts.map +1 -0
- package/dist/schemas/maintenance.js +166 -0
- package/dist/schemas/maintenance.js.map +1 -0
- package/dist/schemas/managed-mcp.d.ts +116 -0
- package/dist/schemas/managed-mcp.d.ts.map +1 -0
- package/dist/schemas/managed-mcp.js +23 -0
- package/dist/schemas/managed-mcp.js.map +1 -0
- package/dist/schemas/methods.d.ts +22186 -2362
- package/dist/schemas/methods.d.ts.map +1 -1
- package/dist/schemas/methods.js +181 -6
- package/dist/schemas/methods.js.map +1 -1
- package/dist/schemas/native-stop.d.ts +162 -0
- package/dist/schemas/native-stop.d.ts.map +1 -0
- package/dist/schemas/native-stop.js +14 -0
- package/dist/schemas/native-stop.js.map +1 -0
- package/dist/schemas/policy.d.ts +42 -2
- package/dist/schemas/policy.d.ts.map +1 -1
- package/dist/schemas/policy.js +20 -0
- package/dist/schemas/policy.js.map +1 -1
- package/dist/schemas/project-coordination.d.ts +1956 -0
- package/dist/schemas/project-coordination.d.ts.map +1 -0
- package/dist/schemas/project-coordination.js +81 -0
- package/dist/schemas/project-coordination.js.map +1 -0
- package/dist/schemas/project.d.ts +771 -53
- package/dist/schemas/project.d.ts.map +1 -1
- package/dist/schemas/project.js +60 -5
- package/dist/schemas/project.js.map +1 -1
- package/dist/schemas/reasoning.d.ts +26 -0
- package/dist/schemas/reasoning.d.ts.map +1 -0
- package/dist/schemas/reasoning.js +10 -0
- package/dist/schemas/reasoning.js.map +1 -0
- package/dist/schemas/schedule.d.ts +15148 -5022
- package/dist/schemas/schedule.d.ts.map +1 -1
- package/dist/schemas/schedule.js +46 -5
- package/dist/schemas/schedule.js.map +1 -1
- package/dist/schemas/session.d.ts +1558 -49
- package/dist/schemas/session.d.ts.map +1 -1
- package/dist/schemas/session.js +27 -16
- package/dist/schemas/session.js.map +1 -1
- package/dist/schemas/skill.d.ts +1009 -8
- package/dist/schemas/skill.d.ts.map +1 -1
- package/dist/schemas/skill.js +39 -0
- package/dist/schemas/skill.js.map +1 -1
- package/dist/schemas/stream.d.ts +1060 -67
- package/dist/schemas/stream.d.ts.map +1 -1
- package/dist/schemas/stream.js +18 -3
- package/dist/schemas/stream.js.map +1 -1
- package/dist/schemas/workflow.d.ts +2764 -255
- package/dist/schemas/workflow.d.ts.map +1 -1
- package/dist/schemas/workflow.js +69 -1
- package/dist/schemas/workflow.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +12 -0
- package/src/native-version.ts +30 -0
- package/src/schemas/capabilities.ts +3 -0
- package/src/schemas/common.ts +9 -0
- package/src/schemas/compression.ts +19 -0
- package/src/schemas/conversation-archive.ts +155 -0
- package/src/schemas/conversation-board.ts +36 -0
- package/src/schemas/conversation-message.ts +46 -0
- package/src/schemas/conversation-workflow.ts +62 -0
- package/src/schemas/device.ts +32 -1
- package/src/schemas/discovery.ts +2 -0
- package/src/schemas/document.ts +13 -0
- package/src/schemas/employee.ts +19 -0
- package/src/schemas/env.ts +1 -1
- package/src/schemas/interaction.ts +32 -1
- package/src/schemas/maintenance.ts +204 -0
- package/src/schemas/managed-mcp.ts +25 -0
- package/src/schemas/methods.ts +208 -1
- package/src/schemas/native-stop.ts +16 -0
- package/src/schemas/policy.ts +20 -0
- package/src/schemas/project-coordination.ts +90 -0
- package/src/schemas/project.ts +72 -5
- package/src/schemas/reasoning.ts +13 -0
- package/src/schemas/schedule.ts +54 -5
- package/src/schemas/session.ts +30 -18
- package/src/schemas/skill.ts +52 -0
- package/src/schemas/stream.ts +22 -3
- package/src/schemas/workflow.ts +82 -1
package/dist/schemas/hook.d.ts
CHANGED
|
@@ -21,16 +21,16 @@ export declare const HookFiredParams: z.ZodObject<{
|
|
|
21
21
|
/** 其余 adapter 特定字段。 */
|
|
22
22
|
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
url?: string | undefined;
|
|
24
25
|
toolName?: string | undefined;
|
|
25
26
|
command?: string | undefined;
|
|
26
27
|
filePath?: string | undefined;
|
|
27
|
-
url?: string | undefined;
|
|
28
28
|
extra?: Record<string, unknown> | undefined;
|
|
29
29
|
}, {
|
|
30
|
+
url?: string | undefined;
|
|
30
31
|
toolName?: string | undefined;
|
|
31
32
|
command?: string | undefined;
|
|
32
33
|
filePath?: string | undefined;
|
|
33
|
-
url?: string | undefined;
|
|
34
34
|
extra?: Record<string, unknown> | undefined;
|
|
35
35
|
}>>;
|
|
36
36
|
/** 该 turn 的关联 id(若在某轮对话内触发)。 */
|
|
@@ -42,10 +42,10 @@ export declare const HookFiredParams: z.ZodObject<{
|
|
|
42
42
|
hookId: string;
|
|
43
43
|
hookType: "pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification";
|
|
44
44
|
payload: {
|
|
45
|
+
url?: string | undefined;
|
|
45
46
|
toolName?: string | undefined;
|
|
46
47
|
command?: string | undefined;
|
|
47
48
|
filePath?: string | undefined;
|
|
48
|
-
url?: string | undefined;
|
|
49
49
|
extra?: Record<string, unknown> | undefined;
|
|
50
50
|
};
|
|
51
51
|
turnId?: string | undefined;
|
|
@@ -56,10 +56,10 @@ export declare const HookFiredParams: z.ZodObject<{
|
|
|
56
56
|
hookType: "pre_tool" | "post_tool" | "pre_command" | "pre_file_write" | "pre_network" | "session_start" | "session_end" | "notification";
|
|
57
57
|
turnId?: string | undefined;
|
|
58
58
|
payload?: {
|
|
59
|
+
url?: string | undefined;
|
|
59
60
|
toolName?: string | undefined;
|
|
60
61
|
command?: string | undefined;
|
|
61
62
|
filePath?: string | undefined;
|
|
62
|
-
url?: string | undefined;
|
|
63
63
|
extra?: Record<string, unknown> | undefined;
|
|
64
64
|
} | undefined;
|
|
65
65
|
}>;
|
|
@@ -548,6 +548,19 @@ export declare const InteractionForm: z.ZodObject<{
|
|
|
548
548
|
cancelLabel?: string | undefined;
|
|
549
549
|
}>;
|
|
550
550
|
export type InteractionForm = z.infer<typeof InteractionForm>;
|
|
551
|
+
export declare const InteractionPresentation: z.ZodObject<{
|
|
552
|
+
kind: z.ZodLiteral<"approval">;
|
|
553
|
+
decisionField: z.ZodString;
|
|
554
|
+
feedbackField: z.ZodOptional<z.ZodString>;
|
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
|
556
|
+
kind: "approval";
|
|
557
|
+
decisionField: string;
|
|
558
|
+
feedbackField?: string | undefined;
|
|
559
|
+
}, {
|
|
560
|
+
kind: "approval";
|
|
561
|
+
decisionField: string;
|
|
562
|
+
feedbackField?: string | undefined;
|
|
563
|
+
}>;
|
|
551
564
|
/**
|
|
552
565
|
* agent emit 的指令(skill 教)——和 interaction.request 结构基本一致,
|
|
553
566
|
* 但不带 requestId(由 phonon 生成)。
|
|
@@ -1025,9 +1038,15 @@ export declare const InteractionDirective: z.ZodObject<{
|
|
|
1025
1038
|
blocking?: boolean | undefined;
|
|
1026
1039
|
}>;
|
|
1027
1040
|
export type InteractionDirective = z.infer<typeof InteractionDirective>;
|
|
1028
|
-
export declare const InteractionRequestParams: z.ZodObject<{
|
|
1041
|
+
export declare const InteractionRequestParams: z.ZodEffects<z.ZodObject<{
|
|
1029
1042
|
/** 本次交互唯一 id,response 用它配对。 */
|
|
1030
1043
|
requestId: z.ZodString;
|
|
1044
|
+
/** Trusted workflow attribution supplied by the device controller, not parsed from form prose. */
|
|
1045
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
/** Stamped by the controller from the current native Session/Workflow. */
|
|
1047
|
+
nativeRunId: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
/** Canonical Dev Run identity; mutually exclusive with nativeRunId. */
|
|
1049
|
+
devRunId: z.ZodOptional<z.ZodString>;
|
|
1031
1050
|
sessionId: z.ZodOptional<z.ZodBranded<z.ZodString, "SessionId">>;
|
|
1032
1051
|
turnId: z.ZodOptional<z.ZodString>;
|
|
1033
1052
|
form: z.ZodObject<{
|
|
@@ -1358,6 +1377,20 @@ export declare const InteractionRequestParams: z.ZodObject<{
|
|
|
1358
1377
|
submitLabel?: string | undefined;
|
|
1359
1378
|
cancelLabel?: string | undefined;
|
|
1360
1379
|
}>;
|
|
1380
|
+
/** Agent-selected rendering hint; never an app-selected approval policy. */
|
|
1381
|
+
presentation: z.ZodOptional<z.ZodObject<{
|
|
1382
|
+
kind: z.ZodLiteral<"approval">;
|
|
1383
|
+
decisionField: z.ZodString;
|
|
1384
|
+
feedbackField: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
}, "strip", z.ZodTypeAny, {
|
|
1386
|
+
kind: "approval";
|
|
1387
|
+
decisionField: string;
|
|
1388
|
+
feedbackField?: string | undefined;
|
|
1389
|
+
}, {
|
|
1390
|
+
kind: "approval";
|
|
1391
|
+
decisionField: string;
|
|
1392
|
+
feedbackField?: string | undefined;
|
|
1393
|
+
}>>;
|
|
1361
1394
|
blocking: z.ZodDefault<z.ZodBoolean>;
|
|
1362
1395
|
/** 关联 hookId(HITL 场景)。 */
|
|
1363
1396
|
hookId: z.ZodOptional<z.ZodString>;
|
|
@@ -1369,6 +1402,7 @@ export declare const InteractionRequestParams: z.ZodObject<{
|
|
|
1369
1402
|
at: z.ZodString;
|
|
1370
1403
|
}, "strip", z.ZodTypeAny, {
|
|
1371
1404
|
at: string;
|
|
1405
|
+
requestId: string;
|
|
1372
1406
|
form: {
|
|
1373
1407
|
title: string;
|
|
1374
1408
|
fields: ({
|
|
@@ -1436,13 +1470,21 @@ export declare const InteractionRequestParams: z.ZodObject<{
|
|
|
1436
1470
|
cancelLabel?: string | undefined;
|
|
1437
1471
|
};
|
|
1438
1472
|
blocking: boolean;
|
|
1439
|
-
requestId: string;
|
|
1440
1473
|
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
1441
1474
|
turnId?: string | undefined;
|
|
1475
|
+
workflowId?: string | undefined;
|
|
1476
|
+
nativeRunId?: string | undefined;
|
|
1442
1477
|
hookId?: string | undefined;
|
|
1478
|
+
devRunId?: string | undefined;
|
|
1479
|
+
presentation?: {
|
|
1480
|
+
kind: "approval";
|
|
1481
|
+
decisionField: string;
|
|
1482
|
+
feedbackField?: string | undefined;
|
|
1483
|
+
} | undefined;
|
|
1443
1484
|
timeoutSeconds?: number | undefined;
|
|
1444
1485
|
}, {
|
|
1445
1486
|
at: string;
|
|
1487
|
+
requestId: string;
|
|
1446
1488
|
form: {
|
|
1447
1489
|
title: string;
|
|
1448
1490
|
description?: string | undefined;
|
|
@@ -1509,11 +1551,182 @@ export declare const InteractionRequestParams: z.ZodObject<{
|
|
|
1509
1551
|
submitLabel?: string | undefined;
|
|
1510
1552
|
cancelLabel?: string | undefined;
|
|
1511
1553
|
};
|
|
1554
|
+
sessionId?: string | undefined;
|
|
1555
|
+
turnId?: string | undefined;
|
|
1556
|
+
workflowId?: string | undefined;
|
|
1557
|
+
nativeRunId?: string | undefined;
|
|
1558
|
+
hookId?: string | undefined;
|
|
1559
|
+
blocking?: boolean | undefined;
|
|
1560
|
+
devRunId?: string | undefined;
|
|
1561
|
+
presentation?: {
|
|
1562
|
+
kind: "approval";
|
|
1563
|
+
decisionField: string;
|
|
1564
|
+
feedbackField?: string | undefined;
|
|
1565
|
+
} | undefined;
|
|
1566
|
+
timeoutSeconds?: number | undefined;
|
|
1567
|
+
}>, {
|
|
1568
|
+
at: string;
|
|
1569
|
+
requestId: string;
|
|
1570
|
+
form: {
|
|
1571
|
+
title: string;
|
|
1572
|
+
fields: ({
|
|
1573
|
+
type: "text";
|
|
1574
|
+
label: string;
|
|
1575
|
+
key: string;
|
|
1576
|
+
required: boolean;
|
|
1577
|
+
placeholder?: string | undefined;
|
|
1578
|
+
defaultValue?: string | undefined;
|
|
1579
|
+
help?: string | undefined;
|
|
1580
|
+
} | {
|
|
1581
|
+
type: "textarea";
|
|
1582
|
+
label: string;
|
|
1583
|
+
key: string;
|
|
1584
|
+
required: boolean;
|
|
1585
|
+
placeholder?: string | undefined;
|
|
1586
|
+
defaultValue?: string | undefined;
|
|
1587
|
+
help?: string | undefined;
|
|
1588
|
+
} | {
|
|
1589
|
+
type: "number";
|
|
1590
|
+
label: string;
|
|
1591
|
+
key: string;
|
|
1592
|
+
required: boolean;
|
|
1593
|
+
defaultValue?: number | undefined;
|
|
1594
|
+
help?: string | undefined;
|
|
1595
|
+
} | {
|
|
1596
|
+
type: "boolean";
|
|
1597
|
+
label: string;
|
|
1598
|
+
key: string;
|
|
1599
|
+
required: boolean;
|
|
1600
|
+
defaultValue?: boolean | undefined;
|
|
1601
|
+
help?: string | undefined;
|
|
1602
|
+
} | {
|
|
1603
|
+
options: {
|
|
1604
|
+
value: string;
|
|
1605
|
+
label: string;
|
|
1606
|
+
}[];
|
|
1607
|
+
type: "select";
|
|
1608
|
+
label: string;
|
|
1609
|
+
key: string;
|
|
1610
|
+
required: boolean;
|
|
1611
|
+
defaultValue?: string | undefined;
|
|
1612
|
+
help?: string | undefined;
|
|
1613
|
+
} | {
|
|
1614
|
+
options: {
|
|
1615
|
+
value: string;
|
|
1616
|
+
label: string;
|
|
1617
|
+
}[];
|
|
1618
|
+
type: "multiselect";
|
|
1619
|
+
label: string;
|
|
1620
|
+
key: string;
|
|
1621
|
+
required: boolean;
|
|
1622
|
+
defaultValue?: string[] | undefined;
|
|
1623
|
+
help?: string | undefined;
|
|
1624
|
+
} | {
|
|
1625
|
+
type: "date";
|
|
1626
|
+
label: string;
|
|
1627
|
+
key: string;
|
|
1628
|
+
required: boolean;
|
|
1629
|
+
defaultValue?: string | undefined;
|
|
1630
|
+
help?: string | undefined;
|
|
1631
|
+
})[];
|
|
1632
|
+
submitLabel: string;
|
|
1633
|
+
description?: string | undefined;
|
|
1634
|
+
cancelLabel?: string | undefined;
|
|
1635
|
+
};
|
|
1636
|
+
blocking: boolean;
|
|
1637
|
+
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
1638
|
+
turnId?: string | undefined;
|
|
1639
|
+
workflowId?: string | undefined;
|
|
1640
|
+
nativeRunId?: string | undefined;
|
|
1641
|
+
hookId?: string | undefined;
|
|
1642
|
+
devRunId?: string | undefined;
|
|
1643
|
+
presentation?: {
|
|
1644
|
+
kind: "approval";
|
|
1645
|
+
decisionField: string;
|
|
1646
|
+
feedbackField?: string | undefined;
|
|
1647
|
+
} | undefined;
|
|
1648
|
+
timeoutSeconds?: number | undefined;
|
|
1649
|
+
}, {
|
|
1650
|
+
at: string;
|
|
1512
1651
|
requestId: string;
|
|
1652
|
+
form: {
|
|
1653
|
+
title: string;
|
|
1654
|
+
description?: string | undefined;
|
|
1655
|
+
fields?: ({
|
|
1656
|
+
type: "text";
|
|
1657
|
+
label: string;
|
|
1658
|
+
key: string;
|
|
1659
|
+
placeholder?: string | undefined;
|
|
1660
|
+
defaultValue?: string | undefined;
|
|
1661
|
+
required?: boolean | undefined;
|
|
1662
|
+
help?: string | undefined;
|
|
1663
|
+
} | {
|
|
1664
|
+
type: "textarea";
|
|
1665
|
+
label: string;
|
|
1666
|
+
key: string;
|
|
1667
|
+
placeholder?: string | undefined;
|
|
1668
|
+
defaultValue?: string | undefined;
|
|
1669
|
+
required?: boolean | undefined;
|
|
1670
|
+
help?: string | undefined;
|
|
1671
|
+
} | {
|
|
1672
|
+
type: "number";
|
|
1673
|
+
label: string;
|
|
1674
|
+
key: string;
|
|
1675
|
+
defaultValue?: number | undefined;
|
|
1676
|
+
required?: boolean | undefined;
|
|
1677
|
+
help?: string | undefined;
|
|
1678
|
+
} | {
|
|
1679
|
+
type: "boolean";
|
|
1680
|
+
label: string;
|
|
1681
|
+
key: string;
|
|
1682
|
+
defaultValue?: boolean | undefined;
|
|
1683
|
+
required?: boolean | undefined;
|
|
1684
|
+
help?: string | undefined;
|
|
1685
|
+
} | {
|
|
1686
|
+
options: {
|
|
1687
|
+
value: string;
|
|
1688
|
+
label: string;
|
|
1689
|
+
}[];
|
|
1690
|
+
type: "select";
|
|
1691
|
+
label: string;
|
|
1692
|
+
key: string;
|
|
1693
|
+
defaultValue?: string | undefined;
|
|
1694
|
+
required?: boolean | undefined;
|
|
1695
|
+
help?: string | undefined;
|
|
1696
|
+
} | {
|
|
1697
|
+
options: {
|
|
1698
|
+
value: string;
|
|
1699
|
+
label: string;
|
|
1700
|
+
}[];
|
|
1701
|
+
type: "multiselect";
|
|
1702
|
+
label: string;
|
|
1703
|
+
key: string;
|
|
1704
|
+
defaultValue?: string[] | undefined;
|
|
1705
|
+
required?: boolean | undefined;
|
|
1706
|
+
help?: string | undefined;
|
|
1707
|
+
} | {
|
|
1708
|
+
type: "date";
|
|
1709
|
+
label: string;
|
|
1710
|
+
key: string;
|
|
1711
|
+
defaultValue?: string | undefined;
|
|
1712
|
+
required?: boolean | undefined;
|
|
1713
|
+
help?: string | undefined;
|
|
1714
|
+
})[] | undefined;
|
|
1715
|
+
submitLabel?: string | undefined;
|
|
1716
|
+
cancelLabel?: string | undefined;
|
|
1717
|
+
};
|
|
1513
1718
|
sessionId?: string | undefined;
|
|
1514
1719
|
turnId?: string | undefined;
|
|
1720
|
+
workflowId?: string | undefined;
|
|
1721
|
+
nativeRunId?: string | undefined;
|
|
1515
1722
|
hookId?: string | undefined;
|
|
1516
1723
|
blocking?: boolean | undefined;
|
|
1724
|
+
devRunId?: string | undefined;
|
|
1725
|
+
presentation?: {
|
|
1726
|
+
kind: "approval";
|
|
1727
|
+
decisionField: string;
|
|
1728
|
+
feedbackField?: string | undefined;
|
|
1729
|
+
} | undefined;
|
|
1517
1730
|
timeoutSeconds?: number | undefined;
|
|
1518
1731
|
}>;
|
|
1519
1732
|
export type InteractionRequestParams = z.infer<typeof InteractionRequestParams>;
|
|
@@ -1537,6 +1750,154 @@ export declare const InteractionRequestResult: z.ZodObject<{
|
|
|
1537
1750
|
values?: Record<string, string | number | boolean | string[]> | undefined;
|
|
1538
1751
|
}>;
|
|
1539
1752
|
export type InteractionRequestResult = z.infer<typeof InteractionRequestResult>;
|
|
1753
|
+
export declare const InteractionReceiptState: z.ZodEnum<["pending", "delivered", "applied", "cancelled", "timeout", "failed", "unknown"]>;
|
|
1754
|
+
export declare const InteractionStatusParams: z.ZodObject<{
|
|
1755
|
+
requestId: z.ZodString;
|
|
1756
|
+
}, "strip", z.ZodTypeAny, {
|
|
1757
|
+
requestId: string;
|
|
1758
|
+
}, {
|
|
1759
|
+
requestId: string;
|
|
1760
|
+
}>;
|
|
1761
|
+
export declare const InteractionStatusResult: z.ZodEffects<z.ZodObject<{
|
|
1762
|
+
requestId: z.ZodString;
|
|
1763
|
+
requestHash: z.ZodString;
|
|
1764
|
+
state: z.ZodEnum<["pending", "delivered", "applied", "cancelled", "timeout", "failed", "unknown"]>;
|
|
1765
|
+
nativeRunId: z.ZodOptional<z.ZodString>;
|
|
1766
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
1767
|
+
sessionId: z.ZodOptional<z.ZodBranded<z.ZodString, "SessionId">>;
|
|
1768
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
1769
|
+
devRunId: z.ZodOptional<z.ZodString>;
|
|
1770
|
+
decisionHash: z.ZodOptional<z.ZodString>;
|
|
1771
|
+
updatedAt: z.ZodString;
|
|
1772
|
+
}, "strip", z.ZodTypeAny, {
|
|
1773
|
+
requestHash: string;
|
|
1774
|
+
state: "unknown" | "failed" | "pending" | "timeout" | "applied" | "delivered" | "cancelled";
|
|
1775
|
+
updatedAt: string;
|
|
1776
|
+
requestId: string;
|
|
1777
|
+
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
1778
|
+
turnId?: string | undefined;
|
|
1779
|
+
workflowId?: string | undefined;
|
|
1780
|
+
nativeRunId?: string | undefined;
|
|
1781
|
+
devRunId?: string | undefined;
|
|
1782
|
+
decisionHash?: string | undefined;
|
|
1783
|
+
}, {
|
|
1784
|
+
requestHash: string;
|
|
1785
|
+
state: "unknown" | "failed" | "pending" | "timeout" | "applied" | "delivered" | "cancelled";
|
|
1786
|
+
updatedAt: string;
|
|
1787
|
+
requestId: string;
|
|
1788
|
+
sessionId?: string | undefined;
|
|
1789
|
+
turnId?: string | undefined;
|
|
1790
|
+
workflowId?: string | undefined;
|
|
1791
|
+
nativeRunId?: string | undefined;
|
|
1792
|
+
devRunId?: string | undefined;
|
|
1793
|
+
decisionHash?: string | undefined;
|
|
1794
|
+
}>, {
|
|
1795
|
+
requestHash: string;
|
|
1796
|
+
state: "unknown" | "failed" | "pending" | "timeout" | "applied" | "delivered" | "cancelled";
|
|
1797
|
+
updatedAt: string;
|
|
1798
|
+
requestId: string;
|
|
1799
|
+
sessionId?: (string & z.BRAND<"SessionId">) | undefined;
|
|
1800
|
+
turnId?: string | undefined;
|
|
1801
|
+
workflowId?: string | undefined;
|
|
1802
|
+
nativeRunId?: string | undefined;
|
|
1803
|
+
devRunId?: string | undefined;
|
|
1804
|
+
decisionHash?: string | undefined;
|
|
1805
|
+
}, {
|
|
1806
|
+
requestHash: string;
|
|
1807
|
+
state: "unknown" | "failed" | "pending" | "timeout" | "applied" | "delivered" | "cancelled";
|
|
1808
|
+
updatedAt: string;
|
|
1809
|
+
requestId: string;
|
|
1810
|
+
sessionId?: string | undefined;
|
|
1811
|
+
turnId?: string | undefined;
|
|
1812
|
+
workflowId?: string | undefined;
|
|
1813
|
+
nativeRunId?: string | undefined;
|
|
1814
|
+
devRunId?: string | undefined;
|
|
1815
|
+
decisionHash?: string | undefined;
|
|
1816
|
+
}>;
|
|
1817
|
+
export type InteractionStatusResult = z.infer<typeof InteractionStatusResult>;
|
|
1818
|
+
/** Timestamp-independent identity shared by durable request/replay consumers. */
|
|
1819
|
+
export declare function interactionRequestIdentity(params: InteractionRequestParams): {
|
|
1820
|
+
requestId: string;
|
|
1821
|
+
nativeRunId: string | undefined;
|
|
1822
|
+
devRunId: string | undefined;
|
|
1823
|
+
workflowId: string | undefined;
|
|
1824
|
+
sessionId: (string & z.BRAND<"SessionId">) | undefined;
|
|
1825
|
+
turnId: string | undefined;
|
|
1826
|
+
form: {
|
|
1827
|
+
title: string;
|
|
1828
|
+
fields: ({
|
|
1829
|
+
type: "text";
|
|
1830
|
+
label: string;
|
|
1831
|
+
key: string;
|
|
1832
|
+
required: boolean;
|
|
1833
|
+
placeholder?: string | undefined;
|
|
1834
|
+
defaultValue?: string | undefined;
|
|
1835
|
+
help?: string | undefined;
|
|
1836
|
+
} | {
|
|
1837
|
+
type: "textarea";
|
|
1838
|
+
label: string;
|
|
1839
|
+
key: string;
|
|
1840
|
+
required: boolean;
|
|
1841
|
+
placeholder?: string | undefined;
|
|
1842
|
+
defaultValue?: string | undefined;
|
|
1843
|
+
help?: string | undefined;
|
|
1844
|
+
} | {
|
|
1845
|
+
type: "number";
|
|
1846
|
+
label: string;
|
|
1847
|
+
key: string;
|
|
1848
|
+
required: boolean;
|
|
1849
|
+
defaultValue?: number | undefined;
|
|
1850
|
+
help?: string | undefined;
|
|
1851
|
+
} | {
|
|
1852
|
+
type: "boolean";
|
|
1853
|
+
label: string;
|
|
1854
|
+
key: string;
|
|
1855
|
+
required: boolean;
|
|
1856
|
+
defaultValue?: boolean | undefined;
|
|
1857
|
+
help?: string | undefined;
|
|
1858
|
+
} | {
|
|
1859
|
+
options: {
|
|
1860
|
+
value: string;
|
|
1861
|
+
label: string;
|
|
1862
|
+
}[];
|
|
1863
|
+
type: "select";
|
|
1864
|
+
label: string;
|
|
1865
|
+
key: string;
|
|
1866
|
+
required: boolean;
|
|
1867
|
+
defaultValue?: string | undefined;
|
|
1868
|
+
help?: string | undefined;
|
|
1869
|
+
} | {
|
|
1870
|
+
options: {
|
|
1871
|
+
value: string;
|
|
1872
|
+
label: string;
|
|
1873
|
+
}[];
|
|
1874
|
+
type: "multiselect";
|
|
1875
|
+
label: string;
|
|
1876
|
+
key: string;
|
|
1877
|
+
required: boolean;
|
|
1878
|
+
defaultValue?: string[] | undefined;
|
|
1879
|
+
help?: string | undefined;
|
|
1880
|
+
} | {
|
|
1881
|
+
type: "date";
|
|
1882
|
+
label: string;
|
|
1883
|
+
key: string;
|
|
1884
|
+
required: boolean;
|
|
1885
|
+
defaultValue?: string | undefined;
|
|
1886
|
+
help?: string | undefined;
|
|
1887
|
+
})[];
|
|
1888
|
+
submitLabel: string;
|
|
1889
|
+
description?: string | undefined;
|
|
1890
|
+
cancelLabel?: string | undefined;
|
|
1891
|
+
};
|
|
1892
|
+
presentation: {
|
|
1893
|
+
kind: "approval";
|
|
1894
|
+
decisionField: string;
|
|
1895
|
+
feedbackField?: string | undefined;
|
|
1896
|
+
} | undefined;
|
|
1897
|
+
blocking: boolean;
|
|
1898
|
+
timeoutSeconds: number | undefined;
|
|
1899
|
+
hookId: string | undefined;
|
|
1900
|
+
};
|
|
1540
1901
|
export declare const InteractionCancelParams: z.ZodObject<{
|
|
1541
1902
|
requestId: z.ZodString;
|
|
1542
1903
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../../src/schemas/interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;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AAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,iFAAiF;AACjF,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1E;AAGD,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;EAKpC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -52,6 +52,11 @@ export const InteractionForm = z.object({
|
|
|
52
52
|
submitLabel: z.string().default("提交"),
|
|
53
53
|
cancelLabel: z.string().optional(),
|
|
54
54
|
});
|
|
55
|
+
export const InteractionPresentation = z.object({
|
|
56
|
+
kind: z.literal("approval"),
|
|
57
|
+
decisionField: z.string().min(1),
|
|
58
|
+
feedbackField: z.string().min(1).optional(),
|
|
59
|
+
});
|
|
55
60
|
/**
|
|
56
61
|
* agent emit 的指令(skill 教)——和 interaction.request 结构基本一致,
|
|
57
62
|
* 但不带 requestId(由 phonon 生成)。
|
|
@@ -67,9 +72,17 @@ export const InteractionDirective = z.object({
|
|
|
67
72
|
export const InteractionRequestParams = z.object({
|
|
68
73
|
/** 本次交互唯一 id,response 用它配对。 */
|
|
69
74
|
requestId: z.string().min(1),
|
|
75
|
+
/** Trusted workflow attribution supplied by the device controller, not parsed from form prose. */
|
|
76
|
+
workflowId: z.string().optional(),
|
|
77
|
+
/** Stamped by the controller from the current native Session/Workflow. */
|
|
78
|
+
nativeRunId: z.string().uuid().optional(),
|
|
79
|
+
/** Canonical Dev Run identity; mutually exclusive with nativeRunId. */
|
|
80
|
+
devRunId: z.string().uuid().optional(),
|
|
70
81
|
sessionId: SessionId.optional(),
|
|
71
82
|
turnId: z.string().optional(),
|
|
72
83
|
form: InteractionForm,
|
|
84
|
+
/** Agent-selected rendering hint; never an app-selected approval policy. */
|
|
85
|
+
presentation: InteractionPresentation.optional(),
|
|
73
86
|
blocking: z.boolean().default(true),
|
|
74
87
|
/** 关联 hookId(HITL 场景)。 */
|
|
75
88
|
hookId: z.string().optional(),
|
|
@@ -79,7 +92,7 @@ export const InteractionRequestParams = z.object({
|
|
|
79
92
|
*/
|
|
80
93
|
timeoutSeconds: z.number().int().nonnegative().optional(),
|
|
81
94
|
at: Timestamp,
|
|
82
|
-
});
|
|
95
|
+
}).refine(value => !(value.nativeRunId && value.devRunId), "interaction source domains cannot be mixed");
|
|
83
96
|
/** 人机交互的生命周期状态(P1-5):pending → submitted | cancelled | timeout。 */
|
|
84
97
|
export const InteractionStatus = z.enum(["pending", "submitted", "cancelled", "timeout"]);
|
|
85
98
|
/** 阻塞模式下,request 的最终结果(人填完后服务端回的)。 */
|
|
@@ -90,6 +103,20 @@ export const InteractionRequestResult = z.object({
|
|
|
90
103
|
/** 提交时各字段值(key → 值)。 */
|
|
91
104
|
values: z.record(z.union([z.string(), z.array(z.string()), z.boolean(), z.number()])).optional(),
|
|
92
105
|
});
|
|
106
|
+
export const InteractionReceiptState = z.enum(["pending", "delivered", "applied", "cancelled", "timeout", "failed", "unknown"]);
|
|
107
|
+
export const InteractionStatusParams = z.object({ requestId: z.string().min(1).max(512) });
|
|
108
|
+
export const InteractionStatusResult = z.object({
|
|
109
|
+
requestId: z.string(), requestHash: z.string().regex(/^[a-f0-9]{64}$/), state: InteractionReceiptState,
|
|
110
|
+
nativeRunId: z.string().uuid().optional(), workflowId: z.string().optional(), sessionId: SessionId.optional(), turnId: z.string().optional(),
|
|
111
|
+
devRunId: z.string().uuid().optional(),
|
|
112
|
+
decisionHash: z.string().regex(/^[a-f0-9]{64}$/).optional(), updatedAt: Timestamp,
|
|
113
|
+
}).refine(value => !(value.nativeRunId && value.devRunId), "interaction source domains cannot be mixed");
|
|
114
|
+
/** Timestamp-independent identity shared by durable request/replay consumers. */
|
|
115
|
+
export function interactionRequestIdentity(params) {
|
|
116
|
+
return { requestId: params.requestId, nativeRunId: params.nativeRunId, devRunId: params.devRunId, workflowId: params.workflowId,
|
|
117
|
+
sessionId: params.sessionId, turnId: params.turnId, form: params.form, presentation: params.presentation,
|
|
118
|
+
blocking: params.blocking, timeoutSeconds: params.timeoutSeconds, hookId: params.hookId };
|
|
119
|
+
}
|
|
93
120
|
// --- interaction.cancel(server → phonon 或 phonon 内部):主动取消一个 pending 交互 ---
|
|
94
121
|
export const InteractionCancelParams = z.object({
|
|
95
122
|
requestId: z.string().min(1),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction.js","sourceRoot":"","sources":["../../src/schemas/interaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;;;;;;;;;;GAaG;AAEH,yBAAyB;AACzB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,IAAI,CAAC;IAC9B,MAAM,EAAE,OAAO;IACf,UAAU,EAAE,OAAO;IACnB,QAAQ;IACR,SAAS,EAAE,QAAQ;IACnB,QAAQ,EAAE,KAAK;IACf,aAAa,EAAE,KAAK;IACpB,MAAM;CACP,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,MA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