@mhome/app-facade-protocol 1.60.1 → 1.62.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.
@@ -3,7 +3,7 @@
3
3
  "name": "dashboard-detail",
4
4
  "target": "/app/dashboard/card/detail/get",
5
5
  "data": {
6
- "scopeId": "space-1",
6
+ "spaceId": "space-1",
7
7
  "items": [
8
8
  {
9
9
  "cardId": "card-1",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "status": "success",
54
54
  "essential": {
55
- "scopeId": "space-1",
55
+ "spaceId": "space-1",
56
56
  "items": [
57
57
  {
58
58
  "cardId": "card-1",
@@ -1008,10 +1008,10 @@
1008
1008
  },
1009
1009
  {
1010
1010
  "name": "space-preference-update",
1011
- "target": "/app/scope/preference/update",
1011
+ "target": "/app/space/preference/update",
1012
1012
  "data": {
1013
1013
  "action": "Updated",
1014
- "scopeId": "space-demo",
1014
+ "spaceId": "space-demo",
1015
1015
  "updatedFields": [
1016
1016
  "temperatureUnit"
1017
1017
  ],
@@ -1027,7 +1027,7 @@
1027
1027
  "status": "success",
1028
1028
  "essential": {
1029
1029
  "action": "Updated",
1030
- "scopeId": "space-demo",
1030
+ "spaceId": "space-demo",
1031
1031
  "updatedFields": [
1032
1032
  "temperatureUnit"
1033
1033
  ],
@@ -1038,7 +1038,7 @@
1038
1038
  },
1039
1039
  {
1040
1040
  "name": "space-preference-empty-keys",
1041
- "target": "/app/scope/preference/update",
1041
+ "target": "/app/space/preference/update",
1042
1042
  "data": {
1043
1043
  "updatedFields": [],
1044
1044
  "preferences": {
@@ -1058,7 +1058,7 @@
1058
1058
  },
1059
1059
  {
1060
1060
  "name": "space-preference-no-key-list",
1061
- "target": "/app/scope/preference/update",
1061
+ "target": "/app/space/preference/update",
1062
1062
  "data": {
1063
1063
  "preferences": {
1064
1064
  "temperatureUnit": "F",
@@ -1083,7 +1083,7 @@
1083
1083
  },
1084
1084
  {
1085
1085
  "name": "space-preference-invalid-key-list",
1086
- "target": "/app/scope/preference/update",
1086
+ "target": "/app/space/preference/update",
1087
1087
  "data": {
1088
1088
  "updatedFields": [
1089
1089
  null
@@ -1114,10 +1114,10 @@
1114
1114
  },
1115
1115
  {
1116
1116
  "name": "space-location-update",
1117
- "target": "/app/scope/location/update",
1117
+ "target": "/app/space/location/update",
1118
1118
  "data": {
1119
1119
  "action": "Updated",
1120
- "scopeId": "space-demo",
1120
+ "spaceId": "space-demo",
1121
1121
  "locationId": "l:office",
1122
1122
  "name": "Office",
1123
1123
  "address": "Example address",
@@ -1135,7 +1135,7 @@
1135
1135
  "status": "success",
1136
1136
  "essential": {
1137
1137
  "action": "Updated",
1138
- "scopeId": "space-demo",
1138
+ "spaceId": "space-demo",
1139
1139
  "locationId": "l:office",
1140
1140
  "name": "Office",
1141
1141
  "address": "Example address",
@@ -1151,11 +1151,11 @@
1151
1151
  },
1152
1152
  {
1153
1153
  "name": "space-list",
1154
- "target": "/app/scope/list",
1154
+ "target": "/app/space/list",
1155
1155
  "data": {
1156
1156
  "spaces": [
1157
1157
  {
1158
- "scopeId": "space-demo",
1158
+ "spaceId": "space-demo",
1159
1159
  "name": "Home",
1160
1160
  "mode": "local",
1161
1161
  "agentMode": "cloud",
@@ -1167,7 +1167,7 @@
1167
1167
  "essential": {
1168
1168
  "spaces": [
1169
1169
  {
1170
- "scopeId": "space-demo",
1170
+ "spaceId": "space-demo",
1171
1171
  "name": "Home",
1172
1172
  "mode": "local",
1173
1173
  "agentMode": "cloud",
@@ -1178,10 +1178,10 @@
1178
1178
  },
1179
1179
  {
1180
1180
  "name": "space-current",
1181
- "target": "/app/scope/detail/get",
1181
+ "target": "/app/space/detail/get",
1182
1182
  "data": {
1183
1183
  "space": {
1184
- "scopeId": "space-demo",
1184
+ "spaceId": "space-demo",
1185
1185
  "name": "Home",
1186
1186
  "mode": "local",
1187
1187
  "agentMode": "cloud",
@@ -1189,7 +1189,7 @@
1189
1189
  },
1190
1190
  "locations": [
1191
1191
  {
1192
- "scopeId": "space-demo",
1192
+ "spaceId": "space-demo",
1193
1193
  "locationId": "l:office",
1194
1194
  "name": "Office",
1195
1195
  "address": "Example address",
@@ -1204,7 +1204,7 @@
1204
1204
  "status": "success",
1205
1205
  "essential": {
1206
1206
  "space": {
1207
- "scopeId": "space-demo",
1207
+ "spaceId": "space-demo",
1208
1208
  "name": "Home",
1209
1209
  "mode": "local",
1210
1210
  "agentMode": "cloud",
@@ -1212,7 +1212,7 @@
1212
1212
  },
1213
1213
  "locations": [
1214
1214
  {
1215
- "scopeId": "space-demo",
1215
+ "spaceId": "space-demo",
1216
1216
  "locationId": "l:office",
1217
1217
  "name": "Office",
1218
1218
  "address": "Example address",
@@ -1227,10 +1227,10 @@
1227
1227
  },
1228
1228
  {
1229
1229
  "name": "space-invite-outcomes",
1230
- "target": "/app/scope/member/invite",
1230
+ "target": "/app/space/member/invite",
1231
1231
  "data": {
1232
1232
  "action": "Invited",
1233
- "scopeId": "space-demo",
1233
+ "spaceId": "space-demo",
1234
1234
  "requested": [
1235
1235
  "new@example.com",
1236
1236
  "pending@example.com",
@@ -1253,7 +1253,7 @@
1253
1253
  "status": "success",
1254
1254
  "essential": {
1255
1255
  "action": "Invited",
1256
- "scopeId": "space-demo",
1256
+ "spaceId": "space-demo",
1257
1257
  "requested": [
1258
1258
  "new@example.com",
1259
1259
  "pending@example.com",
@@ -2142,5 +2142,1147 @@
2142
2142
  "avatarUrl": null,
2143
2143
  "avatarExpiresAtMs": null
2144
2144
  }
2145
+ },
2146
+ {
2147
+ "name": "agent-llm-summary",
2148
+ "target": "/app/agent/llm/summary",
2149
+ "data": {
2150
+ "llmMode": "local",
2151
+ "effectiveMappings": [
2152
+ {
2153
+ "temperature": null,
2154
+ "reasoningEffort": null,
2155
+ "thinking": null,
2156
+ "fastMode": null,
2157
+ "useCase": "chat",
2158
+ "agentModelMode": "auto",
2159
+ "provider": "local_example",
2160
+ "model": "demo-chat",
2161
+ "source": "override",
2162
+ "configuredModel": "demo-chat"
2163
+ }
2164
+ ],
2165
+ "selectedProviders": {
2166
+ "chat": "local_example"
2167
+ },
2168
+ "defaultProviders": [
2169
+ {
2170
+ "useCase": "chat",
2171
+ "llmMode": "local",
2172
+ "provider": "local_example",
2173
+ "updatedAtMs": 123
2174
+ }
2175
+ ],
2176
+ "llmUseCases": [
2177
+ {
2178
+ "useCase": "chat",
2179
+ "displayName": "对话",
2180
+ "description": null,
2181
+ "ownerType": "system",
2182
+ "ownerId": "agent",
2183
+ "executionUseCase": "chat",
2184
+ "configurable": true,
2185
+ "active": true,
2186
+ "modes": [
2187
+ {
2188
+ "mode": "auto",
2189
+ "displayName": "自动",
2190
+ "description": null,
2191
+ "requirements": {
2192
+ "modelType": "chat",
2193
+ "requiredInputModalities": [
2194
+ "text"
2195
+ ],
2196
+ "optionalInputModalities": [],
2197
+ "requiredOutputModalities": [
2198
+ "text"
2199
+ ],
2200
+ "preferredFeatures": []
2201
+ }
2202
+ }
2203
+ ],
2204
+ "updatedAtMs": 1793059200000,
2205
+ "lastSeenAtMs": 1793059200000
2206
+ }
2207
+ ],
2208
+ "providerModels": [
2209
+ {
2210
+ "provider": "local_example",
2211
+ "models": [
2212
+ {
2213
+ "id": "demo-chat",
2214
+ "displayName": "示例对话模型",
2215
+ "modelType": "chat",
2216
+ "available": true,
2217
+ "deprecated": false,
2218
+ "successor": null,
2219
+ "supportsTools": true,
2220
+ "supportsVision": false,
2221
+ "contextWindowTokens": 32768,
2222
+ "inputModalities": [
2223
+ "text"
2224
+ ],
2225
+ "outputModalities": [
2226
+ "text"
2227
+ ],
2228
+ "chatConfig": null,
2229
+ "metadata": {
2230
+ "internalProviderModelId": "do-not-copy"
2231
+ },
2232
+ "generationControls": {
2233
+ "temperature": true,
2234
+ "temperatureMax": 1.0,
2235
+ "thinking": false,
2236
+ "reasoningEfforts": [
2237
+ "low",
2238
+ "high"
2239
+ ],
2240
+ "reasoningEffortDefault": "high",
2241
+ "fastMode": true
2242
+ }
2243
+ }
2244
+ ]
2245
+ }
2246
+ ],
2247
+ "canUseLocalRuntime": true,
2248
+ "localProviderSetup": {
2249
+ "canUseLocalRuntime": true,
2250
+ "providers": [
2251
+ {
2252
+ "provider": "local_example",
2253
+ "displayName": "示例 Provider",
2254
+ "runtime": "local",
2255
+ "modelSource": "catalog",
2256
+ "catalogProvider": "example",
2257
+ "executionProvider": "example",
2258
+ "useCases": [
2259
+ "chat"
2260
+ ],
2261
+ "allowedAgentModes": {
2262
+ "chat": [
2263
+ "auto"
2264
+ ]
2265
+ },
2266
+ "authKind": "api_key",
2267
+ "requiresCredential": true,
2268
+ "hasCredential": true,
2269
+ "authenticated": true,
2270
+ "ready": true,
2271
+ "status": "ready",
2272
+ "statusLabel": "Ready",
2273
+ "apiKey": null,
2274
+ "token": null,
2275
+ "accountId": null,
2276
+ "expiresAtMs": null,
2277
+ "metadata": null,
2278
+ "providerMetadata": null,
2279
+ "reason": null,
2280
+ "supportedUseCases": [
2281
+ "chat"
2282
+ ],
2283
+ "readinessByUseCase": {
2284
+ "chat": {
2285
+ "ready": true,
2286
+ "modelCount": 1,
2287
+ "reason": null
2288
+ }
2289
+ },
2290
+ "modelsByUseCase": {
2291
+ "chat": [
2292
+ {
2293
+ "id": "demo-chat",
2294
+ "displayName": "示例对话模型",
2295
+ "modelType": "chat",
2296
+ "provider": "local_example",
2297
+ "available": true,
2298
+ "deprecated": false,
2299
+ "successor": null,
2300
+ "supportsTools": true,
2301
+ "supportsVision": false,
2302
+ "contextWindowTokens": 32768,
2303
+ "inputModalities": [
2304
+ "text"
2305
+ ],
2306
+ "outputModalities": [
2307
+ "text"
2308
+ ],
2309
+ "chatConfig": null,
2310
+ "metadata": null
2311
+ }
2312
+ ]
2313
+ },
2314
+ "defaultMappingsByUseCase": {},
2315
+ "models": [
2316
+ {
2317
+ "id": "demo-chat",
2318
+ "displayName": "示例对话模型",
2319
+ "modelType": "chat",
2320
+ "provider": "local_example",
2321
+ "available": true,
2322
+ "deprecated": false,
2323
+ "successor": null,
2324
+ "supportsTools": true,
2325
+ "supportsVision": false,
2326
+ "contextWindowTokens": 32768,
2327
+ "inputModalities": [
2328
+ "text"
2329
+ ],
2330
+ "outputModalities": [
2331
+ "text"
2332
+ ],
2333
+ "chatConfig": null,
2334
+ "metadata": null
2335
+ }
2336
+ ],
2337
+ "defaultChatMappings": [],
2338
+ "defaultImagenMapping": null,
2339
+ "defaultTtsMapping": null,
2340
+ "defaultAsrMapping": null,
2341
+ "defaultDecisionMapping": null
2342
+ }
2343
+ ],
2344
+ "selectedProviders": {
2345
+ "chat": "local_example"
2346
+ }
2347
+ },
2348
+ "providers": [
2349
+ {
2350
+ "provider": "local_example",
2351
+ "displayName": "示例 Provider",
2352
+ "runtime": "local",
2353
+ "modelSource": "catalog",
2354
+ "catalogProvider": "example",
2355
+ "executionProvider": "example",
2356
+ "useCases": [
2357
+ "chat"
2358
+ ],
2359
+ "allowedAgentModes": {
2360
+ "chat": [
2361
+ "auto"
2362
+ ]
2363
+ },
2364
+ "authKind": "api_key",
2365
+ "requiresCredential": true,
2366
+ "hasCredential": true,
2367
+ "authenticated": true,
2368
+ "ready": true,
2369
+ "status": "ready",
2370
+ "statusLabel": "Ready",
2371
+ "apiKey": null,
2372
+ "token": null,
2373
+ "accountId": null,
2374
+ "expiresAtMs": null,
2375
+ "metadata": null,
2376
+ "providerMetadata": null,
2377
+ "reason": null,
2378
+ "supportedUseCases": [
2379
+ "chat"
2380
+ ],
2381
+ "readinessByUseCase": {
2382
+ "chat": {
2383
+ "ready": true,
2384
+ "modelCount": 1,
2385
+ "reason": null
2386
+ }
2387
+ },
2388
+ "modelsByUseCase": {
2389
+ "chat": [
2390
+ {
2391
+ "id": "demo-chat",
2392
+ "displayName": "示例对话模型",
2393
+ "modelType": "chat",
2394
+ "provider": "local_example",
2395
+ "available": true,
2396
+ "deprecated": false,
2397
+ "successor": null,
2398
+ "supportsTools": true,
2399
+ "supportsVision": false,
2400
+ "contextWindowTokens": 32768,
2401
+ "inputModalities": [
2402
+ "text"
2403
+ ],
2404
+ "outputModalities": [
2405
+ "text"
2406
+ ],
2407
+ "chatConfig": null,
2408
+ "metadata": null
2409
+ }
2410
+ ]
2411
+ },
2412
+ "defaultMappingsByUseCase": {},
2413
+ "models": [
2414
+ {
2415
+ "id": "demo-chat",
2416
+ "displayName": "示例对话模型",
2417
+ "modelType": "chat",
2418
+ "provider": "local_example",
2419
+ "available": true,
2420
+ "deprecated": false,
2421
+ "successor": null,
2422
+ "supportsTools": true,
2423
+ "supportsVision": false,
2424
+ "contextWindowTokens": 32768,
2425
+ "inputModalities": [
2426
+ "text"
2427
+ ],
2428
+ "outputModalities": [
2429
+ "text"
2430
+ ],
2431
+ "chatConfig": null,
2432
+ "metadata": null
2433
+ }
2434
+ ],
2435
+ "defaultChatMappings": [],
2436
+ "defaultImagenMapping": null,
2437
+ "defaultTtsMapping": null,
2438
+ "defaultAsrMapping": null,
2439
+ "defaultDecisionMapping": null
2440
+ }
2441
+ ]
2442
+ },
2443
+ "status": "success",
2444
+ "essential": {
2445
+ "llmMode": "local",
2446
+ "effectiveMappings": [
2447
+ {
2448
+ "temperature": null,
2449
+ "reasoningEffort": null,
2450
+ "thinking": null,
2451
+ "fastMode": null,
2452
+ "useCase": "chat",
2453
+ "agentModelMode": "auto",
2454
+ "provider": "local_example",
2455
+ "model": "demo-chat",
2456
+ "source": "override",
2457
+ "configuredModel": "demo-chat"
2458
+ }
2459
+ ],
2460
+ "selectedProviders": {
2461
+ "chat": "local_example"
2462
+ },
2463
+ "defaultProviders": [
2464
+ {
2465
+ "useCase": "chat",
2466
+ "llmMode": "local",
2467
+ "provider": "local_example"
2468
+ }
2469
+ ],
2470
+ "llmUseCases": [
2471
+ {
2472
+ "useCase": "chat",
2473
+ "displayName": "对话",
2474
+ "description": null,
2475
+ "configurable": true,
2476
+ "active": true,
2477
+ "modes": [
2478
+ {
2479
+ "mode": "auto",
2480
+ "displayName": "自动",
2481
+ "description": null,
2482
+ "requirements": {
2483
+ "modelType": "chat",
2484
+ "requiredInputModalities": [
2485
+ "text"
2486
+ ],
2487
+ "optionalInputModalities": [],
2488
+ "requiredOutputModalities": [
2489
+ "text"
2490
+ ],
2491
+ "preferredFeatures": []
2492
+ }
2493
+ }
2494
+ ]
2495
+ }
2496
+ ],
2497
+ "providerModels": [
2498
+ {
2499
+ "provider": "local_example",
2500
+ "models": [
2501
+ {
2502
+ "id": "demo-chat",
2503
+ "displayName": "示例对话模型",
2504
+ "modelType": "chat",
2505
+ "available": true,
2506
+ "deprecated": false,
2507
+ "successor": null,
2508
+ "supportsTools": true,
2509
+ "supportsVision": false,
2510
+ "contextWindowTokens": 32768,
2511
+ "inputModalities": [
2512
+ "text"
2513
+ ],
2514
+ "outputModalities": [
2515
+ "text"
2516
+ ],
2517
+ "generationControls": {
2518
+ "temperature": true,
2519
+ "temperatureMax": 1.0,
2520
+ "thinking": false,
2521
+ "reasoningEfforts": [
2522
+ "low",
2523
+ "high"
2524
+ ],
2525
+ "reasoningEffortDefault": "high",
2526
+ "fastMode": true
2527
+ }
2528
+ }
2529
+ ]
2530
+ }
2531
+ ],
2532
+ "canUseLocalRuntime": true,
2533
+ "providers": [
2534
+ {
2535
+ "provider": "local_example",
2536
+ "displayName": "示例 Provider",
2537
+ "runtime": "local",
2538
+ "useCases": [
2539
+ "chat"
2540
+ ],
2541
+ "allowedAgentModes": {
2542
+ "chat": [
2543
+ "auto"
2544
+ ]
2545
+ },
2546
+ "authKind": "api_key",
2547
+ "requiresCredential": true,
2548
+ "hasCredential": true,
2549
+ "authenticated": true,
2550
+ "ready": true,
2551
+ "status": "ready",
2552
+ "reason": null,
2553
+ "supportedUseCases": [
2554
+ "chat"
2555
+ ],
2556
+ "readinessByUseCase": {
2557
+ "chat": {
2558
+ "ready": true,
2559
+ "modelCount": 1,
2560
+ "reason": null
2561
+ }
2562
+ }
2563
+ }
2564
+ ]
2565
+ }
2566
+ },
2567
+ {
2568
+ "name": "agent-provider-unavailable",
2569
+ "target": "/app/agent/llm/provider/list",
2570
+ "data": {
2571
+ "providerModels": [
2572
+ {
2573
+ "provider": "local_example",
2574
+ "models": [
2575
+ {
2576
+ "id": "demo-chat",
2577
+ "displayName": "示例对话模型",
2578
+ "modelType": "chat",
2579
+ "available": true,
2580
+ "deprecated": false,
2581
+ "successor": null,
2582
+ "supportsTools": true,
2583
+ "supportsVision": false,
2584
+ "contextWindowTokens": 32768,
2585
+ "inputModalities": [
2586
+ "text"
2587
+ ],
2588
+ "outputModalities": [
2589
+ "text"
2590
+ ],
2591
+ "chatConfig": null,
2592
+ "metadata": null,
2593
+ "generationControls": {
2594
+ "temperature": false,
2595
+ "thinking": false,
2596
+ "fastMode": false
2597
+ }
2598
+ }
2599
+ ]
2600
+ }
2601
+ ],
2602
+ "canUseLocalRuntime": true,
2603
+ "localProviderSetup": {
2604
+ "canUseLocalRuntime": true,
2605
+ "providers": [
2606
+ {
2607
+ "provider": "local_example",
2608
+ "displayName": "示例 Provider",
2609
+ "runtime": "local",
2610
+ "modelSource": "catalog",
2611
+ "catalogProvider": "example",
2612
+ "executionProvider": "example",
2613
+ "useCases": [
2614
+ "chat"
2615
+ ],
2616
+ "allowedAgentModes": {
2617
+ "chat": [
2618
+ "auto"
2619
+ ]
2620
+ },
2621
+ "authKind": "api_key",
2622
+ "requiresCredential": true,
2623
+ "hasCredential": true,
2624
+ "authenticated": true,
2625
+ "ready": true,
2626
+ "status": "ready",
2627
+ "statusLabel": "Ready",
2628
+ "apiKey": null,
2629
+ "token": null,
2630
+ "accountId": null,
2631
+ "expiresAtMs": null,
2632
+ "metadata": null,
2633
+ "providerMetadata": null,
2634
+ "reason": null,
2635
+ "supportedUseCases": [
2636
+ "chat"
2637
+ ],
2638
+ "readinessByUseCase": {
2639
+ "chat": {
2640
+ "ready": true,
2641
+ "modelCount": 1,
2642
+ "reason": null
2643
+ }
2644
+ },
2645
+ "modelsByUseCase": {
2646
+ "chat": [
2647
+ {
2648
+ "id": "demo-chat",
2649
+ "displayName": "示例对话模型",
2650
+ "modelType": "chat",
2651
+ "provider": "local_example",
2652
+ "available": true,
2653
+ "deprecated": false,
2654
+ "successor": null,
2655
+ "supportsTools": true,
2656
+ "supportsVision": false,
2657
+ "contextWindowTokens": 32768,
2658
+ "inputModalities": [
2659
+ "text"
2660
+ ],
2661
+ "outputModalities": [
2662
+ "text"
2663
+ ],
2664
+ "chatConfig": null,
2665
+ "metadata": null
2666
+ }
2667
+ ]
2668
+ },
2669
+ "defaultMappingsByUseCase": {},
2670
+ "models": [
2671
+ {
2672
+ "id": "demo-chat",
2673
+ "displayName": "示例对话模型",
2674
+ "modelType": "chat",
2675
+ "provider": "local_example",
2676
+ "available": true,
2677
+ "deprecated": false,
2678
+ "successor": null,
2679
+ "supportsTools": true,
2680
+ "supportsVision": false,
2681
+ "contextWindowTokens": 32768,
2682
+ "inputModalities": [
2683
+ "text"
2684
+ ],
2685
+ "outputModalities": [
2686
+ "text"
2687
+ ],
2688
+ "chatConfig": null,
2689
+ "metadata": null
2690
+ }
2691
+ ],
2692
+ "defaultChatMappings": [],
2693
+ "defaultImagenMapping": null,
2694
+ "defaultTtsMapping": null,
2695
+ "defaultAsrMapping": null,
2696
+ "defaultDecisionMapping": null
2697
+ }
2698
+ ]
2699
+ },
2700
+ "providers": [
2701
+ {
2702
+ "provider": "local_example",
2703
+ "displayName": "示例 Provider",
2704
+ "runtime": "local",
2705
+ "modelSource": "catalog",
2706
+ "catalogProvider": "example",
2707
+ "executionProvider": "example",
2708
+ "useCases": [
2709
+ "chat"
2710
+ ],
2711
+ "allowedAgentModes": {
2712
+ "chat": [
2713
+ "auto"
2714
+ ]
2715
+ },
2716
+ "authKind": "api_key",
2717
+ "requiresCredential": true,
2718
+ "hasCredential": false,
2719
+ "authenticated": true,
2720
+ "ready": false,
2721
+ "status": "login_required",
2722
+ "statusLabel": "Ready",
2723
+ "apiKey": null,
2724
+ "token": null,
2725
+ "accountId": null,
2726
+ "expiresAtMs": null,
2727
+ "metadata": null,
2728
+ "providerMetadata": null,
2729
+ "reason": "Login expired",
2730
+ "supportedUseCases": [
2731
+ "chat"
2732
+ ],
2733
+ "readinessByUseCase": {
2734
+ "chat": {
2735
+ "ready": true,
2736
+ "modelCount": 1,
2737
+ "reason": null
2738
+ }
2739
+ },
2740
+ "modelsByUseCase": {
2741
+ "chat": [
2742
+ {
2743
+ "id": "demo-chat",
2744
+ "displayName": "示例对话模型",
2745
+ "modelType": "chat",
2746
+ "provider": "local_example",
2747
+ "available": true,
2748
+ "deprecated": false,
2749
+ "successor": null,
2750
+ "supportsTools": true,
2751
+ "supportsVision": false,
2752
+ "contextWindowTokens": 32768,
2753
+ "inputModalities": [
2754
+ "text"
2755
+ ],
2756
+ "outputModalities": [
2757
+ "text"
2758
+ ],
2759
+ "chatConfig": null,
2760
+ "metadata": null
2761
+ }
2762
+ ]
2763
+ },
2764
+ "defaultMappingsByUseCase": {},
2765
+ "models": [
2766
+ {
2767
+ "id": "demo-chat",
2768
+ "displayName": "示例对话模型",
2769
+ "modelType": "chat",
2770
+ "provider": "local_example",
2771
+ "available": true,
2772
+ "deprecated": false,
2773
+ "successor": null,
2774
+ "supportsTools": true,
2775
+ "supportsVision": false,
2776
+ "contextWindowTokens": 32768,
2777
+ "inputModalities": [
2778
+ "text"
2779
+ ],
2780
+ "outputModalities": [
2781
+ "text"
2782
+ ],
2783
+ "chatConfig": null,
2784
+ "metadata": null
2785
+ }
2786
+ ],
2787
+ "defaultChatMappings": [],
2788
+ "defaultImagenMapping": null,
2789
+ "defaultTtsMapping": null,
2790
+ "defaultAsrMapping": null,
2791
+ "defaultDecisionMapping": null,
2792
+ "nodeType": "llm",
2793
+ "nodeBound": true,
2794
+ "nodeOnline": false
2795
+ }
2796
+ ]
2797
+ },
2798
+ "status": "success",
2799
+ "essential": {
2800
+ "providerModels": [
2801
+ {
2802
+ "provider": "local_example",
2803
+ "models": [
2804
+ {
2805
+ "id": "demo-chat",
2806
+ "displayName": "示例对话模型",
2807
+ "modelType": "chat",
2808
+ "available": true,
2809
+ "deprecated": false,
2810
+ "successor": null,
2811
+ "supportsTools": true,
2812
+ "supportsVision": false,
2813
+ "contextWindowTokens": 32768,
2814
+ "inputModalities": [
2815
+ "text"
2816
+ ],
2817
+ "outputModalities": [
2818
+ "text"
2819
+ ],
2820
+ "generationControls": {
2821
+ "temperature": false,
2822
+ "thinking": false,
2823
+ "fastMode": false
2824
+ }
2825
+ }
2826
+ ]
2827
+ }
2828
+ ],
2829
+ "canUseLocalRuntime": true,
2830
+ "providers": [
2831
+ {
2832
+ "provider": "local_example",
2833
+ "displayName": "示例 Provider",
2834
+ "runtime": "local",
2835
+ "useCases": [
2836
+ "chat"
2837
+ ],
2838
+ "allowedAgentModes": {
2839
+ "chat": [
2840
+ "auto"
2841
+ ]
2842
+ },
2843
+ "authKind": "api_key",
2844
+ "requiresCredential": true,
2845
+ "hasCredential": false,
2846
+ "authenticated": true,
2847
+ "ready": false,
2848
+ "status": "login_required",
2849
+ "reason": "Login expired",
2850
+ "supportedUseCases": [
2851
+ "chat"
2852
+ ],
2853
+ "readinessByUseCase": {
2854
+ "chat": {
2855
+ "ready": true,
2856
+ "modelCount": 1,
2857
+ "reason": null
2858
+ }
2859
+ },
2860
+ "nodeType": "llm",
2861
+ "nodeBound": true,
2862
+ "nodeOnline": false
2863
+ }
2864
+ ]
2865
+ }
2866
+ },
2867
+ {
2868
+ "name": "agent-provider-cloud",
2869
+ "target": "/app/agent/llm/provider/list",
2870
+ "data": {
2871
+ "canUseLocalRuntime": false,
2872
+ "localProviderSetup": null,
2873
+ "providers": [
2874
+ {
2875
+ "provider": "cloud-example",
2876
+ "displayName": "Cloud Example",
2877
+ "runtime": "cloud",
2878
+ "modelSource": "cloud_bridge",
2879
+ "authKind": "none",
2880
+ "catalogProvider": "example",
2881
+ "executionProvider": "example",
2882
+ "useCases": [
2883
+ "chat"
2884
+ ],
2885
+ "allowedAgentModes": {
2886
+ "chat": [
2887
+ "auto"
2888
+ ]
2889
+ },
2890
+ "metadata": {
2891
+ "internal": "x"
2892
+ }
2893
+ }
2894
+ ],
2895
+ "providerModels": [
2896
+ {
2897
+ "provider": "cloud-example",
2898
+ "models": [
2899
+ {
2900
+ "id": "demo-chat",
2901
+ "displayName": "示例对话模型",
2902
+ "modelType": "chat",
2903
+ "available": true,
2904
+ "deprecated": false,
2905
+ "successor": null,
2906
+ "supportsTools": true,
2907
+ "supportsVision": false,
2908
+ "contextWindowTokens": 32768,
2909
+ "inputModalities": [
2910
+ "text"
2911
+ ],
2912
+ "outputModalities": [
2913
+ "text"
2914
+ ],
2915
+ "chatConfig": null,
2916
+ "metadata": {
2917
+ "internalProviderModelId": "do-not-copy"
2918
+ },
2919
+ "generationControls": {
2920
+ "temperature": true,
2921
+ "temperatureMax": 1.0,
2922
+ "thinking": false,
2923
+ "reasoningEfforts": [
2924
+ "low",
2925
+ "high"
2926
+ ],
2927
+ "reasoningEffortDefault": "high",
2928
+ "fastMode": true
2929
+ }
2930
+ }
2931
+ ]
2932
+ }
2933
+ ]
2934
+ },
2935
+ "status": "success",
2936
+ "essential": {
2937
+ "canUseLocalRuntime": false,
2938
+ "providers": [
2939
+ {
2940
+ "provider": "cloud-example",
2941
+ "displayName": "Cloud Example",
2942
+ "runtime": "cloud",
2943
+ "authKind": "none",
2944
+ "useCases": [
2945
+ "chat"
2946
+ ],
2947
+ "allowedAgentModes": {
2948
+ "chat": [
2949
+ "auto"
2950
+ ]
2951
+ }
2952
+ }
2953
+ ],
2954
+ "providerModels": [
2955
+ {
2956
+ "provider": "cloud-example",
2957
+ "models": [
2958
+ {
2959
+ "id": "demo-chat",
2960
+ "displayName": "示例对话模型",
2961
+ "modelType": "chat",
2962
+ "available": true,
2963
+ "deprecated": false,
2964
+ "successor": null,
2965
+ "supportsTools": true,
2966
+ "supportsVision": false,
2967
+ "contextWindowTokens": 32768,
2968
+ "inputModalities": [
2969
+ "text"
2970
+ ],
2971
+ "outputModalities": [
2972
+ "text"
2973
+ ],
2974
+ "generationControls": {
2975
+ "temperature": true,
2976
+ "temperatureMax": 1.0,
2977
+ "thinking": false,
2978
+ "reasoningEfforts": [
2979
+ "low",
2980
+ "high"
2981
+ ],
2982
+ "reasoningEffortDefault": "high",
2983
+ "fastMode": true
2984
+ }
2985
+ }
2986
+ ]
2987
+ }
2988
+ ]
2989
+ }
2990
+ },
2991
+ {
2992
+ "name": "agent-mappings",
2993
+ "target": "/app/agent/llm/mapping/list",
2994
+ "data": {
2995
+ "effectiveMappings": [
2996
+ {
2997
+ "temperature": null,
2998
+ "reasoningEffort": null,
2999
+ "thinking": null,
3000
+ "fastMode": null,
3001
+ "useCase": "chat",
3002
+ "agentModelMode": "auto",
3003
+ "provider": "local_example",
3004
+ "model": "demo-chat",
3005
+ "source": "override",
3006
+ "configuredModel": "demo-chat"
3007
+ }
3008
+ ],
3009
+ "selectedProviders": {
3010
+ "chat": "local_example"
3011
+ },
3012
+ "defaultProviders": [],
3013
+ "llmUseCases": [
3014
+ {
3015
+ "useCase": "chat",
3016
+ "displayName": "对话",
3017
+ "description": null,
3018
+ "ownerType": "system",
3019
+ "ownerId": "agent",
3020
+ "executionUseCase": "chat",
3021
+ "configurable": true,
3022
+ "active": true,
3023
+ "modes": [
3024
+ {
3025
+ "mode": "auto",
3026
+ "displayName": "自动",
3027
+ "description": null,
3028
+ "requirements": {
3029
+ "modelType": "chat",
3030
+ "requiredInputModalities": [
3031
+ "text"
3032
+ ],
3033
+ "optionalInputModalities": [],
3034
+ "requiredOutputModalities": [
3035
+ "text"
3036
+ ],
3037
+ "preferredFeatures": []
3038
+ }
3039
+ }
3040
+ ],
3041
+ "updatedAtMs": 1793059200000,
3042
+ "lastSeenAtMs": 1793059200000
3043
+ }
3044
+ ]
3045
+ },
3046
+ "status": "success",
3047
+ "essential": {
3048
+ "effectiveMappings": [
3049
+ {
3050
+ "temperature": null,
3051
+ "reasoningEffort": null,
3052
+ "thinking": null,
3053
+ "fastMode": null,
3054
+ "useCase": "chat",
3055
+ "agentModelMode": "auto",
3056
+ "provider": "local_example",
3057
+ "model": "demo-chat",
3058
+ "source": "override",
3059
+ "configuredModel": "demo-chat"
3060
+ }
3061
+ ],
3062
+ "selectedProviders": {
3063
+ "chat": "local_example"
3064
+ },
3065
+ "defaultProviders": [],
3066
+ "llmUseCases": [
3067
+ {
3068
+ "useCase": "chat",
3069
+ "displayName": "对话",
3070
+ "description": null,
3071
+ "configurable": true,
3072
+ "active": true,
3073
+ "modes": [
3074
+ {
3075
+ "mode": "auto",
3076
+ "displayName": "自动",
3077
+ "description": null,
3078
+ "requirements": {
3079
+ "modelType": "chat",
3080
+ "requiredInputModalities": [
3081
+ "text"
3082
+ ],
3083
+ "optionalInputModalities": [],
3084
+ "requiredOutputModalities": [
3085
+ "text"
3086
+ ],
3087
+ "preferredFeatures": []
3088
+ }
3089
+ }
3090
+ ]
3091
+ }
3092
+ ]
3093
+ }
3094
+ },
3095
+ {
3096
+ "name": "agent-session-default",
3097
+ "target": "/app/agent/session/get",
3098
+ "data": {
3099
+ "surfaceId": "cs1:cp:dXNlci1kZW1v",
3100
+ "idleTimeoutMinutes": 30,
3101
+ "version": 0,
3102
+ "source": "system",
3103
+ "updatedAtMs": null,
3104
+ "serverNowUnixMs": 1793059200000
3105
+ },
3106
+ "status": "success",
3107
+ "essential": {
3108
+ "idleTimeoutMinutes": 30,
3109
+ "source": "system"
3110
+ }
3111
+ },
3112
+ {
3113
+ "name": "agent-session-saved",
3114
+ "target": "/app/agent/session/save",
3115
+ "data": {
3116
+ "surfaceId": "cs1:cp:dXNlci1kZW1v",
3117
+ "idleTimeoutMinutes": 60,
3118
+ "version": 1,
3119
+ "source": "user",
3120
+ "updatedAtMs": 1793059260000,
3121
+ "serverNowUnixMs": 1793059260000
3122
+ },
3123
+ "status": "success",
3124
+ "essential": {
3125
+ "idleTimeoutMinutes": 60,
3126
+ "source": "user"
3127
+ }
3128
+ },
3129
+ {
3130
+ "name": "agent-memory-text",
3131
+ "target": "/app/agent/memory/get",
3132
+ "data": {
3133
+ "content": "客厅空调设定为 26°C 前先征求用户同意。"
3134
+ },
3135
+ "status": "success",
3136
+ "essential": {
3137
+ "content": "客厅空调设定为 26°C 前先征求用户同意。"
3138
+ }
3139
+ },
3140
+ {
3141
+ "name": "agent-identity-text",
3142
+ "target": "/app/agent/identity/get",
3143
+ "data": {
3144
+ "content": "使用中文,回答简洁。"
3145
+ },
3146
+ "status": "success",
3147
+ "essential": {
3148
+ "content": "使用中文,回答简洁。"
3149
+ }
3150
+ },
3151
+ {
3152
+ "name": "agent-llm-usage",
3153
+ "target": "/app/agent/llm/usage",
3154
+ "data": {
3155
+ "audience": "space",
3156
+ "timezone": "UTC",
3157
+ "fromDate": "2026-10-01",
3158
+ "toDate": "2026-10-27",
3159
+ "rows": [
3160
+ {
3161
+ "date": "2026-10-27",
3162
+ "provider": "local_example",
3163
+ "model": "demo-chat",
3164
+ "modelType": "chat",
3165
+ "inputTokens": 1200,
3166
+ "outputTokens": 300,
3167
+ "costMicros": 2400
3168
+ }
3169
+ ]
3170
+ },
3171
+ "status": "success",
3172
+ "essential": {
3173
+ "audience": "space",
3174
+ "timezone": "UTC",
3175
+ "fromDate": "2026-10-01",
3176
+ "toDate": "2026-10-27",
3177
+ "rows": [
3178
+ {
3179
+ "date": "2026-10-27",
3180
+ "provider": "local_example",
3181
+ "model": "demo-chat",
3182
+ "modelType": "chat",
3183
+ "inputTokens": 1200,
3184
+ "outputTokens": 300,
3185
+ "costMicros": 2400
3186
+ }
3187
+ ]
3188
+ }
3189
+ },
3190
+ {
3191
+ "name": "agent-llm-usage-unavailable",
3192
+ "target": "/app/agent/llm/usage",
3193
+ "data": {
3194
+ "available": false
3195
+ },
3196
+ "status": "success",
3197
+ "essential": {
3198
+ "available": false
3199
+ }
3200
+ },
3201
+ {
3202
+ "name": "agent-credit-usage",
3203
+ "target": "/app/agent/credit/usage",
3204
+ "data": {
3205
+ "audience": "space",
3206
+ "timezone": "UTC",
3207
+ "fromDate": "2026-10-01",
3208
+ "toDate": "2026-10-27",
3209
+ "trackedFrom": "2026-09-01T00:00:00Z",
3210
+ "rows": [
3211
+ {
3212
+ "date": "2026-10-27",
3213
+ "source": "agent",
3214
+ "credits": 120
3215
+ },
3216
+ {
3217
+ "date": "2026-10-27",
3218
+ "source": "automation",
3219
+ "credits": 30
3220
+ }
3221
+ ]
3222
+ },
3223
+ "status": "success",
3224
+ "essential": {
3225
+ "audience": "space",
3226
+ "timezone": "UTC",
3227
+ "fromDate": "2026-10-01",
3228
+ "toDate": "2026-10-27",
3229
+ "trackedFrom": "2026-09-01T00:00:00Z",
3230
+ "rows": [
3231
+ {
3232
+ "date": "2026-10-27",
3233
+ "source": "agent",
3234
+ "credits": 120
3235
+ },
3236
+ {
3237
+ "date": "2026-10-27",
3238
+ "source": "automation",
3239
+ "credits": 30
3240
+ }
3241
+ ]
3242
+ }
3243
+ },
3244
+ {
3245
+ "name": "agent-mapping-save",
3246
+ "target": "/app/agent/llm/mapping/save",
3247
+ "data": {
3248
+ "success": true
3249
+ },
3250
+ "status": "success",
3251
+ "essential": {
3252
+ "success": true
3253
+ }
3254
+ },
3255
+ {
3256
+ "name": "agent-identity-multiline",
3257
+ "target": "/app/agent/identity/get",
3258
+ "data": {
3259
+ "content": "# Preferences\n\n- Keep this complete.\n- Preserve indentation:\n second line\n"
3260
+ },
3261
+ "status": "success",
3262
+ "essential": {
3263
+ "content": "# Preferences\n\n- Keep this complete.\n- Preserve indentation:\n second line\n"
3264
+ }
3265
+ },
3266
+ {
3267
+ "name": "agent-memory-multiline",
3268
+ "target": "/app/agent/memory/get",
3269
+ "data": {
3270
+ "content": "# Preferences\n\n- Keep this complete.\n- Preserve indentation:\n second line\n"
3271
+ },
3272
+ "status": "success",
3273
+ "essential": {
3274
+ "content": "# Preferences\n\n- Keep this complete.\n- Preserve indentation:\n second line\n"
3275
+ }
3276
+ },
3277
+ {
3278
+ "name": "agent-llm-mode",
3279
+ "target": "/app/agent/mode/get",
3280
+ "data": {
3281
+ "llmMode": "local"
3282
+ },
3283
+ "status": "success",
3284
+ "essential": {
3285
+ "llmMode": "local"
3286
+ }
2145
3287
  }
2146
3288
  ]