@mininglamp-oss/octo-runtime 1.1.13 → 1.1.14

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.
Files changed (95) hide show
  1. package/apps/cli/dist/adapters.js +1 -5
  2. package/apps/cli/dist/build-info.json +2 -2
  3. package/dist/public/protocol.d.ts +1 -1
  4. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  5. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +19 -4
  6. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +24 -29
  7. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  8. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.js +0 -1
  9. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  10. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/agent-env.d.ts +3 -0
  11. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/agent-env.js +10 -0
  12. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +23 -24
  13. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  14. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.js +1 -2
  15. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  16. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/agent-env.d.ts +3 -0
  17. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/agent-env.js +10 -0
  18. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +25 -30
  19. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +0 -2
  20. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  21. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-SMTJTIN7.js → chunk-AE3OJBDS.js} +1 -1
  22. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-H3S6WM37.js → chunk-NGR74QLF.js} +0 -1
  23. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-RISQ6NGV.js → chunk-XIUZ6GXG.js} +1 -1
  24. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.d.ts +0 -1
  25. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
  26. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +2 -6
  27. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +5 -8
  28. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
  29. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
  30. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +3 -3
  31. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.d.ts +0 -2
  32. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.js +8 -18
  33. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/agent-env.d.ts +3 -0
  34. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/agent-env.js +10 -0
  35. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.js +1 -12
  36. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  37. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +16 -2
  38. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.js +1 -2
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +16 -2
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.js +1 -2
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +16 -2
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.js +1 -2
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +0 -4
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +2 -3
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +6 -3
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +16 -2
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.js +1 -2
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +3 -3
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +16 -2
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.js +1 -2
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +3 -3
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.d.ts +2 -3
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.js +6 -28
  59. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +0 -2
  60. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +2 -7
  61. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  62. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +1 -5
  63. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  64. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -20
  65. package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +2 -2
  66. package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +2 -2
  67. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +42 -624
  68. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  69. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +97 -12
  70. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-output-silence.d.ts +21 -0
  71. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-output-silence.js +176 -0
  72. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.d.ts +0 -1
  73. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.js +3 -4
  74. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  75. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -5
  76. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
  77. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.d.ts +1 -1
  78. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +1 -5
  79. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +0 -3
  80. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +1 -26
  81. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/experience.js +7 -0
  82. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +3 -12
  83. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +16 -240
  84. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +3 -5
  85. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +2 -12
  86. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +0 -12
  87. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  88. package/package.json +24 -24
  89. package/packages/octo-runtime-protocol/schema/protocol.schema.json +42 -624
  90. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/actmode.d.ts +0 -5
  91. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/actmode.js +0 -8
  92. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.d.ts +0 -4
  93. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.js +0 -36
  94. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.d.ts +0 -3
  95. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.js +0 -68
