@stina/extension-api 0.58.0 → 1.3.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.
@@ -64,7 +64,7 @@ declare const ExtensionManifestSchema: z.ZodObject<{
64
64
  }>>;
65
65
  platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["web", "electron", "tui"]>, "many">>;
66
66
  main: z.ZodString;
67
- permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "user.list", "user.location.read", "chat.history.read", "chat.current.read", "chat.message.write", "provider.register", "tools.register", "tools.list", "tools.execute", "actions.register", "settings.register", "commands.register", "panels.register", "events.emit", "scheduler.register", "background.workers", "files.read", "files.write", "clipboard.read", "clipboard.write"]>, z.ZodString]>, "many">;
67
+ permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "user.list", "user.location.read", "chat.history.read", "chat.current.read", "chat.message.write", "provider.register", "tools.register", "tools.list", "tools.execute", "actions.register", "settings.register", "commands.register", "panels.register", "statusCards.register", "events.emit", "scheduler.register", "background.workers", "files.read", "files.write", "clipboard.read", "clipboard.write"]>, z.ZodString]>, "many">;
68
68
  contributes: z.ZodOptional<z.ZodObject<{
69
69
  toolSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
70
70
  id: z.ZodString;
@@ -440,6 +440,97 @@ declare const ExtensionManifestSchema: z.ZodObject<{
440
440
  }, z.ZodTypeAny, "passthrough">;
441
441
  icon?: string | undefined;
442
442
  }>, "many">>;
443
+ statusCards: z.ZodOptional<z.ZodArray<z.ZodObject<{
444
+ id: z.ZodString;
445
+ title: z.ZodString;
446
+ icon: z.ZodOptional<z.ZodString>;
447
+ size: z.ZodEnum<["line", "block"]>;
448
+ view: z.ZodObject<{
449
+ kind: z.ZodLiteral<"component">;
450
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
451
+ action: z.ZodString;
452
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
453
+ refreshOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ action: string;
456
+ params?: Record<string, unknown> | undefined;
457
+ refreshOn?: string[] | undefined;
458
+ }, {
459
+ action: string;
460
+ params?: Record<string, unknown> | undefined;
461
+ refreshOn?: string[] | undefined;
462
+ }>>>;
463
+ content: z.ZodType<{
464
+ [key: string]: unknown;
465
+ component: string;
466
+ style?: Record<string, string>;
467
+ }, z.ZodTypeDef, {
468
+ [key: string]: unknown;
469
+ component: string;
470
+ style?: Record<string, string>;
471
+ }>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ content: {
474
+ [key: string]: unknown;
475
+ component: string;
476
+ style?: Record<string, string>;
477
+ };
478
+ kind: "component";
479
+ data?: Record<string, {
480
+ action: string;
481
+ params?: Record<string, unknown> | undefined;
482
+ refreshOn?: string[] | undefined;
483
+ }> | undefined;
484
+ }, {
485
+ content: {
486
+ [key: string]: unknown;
487
+ component: string;
488
+ style?: Record<string, string>;
489
+ };
490
+ kind: "component";
491
+ data?: Record<string, {
492
+ action: string;
493
+ params?: Record<string, unknown> | undefined;
494
+ refreshOn?: string[] | undefined;
495
+ }> | undefined;
496
+ }>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ title: string;
499
+ id: string;
500
+ view: {
501
+ content: {
502
+ [key: string]: unknown;
503
+ component: string;
504
+ style?: Record<string, string>;
505
+ };
506
+ kind: "component";
507
+ data?: Record<string, {
508
+ action: string;
509
+ params?: Record<string, unknown> | undefined;
510
+ refreshOn?: string[] | undefined;
511
+ }> | undefined;
512
+ };
513
+ size: "line" | "block";
514
+ icon?: string | undefined;
515
+ }, {
516
+ title: string;
517
+ id: string;
518
+ view: {
519
+ content: {
520
+ [key: string]: unknown;
521
+ component: string;
522
+ style?: Record<string, string>;
523
+ };
524
+ kind: "component";
525
+ data?: Record<string, {
526
+ action: string;
527
+ params?: Record<string, unknown> | undefined;
528
+ refreshOn?: string[] | undefined;
529
+ }> | undefined;
530
+ };
531
+ size: "line" | "block";
532
+ icon?: string | undefined;
533
+ }>, "many">>;
443
534
  providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
