@pellux/goodvibes-sdk 0.26.0 → 0.26.1
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/_internal/contracts/artifacts/operator-contract.json +388 -361
- package/dist/_internal/contracts/generated/foundation-client-types.d.ts +7 -1
- package/dist/_internal/contracts/generated/foundation-client-types.d.ts.map +1 -1
- package/dist/_internal/contracts/generated/foundation-metadata.d.ts +1 -1
- package/dist/_internal/contracts/generated/foundation-metadata.js +1 -1
- package/dist/_internal/contracts/generated/operator-contract.d.ts.map +1 -1
- package/dist/_internal/contracts/generated/operator-contract.js +388 -361
- package/dist/_internal/daemon/runtime-session-routes.d.ts.map +1 -1
- package/dist/_internal/daemon/runtime-session-routes.js +3 -2
- package/dist/_internal/platform/agents/orchestrator-runner.d.ts.map +1 -1
- package/dist/_internal/platform/agents/orchestrator-runner.js +2 -1
- package/dist/_internal/platform/agents/orchestrator.d.ts +1 -0
- package/dist/_internal/platform/agents/orchestrator.d.ts.map +1 -1
- package/dist/_internal/platform/channels/builtin/homeassistant.d.ts.map +1 -1
- package/dist/_internal/platform/channels/builtin/homeassistant.js +11 -0
- package/dist/_internal/platform/companion/companion-chat-manager.d.ts.map +1 -1
- package/dist/_internal/platform/companion/companion-chat-manager.js +2 -1
- package/dist/_internal/platform/control-plane/method-catalog-control-core.d.ts.map +1 -1
- package/dist/_internal/platform/control-plane/method-catalog-control-core.js +4 -3
- package/dist/_internal/platform/control-plane/operator-contract-schemas-runtime.d.ts +4 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-runtime.d.ts.map +1 -1
- package/dist/_internal/platform/control-plane/operator-contract-schemas-runtime.js +11 -0
- package/dist/_internal/platform/core/orchestrator-turn-loop.d.ts.map +1 -1
- package/dist/_internal/platform/core/orchestrator-turn-loop.js +2 -1
- package/dist/_internal/platform/permissions/manager.d.ts.map +1 -1
- package/dist/_internal/platform/permissions/manager.js +4 -0
- package/dist/_internal/platform/runtime/services.d.ts.map +1 -1
- package/dist/_internal/platform/runtime/services.js +1 -0
- package/dist/_internal/platform/tools/goodvibes-runtime/index.d.ts +23 -0
- package/dist/_internal/platform/tools/goodvibes-runtime/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/goodvibes-runtime/index.js +400 -0
- package/dist/_internal/platform/tools/index.d.ts +3 -1
- package/dist/_internal/platform/tools/index.d.ts.map +1 -1
- package/dist/_internal/platform/tools/index.js +15 -0
- package/dist/_internal/platform/version.js +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ export const OPERATOR_CONTRACT = {
|
|
|
3
3
|
"product": {
|
|
4
4
|
"id": "goodvibes",
|
|
5
5
|
"surface": "operator",
|
|
6
|
-
"version": "0.26.
|
|
6
|
+
"version": "0.26.1"
|
|
7
7
|
},
|
|
8
8
|
"auth": {
|
|
9
9
|
"modes": [
|
|
@@ -49813,7 +49813,7 @@ export const OPERATOR_CONTRACT = {
|
|
|
49813
49813
|
{
|
|
49814
49814
|
"id": "sessions.messages.create",
|
|
49815
49815
|
"title": "Post Shared Session Message",
|
|
49816
|
-
"description": "Append a user message to a shared session
|
|
49816
|
+
"description": "Append a user message to a shared session. Omitted `kind` defaults to `message` conversation routing; send `kind: \"task\"` to request agent/WRFC task continuation.",
|
|
49817
49817
|
"category": "sessions",
|
|
49818
49818
|
"source": "builtin",
|
|
49819
49819
|
"access": "authenticated",
|
|
@@ -49840,6 +49840,9 @@ export const OPERATOR_CONTRACT = {
|
|
|
49840
49840
|
"surfaceId": {
|
|
49841
49841
|
"type": "string"
|
|
49842
49842
|
},
|
|
49843
|
+
"kind": {
|
|
49844
|
+
"type": "string"
|
|
49845
|
+
},
|
|
49843
49846
|
"routing": {
|
|
49844
49847
|
"type": "object",
|
|
49845
49848
|
"properties": {
|
|
@@ -49953,98 +49956,209 @@ export const OPERATOR_CONTRACT = {
|
|
|
49953
49956
|
"additionalProperties": true
|
|
49954
49957
|
},
|
|
49955
49958
|
"outputSchema": {
|
|
49956
|
-
"
|
|
49957
|
-
|
|
49958
|
-
|
|
49959
|
-
"
|
|
49960
|
-
{
|
|
49959
|
+
"anyOf": [
|
|
49960
|
+
{
|
|
49961
|
+
"type": "object",
|
|
49962
|
+
"properties": {
|
|
49963
|
+
"messageId": {
|
|
49964
|
+
"type": "string"
|
|
49965
|
+
},
|
|
49966
|
+
"routedTo": {
|
|
49967
|
+
"type": "string"
|
|
49968
|
+
},
|
|
49969
|
+
"sessionId": {
|
|
49970
|
+
"type": "string"
|
|
49971
|
+
}
|
|
49972
|
+
},
|
|
49973
|
+
"required": [
|
|
49974
|
+
"messageId",
|
|
49975
|
+
"routedTo",
|
|
49976
|
+
"sessionId"
|
|
49977
|
+
],
|
|
49978
|
+
"additionalProperties": false
|
|
49979
|
+
},
|
|
49980
|
+
{
|
|
49981
|
+
"type": "object",
|
|
49982
|
+
"properties": {
|
|
49983
|
+
"session": {
|
|
49984
|
+
"anyOf": [
|
|
49985
|
+
{
|
|
49986
|
+
"type": "object",
|
|
49987
|
+
"properties": {
|
|
49988
|
+
"id": {
|
|
49989
|
+
"type": "string"
|
|
49990
|
+
},
|
|
49991
|
+
"title": {
|
|
49992
|
+
"type": "string"
|
|
49993
|
+
},
|
|
49994
|
+
"status": {
|
|
49995
|
+
"type": "string",
|
|
49996
|
+
"enum": [
|
|
49997
|
+
"active",
|
|
49998
|
+
"closed"
|
|
49999
|
+
]
|
|
50000
|
+
},
|
|
50001
|
+
"createdAt": {
|
|
50002
|
+
"type": "number"
|
|
50003
|
+
},
|
|
50004
|
+
"updatedAt": {
|
|
50005
|
+
"type": "number"
|
|
50006
|
+
},
|
|
50007
|
+
"lastMessageAt": {
|
|
50008
|
+
"type": "number"
|
|
50009
|
+
},
|
|
50010
|
+
"closedAt": {
|
|
50011
|
+
"type": "number"
|
|
50012
|
+
},
|
|
50013
|
+
"messageCount": {
|
|
50014
|
+
"type": "number"
|
|
50015
|
+
},
|
|
50016
|
+
"pendingInputCount": {
|
|
50017
|
+
"type": "number"
|
|
50018
|
+
},
|
|
50019
|
+
"routeIds": {
|
|
50020
|
+
"type": "array",
|
|
50021
|
+
"items": {
|
|
50022
|
+
"type": "string"
|
|
50023
|
+
}
|
|
50024
|
+
},
|
|
50025
|
+
"surfaceKinds": {
|
|
50026
|
+
"type": "array",
|
|
50027
|
+
"items": {
|
|
50028
|
+
"type": "string"
|
|
50029
|
+
}
|
|
50030
|
+
},
|
|
50031
|
+
"participants": {
|
|
50032
|
+
"type": "array",
|
|
50033
|
+
"items": {
|
|
50034
|
+
"type": "object",
|
|
50035
|
+
"properties": {
|
|
50036
|
+
"surfaceKind": {
|
|
50037
|
+
"type": "string"
|
|
50038
|
+
},
|
|
50039
|
+
"surfaceId": {
|
|
50040
|
+
"type": "string"
|
|
50041
|
+
},
|
|
50042
|
+
"externalId": {
|
|
50043
|
+
"type": "string"
|
|
50044
|
+
},
|
|
50045
|
+
"userId": {
|
|
50046
|
+
"type": "string"
|
|
50047
|
+
},
|
|
50048
|
+
"displayName": {
|
|
50049
|
+
"type": "string"
|
|
50050
|
+
},
|
|
50051
|
+
"routeId": {
|
|
50052
|
+
"type": "string"
|
|
50053
|
+
},
|
|
50054
|
+
"lastSeenAt": {
|
|
50055
|
+
"type": "number"
|
|
50056
|
+
}
|
|
50057
|
+
},
|
|
50058
|
+
"required": [
|
|
50059
|
+
"surfaceKind",
|
|
50060
|
+
"surfaceId",
|
|
50061
|
+
"lastSeenAt"
|
|
50062
|
+
],
|
|
50063
|
+
"additionalProperties": false
|
|
50064
|
+
}
|
|
50065
|
+
},
|
|
50066
|
+
"activeAgentId": {
|
|
50067
|
+
"type": "string"
|
|
50068
|
+
},
|
|
50069
|
+
"lastAgentId": {
|
|
50070
|
+
"type": "string"
|
|
50071
|
+
},
|
|
50072
|
+
"lastError": {
|
|
50073
|
+
"type": "string"
|
|
50074
|
+
},
|
|
50075
|
+
"metadata": {
|
|
50076
|
+
"type": "object",
|
|
50077
|
+
"additionalProperties": {
|
|
50078
|
+
"anyOf": [
|
|
50079
|
+
{
|
|
50080
|
+
"type": "string"
|
|
50081
|
+
},
|
|
50082
|
+
{
|
|
50083
|
+
"type": "number"
|
|
50084
|
+
},
|
|
50085
|
+
{
|
|
50086
|
+
"type": "boolean"
|
|
50087
|
+
},
|
|
50088
|
+
{
|
|
50089
|
+
"type": "null"
|
|
50090
|
+
},
|
|
50091
|
+
{
|
|
50092
|
+
"type": "object",
|
|
50093
|
+
"additionalProperties": {}
|
|
50094
|
+
},
|
|
50095
|
+
{
|
|
50096
|
+
"type": "array",
|
|
50097
|
+
"items": {}
|
|
50098
|
+
}
|
|
50099
|
+
]
|
|
50100
|
+
}
|
|
50101
|
+
}
|
|
50102
|
+
},
|
|
50103
|
+
"required": [
|
|
50104
|
+
"id",
|
|
50105
|
+
"title",
|
|
50106
|
+
"status",
|
|
50107
|
+
"createdAt",
|
|
50108
|
+
"updatedAt",
|
|
50109
|
+
"messageCount",
|
|
50110
|
+
"pendingInputCount",
|
|
50111
|
+
"routeIds",
|
|
50112
|
+
"surfaceKinds",
|
|
50113
|
+
"participants",
|
|
50114
|
+
"metadata"
|
|
50115
|
+
],
|
|
50116
|
+
"additionalProperties": false
|
|
50117
|
+
},
|
|
50118
|
+
{
|
|
50119
|
+
"type": "null"
|
|
50120
|
+
}
|
|
50121
|
+
]
|
|
50122
|
+
},
|
|
50123
|
+
"message": {
|
|
49961
50124
|
"type": "object",
|
|
49962
50125
|
"properties": {
|
|
49963
50126
|
"id": {
|
|
49964
50127
|
"type": "string"
|
|
49965
50128
|
},
|
|
49966
|
-
"
|
|
50129
|
+
"sessionId": {
|
|
49967
50130
|
"type": "string"
|
|
49968
50131
|
},
|
|
49969
|
-
"
|
|
50132
|
+
"role": {
|
|
49970
50133
|
"type": "string",
|
|
49971
50134
|
"enum": [
|
|
49972
|
-
"
|
|
49973
|
-
"
|
|
50135
|
+
"user",
|
|
50136
|
+
"assistant",
|
|
50137
|
+
"system"
|
|
49974
50138
|
]
|
|
49975
50139
|
},
|
|
49976
|
-
"
|
|
49977
|
-
"type": "
|
|
49978
|
-
},
|
|
49979
|
-
"updatedAt": {
|
|
49980
|
-
"type": "number"
|
|
49981
|
-
},
|
|
49982
|
-
"lastMessageAt": {
|
|
49983
|
-
"type": "number"
|
|
49984
|
-
},
|
|
49985
|
-
"closedAt": {
|
|
49986
|
-
"type": "number"
|
|
49987
|
-
},
|
|
49988
|
-
"messageCount": {
|
|
49989
|
-
"type": "number"
|
|
50140
|
+
"body": {
|
|
50141
|
+
"type": "string"
|
|
49990
50142
|
},
|
|
49991
|
-
"
|
|
50143
|
+
"createdAt": {
|
|
49992
50144
|
"type": "number"
|
|
49993
50145
|
},
|
|
49994
|
-
"
|
|
49995
|
-
"type": "
|
|
49996
|
-
"items": {
|
|
49997
|
-
"type": "string"
|
|
49998
|
-
}
|
|
50146
|
+
"surfaceKind": {
|
|
50147
|
+
"type": "string"
|
|
49999
50148
|
},
|
|
50000
|
-
"
|
|
50001
|
-
"type": "
|
|
50002
|
-
"items": {
|
|
50003
|
-
"type": "string"
|
|
50004
|
-
}
|
|
50149
|
+
"surfaceId": {
|
|
50150
|
+
"type": "string"
|
|
50005
50151
|
},
|
|
50006
|
-
"
|
|
50007
|
-
"type": "
|
|
50008
|
-
"items": {
|
|
50009
|
-
"type": "object",
|
|
50010
|
-
"properties": {
|
|
50011
|
-
"surfaceKind": {
|
|
50012
|
-
"type": "string"
|
|
50013
|
-
},
|
|
50014
|
-
"surfaceId": {
|
|
50015
|
-
"type": "string"
|
|
50016
|
-
},
|
|
50017
|
-
"externalId": {
|
|
50018
|
-
"type": "string"
|
|
50019
|
-
},
|
|
50020
|
-
"userId": {
|
|
50021
|
-
"type": "string"
|
|
50022
|
-
},
|
|
50023
|
-
"displayName": {
|
|
50024
|
-
"type": "string"
|
|
50025
|
-
},
|
|
50026
|
-
"routeId": {
|
|
50027
|
-
"type": "string"
|
|
50028
|
-
},
|
|
50029
|
-
"lastSeenAt": {
|
|
50030
|
-
"type": "number"
|
|
50031
|
-
}
|
|
50032
|
-
},
|
|
50033
|
-
"required": [
|
|
50034
|
-
"surfaceKind",
|
|
50035
|
-
"surfaceId",
|
|
50036
|
-
"lastSeenAt"
|
|
50037
|
-
],
|
|
50038
|
-
"additionalProperties": false
|
|
50039
|
-
}
|
|
50152
|
+
"routeId": {
|
|
50153
|
+
"type": "string"
|
|
50040
50154
|
},
|
|
50041
|
-
"
|
|
50155
|
+
"agentId": {
|
|
50042
50156
|
"type": "string"
|
|
50043
50157
|
},
|
|
50044
|
-
"
|
|
50158
|
+
"userId": {
|
|
50045
50159
|
"type": "string"
|
|
50046
50160
|
},
|
|
50047
|
-
"
|
|
50161
|
+
"displayName": {
|
|
50048
50162
|
"type": "string"
|
|
50049
50163
|
},
|
|
50050
50164
|
"metadata": {
|
|
@@ -50077,236 +50191,110 @@ export const OPERATOR_CONTRACT = {
|
|
|
50077
50191
|
},
|
|
50078
50192
|
"required": [
|
|
50079
50193
|
"id",
|
|
50080
|
-
"
|
|
50081
|
-
"
|
|
50194
|
+
"sessionId",
|
|
50195
|
+
"role",
|
|
50196
|
+
"body",
|
|
50082
50197
|
"createdAt",
|
|
50083
|
-
"updatedAt",
|
|
50084
|
-
"messageCount",
|
|
50085
|
-
"pendingInputCount",
|
|
50086
|
-
"routeIds",
|
|
50087
|
-
"surfaceKinds",
|
|
50088
|
-
"participants",
|
|
50089
50198
|
"metadata"
|
|
50090
50199
|
],
|
|
50091
50200
|
"additionalProperties": false
|
|
50092
50201
|
},
|
|
50093
|
-
{
|
|
50094
|
-
"type": "null"
|
|
50095
|
-
}
|
|
50096
|
-
]
|
|
50097
|
-
},
|
|
50098
|
-
"message": {
|
|
50099
|
-
"type": "object",
|
|
50100
|
-
"properties": {
|
|
50101
|
-
"id": {
|
|
50102
|
-
"type": "string"
|
|
50103
|
-
},
|
|
50104
|
-
"sessionId": {
|
|
50105
|
-
"type": "string"
|
|
50106
|
-
},
|
|
50107
|
-
"role": {
|
|
50108
|
-
"type": "string",
|
|
50109
|
-
"enum": [
|
|
50110
|
-
"user",
|
|
50111
|
-
"assistant",
|
|
50112
|
-
"system"
|
|
50113
|
-
]
|
|
50114
|
-
},
|
|
50115
|
-
"body": {
|
|
50116
|
-
"type": "string"
|
|
50117
|
-
},
|
|
50118
|
-
"createdAt": {
|
|
50119
|
-
"type": "number"
|
|
50120
|
-
},
|
|
50121
|
-
"surfaceKind": {
|
|
50122
|
-
"type": "string"
|
|
50123
|
-
},
|
|
50124
|
-
"surfaceId": {
|
|
50125
|
-
"type": "string"
|
|
50126
|
-
},
|
|
50127
|
-
"routeId": {
|
|
50128
|
-
"type": "string"
|
|
50129
|
-
},
|
|
50130
|
-
"agentId": {
|
|
50131
|
-
"type": "string"
|
|
50132
|
-
},
|
|
50133
|
-
"userId": {
|
|
50134
|
-
"type": "string"
|
|
50135
|
-
},
|
|
50136
|
-
"displayName": {
|
|
50137
|
-
"type": "string"
|
|
50138
|
-
},
|
|
50139
|
-
"metadata": {
|
|
50140
|
-
"type": "object",
|
|
50141
|
-
"additionalProperties": {
|
|
50142
|
-
"anyOf": [
|
|
50143
|
-
{
|
|
50144
|
-
"type": "string"
|
|
50145
|
-
},
|
|
50146
|
-
{
|
|
50147
|
-
"type": "number"
|
|
50148
|
-
},
|
|
50149
|
-
{
|
|
50150
|
-
"type": "boolean"
|
|
50151
|
-
},
|
|
50152
|
-
{
|
|
50153
|
-
"type": "null"
|
|
50154
|
-
},
|
|
50155
|
-
{
|
|
50156
|
-
"type": "object",
|
|
50157
|
-
"additionalProperties": {}
|
|
50158
|
-
},
|
|
50159
|
-
{
|
|
50160
|
-
"type": "array",
|
|
50161
|
-
"items": {}
|
|
50162
|
-
}
|
|
50163
|
-
]
|
|
50164
|
-
}
|
|
50165
|
-
}
|
|
50166
|
-
},
|
|
50167
|
-
"required": [
|
|
50168
|
-
"id",
|
|
50169
|
-
"sessionId",
|
|
50170
|
-
"role",
|
|
50171
|
-
"body",
|
|
50172
|
-
"createdAt",
|
|
50173
|
-
"metadata"
|
|
50174
|
-
],
|
|
50175
|
-
"additionalProperties": false
|
|
50176
|
-
},
|
|
50177
|
-
"input": {
|
|
50178
|
-
"type": "object",
|
|
50179
|
-
"properties": {
|
|
50180
|
-
"id": {
|
|
50181
|
-
"type": "string"
|
|
50182
|
-
},
|
|
50183
|
-
"sessionId": {
|
|
50184
|
-
"type": "string"
|
|
50185
|
-
},
|
|
50186
|
-
"intent": {
|
|
50187
|
-
"type": "string",
|
|
50188
|
-
"enum": [
|
|
50189
|
-
"submit",
|
|
50190
|
-
"steer",
|
|
50191
|
-
"follow-up"
|
|
50192
|
-
]
|
|
50193
|
-
},
|
|
50194
|
-
"state": {
|
|
50195
|
-
"type": "string",
|
|
50196
|
-
"enum": [
|
|
50197
|
-
"queued",
|
|
50198
|
-
"delivered",
|
|
50199
|
-
"spawned",
|
|
50200
|
-
"completed",
|
|
50201
|
-
"cancelled",
|
|
50202
|
-
"failed",
|
|
50203
|
-
"rejected"
|
|
50204
|
-
]
|
|
50205
|
-
},
|
|
50206
|
-
"correlationId": {
|
|
50207
|
-
"type": "string"
|
|
50208
|
-
},
|
|
50209
|
-
"causationId": {
|
|
50210
|
-
"type": "string"
|
|
50211
|
-
},
|
|
50212
|
-
"body": {
|
|
50213
|
-
"type": "string"
|
|
50214
|
-
},
|
|
50215
|
-
"createdAt": {
|
|
50216
|
-
"type": "number"
|
|
50217
|
-
},
|
|
50218
|
-
"updatedAt": {
|
|
50219
|
-
"type": "number"
|
|
50220
|
-
},
|
|
50221
|
-
"routeId": {
|
|
50222
|
-
"type": "string"
|
|
50223
|
-
},
|
|
50224
|
-
"surfaceKind": {
|
|
50225
|
-
"type": "string"
|
|
50226
|
-
},
|
|
50227
|
-
"surfaceId": {
|
|
50228
|
-
"type": "string"
|
|
50229
|
-
},
|
|
50230
|
-
"externalId": {
|
|
50231
|
-
"type": "string"
|
|
50232
|
-
},
|
|
50233
|
-
"threadId": {
|
|
50234
|
-
"type": "string"
|
|
50235
|
-
},
|
|
50236
|
-
"userId": {
|
|
50237
|
-
"type": "string"
|
|
50238
|
-
},
|
|
50239
|
-
"displayName": {
|
|
50240
|
-
"type": "string"
|
|
50241
|
-
},
|
|
50242
|
-
"activeAgentId": {
|
|
50243
|
-
"type": "string"
|
|
50244
|
-
},
|
|
50245
|
-
"metadata": {
|
|
50246
|
-
"type": "object",
|
|
50247
|
-
"additionalProperties": {
|
|
50248
|
-
"anyOf": [
|
|
50249
|
-
{
|
|
50250
|
-
"type": "string"
|
|
50251
|
-
},
|
|
50252
|
-
{
|
|
50253
|
-
"type": "number"
|
|
50254
|
-
},
|
|
50255
|
-
{
|
|
50256
|
-
"type": "boolean"
|
|
50257
|
-
},
|
|
50258
|
-
{
|
|
50259
|
-
"type": "null"
|
|
50260
|
-
},
|
|
50261
|
-
{
|
|
50262
|
-
"type": "object",
|
|
50263
|
-
"additionalProperties": {}
|
|
50264
|
-
},
|
|
50265
|
-
{
|
|
50266
|
-
"type": "array",
|
|
50267
|
-
"items": {}
|
|
50268
|
-
}
|
|
50269
|
-
]
|
|
50270
|
-
}
|
|
50271
|
-
},
|
|
50272
|
-
"routing": {
|
|
50202
|
+
"input": {
|
|
50273
50203
|
"type": "object",
|
|
50274
50204
|
"properties": {
|
|
50275
|
-
"
|
|
50205
|
+
"id": {
|
|
50276
50206
|
"type": "string"
|
|
50277
50207
|
},
|
|
50278
|
-
"
|
|
50208
|
+
"sessionId": {
|
|
50279
50209
|
"type": "string"
|
|
50280
50210
|
},
|
|
50281
|
-
"
|
|
50211
|
+
"intent": {
|
|
50282
50212
|
"type": "string",
|
|
50283
50213
|
"enum": [
|
|
50284
|
-
"
|
|
50285
|
-
"
|
|
50286
|
-
"
|
|
50214
|
+
"submit",
|
|
50215
|
+
"steer",
|
|
50216
|
+
"follow-up"
|
|
50287
50217
|
]
|
|
50288
50218
|
},
|
|
50289
|
-
"
|
|
50219
|
+
"state": {
|
|
50290
50220
|
"type": "string",
|
|
50291
50221
|
"enum": [
|
|
50292
|
-
"
|
|
50293
|
-
"
|
|
50222
|
+
"queued",
|
|
50223
|
+
"delivered",
|
|
50224
|
+
"spawned",
|
|
50225
|
+
"completed",
|
|
50226
|
+
"cancelled",
|
|
50227
|
+
"failed",
|
|
50228
|
+
"rejected"
|
|
50294
50229
|
]
|
|
50295
50230
|
},
|
|
50296
|
-
"
|
|
50297
|
-
"type": "string"
|
|
50298
|
-
"enum": [
|
|
50299
|
-
"ordered-fallbacks",
|
|
50300
|
-
"fail"
|
|
50301
|
-
]
|
|
50231
|
+
"correlationId": {
|
|
50232
|
+
"type": "string"
|
|
50302
50233
|
},
|
|
50303
|
-
"
|
|
50304
|
-
"type": "
|
|
50305
|
-
|
|
50306
|
-
|
|
50234
|
+
"causationId": {
|
|
50235
|
+
"type": "string"
|
|
50236
|
+
},
|
|
50237
|
+
"body": {
|
|
50238
|
+
"type": "string"
|
|
50239
|
+
},
|
|
50240
|
+
"createdAt": {
|
|
50241
|
+
"type": "number"
|
|
50242
|
+
},
|
|
50243
|
+
"updatedAt": {
|
|
50244
|
+
"type": "number"
|
|
50245
|
+
},
|
|
50246
|
+
"routeId": {
|
|
50247
|
+
"type": "string"
|
|
50248
|
+
},
|
|
50249
|
+
"surfaceKind": {
|
|
50250
|
+
"type": "string"
|
|
50251
|
+
},
|
|
50252
|
+
"surfaceId": {
|
|
50253
|
+
"type": "string"
|
|
50254
|
+
},
|
|
50255
|
+
"externalId": {
|
|
50256
|
+
"type": "string"
|
|
50257
|
+
},
|
|
50258
|
+
"threadId": {
|
|
50259
|
+
"type": "string"
|
|
50260
|
+
},
|
|
50261
|
+
"userId": {
|
|
50262
|
+
"type": "string"
|
|
50263
|
+
},
|
|
50264
|
+
"displayName": {
|
|
50265
|
+
"type": "string"
|
|
50266
|
+
},
|
|
50267
|
+
"activeAgentId": {
|
|
50268
|
+
"type": "string"
|
|
50269
|
+
},
|
|
50270
|
+
"metadata": {
|
|
50271
|
+
"type": "object",
|
|
50272
|
+
"additionalProperties": {
|
|
50273
|
+
"anyOf": [
|
|
50274
|
+
{
|
|
50275
|
+
"type": "string"
|
|
50276
|
+
},
|
|
50277
|
+
{
|
|
50278
|
+
"type": "number"
|
|
50279
|
+
},
|
|
50280
|
+
{
|
|
50281
|
+
"type": "boolean"
|
|
50282
|
+
},
|
|
50283
|
+
{
|
|
50284
|
+
"type": "null"
|
|
50285
|
+
},
|
|
50286
|
+
{
|
|
50287
|
+
"type": "object",
|
|
50288
|
+
"additionalProperties": {}
|
|
50289
|
+
},
|
|
50290
|
+
{
|
|
50291
|
+
"type": "array",
|
|
50292
|
+
"items": {}
|
|
50293
|
+
}
|
|
50294
|
+
]
|
|
50307
50295
|
}
|
|
50308
50296
|
},
|
|
50309
|
-
"
|
|
50297
|
+
"routing": {
|
|
50310
50298
|
"type": "object",
|
|
50311
50299
|
"properties": {
|
|
50312
50300
|
"providerId": {
|
|
@@ -50314,112 +50302,151 @@ export const OPERATOR_CONTRACT = {
|
|
|
50314
50302
|
},
|
|
50315
50303
|
"modelId": {
|
|
50316
50304
|
"type": "string"
|
|
50317
|
-
}
|
|
50318
|
-
|
|
50319
|
-
"required": [
|
|
50320
|
-
"providerId",
|
|
50321
|
-
"modelId"
|
|
50322
|
-
],
|
|
50323
|
-
"additionalProperties": false
|
|
50324
|
-
},
|
|
50325
|
-
"executionIntent": {
|
|
50326
|
-
"type": "object",
|
|
50327
|
-
"properties": {
|
|
50328
|
-
"riskClass": {
|
|
50305
|
+
},
|
|
50306
|
+
"providerSelection": {
|
|
50329
50307
|
"type": "string",
|
|
50330
50308
|
"enum": [
|
|
50331
|
-
"
|
|
50332
|
-
"
|
|
50333
|
-
"
|
|
50309
|
+
"inherit-current",
|
|
50310
|
+
"concrete",
|
|
50311
|
+
"synthetic"
|
|
50334
50312
|
]
|
|
50335
50313
|
},
|
|
50336
|
-
"
|
|
50337
|
-
"type": "
|
|
50314
|
+
"unresolvedModelPolicy": {
|
|
50315
|
+
"type": "string",
|
|
50316
|
+
"enum": [
|
|
50317
|
+
"fallback-to-current",
|
|
50318
|
+
"fail"
|
|
50319
|
+
]
|
|
50338
50320
|
},
|
|
50339
|
-
"
|
|
50321
|
+
"providerFailurePolicy": {
|
|
50340
50322
|
"type": "string",
|
|
50341
50323
|
"enum": [
|
|
50342
|
-
"
|
|
50343
|
-
"
|
|
50344
|
-
"deny",
|
|
50345
|
-
"scoped"
|
|
50324
|
+
"ordered-fallbacks",
|
|
50325
|
+
"fail"
|
|
50346
50326
|
]
|
|
50347
50327
|
},
|
|
50348
|
-
"
|
|
50328
|
+
"fallbackModels": {
|
|
50329
|
+
"type": "array",
|
|
50330
|
+
"items": {
|
|
50331
|
+
"type": "string"
|
|
50332
|
+
}
|
|
50333
|
+
},
|
|
50334
|
+
"helperModel": {
|
|
50335
|
+
"type": "object",
|
|
50336
|
+
"properties": {
|
|
50337
|
+
"providerId": {
|
|
50338
|
+
"type": "string"
|
|
50339
|
+
},
|
|
50340
|
+
"modelId": {
|
|
50341
|
+
"type": "string"
|
|
50342
|
+
}
|
|
50343
|
+
},
|
|
50344
|
+
"required": [
|
|
50345
|
+
"providerId",
|
|
50346
|
+
"modelId"
|
|
50347
|
+
],
|
|
50348
|
+
"additionalProperties": false
|
|
50349
|
+
},
|
|
50350
|
+
"executionIntent": {
|
|
50351
|
+
"type": "object",
|
|
50352
|
+
"properties": {
|
|
50353
|
+
"riskClass": {
|
|
50354
|
+
"type": "string",
|
|
50355
|
+
"enum": [
|
|
50356
|
+
"safe",
|
|
50357
|
+
"elevated",
|
|
50358
|
+
"dangerous"
|
|
50359
|
+
]
|
|
50360
|
+
},
|
|
50361
|
+
"requiresApproval": {
|
|
50362
|
+
"type": "boolean"
|
|
50363
|
+
},
|
|
50364
|
+
"networkPolicy": {
|
|
50365
|
+
"type": "string",
|
|
50366
|
+
"enum": [
|
|
50367
|
+
"inherit",
|
|
50368
|
+
"allow",
|
|
50369
|
+
"deny",
|
|
50370
|
+
"scoped"
|
|
50371
|
+
]
|
|
50372
|
+
},
|
|
50373
|
+
"filesystemPolicy": {
|
|
50374
|
+
"type": "string",
|
|
50375
|
+
"enum": [
|
|
50376
|
+
"inherit",
|
|
50377
|
+
"workspace-write",
|
|
50378
|
+
"read-only",
|
|
50379
|
+
"isolated"
|
|
50380
|
+
]
|
|
50381
|
+
}
|
|
50382
|
+
},
|
|
50383
|
+
"additionalProperties": false
|
|
50384
|
+
},
|
|
50385
|
+
"tools": {
|
|
50386
|
+
"type": "array",
|
|
50387
|
+
"items": {
|
|
50388
|
+
"type": "string"
|
|
50389
|
+
}
|
|
50390
|
+
},
|
|
50391
|
+
"reasoningEffort": {
|
|
50349
50392
|
"type": "string",
|
|
50350
50393
|
"enum": [
|
|
50351
|
-
"
|
|
50352
|
-
"
|
|
50353
|
-
"
|
|
50354
|
-
"
|
|
50394
|
+
"instant",
|
|
50395
|
+
"low",
|
|
50396
|
+
"medium",
|
|
50397
|
+
"high"
|
|
50355
50398
|
]
|
|
50356
50399
|
}
|
|
50357
50400
|
},
|
|
50358
50401
|
"additionalProperties": false
|
|
50359
50402
|
},
|
|
50360
|
-
"
|
|
50361
|
-
"type": "
|
|
50362
|
-
"items": {
|
|
50363
|
-
"type": "string"
|
|
50364
|
-
}
|
|
50365
|
-
},
|
|
50366
|
-
"reasoningEffort": {
|
|
50367
|
-
"type": "string",
|
|
50368
|
-
"enum": [
|
|
50369
|
-
"instant",
|
|
50370
|
-
"low",
|
|
50371
|
-
"medium",
|
|
50372
|
-
"high"
|
|
50373
|
-
]
|
|
50403
|
+
"error": {
|
|
50404
|
+
"type": "string"
|
|
50374
50405
|
}
|
|
50375
50406
|
},
|
|
50407
|
+
"required": [
|
|
50408
|
+
"id",
|
|
50409
|
+
"sessionId",
|
|
50410
|
+
"intent",
|
|
50411
|
+
"state",
|
|
50412
|
+
"correlationId",
|
|
50413
|
+
"body",
|
|
50414
|
+
"createdAt",
|
|
50415
|
+
"updatedAt",
|
|
50416
|
+
"metadata"
|
|
50417
|
+
],
|
|
50376
50418
|
"additionalProperties": false
|
|
50377
50419
|
},
|
|
50378
|
-
"
|
|
50379
|
-
"type": "string"
|
|
50420
|
+
"mode": {
|
|
50421
|
+
"type": "string",
|
|
50422
|
+
"enum": [
|
|
50423
|
+
"spawn",
|
|
50424
|
+
"continued-live",
|
|
50425
|
+
"queued-follow-up",
|
|
50426
|
+
"rejected"
|
|
50427
|
+
]
|
|
50428
|
+
},
|
|
50429
|
+
"agentId": {
|
|
50430
|
+
"anyOf": [
|
|
50431
|
+
{
|
|
50432
|
+
"type": "string"
|
|
50433
|
+
},
|
|
50434
|
+
{
|
|
50435
|
+
"type": "null"
|
|
50436
|
+
}
|
|
50437
|
+
]
|
|
50380
50438
|
}
|
|
50381
50439
|
},
|
|
50382
50440
|
"required": [
|
|
50383
|
-
"
|
|
50384
|
-
"
|
|
50385
|
-
"
|
|
50386
|
-
"
|
|
50387
|
-
"
|
|
50388
|
-
"body",
|
|
50389
|
-
"createdAt",
|
|
50390
|
-
"updatedAt",
|
|
50391
|
-
"metadata"
|
|
50441
|
+
"session",
|
|
50442
|
+
"message",
|
|
50443
|
+
"input",
|
|
50444
|
+
"mode",
|
|
50445
|
+
"agentId"
|
|
50392
50446
|
],
|
|
50393
50447
|
"additionalProperties": false
|
|
50394
|
-
},
|
|
50395
|
-
"mode": {
|
|
50396
|
-
"type": "string",
|
|
50397
|
-
"enum": [
|
|
50398
|
-
"spawn",
|
|
50399
|
-
"continued-live",
|
|
50400
|
-
"queued-follow-up",
|
|
50401
|
-
"rejected"
|
|
50402
|
-
]
|
|
50403
|
-
},
|
|
50404
|
-
"agentId": {
|
|
50405
|
-
"anyOf": [
|
|
50406
|
-
{
|
|
50407
|
-
"type": "string"
|
|
50408
|
-
},
|
|
50409
|
-
{
|
|
50410
|
-
"type": "null"
|
|
50411
|
-
}
|
|
50412
|
-
]
|
|
50413
50448
|
}
|
|
50414
|
-
|
|
50415
|
-
"required": [
|
|
50416
|
-
"session",
|
|
50417
|
-
"message",
|
|
50418
|
-
"input",
|
|
50419
|
-
"mode",
|
|
50420
|
-
"agentId"
|
|
50421
|
-
],
|
|
50422
|
-
"additionalProperties": false
|
|
50449
|
+
]
|
|
50423
50450
|
},
|
|
50424
50451
|
"invokable": true
|
|
50425
50452
|
},
|