@@ -260,7 +260,6 @@
260
260
  "type": {
261
261
  "enum": [
262
262
  "session.update",
263
- "execution.update",
264
263
  "usage.update",
265
264
  "model_step.started",
266
265
  "model_step.finished",
@@ -432,22 +431,6 @@
432
431
  "HostControl": {
433
432
  "title": "HostControl",
434
433
  "oneOf": [
435
- {
436
- "type": "object",
437
- "additionalProperties": false,
438
- "required": ["type", "name", "payload"],
439
- "properties": {
440
- "type": {
441
- "const": "evidence"
442
- },
443
- "name": {
444
- "const": "execution"
445
- },
446
- "payload": {
447
- "$ref": "#/definitions/ExecutionEvidence"
448
- }
449
- }
450
- },
451
434
  {
452
435
  "type": "object",
453
436
  "additionalProperties": false,
@@ -984,7 +967,7 @@
984
967
  "ContextItem": {
985
968
  "title": "ContextItem",
986
969
  "description": "Opaque ordered item. The envelope validates structure; consuming Adapters validate shared settings and their privately agreed payloads. Private items require no public registration.",
987
- "tsType": "{ namespace: string; name: string; guidance?: string; data_format?: 'text'; payload: Record<string, unknown> }",
970
+ "tsType": "{ namespace: string; name: string; payload: Record<string, unknown> }",
988
971
  "type": "object",
989
972
  "additionalProperties": false,
990
973
  "required": ["namespace", "name", "payload"],
@@ -1003,14 +986,6 @@
1003
986
  "type": "object",
1004
987
  "additionalProperties": true,
1005
988
  "tsType": "Record<string, unknown>"
1006
- },
1007
- "guidance": {
1008
- "type": "string",
1009
- "description": "Optional producer metadata. Runtime does not render AgentEnv items into model input."
1010
- },
1011
- "data_format": {
1012
- "const": "text",
1013
- "description": "Optional producer metadata; it does not request Runtime rendering."
1014
989
  }
1015
990
  },
1016
991
  "not": {
@@ -1064,223 +1039,6 @@
1064
1039
  }
1065
1040
  }
1066
1041
  },
1067
- "RunContextProjection": {
1068
- "title": "RunContextProjection",
1069
- "description": "Public Context facts. Preparation is distinct from Adapter application or invocation. This projection excludes resource files, trusted instruction text, credentials and Runtime paths.",
1070
- "type": "object",
1071
- "additionalProperties": false,
1072
- "required": [
1073
- "run_id",
1074
- "context_hash",
1075
- "preparation_status",
1076
- "application_status",
1077
- "invocation_status",
1078
- "execution",
1079
- "model_uses_provider_default",
1080
- "effort_uses_provider_default"
1081
- ],
1082
- "properties": {
1083
- "run_id": {
1084
- "type": "string",
1085
- "minLength": 1
1086
- },
1087
- "context_hash": {
1088
- "type": "string",
1089
- "pattern": "^sha256:[a-f0-9]{64}$"
1090
- },
1091
- "actual_runtime_id": {
1092
- "type": "string",
1093
- "minLength": 1
1094
- },
1095
- "preparation_status": {
1096
- "enum": ["unknown", "prepared"]
1097
- },
1098
- "application_status": {
1099
- "enum": ["unknown", "applied"]
1100
- },
1101
- "invocation_status": {
1102
- "const": "unknown"
1103
- },
1104
- "model_uses_provider_default": {
1105
- "type": "boolean"
1106
- },
1107
- "effort_uses_provider_default": {
1108
- "type": "boolean"
1109
- },
1110
- "object_materials": {
1111
- "description": "Frozen inline object facts proven by a matching preparation receipt. Source fields are provenance claims, not access grants. No contents, local handles, paths or credentials are exposed; application is separately evidenced by application_status.",
1112
- "type": "array",
1113
- "maxItems": 32,
1114
- "items": {
1115
- "$ref": "#/definitions/PublicObjectMaterial"
1116
- }
1117
- },
1118
- "execution": {
1119
- "type": "object",
1120
- "additionalProperties": false,
1121
- "required": ["adapter_type", "approval_mode"],
1122
- "properties": {
1123
- "adapter_type": {
1124
- "type": "string",
1125
- "minLength": 1
1126
- },
1127
- "model": {
1128
- "type": "string",
1129
- "minLength": 1
1130
- },
1131
- "effort": {
1132
- "type": "string",
1133
- "minLength": 1
1134
- },
1135
- "approval_mode": {
1136
- "enum": ["ask", "assisted", "full_access"]
1137
- }
1138
- }
1139
- }
1140
- }
1141
- },
1142
- "PublicObjectMaterial": {
1143
- "type": "object",
1144
- "additionalProperties": false,
1145
- "required": ["resource_ref", "object_type", "origin", "byte_size", "digest"],
1146
- "properties": {
1147
- "resource_ref": {
1148
- "type": "string",
1149
- "pattern": "^selection-[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
1150
- },
1151
- "object_type": {
1152
- "enum": [
1153
- "task",
1154
- "discussion",
1155
- "discussion_comment",
1156
- "discussion_reply",
1157
- "local_file",
1158
- "drive_file"
1159
- ]
1160
- },
1161
- "object_id": {
1162
- "type": "string",
1163
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
1164
- },
1165
- "origin": {
1166
- "enum": ["mention", "attachment", "object_action", "source_entity"]
1167
- },
1168
- "revision": {
1169
- "type": "string",
1170
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
1171
- },
1172
- "byte_size": {
1173
- "type": "integer",
1174
- "minimum": 1,
1175
- "maximum": 32768
1176
- },
1177
- "digest": {
1178
- "type": "string",
1179
- "pattern": "^sha256:[a-f0-9]{64}$"
1180
- },
1181
- "object_scope": {
1182
- "type": "object",
1183
- "additionalProperties": false,
1184
- "required": ["type", "id"],
1185
- "properties": {
1186
- "type": {
1187
- "enum": ["user", "teamspace"]
1188
- },
1189
- "id": {
1190
- "type": "string",
1191
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
1192
- }
1193
- }
1194
- },
1195
- "selector": {
1196
- "type": "object",
1197
- "additionalProperties": false,
1198
- "required": ["mode"],
1199
- "properties": {
1200
- "mode": {
1201
- "enum": ["core", "content", "history", "chain", "metadata"]
1202
- },
1203
- "start": {
1204
- "type": "integer",
1205
- "minimum": 0,
1206
- "maximum": 9007199254740991
1207
- },
1208
- "end": {
1209
- "type": "integer",
1210
- "minimum": 0,
1211
- "maximum": 9007199254740991
1212
- }
1213
- }
1214
- }
1215
- },
1216
- "allOf": [
1217
- {
1218
- "if": {
1219
- "properties": {
1220
- "object_type": {
1221
- "const": "local_file"
1222
- }
1223
- }
1224
- },
1225
- "then": {
1226
- "not": {
1227
- "required": ["object_id"]
1228
- }
1229
- },
1230
- "else": {
1231
- "required": ["object_id"]
1232
- }
1233
- }
1234
- ]
1235
- },
1236
- "ContextPreparationReceipt": {
1237
- "title": "ContextPreparationReceipt",
1238
- "description": "Preparation facts for the current Run lease and caller-owned workspace path; they do not prove Provider use of model context or transfer directory ownership to Runtime.",
1239
- "type": "object",
1240
- "additionalProperties": false,
1241
- "required": [
1242
- "context_hash",
1243
- "run_id",
1244
- "lease_id",
1245
- "fencing_token",
1246
- "workspace_path",
1247
- "provider_state_dir",
1248
- "warnings"
1249
- ],
1250
- "properties": {
1251
- "context_hash": {
1252
- "type": "string",
1253
- "pattern": "^sha256:[a-f0-9]{64}$"
1254
- },
1255
- "run_id": {
1256
- "type": "string",
1257
- "minLength": 1
1258
- },
1259
- "lease_id": {
1260
- "type": "string",
1261
- "minLength": 1
1262
- },
1263
- "fencing_token": {
1264
- "type": "integer",
1265
- "minimum": 1,
1266
- "maximum": 9007199254740991
1267
- },
1268
- "workspace_path": {
1269
- "type": "string"
1270
- },
1271
- "provider_state_dir": {
1272
- "type": "string"
1273
- },
1274
- "warnings": {
1275
- "type": "array",
1276
- "maxItems": 256,
1277
- "items": {
1278
- "type": "string",
1279
- "maxLength": 4096
1280
- }
1281
- }
1282
- }
1283
- },
1284
1042
  "PersistentContextEnvelope": {
1285
1043
  "title": "PersistentContextEnvelope",
1286
1044
  "$ref": "#/definitions/ContextEnvelope",
@@ -1297,46 +1055,6 @@
1297
1055
  }
1298
1056
  }
1299
1057
  },