444
535
  id: z.ZodString;
445
536
  name: z.ZodString;
@@ -647,6 +738,25 @@ declare const ExtensionManifestSchema: z.ZodObject<{
647
738
  }, z.ZodTypeAny, "passthrough">;
648
739
  icon?: string | undefined;
649
740
  }[] | undefined;
741
+ statusCards?: {
742
+ title: string;
743
+ id: string;
744
+ view: {
745
+ content: {
746
+ [key: string]: unknown;
747
+ component: string;
748
+ style?: Record<string, string>;
749
+ };
750
+ kind: "component";
751
+ data?: Record<string, {
752
+ action: string;
753
+ params?: Record<string, unknown> | undefined;
754
+ refreshOn?: string[] | undefined;
755
+ }> | undefined;
756
+ };
757
+ size: "line" | "block";
758
+ icon?: string | undefined;
759
+ }[] | undefined;
650
760
  providers?: {
651
761
  name: string;
652
762
  id: string;
@@ -756,6 +866,25 @@ declare const ExtensionManifestSchema: z.ZodObject<{
756
866
  }, z.ZodTypeAny, "passthrough">;
757
867
  icon?: string | undefined;
758
868
  }[] | undefined;
869
+ statusCards?: {
870
+ title: string;
871
+ id: string;
872
+ view: {
873
+ content: {
874
+ [key: string]: unknown;
875
+ component: string;
876
+ style?: Record<string, string>;
877
+ };
878
+ kind: "component";
879
+ data?: Record<string, {
880
+ action: string;
881
+ params?: Record<string, unknown> | undefined;
882
+ refreshOn?: string[] | undefined;
883
+ }> | undefined;
884
+ };
885
+ size: "line" | "block";
886
+ icon?: string | undefined;
887
+ }[] | undefined;
759
888
  providers?: {
760
889
  name: string;
761
890
  id: string;
@@ -884,6 +1013,25 @@ declare const ExtensionManifestSchema: z.ZodObject<{
884
1013
  }, z.ZodTypeAny, "passthrough">;
885
1014
  icon?: string | undefined;
886
1015
  }[] | undefined;
1016
+ statusCards?: {
1017
+ title: string;
1018
+ id: string;
1019
+ view: {
1020
+ content: {
1021
+ [key: string]: unknown;
1022
+ component: string;
1023
+ style?: Record<string, string>;
1024
+ };
1025
+ kind: "component";
1026
+ data?: Record<string, {
1027
+ action: string;
1028
+ params?: Record<string, unknown> | undefined;
1029
+ refreshOn?: string[] | undefined;
1030
+ }> | undefined;
1031
+ };
1032
+ size: "line" | "block";
1033
+ icon?: string | undefined;
1034
+ }[] | undefined;
887
1035
  providers?: {
888
1036
  name: string;
889
1037
  id: string;
@@ -1012,6 +1160,25 @@ declare const ExtensionManifestSchema: z.ZodObject<{
1012
1160
  }, z.ZodTypeAny, "passthrough">;
1013
1161
  icon?: string | undefined;
1014
1162
  }[] | undefined;
