@mhome/conversation-protocol 5.5.0 → 5.6.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/fixtures/execution/steer-resume.v1.json +112 -0
- package/fixtures/execution/steer.v1.json +67 -0
- package/fixtures/execution/steered-event.v1.json +72 -0
- package/fixtures/thread-load-steered.response.json +64 -0
- package/fixtures/turn-submit-steering.response.json +60 -0
- package/fixtures/turn-submit.request.json +2 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
- package/schema/conversation-frame.v2.schema.json +23 -2
- package/schema/execution/envelope.v1.schema.json +66 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"version": 1,
|
|
4
|
+
"message_id": "message-1",
|
|
5
|
+
"correlation_id": "correlation-1",
|
|
6
|
+
"causation_id": null,
|
|
7
|
+
"sent_at_unix_ms": 1700000000000,
|
|
8
|
+
"dispatch": {
|
|
9
|
+
"dispatch_id": "dispatch-1",
|
|
10
|
+
"agent_session_id": "agent-session-1"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"payload": {
|
|
14
|
+
"family": "command",
|
|
15
|
+
"payload": {
|
|
16
|
+
"command": {
|
|
17
|
+
"type": "steer",
|
|
18
|
+
"context": {
|
|
19
|
+
"actor": {
|
|
20
|
+
"principal": {
|
|
21
|
+
"kind": "user",
|
|
22
|
+
"userId": "user-1"
|
|
23
|
+
},
|
|
24
|
+
"client_id": "client-1",
|
|
25
|
+
"credential_id": null
|
|
26
|
+
},
|
|
27
|
+
"thread_id": "thread-1",
|
|
28
|
+
"run_id": "run-1",
|
|
29
|
+
"operation_id": "operation-1",
|
|
30
|
+
"deadline_unix_ms": null,
|
|
31
|
+
"traceparent": null,
|
|
32
|
+
"surface_id": "cs1:cp:dXNlci0x",
|
|
33
|
+
"space": {
|
|
34
|
+
"tenant_id": "tenant-1",
|
|
35
|
+
"space_id": "scope-1"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"inputs": [
|
|
39
|
+
{
|
|
40
|
+
"request_id": "input-1",
|
|
41
|
+
"actor": {
|
|
42
|
+
"principal": {
|
|
43
|
+
"kind": "user",
|
|
44
|
+
"userId": "user-1"
|
|
45
|
+
},
|
|
46
|
+
"client_id": "client-1",
|
|
47
|
+
"credential_id": null
|
|
48
|
+
},
|
|
49
|
+
"message": {
|
|
50
|
+
"role": "user",
|
|
51
|
+
"content": [
|
|
52
|
+
{
|
|
53
|
+
"type": "text",
|
|
54
|
+
"text": "hello"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"context_generation": {
|
|
62
|
+
"user_space": "scope-1",
|
|
63
|
+
"identity": "identity-1",
|
|
64
|
+
"memory": "memory-1",
|
|
65
|
+
"integration_guide": "guide-1",
|
|
66
|
+
"installed_integrations": "installed-1",
|
|
67
|
+
"space_integrations": "scope-integrations-1"
|
|
68
|
+
},
|
|
69
|
+
"llm_plan": {
|
|
70
|
+
"revision": "1700000000000",
|
|
71
|
+
"route": {
|
|
72
|
+
"backend": "openrouter",
|
|
73
|
+
"profile": "cloud_openrouter",
|
|
74
|
+
"model": "openai/gpt-5.4-mini",
|
|
75
|
+
"provider_preferences": [
|
|
76
|
+
"OpenAI"
|
|
77
|
+
],
|
|
78
|
+
"temperature": 0.5,
|
|
79
|
+
"context_window_tokens": 128000,
|
|
80
|
+
"cache_control": true,
|
|
81
|
+
"reasoning_effort": null,
|
|
82
|
+
"model_snapshot": {
|
|
83
|
+
"capabilities": {
|
|
84
|
+
"input": [
|
|
85
|
+
"image"
|
|
86
|
+
],
|
|
87
|
+
"tool_calling": true,
|
|
88
|
+
"structured_output": true
|
|
89
|
+
},
|
|
90
|
+
"generation_support": {
|
|
91
|
+
"temperature": true,
|
|
92
|
+
"maxTokens": true,
|
|
93
|
+
"thinking": true,
|
|
94
|
+
"reasoningEfforts": [
|
|
95
|
+
"high"
|
|
96
|
+
],
|
|
97
|
+
"temperatureWithReasoning": true,
|
|
98
|
+
"temperatureMax": null,
|
|
99
|
+
"maxOutputTokens": null
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"base_checkpoint": {
|
|
105
|
+
"object_key": "checkpoints/abc.json",
|
|
106
|
+
"sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
107
|
+
"format_version": 1
|
|
108
|
+
},
|
|
109
|
+
"abandoned_run_id": null
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"version": 1,
|
|
4
|
+
"message_id": "message-1",
|
|
5
|
+
"correlation_id": "correlation-1",
|
|
6
|
+
"causation_id": null,
|
|
7
|
+
"sent_at_unix_ms": 1700000000000,
|
|
8
|
+
"dispatch": {
|
|
9
|
+
"dispatch_id": "dispatch-1",
|
|
10
|
+
"agent_session_id": "agent-session-1"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"payload": {
|
|
14
|
+
"family": "command",
|
|
15
|
+
"payload": {
|
|
16
|
+
"command": {
|
|
17
|
+
"type": "steer",
|
|
18
|
+
"context": {
|
|
19
|
+
"actor": {
|
|
20
|
+
"principal": {
|
|
21
|
+
"kind": "user",
|
|
22
|
+
"userId": "user-1"
|
|
23
|
+
},
|
|
24
|
+
"client_id": "client-1",
|
|
25
|
+
"credential_id": null
|
|
26
|
+
},
|
|
27
|
+
"thread_id": "thread-1",
|
|
28
|
+
"run_id": "run-1",
|
|
29
|
+
"operation_id": "operation-1",
|
|
30
|
+
"deadline_unix_ms": null,
|
|
31
|
+
"traceparent": null,
|
|
32
|
+
"surface_id": "cs1:cp:dXNlci0x",
|
|
33
|
+
"space": {
|
|
34
|
+
"tenant_id": "tenant-1",
|
|
35
|
+
"space_id": "scope-1"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"inputs": [
|
|
39
|
+
{
|
|
40
|
+
"request_id": "input-1",
|
|
41
|
+
"actor": {
|
|
42
|
+
"principal": {
|
|
43
|
+
"kind": "user",
|
|
44
|
+
"userId": "user-1"
|
|
45
|
+
},
|
|
46
|
+
"client_id": "client-1",
|
|
47
|
+
"credential_id": null
|
|
48
|
+
},
|
|
49
|
+
"message": {
|
|
50
|
+
"role": "user",
|
|
51
|
+
"content": [
|
|
52
|
+
{
|
|
53
|
+
"type": "text",
|
|
54
|
+
"text": "hello"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"context_generation": null,
|
|
62
|
+
"llm_plan": null,
|
|
63
|
+
"base_checkpoint": null,
|
|
64
|
+
"abandoned_run_id": null
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"version": 1,
|
|
4
|
+
"message_id": "message-2",
|
|
5
|
+
"correlation_id": "correlation-1",
|
|
6
|
+
"causation_id": "message-1",
|
|
7
|
+
"sent_at_unix_ms": 1700000001000,
|
|
8
|
+
"dispatch": {
|
|
9
|
+
"dispatch_id": "dispatch-1",
|
|
10
|
+
"agent_session_id": "agent-session-1"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"payload": {
|
|
14
|
+
"family": "event",
|
|
15
|
+
"payload": {
|
|
16
|
+
"event": {
|
|
17
|
+
"id": "event-1",
|
|
18
|
+
"sequence": 2,
|
|
19
|
+
"context": {
|
|
20
|
+
"actor": {
|
|
21
|
+
"principal": {
|
|
22
|
+
"kind": "user",
|
|
23
|
+
"userId": "user-1"
|
|
24
|
+
},
|
|
25
|
+
"client_id": "client-1",
|
|
26
|
+
"credential_id": null
|
|
27
|
+
},
|
|
28
|
+
"thread_id": "thread-1",
|
|
29
|
+
"run_id": "run-1",
|
|
30
|
+
"operation_id": "operation-1",
|
|
31
|
+
"deadline_unix_ms": null,
|
|
32
|
+
"traceparent": null,
|
|
33
|
+
"surface_id": "cs1:cp:dXNlci0x",
|
|
34
|
+
"space": {
|
|
35
|
+
"tenant_id": "tenant-1",
|
|
36
|
+
"space_id": "scope-1"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"event": {
|
|
40
|
+
"type": "steered",
|
|
41
|
+
"inputs": [
|
|
42
|
+
{
|
|
43
|
+
"request_id": "input-1",
|
|
44
|
+
"actor": {
|
|
45
|
+
"principal": {
|
|
46
|
+
"kind": "user",
|
|
47
|
+
"userId": "user-1"
|
|
48
|
+
},
|
|
49
|
+
"client_id": "client-1",
|
|
50
|
+
"credential_id": null
|
|
51
|
+
},
|
|
52
|
+
"message": {
|
|
53
|
+
"role": "user",
|
|
54
|
+
"content": [
|
|
55
|
+
{
|
|
56
|
+
"type": "text",
|
|
57
|
+
"text": "hello"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"checkpoint": {
|
|
66
|
+
"object_key": "checkpoints/abc.json",
|
|
67
|
+
"sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
68
|
+
"format_version": 1
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"target": "/chat/thread/load",
|
|
3
|
+
"direction": "response",
|
|
4
|
+
"body": {
|
|
5
|
+
"thread": {
|
|
6
|
+
"threadId": "thread-2",
|
|
7
|
+
"title": "New conversation",
|
|
8
|
+
"state": "active",
|
|
9
|
+
"createdAt": "2026-08-22T00:00:00Z",
|
|
10
|
+
"updatedAt": "2026-08-22T00:00:00Z",
|
|
11
|
+
"archivedAt": null,
|
|
12
|
+
"purgeAfter": null
|
|
13
|
+
},
|
|
14
|
+
"session": {
|
|
15
|
+
"activityAtUnixMs": 0
|
|
16
|
+
},
|
|
17
|
+
"sync": {
|
|
18
|
+
"mode": "snapshot",
|
|
19
|
+
"snapshot": {
|
|
20
|
+
"version": 0,
|
|
21
|
+
"messages": [
|
|
22
|
+
{
|
|
23
|
+
"messageId": "root:user",
|
|
24
|
+
"requestId": "root",
|
|
25
|
+
"role": "user",
|
|
26
|
+
"authorUserId": "user",
|
|
27
|
+
"content": {
|
|
28
|
+
"parts": [
|
|
29
|
+
{
|
|
30
|
+
"type": "text",
|
|
31
|
+
"text": "start"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"createdAt": "2026-08-22T00:00:00Z"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"messageId": "addition:user",
|
|
39
|
+
"requestId": "addition",
|
|
40
|
+
"role": "user",
|
|
41
|
+
"authorUserId": "user",
|
|
42
|
+
"content": {
|
|
43
|
+
"parts": [
|
|
44
|
+
{
|
|
45
|
+
"type": "text",
|
|
46
|
+
"text": "also do this"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"createdAt": "2026-08-22T00:00:01Z",
|
|
51
|
+
"runId": "root"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"activeRun": null,
|
|
55
|
+
"pendingInteraction": null,
|
|
56
|
+
"runOutcomes": []
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"queue": {
|
|
60
|
+
"queueVersion": 0,
|
|
61
|
+
"items": []
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"target": "/chat/turn/submit",
|
|
3
|
+
"direction": "response",
|
|
4
|
+
"body": {
|
|
5
|
+
"receipt": {
|
|
6
|
+
"requestId": "addition",
|
|
7
|
+
"threadId": "thread-2",
|
|
8
|
+
"disposition": "steering",
|
|
9
|
+
"sessionDisposition": "existing",
|
|
10
|
+
"queueVersion": 1,
|
|
11
|
+
"admission": {
|
|
12
|
+
"state": "bound",
|
|
13
|
+
"admissionVersion": 1,
|
|
14
|
+
"reason": "accepted",
|
|
15
|
+
"threadId": "thread-2",
|
|
16
|
+
"queueVersion": 1,
|
|
17
|
+
"runId": "root"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"control": {
|
|
21
|
+
"surfaceId": "cs1:cp:dXNlcg",
|
|
22
|
+
"version": "00000000000000000001:00000000000000000001",
|
|
23
|
+
"activeThread": {
|
|
24
|
+
"threadId": "thread-2",
|
|
25
|
+
"title": "New conversation",
|
|
26
|
+
"state": "active",
|
|
27
|
+
"createdAt": "2026-08-22T00:00:00Z",
|
|
28
|
+
"updatedAt": "2026-08-22T00:00:00Z",
|
|
29
|
+
"archivedAt": null,
|
|
30
|
+
"purgeAfter": null
|
|
31
|
+
},
|
|
32
|
+
"activeRun": {
|
|
33
|
+
"requestId": "root",
|
|
34
|
+
"startedAt": "2026-08-22T00:00:00Z"
|
|
35
|
+
},
|
|
36
|
+
"pendingInteraction": null,
|
|
37
|
+
"queue": {
|
|
38
|
+
"queueVersion": 1,
|
|
39
|
+
"items": [
|
|
40
|
+
{
|
|
41
|
+
"requestId": "addition",
|
|
42
|
+
"threadId": "thread-2",
|
|
43
|
+
"runId": "root",
|
|
44
|
+
"authorUserId": "user",
|
|
45
|
+
"content": {
|
|
46
|
+
"parts": [
|
|
47
|
+
{
|
|
48
|
+
"type": "text",
|
|
49
|
+
"text": "also do this"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"createdAt": "2026-08-22T00:00:01Z"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"historyVersion": 0
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -88,6 +88,9 @@
|
|
|
88
88
|
"queueVersion": {
|
|
89
89
|
"type": "integer",
|
|
90
90
|
"minimum": 0
|
|
91
|
+
},
|
|
92
|
+
"runId": {
|
|
93
|
+
"$ref": "#/$defs/id"
|
|
91
94
|
}
|
|
92
95
|
}
|
|
93
96
|
},
|
|
@@ -121,6 +124,9 @@
|
|
|
121
124
|
"queueVersion": {
|
|
122
125
|
"type": "integer",
|
|
123
126
|
"minimum": 0
|
|
127
|
+
},
|
|
128
|
+
"runId": {
|
|
129
|
+
"$ref": "#/$defs/id"
|
|
124
130
|
}
|
|
125
131
|
}
|
|
126
132
|
},
|
|
@@ -485,6 +491,9 @@
|
|
|
485
491
|
},
|
|
486
492
|
"createdAt": {
|
|
487
493
|
"$ref": "#/$defs/time"
|
|
494
|
+
},
|
|
495
|
+
"runId": {
|
|
496
|
+
"$ref": "#/$defs/id"
|
|
488
497
|
}
|
|
489
498
|
}
|
|
490
499
|
},
|
|
@@ -603,6 +612,9 @@
|
|
|
603
612
|
},
|
|
604
613
|
"createdAt": {
|
|
605
614
|
"$ref": "#/$defs/time"
|
|
615
|
+
},
|
|
616
|
+
"runId": {
|
|
617
|
+
"$ref": "#/$defs/id"
|
|
606
618
|
}
|
|
607
619
|
}
|
|
608
620
|
},
|
|
@@ -1732,6 +1744,13 @@
|
|
|
1732
1744
|
"occurredAtUnixMs": {
|
|
1733
1745
|
"type": "integer",
|
|
1734
1746
|
"minimum": 0
|
|
1747
|
+
},
|
|
1748
|
+
"delivery": {
|
|
1749
|
+
"enum": [
|
|
1750
|
+
"default",
|
|
1751
|
+
"steer",
|
|
1752
|
+
"queue"
|
|
1753
|
+
]
|
|
1735
1754
|
}
|
|
1736
1755
|
}
|
|
1737
1756
|
}
|
|
@@ -1936,7 +1955,8 @@
|
|
|
1936
1955
|
"enum": [
|
|
1937
1956
|
"scheduled",
|
|
1938
1957
|
"queued",
|
|
1939
|
-
"duplicate"
|
|
1958
|
+
"duplicate",
|
|
1959
|
+
"steering"
|
|
1940
1960
|
]
|
|
1941
1961
|
},
|
|
1942
1962
|
"queueVersion": {
|
|
@@ -2004,7 +2024,8 @@
|
|
|
2004
2024
|
"scheduled",
|
|
2005
2025
|
"queued",
|
|
2006
2026
|
"duplicate",
|
|
2007
|
-
"blocked_pending_interaction"
|
|
2027
|
+
"blocked_pending_interaction",
|
|
2028
|
+
"steering"
|
|
2008
2029
|
]
|
|
2009
2030
|
},
|
|
2010
2031
|
"sessionDisposition": {
|
|
@@ -504,6 +504,30 @@
|
|
|
504
504
|
"$ref": "#/$defs/interaction"
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"type": "object",
|
|
510
|
+
"additionalProperties": false,
|
|
511
|
+
"required": [
|
|
512
|
+
"type",
|
|
513
|
+
"context",
|
|
514
|
+
"inputs"
|
|
515
|
+
],
|
|
516
|
+
"properties": {
|
|
517
|
+
"type": {
|
|
518
|
+
"const": "steer"
|
|
519
|
+
},
|
|
520
|
+
"context": {
|
|
521
|
+
"$ref": "#/$defs/context"
|
|
522
|
+
},
|
|
523
|
+
"inputs": {
|
|
524
|
+
"type": "array",
|
|
525
|
+
"minItems": 1,
|
|
526
|
+
"items": {
|
|
527
|
+
"$ref": "#/$defs/steering_input"
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
507
531
|
}
|
|
508
532
|
]
|
|
509
533
|
},
|
|
@@ -873,6 +897,26 @@
|
|
|
873
897
|
"$ref": "#/$defs/usage"
|
|
874
898
|
}
|
|
875
899
|
}
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"type": "object",
|
|
903
|
+
"additionalProperties": false,
|
|
904
|
+
"required": [
|
|
905
|
+
"type",
|
|
906
|
+
"inputs"
|
|
907
|
+
],
|
|
908
|
+
"properties": {
|
|
909
|
+
"type": {
|
|
910
|
+
"const": "steered"
|
|
911
|
+
},
|
|
912
|
+
"inputs": {
|
|
913
|
+
"type": "array",
|
|
914
|
+
"minItems": 1,
|
|
915
|
+
"items": {
|
|
916
|
+
"$ref": "#/$defs/steering_input"
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
}
|
|
876
920
|
}
|
|
877
921
|
]
|
|
878
922
|
},
|
|
@@ -1293,7 +1337,8 @@
|
|
|
1293
1337
|
"enum": [
|
|
1294
1338
|
"queued",
|
|
1295
1339
|
"interaction_ready",
|
|
1296
|
-
"cancel_requested"
|
|
1340
|
+
"cancel_requested",
|
|
1341
|
+
"steering_queued"
|
|
1297
1342
|
]
|
|
1298
1343
|
},
|
|
1299
1344
|
"queue_revision": {
|
|
@@ -2205,6 +2250,26 @@
|
|
|
2205
2250
|
"$ref": "#/$defs/identifier"
|
|
2206
2251
|
}
|
|
2207
2252
|
}
|
|
2253
|
+
},
|
|
2254
|
+
"steering_input": {
|
|
2255
|
+
"type": "object",
|
|
2256
|
+
"additionalProperties": false,
|
|
2257
|
+
"required": [
|
|
2258
|
+
"request_id",
|
|
2259
|
+
"actor",
|
|
2260
|
+
"message"
|
|
2261
|
+
],
|
|
2262
|
+
"properties": {
|
|
2263
|
+
"request_id": {
|
|
2264
|
+
"$ref": "#/$defs/identifier"
|
|
2265
|
+
},
|
|
2266
|
+
"actor": {
|
|
2267
|
+
"$ref": "#/$defs/actor"
|
|
2268
|
+
},
|
|
2269
|
+
"message": {
|
|
2270
|
+
"$ref": "#/$defs/message"
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2208
2273
|
}
|
|
2209
2274
|
}
|
|
2210
2275
|
}
|