1300
- "ContextActmodePayload": {
1301
- "type": "object",
1302
- "additionalProperties": false,
1303
- "required": ["mode"],
1304
- "properties": {
1305
- "mode": {
1306
- "enum": ["default", "plan"]
1307
- }
1308
- }
1309
- },
1310
- "ExecutionEvidence": {
1311
- "type": "object",
1312
- "additionalProperties": false,
1313
- "required": ["actmode"],
1314
- "properties": {
1315
- "actmode": {
1316
- "type": "object",
1317
- "additionalProperties": false,
1318
- "required": ["requested", "effective", "status"],
1319
- "properties": {
1320
- "requested": {
1321
- "enum": ["default", "plan"]
1322
- },
1323
- "effective": {
1324
- "enum": ["default", "plan", null]
1325
- },
1326
- "status": {
1327
- "enum": ["applied", "fallback", "unknown"]
1328
- },
1329
- "nativeMode": {
1330
- "type": "string",
1331
- "minLength": 1
1332
- },
1333
- "reason": {
1334
- "enum": ["provider_unsupported", "adapter_unmapped", "provider_unconfirmed"]
1335
- }
1336
- }
1337
- }
1338
- }
1339
- },
1340
1058
  "ContextModelPayload": {
1341
1059
  "type": "object",
1342
1060
  "additionalProperties": false,
@@ -1357,25 +1075,9 @@
1357
1075
  "effort": {
1358
1076
  "type": "string",
1359
1077
  "minLength": 1
1360
- },
1361
- "use_provider_default": {
1362
- "const": true
1363
1078
  }
1364
1079
  },