1163
+ statusCards?: {
1164
+ title: string;
1165
+ id: string;
1166
+ view: {
1167
+ content: {
1168
+ [key: string]: unknown;
1169
+ component: string;
1170
+ style?: Record<string, string>;
1171
+ };
1172
+ kind: "component";
1173
+ data?: Record<string, {
1174
+ action: string;
1175
+ params?: Record<string, unknown> | undefined;
1176
+ refreshOn?: string[] | undefined;
1177
+ }> | undefined;
1178
+ };
1179
+ size: "line" | "block";
1180
+ icon?: string | undefined;
1181
+ }[] | undefined;
1015
1182
  providers?: {
1016
1183
  name: string;
1017
1184
  id: string;
@@ -1061,7 +1228,7 @@ type ExtensionManifest = z.infer<typeof ExtensionManifestSchema>;
1061
1228
  /**
1062
1229
  * Valid exact permission values
1063
1230
  */
1064
- declare const VALID_PERMISSIONS: readonly ["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "user.list", "user.location.read", "chat.history.read", "chat.current.read", "chat.message.write", "provider.register", "tools.register", "tools.list", "tools.execute", "actions.register", "settings.register", "commands.register", "panels.register", "events.emit", "scheduler.register", "background.workers", "files.read", "files.write", "clipboard.read", "clipboard.write"];
1231
+ declare const VALID_PERMISSIONS: readonly ["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "user.list", "user.location.read", "chat.history.read", "chat.current.read", "chat.message.write", "provider.register", "tools.register", "tools.list", "tools.execute", "actions.register", "settings.register", "commands.register", "panels.register", "statusCards.register", "events.emit", "scheduler.register", "background.workers", "files.read", "files.write", "clipboard.read", "clipboard.write"];
1065
1232
  /**
1066
1233
  * Permission patterns for dynamic permissions (network with host/port)
1067
1234
  */
@@ -1081,7 +1248,7 @@ declare const UserDataPermissionSchema: z.ZodEnum<["user.profile.read", "user.li
1081
1248
  /**
1082
1249
  * Capability permission schema
1083
1250
  */
1084
- declare const CapabilityPermissionSchema: z.ZodEnum<["provider.register", "tools.register", "tools.list", "tools.execute", "actions.register", "settings.register", "commands.register", "panels.register", "events.emit", "scheduler.register", "chat.message.write", "background.workers"]>;
1251
+ declare const CapabilityPermissionSchema: z.ZodEnum<["provider.register", "tools.register", "tools.list", "tools.execute", "actions.register", "settings.register", "commands.register", "panels.register", "statusCards.register", "events.emit", "scheduler.register", "chat.message.write", "background.workers"]>;
1085
1252
  /**
1086
1253
  * System permission schema
1087
1254
  */
@@ -1090,7 +1257,7 @@ declare const SystemPermissionSchema: z.ZodEnum<["files.read", "files.write", "c
1090
1257
  * Combined permission schema - validates against all permission types
1091
1258
  * Uses z.union with z.enum and z.string().regex() for better JSON Schema generation
1092
1259
  */
1093
- declare const PermissionSchema: z.ZodUnion<[z.ZodEnum<["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "user.list", "user.location.read", "chat.history.read", "chat.current.read", "chat.message.write", "provider.register", "tools.register", "tools.list", "tools.execute", "actions.register", "settings.register", "commands.register", "panels.register", "events.emit", "scheduler.register", "background.workers", "files.read", "files.write", "clipboard.read", "clipboard.write"]>, z.ZodString]>;
1260
+ declare const PermissionSchema: z.ZodUnion<[z.ZodEnum<["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "user.list", "user.location.read", "chat.history.read", "chat.current.read", "chat.message.write", "provider.register", "tools.register", "tools.list", "tools.execute", "actions.register", "settings.register", "commands.register", "panels.register", "statusCards.register", "events.emit", "scheduler.register", "background.workers", "files.read", "files.write", "clipboard.read", "clipboard.write"]>, z.ZodString]>;
1094
1261
  /**
1095
1262
  * Check if a permission string is valid
1096
1263
  */
@@ -2050,6 +2217,106 @@ declare const PanelDefinitionSchema: z.ZodObject<{
2050
2217
  }, z.ZodTypeAny, "passthrough">;
2051
2218
  icon?: string | undefined;
2052
2219
  }>;
2220
+ /**
2221
+ * A card for the strip above the conversation list.
2222
+ *
2223
+ * Deliberately the panel's component view rather than a profile of its own: a
2224
+ * card and a panel are the same declarative idea at two sizes, and a second
2225
+ * vocabulary would be a second thing to keep in step. `size` is what makes it a
2226
+ * card, and it is checked rather than suggested because the sidebar is a few
2227
+ * hundred pixels wide.
2228
+ */
2229
+ declare const StatusCardDefinitionSchema: z.ZodObject<{
2230
+ id: z.ZodString;
2231
+ title: z.ZodString;
2232
+ icon: z.ZodOptional<z.ZodString>;
2233
+ size: z.ZodEnum<["line", "block"]>;
2234
+ view: z.ZodObject<{
2235
+ kind: z.ZodLiteral<"component">;
2236
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2237
+ action: z.ZodString;
2238
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2239
+ refreshOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2240
+ }, "strip", z.ZodTypeAny, {
2241
+ action: string;
2242
+ params?: Record<string, unknown> | undefined;
2243
+ refreshOn?: string[] | undefined;
2244
+ }, {
2245
+ action: string;
2246
+ params?: Record<string, unknown> | undefined;
2247
+ refreshOn?: string[] | undefined;
2248
+ }>>>;
2249
+ content: z.ZodType<{
2250
+ [key: string]: unknown;
2251
+ component: string;
2252
+ style?: Record<string, string>;
2253
+ }, z.ZodTypeDef, {
2254
+ [key: string]: unknown;
2255
+ component: string;
2256
+ style?: Record<string, string>;
2257
+ }>;
2258
+ }, "strip", z.ZodTypeAny, {
2259
+ content: {
2260
+ [key: string]: unknown;
2261
+ component: string;
2262
+ style?: Record<string, string>;
2263
+ };
2264
+ kind: "component";
2265
+ data?: Record<string, {
2266
+ action: string;
2267
+ params?: Record<string, unknown> | undefined;
2268
+ refreshOn?: string[] | undefined;
2269
+ }> | undefined;
2270
+ }, {
2271
+ content: {
2272
+ [key: string]: unknown;
2273
+ component: string;
2274
+ style?: Record<string, string>;
2275
+ };
2276
+ kind: "component";
2277
+ data?: Record<string, {
2278
+ action: string;
2279
+ params?: Record<string, unknown> | undefined;
2280
+ refreshOn?: string[] | undefined;
2281
+ }> | undefined;
2282
+ }>;
2283
+ }, "strip", z.ZodTypeAny, {
2284
+ title: string;
2285
+ id: string;
2286
+ view: {
2287
+ content: {
2288
+ [key: string]: unknown;
2289
+ component: string;
2290
+ style?: Record<string, string>;
2291
+ };
2292
+ kind: "component";
2293
+ data?: Record<string, {
2294
+ action: string;
2295
+ params?: Record<string, unknown> | undefined;
2296
+ refreshOn?: string[] | undefined;
2297
+ }> | undefined;
2298
+ };
2299
+ size: "line" | "block";
2300
+ icon?: string | undefined;
2301
+ }, {
2302
+ title: string;
2303
+ id: string;
2304
+ view: {
2305
+ content: {
2306
+ [key: string]: unknown;
2307
+ component: string;
2308
+ style?: Record<string, string>;
2309
+ };
2310
+ kind: "component";
2311
+ data?: Record<string, {
2312
+ action: string;
2313
+ params?: Record<string, unknown> | undefined;
2314
+ refreshOn?: string[] | undefined;
2315
+ }> | undefined;
2316
+ };
2317
+ size: "line" | "block";
2318
+ icon?: string | undefined;
2319
+ }>;
2053
2320
  /**
2054
2321
  * Component-tree-based provider config view.
2055
2322
  */
@@ -2583,6 +2850,97 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2583
2850
  }, z.ZodTypeAny, "passthrough">;
2584
2851
  icon?: string | undefined;
2585
2852
  }>, "many">>;
2853
+ statusCards: z.ZodOptional<z.ZodArray<z.ZodObject<{
2854
+ id: z.ZodString;
2855
+ title: z.ZodString;
2856
+ icon: z.ZodOptional<z.ZodString>;
2857
+ size: z.ZodEnum<["line", "block"]>;
2858
+ view: z.ZodObject<{
2859
+ kind: z.ZodLiteral<"component">;
2860
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2861
+ action: z.ZodString;
2862
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2863
+ refreshOn: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2864
+ }, "strip", z.ZodTypeAny, {
2865
+ action: string;
2866
+ params?: Record<string, unknown> | undefined;
2867
+ refreshOn?: string[] | undefined;
2868
+ }, {
2869
+ action: string;
2870
+ params?: Record<string, unknown> | undefined;
2871
+ refreshOn?: string[] | undefined;
2872
+ }>>>;
2873
+ content: z.ZodType<{
2874
+ [key: string]: unknown;
2875
+ component: string;
2876
+ style?: Record<string, string>;
2877
+ }, z.ZodTypeDef, {
2878
+ [key: string]: unknown;
2879
+ component: string;
2880
+ style?: Record<string, string>;
2881
+ }>;
2882
+ }, "strip", z.ZodTypeAny, {
2883
+ content: {
2884
+ [key: string]: unknown;
2885
+ component: string;
2886
+ style?: Record<string, string>;
2887
+ };
2888
+ kind: "component";
2889
+ data?: Record<string, {
2890
+ action: string;
2891
+ params?: Record<string, unknown> | undefined;
2892
+ refreshOn?: string[] | undefined;
2893
+ }> | undefined;
2894
+ }, {
2895
+ content: {
2896
+ [key: string]: unknown;
2897
+ component: string;
2898
+ style?: Record<string, string>;
2899
+ };
2900
+ kind: "component";
2901
+ data?: Record<string, {
2902
+ action: string;
2903
+ params?: Record<string, unknown> | undefined;
2904
+ refreshOn?: string[] | undefined;
2905
+ }> | undefined;
2906
+ }>;
2907
+ }, "strip", z.ZodTypeAny, {
2908
+ title: string;
2909
+ id: string;
2910
+ view: {
2911
+ content: {
2912
+ [key: string]: unknown;
2913
+ component: string;
2914
+ style?: Record<string, string>;
2915
+ };
2916
+ kind: "component";
2917
+ data?: Record<string, {
2918
+ action: string;
2919
+ params?: Record<string, unknown> | undefined;
2920
+ refreshOn?: string[] | undefined;
2921
+ }> | undefined;
2922
+ };
2923
+ size: "line" | "block";
2924
+ icon?: string | undefined;
2925
+ }, {
2926
+ title: string;
2927
+ id: string;
2928
+ view: {
2929
+ content: {
2930
+ [key: string]: unknown;
2931
+ component: string;
2932
+ style?: Record<string, string>;
2933
+ };
2934
+ kind: "component";
2935
+ data?: Record<string, {
2936
+ action: string;
2937
+ params?: Record<string, unknown> | undefined;
2938
+ refreshOn?: string[] | undefined;
2939
+ }> | undefined;
2940
+ };
2941
+ size: "line" | "block";
2942
+ icon?: string | undefined;
2943
+ }>, "many">>;
2586
2944
  providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2587
2945
  id: z.ZodString;
2588
2946
  name: z.ZodString;
@@ -2790,6 +3148,25 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2790
3148
  }, z.ZodTypeAny, "passthrough">;
2791
3149
  icon?: string | undefined;
2792
3150
  }[] | undefined;
3151
+ statusCards?: {
3152
+ title: string;
3153
+ id: string;
3154
+ view: {
3155
+ content: {
3156
+ [key: string]: unknown;
3157
+ component: string;
3158
+ style?: Record<string, string>;
3159
+ };
3160
+ kind: "component";
3161
+ data?: Record<string, {
3162
+ action: string;
3163
+ params?: Record<string, unknown> | undefined;
3164
+ refreshOn?: string[] | undefined;
3165
+ }> | undefined;
3166
+ };
3167
+ size: "line" | "block";
3168
+ icon?: string | undefined;
3169
+ }[] | undefined;
2793
3170
  providers?: {
2794
3171
  name: string;
2795
3172
  id: string;
@@ -2899,6 +3276,25 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2899
3276
  }, z.ZodTypeAny, "passthrough">;
2900
3277
  icon?: string | undefined;
2901
3278
  }[] | undefined;
3279
+ statusCards?: {
3280
+ title: string;
3281
+ id: string;
3282
+ view: {
3283
+ content: {
3284
+ [key: string]: unknown;
3285
+ component: string;
3286
+ style?: Record<string, string>;
3287
+ };
3288
+ kind: "component";
3289
+ data?: Record<string, {
3290
+ action: string;
3291
+ params?: Record<string, unknown> | undefined;
3292
+ refreshOn?: string[] | undefined;
3293
+ }> | undefined;
3294
+ };
3295
+ size: "line" | "block";
3296
+ icon?: string | undefined;
3297
+ }[] | undefined;
2902
3298
  providers?: {
2903
3299
  name: string;
2904
3300
  id: string;
@@ -2932,6 +3328,7 @@ declare const ExtensionContributionsSchema: z.ZodObject<{
2932
3328
  }>;
2933
3329
  } | undefined;
2934
3330
  }>;