1365
- "oneOf": [
1366
- {
1367
- "required": ["effort"],
1368
- "not": {
1369
- "required": ["use_provider_default"]
1370
- }
1371
- },
1372
- {
1373
- "required": ["use_provider_default"],
1374
- "not": {
1375
- "required": ["effort"]
1376
- }
1377
- }
1378
- ]
1080
+ "required": ["effort"]
1379
1081
  },
1380
1082
  "ContextWorkspacePayload": {
1381
1083
  "description": "Caller-owned, already prepared directory. Runtime validates the concrete local execution path and never allocates or recreates an application workspace.",
@@ -1390,7 +1092,7 @@
1390
1092
  }
1391
1093
  },
1392
1094
  "ContextLimitsPayload": {
1393
- "description": "Snake-case frozen watchdog limits, with the same bounds as RuntimeLimits. Legacy enforcement=observe cannot be combined with v2 settings.",
1095
+ "description": "Snake-case frozen watchdog limits, with the same bounds as RuntimeLimits.",
1394
1096
  "type": "object",
1395
1097
  "additionalProperties": false,
1396
1098
  "properties": {
@@ -1431,99 +1133,9 @@
1431
1133
  "type": "integer",
1432
1134
  "minimum": 100,
1433
1135
  "maximum": 60000
1434
- },
1435
- "enforcement": {
1436
- "enum": ["enforce", "observe"]
1437
- }
1438
- },
1439
- "if": {
1440
- "required": ["enforcement"],
1441
- "properties": {
1442
- "enforcement": {
1443
- "const": "observe"
1444
- }
1445
- }
1446
- },
1447
- "then": {
1448
- "not": {
1449
- "anyOf": [
1450
- {
1451
- "required": ["model_idle_policy"]
1452
- },
1453
- {
1454
- "required": ["model_idle_warning_ms"]
1455
- },
1456
- {
1457
- "required": ["tool_wall_timeout_ms"]
1458
- }
1459
- ]
1460
1136
  }
1461
1137
  }
1462
1138
  },