3331
+ type StatusCardDefinition = z.infer<typeof StatusCardDefinitionSchema>;
2935
3332
  type LocalizedString = z.infer<typeof LocalizedStringSchema>;
2936
3333
  type ToolSettingsListMapping = z.infer<typeof ToolSettingsListMappingSchema>;
2937
3334
  type ToolSettingsActionDataSource = z.infer<typeof ToolSettingsActionDataSourceSchema>;
@@ -3124,6 +3521,16 @@ declare const LabelPropsSchema: z.ZodObject<{
3124
3521
  text: z.ZodString;
3125
3522
  style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
3126
3523
  }, z.ZodTypeAny, "passthrough">>;
3524
+ declare const ClockPropsSchema: z.ZodObject<{
3525
+ component: z.ZodLiteral<"Clock">;
3526
+ style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
3527
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3528
+ component: z.ZodLiteral<"Clock">;
3529
+ style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
3530
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3531
+ component: z.ZodLiteral<"Clock">;
3532
+ style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
3533
+ }, z.ZodTypeAny, "passthrough">>;
3127
3534
  declare const ParagraphPropsSchema: z.ZodObject<{
3128
3535
  component: z.ZodLiteral<"Paragraph">;
3129
3536
  text: z.ZodString;
@@ -5175,6 +5582,48 @@ declare const StatTilePropsSchema: z.ZodObject<{
5175
5582
  trendIsGood: z.ZodOptional<z.ZodBoolean>;
5176
5583
  style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
5177
5584
  }, z.ZodTypeAny, "passthrough">>;
5585
+ declare const ProgressShapeSchema: z.ZodEnum<["bar", "circle"]>;
5586
+ declare const ProgressColorSchema: z.ZodEnum<["accent", "success", "warning", "danger", "info", "neutral"]>;
5587
+ declare const ProgressBarPropsSchema: z.ZodObject<{
5588
+ component: z.ZodLiteral<"ProgressBar">;
5589
+ label: z.ZodString;
5590
+ value: z.ZodNumber;
5591
+ min: z.ZodOptional<z.ZodNumber>;
5592
+ max: z.ZodOptional<z.ZodNumber>;
5593
+ shape: z.ZodOptional<z.ZodEnum<["bar", "circle"]>>;
5594
+ color: z.ZodOptional<z.ZodEnum<["accent", "success", "warning", "danger", "info", "neutral"]>>;
5595
+ unit: z.ZodOptional<z.ZodString>;
5596
+ valueLabel: z.ZodOptional<z.ZodString>;
5597
+ caption: z.ZodOptional<z.ZodString>;
5598
+ icon: z.ZodOptional<z.ZodString>;
5599
+ style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
5600
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5601
+ component: z.ZodLiteral<"ProgressBar">;
5602
+ label: z.ZodString;
5603
+ value: z.ZodNumber;
5604
+ min: z.ZodOptional<z.ZodNumber>;
5605
+ max: z.ZodOptional<z.ZodNumber>;
5606
+ shape: z.ZodOptional<z.ZodEnum<["bar", "circle"]>>;
5607
+ color: z.ZodOptional<z.ZodEnum<["accent", "success", "warning", "danger", "info", "neutral"]>>;
5608
+ unit: z.ZodOptional<z.ZodString>;
5609
+ valueLabel: z.ZodOptional<z.ZodString>;
5610
+ caption: z.ZodOptional<z.ZodString>;
5611
+ icon: z.ZodOptional<z.ZodString>;
5612
+ style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
5613
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5614
+ component: z.ZodLiteral<"ProgressBar">;
5615
+ label: z.ZodString;
5616
+ value: z.ZodNumber;
5617
+ min: z.ZodOptional<z.ZodNumber>;
5618
+ max: z.ZodOptional<z.ZodNumber>;
5619
+ shape: z.ZodOptional<z.ZodEnum<["bar", "circle"]>>;
5620
+ color: z.ZodOptional<z.ZodEnum<["accent", "success", "warning", "danger", "info", "neutral"]>>;
5621
+ unit: z.ZodOptional<z.ZodString>;
5622
+ valueLabel: z.ZodOptional<z.ZodString>;
5623
+ caption: z.ZodOptional<z.ZodString>;
5624
+ icon: z.ZodOptional<z.ZodString>;
5625
+ style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
5626
+ }, z.ZodTypeAny, "passthrough">>;
5178
5627
  declare const KeyValueRowSchema: z.ZodObject<{
5179
5628
  label: z.ZodString;
5180
5629
  value: z.ZodString;
@@ -5488,6 +5937,7 @@ type ConditionalGroupProps = z.infer<typeof ConditionalGroupPropsSchema>;
5488
5937
  type FrameVariant = z.infer<typeof FrameVariantSchema>;
5489
5938
  type FrameProps = z.infer<typeof FramePropsSchema>;
5490
5939
  type ListProps = z.infer<typeof ListPropsSchema>;
5940
+ type ClockProps = z.infer<typeof ClockPropsSchema>;
5491
5941
 
5492
5942
  /**
5493
5943
  * Chat Card Schema
@@ -5525,7 +5975,20 @@ type ChatCardComponent = {
5525
5975
  [key: string]: unknown;
5526
5976
  };
5527
5977
  /** Every component name a card may use. Exported so the docs and the tool description stay in step. */
5528
- declare const CHAT_CARD_COMPONENTS: readonly ["VerticalStack", "HorizontalStack", "Grid", "Frame", "List", "Divider", "Header", "Label", "Paragraph", "Markdown", "Icon", "Pill", "WeatherNow", "WeatherForecast", "Chart", "StatTile", "KeyValueList", "Timeline", "Note", "CalendarEvent"];
5978
+ declare const CHAT_CARD_COMPONENTS: readonly ["VerticalStack", "HorizontalStack", "Grid", "Frame", "List", "Divider", "Header", "Label", "Paragraph", "Markdown", "Icon", "Pill", "WeatherNow", "WeatherForecast", "Chart", "StatTile", "ProgressBar", "KeyValueList", "Timeline", "Note", "CalendarEvent"];
5979
+ /**
5980
+ * The properties each card component accepts, read off the schemas themselves.
5981
+ *
5982
+ * Derived rather than listed, for the same reason `describeChatCardProfile`
5983
+ * is: a hand-kept copy of this drifts, and a drifted copy rejects components
5984
+ * that are in fact legal.
5985
+ *
5986
+ * Used by profiles that validate a card *template* rather than a finished card
5987
+ * — the status card, whose leaves are references to data that does not exist
5988
+ * yet and so cannot be type-checked by these schemas. They can still be held to
5989
+ * this vocabulary, which is what catches a property the model invented.
5990
+ */
5991
+ declare const CHAT_CARD_PROPS: Readonly<Record<string, readonly string[]>>;
5529
5992
  /**
5530
5993
  * One component of a chat card.
5531
5994
  *
@@ -5566,4 +6029,4 @@ declare function validateChatCard(card: unknown): ChatCardValidation;
5566
6029
  */
5567
6030
  declare function describeChatCardProfile(): string;
5568
6031
 
5569
- export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, CHAT_CARD_COMPONENTS, CalendarEventPropsSchema, CalendarEventStatusSchema, type CapabilityPermission, CapabilityPermissionSchema, ChartKindSchema, ChartPropsSchema, ChartSeriesSchema, type ChatCardComponent, ChatCardComponentSchema, ChatCardSchema, type ChatCardValidation, type CheckboxProps, CheckboxPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, type GridProps, GridPropsSchema, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, KeyValueListPropsSchema, KeyValueRowSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, NotePropsSchema, NoteVariantSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, StatTilePropsSchema, StatTrendSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, TimelineEntrySchema, TimelinePropsSchema, TimelineVariantSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListGroupBy, ToolSettingsListGroupBySchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, WeatherConditionSchema, WeatherForecastPropsSchema, WeatherForecastStepSchema, WeatherNowPropsSchema, WeatherWindSchema, describeChatCardProfile, isValidPermission, validateChatCard };
6032
+ export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, CHAT_CARD_COMPONENTS, CHAT_CARD_PROPS, CalendarEventPropsSchema, CalendarEventStatusSchema, type CapabilityPermission, CapabilityPermissionSchema, ChartKindSchema, ChartPropsSchema, ChartSeriesSchema, type ChatCardComponent, ChatCardComponentSchema, ChatCardSchema, type ChatCardValidation, type CheckboxProps, CheckboxPropsSchema, type ClockProps, ClockPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, type GridProps, GridPropsSchema, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, KeyValueListPropsSchema, KeyValueRowSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, NotePropsSchema, NoteVariantSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, ProgressBarPropsSchema, ProgressColorSchema, ProgressShapeSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, StatTilePropsSchema, StatTrendSchema, type StatusCardDefinition, StatusCardDefinitionSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, TimelineEntrySchema, TimelinePropsSchema, TimelineVariantSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListGroupBy, ToolSettingsListGroupBySchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, WeatherConditionSchema, WeatherForecastPropsSchema, WeatherForecastStepSchema, WeatherNowPropsSchema, WeatherWindSchema, describeChatCardProfile, isValidPermission, validateChatCard };