1463
- "ContextRuntimeSelectionPayload": {
1464
- "type": "object",
1465
- "additionalProperties": false,
1466
- "required": ["mode"],
1467
- "properties": {
1468
- "mode": {
1469
- "enum": ["candidates", "explicit"]
1470
- },
1471
- "runtime_id": {
1472
- "type": "string",
1473
- "minLength": 1
1474
- },
1475
- "runtime_ids": {
1476
- "type": "array",
1477
- "minItems": 1,
1478
- "maxItems": 64,
1479
- "uniqueItems": true,
1480
- "items": {
1481
- "type": "string",
1482
- "minLength": 1
1483
- }
1484
- },
1485
- "strategy": {
1486
- "const": "preferred_failover"
1487
- },
1488
- "offline_behavior": {
1489
- "enum": ["wait", "fail"]
1490
- },
1491
- "failover": {
1492
- "enum": ["candidates", "none"]
1493
- }
1494
- },
1495
- "oneOf": [
1496
- {
1497
- "properties": {
1498
- "mode": {
1499
- "const": "candidates"
1500
- }
1501
- },
1502
- "required": ["runtime_ids", "strategy"],
1503
- "not": {
1504
- "required": ["runtime_id"]
1505
- }
1506
- },
1507
- {
1508
- "properties": {
1509
- "mode": {
1510
- "const": "explicit"
1511
- }
1512
- },
1513
- "required": ["runtime_id"],
1514
- "not": {
1515
- "anyOf": [
1516
- {
1517
- "required": ["runtime_ids"]
1518
- },
1519
- {
1520
- "required": ["strategy"]
1521
- }
1522
- ]
1523
- }
1524
- }
1525
- ]
1526
- },
1527
1139
  "ContextApprovalPolicyPayload": {
1528
1140
  "type": "object",
1529
1141
  "additionalProperties": false,
@@ -1534,112 +1146,6 @@
1534
1146
  }
1535
1147
  }
1536
1148
  },
1537
- "ContextMcpLocator": {
1538
- "type": "object",
1539
- "additionalProperties": false,
1540
- "required": ["server_ref", "tool"],
1541
- "properties": {
1542
- "server_ref": {
1543
- "type": "string",
1544
- "minLength": 1
1545
- },
1546
- "tool": {
1547
- "type": "string",
1548
- "minLength": 1
1549
- }
1550
- }
1551
- },
1552
- "ResolvedRuntimeSelection": {
1553
- "title": "ResolvedRuntimeSelection",
1554
- "description": "Worker-frozen Context runtime candidates. Explicit selection cannot fail over.",
1555
- "x-octo-unicode-scalar-strings": true,
1556
- "x-octo-runtime-selection-invariants": true,
1557
- "type": "object",
1558
- "additionalProperties": false,
1559
- "required": [
1560
- "schema",
1561
- "selection_mode",
1562
- "authorized_candidates",
1563
- "offline_behavior",
1564
- "failover"
1565
- ],
1566
- "properties": {
1567
- "schema": {
1568
- "const": "octo.runtime-selection/v2"
1569
- },
1570
- "selection_mode": {
1571
- "enum": ["explicit", "candidates"]
1572
- },
1573
- "explicit_runtime_id": {
1574
- "type": "string",
1575
- "minLength": 1,
1576
- "maxLength": 191
1577
- },
1578
- "authorized_candidates": {
1579
- "type": "array",
1580
- "minItems": 1,
1581
- "maxItems": 64,
1582
- "items": {
1583
- "type": "object",
1584
- "additionalProperties": false,
1585
- "required": ["runtime_id", "priority", "owner_subject_type", "owner_subject_id"],
1586
- "properties": {
1587
- "runtime_id": {
1588
- "type": "string",
1589
- "minLength": 1,
1590
- "maxLength": 191
1591
- },
1592
- "priority": {
1593
- "type": "integer",
1594
- "minimum": 1,
1595
- "maximum": 9007199254740991
1596
- },
1597
- "owner_subject_type": {
1598
- "enum": ["user", "teamspace"]
1599
- },
1600
- "owner_subject_id": {
1601
- "type": "string",
1602
- "minLength": 1,
1603
- "maxLength": 191
1604
- }
1605
- }
1606
- }
1607
- },
1608
- "offline_behavior": {
1609
- "enum": ["wait", "fail"]
1610
- },
1611
- "failover": {
1612
- "enum": ["candidates", "none"]
1613
- }
1614
- },
1615
- "allOf": [
1616
- {
1617
- "if": {
1618
- "properties": {
1619
- "selection_mode": {
1620
- "const": "explicit"
1621
- }
1622
- }
1623
- },
1624
- "then": {
1625
- "required": ["explicit_runtime_id"],
1626
- "properties": {
1627
- "authorized_candidates": {
1628
- "maxItems": 1
1629
- },
1630
- "failover": {
1631
- "const": "none"
1632
- }
1633
- }
1634
- },
1635
- "else": {
1636
- "not": {
1637
- "required": ["explicit_runtime_id"]
1638
- }
1639
- }
1640
- }
1641
- ]
1642
- },
1643
1149
  "MessageChannel": {
1644
1150
  "title": "MessageChannel",
1645
1151
  "description": "Provider-neutral assistant output channel. analysis is reasoning-class content gated by exposure; commentary is public in-run progress; final is answer content delivered only after the Run reaches a completed terminal state.",
@@ -1892,10 +1398,6 @@
1892
1398
  "type": "integer",
1893
1399
  "minimum": 100,
1894
1400
  "maximum": 60000
1895
- },
1896
- "enforcement": {
1897
- "type": "string",
1898
- "enum": ["observe", "enforce"]
1899
1401
  }
1900
1402
  }
1901
1403
  },
@@ -3041,7 +2543,8 @@
3041
2543
  "context_compacted",
3042
2544
  "model_rerouted",
3043
2545
  "config_warning",
3044
- "provider_diagnostic"
2546
+ "provider_diagnostic",
2547
+ "model_output_idle"
3045
2548
  ]
3046
2549
  },
3047
2550
  "severity": {
@@ -3064,133 +2567,54 @@
3064
2567
  "maxLength": 191
3065
2568
  }
3066
2569
  },
3067
- "required": ["noticeId", "code", "severity", "params"]
3068
- },
3069
- "AgentSource": {
3070
- "title": "AgentSource",
3071
- "type": "string",
3072
- "enum": ["preset", "provisioned"]
3073
- },
3074
- "ContextModelSelectionPayload": {
3075
- "type": "object",
3076
- "additionalProperties": false,
3077
- "properties": {
3078
- "id": {
3079
- "type": "string",
3080
- "minLength": 1
3081
- },
3082
- "use_provider_default": {
3083
- "const": true
3084
- }
3085
- },
3086
- "oneOf": [
3087
- {
3088
- "required": ["id"],
3089
- "not": {
3090
- "required": ["use_provider_default"]
3091
- }
3092
- },
2570
+ "required": ["noticeId", "code", "severity", "params"],
2571
+ "allOf": [
3093
2572
  {
3094
- "required": ["use_provider_default"],
3095
- "not": {
3096
- "required": ["id"]
2573
+ "if": {
2574
+ "required": ["code"],
2575
+ "properties": {
2576
+ "code": {
2577
+ "const": "model_output_idle"
2578
+ }
2579
+ }
2580
+ },
2581
+ "then": {
2582
+ "properties": {
2583
+ "severity": {
2584
+ "const": "info"
2585
+ },
2586
+ "params": {
2587
+ "type": "object",
2588
+ "additionalProperties": false,
2589
+ "required": ["silenceMs", "message"],
2590
+ "properties": {
2591
+ "silenceMs": {
2592
+ "type": "integer",
2593
+ "minimum": 60000,
2594
+ "maximum": 9007199254740991
2595
+ },
2596
+ "message": {
2597
+ "type": "string",
2598
+ "minLength": 1,
2599
+ "maxLength": 96
2600
+ }
2601
+ }
2602
+ }
2603
+ }
3097
2604
  }
3098
2605
  }
3099
2606
  ]
3100
2607
  },
3101
- "ContextInlineEntry": {
3102
- "description": "Untrusted inline selection text with optional resource reference, source metadata and summary. Source metadata is not an authorization claim.",
3103
- "type": "object",
3104
- "additionalProperties": false,
3105
- "required": ["text"],
3106
- "properties": {
3107
- "text": {
3108
- "type": "string",
3109
- "minLength": 1
3110
- },
3111
- "resource_ref": {
3112
- "type": "string",
3113
- "minLength": 1
3114
- },
3115
- "source": {
3116
- "type": ["object", "string"],
3117
- "additionalProperties": true
3118
- },
3119
- "summary": {
3120
- "type": "string"
3121
- }
3122
- }
3123
- },
3124
- "ContextReferenceEntry": {
3125
- "description": "Declarative MCP resource operation. Only deployed scoped operations may execute; schema validation does not authorize access.",
2608
+ "ContextModelSelectionPayload": {
3126
2609
  "type": "object",
3127
2610
  "additionalProperties": false,
3128
- "required": ["resource_ref", "resolver", "locator"],
3129
2611
  "properties": {
3130
- "resource_ref": {
3131
- "type": "string",
3132
- "minLength": 1
3133
- },
3134
- "resolver": {
3135
- "const": "mcp"
3136
- },
3137
- "locator": {
3138
- "type": "object"
3139
- },
3140
- "params": {
3141
- "description": "Frozen non-secret JSON parameters supplied by the authenticated resolver plan, not model-generated commands.",
3142
- "type": "object",
3143
- "additionalProperties": true,
3144
- "tsType": "Record<string, unknown>"
3145
- },
3146
- "authorization_ref": {
3147
- "type": "string",
3148
- "minLength": 1
3149
- },
3150
- "revision": {
2612
+ "id": {
3151
2613
  "type": "string",
3152
2614
  "minLength": 1
3153
2615
  }
3154
2616
  },
3155
- "allOf": [
3156
- {
3157
- "properties": {
3158
- "locator": {
3159
- "$ref": "#/definitions/ContextMcpLocator"
3160
- }
3161
- }
3162
- }
3163
- ]
3164
- },
3165
- "ContextInlinePayload": {
3166
- "type": "object",
3167
- "additionalProperties": false,
3168
- "required": ["entries"],
3169
- "properties": {
3170
- "entries": {
3171
- "type": "array",
3172
- "minItems": 1,
3173
- "items": {
3174
- "$ref": "#/definitions/ContextInlineEntry"
3175
- }
3176
- }
3177
- }
3178
- },
3179
- "ContextReferencesPayload": {
3180
- "type": "object",
3181
- "x-octo-unique-resource-refs": true,
3182
- "additionalProperties": false,
3183
- "required": ["entries"],
3184
- "properties": {
3185
- "entries": {
3186
- "type": "array",
3187
- "minItems": 1,
3188
- "uniqueItems": true,
3189
- "items": {
3190
- "$ref": "#/definitions/ContextReferenceEntry"
3191
- }
3192
- }
3193
- }
2617
+ "required": ["id"]
3194
2618
  },
3195
2619
  "ToolAuthorization": {
3196
2620
  "title": "ToolAuthorization",
@@ -3527,17 +2951,11 @@
3527
2951
  "HostedAdapterMetadataWire": {
3528
2952
  "type": "object",
3529
2953
  "additionalProperties": true,
3530
- "required": ["type", "agentSources"],
2954
+ "required": ["type"],
3531
2955
  "properties": {
3532
2956
  "type": {
3533
2957
  "type": "string"
3534
2958
  },
3535
- "agentSources": {
3536
- "type": "array",
3537
- "items": {
3538
- "$ref": "#/definitions/AgentSource"
3539
- }
3540
- },
3541
2959
  "workspace": {
3542
2960
  "type": "boolean"
3543
2961
  },