@stina/extension-api 0.28.1 → 0.29.0-alpha.d59ea54

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.
@@ -2145,7 +2145,7 @@ declare const ExtensionManifestSchema: z.ZodObject<{
2145
2145
  }>>;
2146
2146
  platforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["web", "electron", "tui"]>, "many">>;
2147
2147
  main: z.ZodString;
2148
- permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "user.location.read", "chat.history.read", "chat.current.read", "chat.message.write", "provider.register", "tools.register", "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">;
2148
+ permissions: z.ZodArray<z.ZodUnion<[z.ZodEnum<["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "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">;
2149
2149
  contributes: z.ZodOptional<z.ZodObject<{
2150
2150
  settings: z.ZodOptional<z.ZodArray<z.ZodType<SettingDefinitionType, z.ZodTypeDef, SettingDefinitionType>, "many">>;
2151
2151
  toolSettings: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3191,7 +3191,7 @@ type ExtensionManifest = z.infer<typeof ExtensionManifestSchema>;
3191
3191
  /**
3192
3192
  * Valid exact permission values
3193
3193
  */
3194
- declare const VALID_PERMISSIONS: readonly ["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "user.location.read", "chat.history.read", "chat.current.read", "chat.message.write", "provider.register", "tools.register", "actions.register", "settings.register", "commands.register", "panels.register", "events.emit", "scheduler.register", "background.workers", "files.read", "files.write", "clipboard.read", "clipboard.write"];
3194
+ declare const VALID_PERMISSIONS: readonly ["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "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"];
3195
3195
  /**
3196
3196
  * Permission patterns for dynamic permissions (network with host/port)
3197
3197
  */
@@ -3211,7 +3211,7 @@ declare const UserDataPermissionSchema: z.ZodEnum<["user.profile.read", "user.lo
3211
3211
  /**
3212
3212
  * Capability permission schema
3213
3213
  */
3214
- declare const CapabilityPermissionSchema: z.ZodEnum<["provider.register", "tools.register", "actions.register", "settings.register", "commands.register", "panels.register", "events.emit", "scheduler.register", "chat.message.write", "background.workers"]>;
3214
+ 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"]>;
3215
3215
  /**
3216
3216
  * System permission schema
3217
3217
  */
@@ -3220,7 +3220,7 @@ declare const SystemPermissionSchema: z.ZodEnum<["files.read", "files.write", "c
3220
3220
  * Combined permission schema - validates against all permission types
3221
3221
  * Uses z.union with z.enum and z.string().regex() for better JSON Schema generation
3222
3222
  */
3223
- declare const PermissionSchema: z.ZodUnion<[z.ZodEnum<["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "user.location.read", "chat.history.read", "chat.current.read", "chat.message.write", "provider.register", "tools.register", "actions.register", "settings.register", "commands.register", "panels.register", "events.emit", "scheduler.register", "background.workers", "files.read", "files.write", "clipboard.read", "clipboard.write"]>, z.ZodString]>;
3223
+ declare const PermissionSchema: z.ZodUnion<[z.ZodEnum<["network:*", "network:localhost", "storage.collections", "secrets.manage", "user.profile.read", "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]>;
3224
3224
  /**
3225
3225
  * Check if a permission string is valid
3226
3226
  */
@@ -4490,6 +4490,22 @@ declare const MarkdownPropsSchema: z.ZodObject<{
4490
4490
  content: z.ZodString;
4491
4491
  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>>;
4492
4492
  }, z.ZodTypeAny, "passthrough">>;
4493
+ declare const TextPreviewPropsSchema: z.ZodObject<{
4494
+ component: z.ZodLiteral<"TextPreview">;
4495
+ content: z.ZodString;
4496
+ maxLines: z.ZodOptional<z.ZodNumber>;
4497
+ 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>>;
4498
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4499
+ component: z.ZodLiteral<"TextPreview">;
4500
+ content: z.ZodString;
4501
+ maxLines: z.ZodOptional<z.ZodNumber>;
4502
+ 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>>;
4503
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4504
+ component: z.ZodLiteral<"TextPreview">;
4505
+ content: z.ZodString;
4506
+ maxLines: z.ZodOptional<z.ZodNumber>;
4507
+ 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>>;
4508
+ }, z.ZodTypeAny, "passthrough">>;
4493
4509
  declare const ModalPropsSchema: z.ZodObject<{
4494
4510
  component: z.ZodLiteral<"Modal">;
4495
4511
  title: z.ZodString;
@@ -4717,6 +4733,372 @@ declare const ConditionalGroupPropsSchema: z.ZodObject<{
4717
4733
  }>]>;
4718
4734
  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>>;
4719
4735
  }, z.ZodTypeAny, "passthrough">>;
4736
+ declare const FrameVariantSchema: z.ZodEnum<["border", "solid"]>;
4737
+ declare const FramePropsSchema: z.ZodObject<{
4738
+ component: z.ZodLiteral<"Frame">;
4739
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodType<{
4740
+ [key: string]: unknown;
4741
+ component: string;
4742
+ style?: Record<string, string>;
4743
+ }, z.ZodTypeDef, {
4744
+ [key: string]: unknown;
4745
+ component: string;
4746
+ style?: Record<string, string>;
4747
+ }>, "many">, z.ZodObject<{
4748
+ each: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>;
4749
+ as: z.ZodString;
4750
+ items: z.ZodArray<z.ZodType<{
4751
+ [key: string]: unknown;
4752
+ component: string;
4753
+ style?: Record<string, string>;
4754
+ }, z.ZodTypeDef, {
4755
+ [key: string]: unknown;
4756
+ component: string;
4757
+ style?: Record<string, string>;
4758
+ }>, "many">;
4759
+ }, "strip", z.ZodTypeAny, {
4760
+ each: string | unknown[];
4761
+ as: string;
4762
+ items: {
4763
+ [key: string]: unknown;
4764
+ component: string;
4765
+ style?: Record<string, string>;
4766
+ }[];
4767
+ }, {
4768
+ each: string | unknown[];
4769
+ as: string;
4770
+ items: {
4771
+ [key: string]: unknown;
4772
+ component: string;
4773
+ style?: Record<string, string>;
4774
+ }[];
4775
+ }>]>]>>;
4776
+ icon: z.ZodOptional<z.ZodString>;
4777
+ collapsible: z.ZodOptional<z.ZodBoolean>;
4778
+ defaultExpanded: z.ZodOptional<z.ZodBoolean>;
4779
+ variant: z.ZodOptional<z.ZodEnum<["border", "solid"]>>;
4780
+ children: z.ZodUnion<[z.ZodArray<z.ZodType<{
4781
+ [key: string]: unknown;
4782
+ component: string;
4783
+ style?: Record<string, string>;
4784
+ }, z.ZodTypeDef, {
4785
+ [key: string]: unknown;
4786
+ component: string;
4787
+ style?: Record<string, string>;
4788
+ }>, "many">, z.ZodObject<{
4789
+ each: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>;
4790
+ as: z.ZodString;
4791
+ items: z.ZodArray<z.ZodType<{
4792
+ [key: string]: unknown;
4793
+ component: string;
4794
+ style?: Record<string, string>;
4795
+ }, z.ZodTypeDef, {
4796
+ [key: string]: unknown;
4797
+ component: string;
4798
+ style?: Record<string, string>;
4799
+ }>, "many">;
4800
+ }, "strip", z.ZodTypeAny, {
4801
+ each: string | unknown[];
4802
+ as: string;
4803
+ items: {
4804
+ [key: string]: unknown;
4805
+ component: string;
4806
+ style?: Record<string, string>;
4807
+ }[];
4808
+ }, {
4809
+ each: string | unknown[];
4810
+ as: string;
4811
+ items: {
4812
+ [key: string]: unknown;
4813
+ component: string;
4814
+ style?: Record<string, string>;
4815
+ }[];
4816
+ }>]>;
4817
+ 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>>;
4818
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4819
+ component: z.ZodLiteral<"Frame">;
4820
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodType<{
4821
+ [key: string]: unknown;
4822
+ component: string;
4823
+ style?: Record<string, string>;
4824
+ }, z.ZodTypeDef, {
4825
+ [key: string]: unknown;
4826
+ component: string;
4827
+ style?: Record<string, string>;
4828
+ }>, "many">, z.ZodObject<{
4829
+ each: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>;
4830
+ as: z.ZodString;
4831
+ items: z.ZodArray<z.ZodType<{
4832
+ [key: string]: unknown;
4833
+ component: string;
4834
+ style?: Record<string, string>;
4835
+ }, z.ZodTypeDef, {
4836
+ [key: string]: unknown;
4837
+ component: string;
4838
+ style?: Record<string, string>;
4839
+ }>, "many">;
4840
+ }, "strip", z.ZodTypeAny, {
4841
+ each: string | unknown[];
4842
+ as: string;
4843
+ items: {
4844
+ [key: string]: unknown;
4845
+ component: string;
4846
+ style?: Record<string, string>;
4847
+ }[];
4848
+ }, {
4849
+ each: string | unknown[];
4850
+ as: string;
4851
+ items: {
4852
+ [key: string]: unknown;
4853
+ component: string;
4854
+ style?: Record<string, string>;
4855
+ }[];
4856
+ }>]>]>>;
4857
+ icon: z.ZodOptional<z.ZodString>;
4858
+ collapsible: z.ZodOptional<z.ZodBoolean>;
4859
+ defaultExpanded: z.ZodOptional<z.ZodBoolean>;
4860
+ variant: z.ZodOptional<z.ZodEnum<["border", "solid"]>>;
4861
+ children: z.ZodUnion<[z.ZodArray<z.ZodType<{
4862
+ [key: string]: unknown;
4863
+ component: string;
4864
+ style?: Record<string, string>;
4865
+ }, z.ZodTypeDef, {
4866
+ [key: string]: unknown;
4867
+ component: string;
4868
+ style?: Record<string, string>;
4869
+ }>, "many">, z.ZodObject<{
4870
+ each: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>;
4871
+ as: z.ZodString;
4872
+ items: z.ZodArray<z.ZodType<{
4873
+ [key: string]: unknown;
4874
+ component: string;
4875
+ style?: Record<string, string>;
4876
+ }, z.ZodTypeDef, {
4877
+ [key: string]: unknown;
4878
+ component: string;
4879
+ style?: Record<string, string>;
4880
+ }>, "many">;
4881
+ }, "strip", z.ZodTypeAny, {
4882
+ each: string | unknown[];
4883
+ as: string;
4884
+ items: {
4885
+ [key: string]: unknown;
4886
+ component: string;
4887
+ style?: Record<string, string>;
4888
+ }[];
4889
+ }, {
4890
+ each: string | unknown[];
4891
+ as: string;
4892
+ items: {
4893
+ [key: string]: unknown;
4894
+ component: string;
4895
+ style?: Record<string, string>;
4896
+ }[];
4897
+ }>]>;
4898
+ 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>>;
4899
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4900
+ component: z.ZodLiteral<"Frame">;
4901
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodType<{
4902
+ [key: string]: unknown;
4903
+ component: string;
4904
+ style?: Record<string, string>;
4905
+ }, z.ZodTypeDef, {
4906
+ [key: string]: unknown;
4907
+ component: string;
4908
+ style?: Record<string, string>;
4909
+ }>, "many">, z.ZodObject<{
4910
+ each: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>;
4911
+ as: z.ZodString;
4912
+ items: z.ZodArray<z.ZodType<{
4913
+ [key: string]: unknown;
4914
+ component: string;
4915
+ style?: Record<string, string>;
4916
+ }, z.ZodTypeDef, {
4917
+ [key: string]: unknown;
4918
+ component: string;
4919
+ style?: Record<string, string>;
4920
+ }>, "many">;
4921
+ }, "strip", z.ZodTypeAny, {
4922
+ each: string | unknown[];
4923
+ as: string;
4924
+ items: {
4925
+ [key: string]: unknown;
4926
+ component: string;
4927
+ style?: Record<string, string>;
4928
+ }[];
4929
+ }, {
4930
+ each: string | unknown[];
4931
+ as: string;
4932
+ items: {
4933
+ [key: string]: unknown;
4934
+ component: string;
4935
+ style?: Record<string, string>;
4936
+ }[];
4937
+ }>]>]>>;
4938
+ icon: z.ZodOptional<z.ZodString>;
4939
+ collapsible: z.ZodOptional<z.ZodBoolean>;
4940
+ defaultExpanded: z.ZodOptional<z.ZodBoolean>;
4941
+ variant: z.ZodOptional<z.ZodEnum<["border", "solid"]>>;
4942
+ children: z.ZodUnion<[z.ZodArray<z.ZodType<{
4943
+ [key: string]: unknown;
4944
+ component: string;
4945
+ style?: Record<string, string>;
4946
+ }, z.ZodTypeDef, {
4947
+ [key: string]: unknown;
4948
+ component: string;
4949
+ style?: Record<string, string>;
4950
+ }>, "many">, z.ZodObject<{
4951
+ each: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>;
4952
+ as: z.ZodString;
4953
+ items: z.ZodArray<z.ZodType<{
4954
+ [key: string]: unknown;
4955
+ component: string;
4956
+ style?: Record<string, string>;
4957
+ }, z.ZodTypeDef, {
4958
+ [key: string]: unknown;
4959
+ component: string;
4960
+ style?: Record<string, string>;
4961
+ }>, "many">;
4962
+ }, "strip", z.ZodTypeAny, {
4963
+ each: string | unknown[];
4964
+ as: string;
4965
+ items: {
4966
+ [key: string]: unknown;
4967
+ component: string;
4968
+ style?: Record<string, string>;
4969
+ }[];
4970
+ }, {
4971
+ each: string | unknown[];
4972
+ as: string;
4973
+ items: {
4974
+ [key: string]: unknown;
4975
+ component: string;
4976
+ style?: Record<string, string>;
4977
+ }[];
4978
+ }>]>;
4979
+ 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>>;
4980
+ }, z.ZodTypeAny, "passthrough">>;
4981
+ declare const ListPropsSchema: z.ZodObject<{
4982
+ component: z.ZodLiteral<"List">;
4983
+ children: z.ZodUnion<[z.ZodArray<z.ZodType<{
4984
+ [key: string]: unknown;
4985
+ component: string;
4986
+ style?: Record<string, string>;
4987
+ }, z.ZodTypeDef, {
4988
+ [key: string]: unknown;
4989
+ component: string;
4990
+ style?: Record<string, string>;
4991
+ }>, "many">, z.ZodObject<{
4992
+ each: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>;
4993
+ as: z.ZodString;
4994
+ items: z.ZodArray<z.ZodType<{
4995
+ [key: string]: unknown;
4996
+ component: string;
4997
+ style?: Record<string, string>;
4998
+ }, z.ZodTypeDef, {
4999
+ [key: string]: unknown;
5000
+ component: string;
5001
+ style?: Record<string, string>;
5002
+ }>, "many">;
5003
+ }, "strip", z.ZodTypeAny, {
5004
+ each: string | unknown[];
5005
+ as: string;
5006
+ items: {
5007
+ [key: string]: unknown;
5008
+ component: string;
5009
+ style?: Record<string, string>;
5010
+ }[];
5011
+ }, {
5012
+ each: string | unknown[];
5013
+ as: string;
5014
+ items: {
5015
+ [key: string]: unknown;
5016
+ component: string;
5017
+ style?: Record<string, string>;
5018
+ }[];
5019
+ }>]>;
5020
+ 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>>;
5021
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5022
+ component: z.ZodLiteral<"List">;
5023
+ children: z.ZodUnion<[z.ZodArray<z.ZodType<{
5024
+ [key: string]: unknown;
5025
+ component: string;
5026
+ style?: Record<string, string>;
5027
+ }, z.ZodTypeDef, {
5028
+ [key: string]: unknown;
5029
+ component: string;
5030
+ style?: Record<string, string>;
5031
+ }>, "many">, z.ZodObject<{
5032
+ each: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>;
5033
+ as: z.ZodString;
5034
+ items: z.ZodArray<z.ZodType<{
5035
+ [key: string]: unknown;
5036
+ component: string;
5037
+ style?: Record<string, string>;
5038
+ }, z.ZodTypeDef, {
5039
+ [key: string]: unknown;
5040
+ component: string;
5041
+ style?: Record<string, string>;
5042
+ }>, "many">;
5043
+ }, "strip", z.ZodTypeAny, {
5044
+ each: string | unknown[];
5045
+ as: string;
5046
+ items: {
5047
+ [key: string]: unknown;
5048
+ component: string;
5049
+ style?: Record<string, string>;
5050
+ }[];
5051
+ }, {
5052
+ each: string | unknown[];
5053
+ as: string;
5054
+ items: {
5055
+ [key: string]: unknown;
5056
+ component: string;
5057
+ style?: Record<string, string>;
5058
+ }[];
5059
+ }>]>;
5060
+ 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>>;
5061
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5062
+ component: z.ZodLiteral<"List">;
5063
+ children: z.ZodUnion<[z.ZodArray<z.ZodType<{
5064
+ [key: string]: unknown;
5065
+ component: string;
5066
+ style?: Record<string, string>;
5067
+ }, z.ZodTypeDef, {
5068
+ [key: string]: unknown;
5069
+ component: string;
5070
+ style?: Record<string, string>;
5071
+ }>, "many">, z.ZodObject<{
5072
+ each: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnknown, "many">]>;
5073
+ as: z.ZodString;
5074
+ items: z.ZodArray<z.ZodType<{
5075
+ [key: string]: unknown;
5076
+ component: string;
5077
+ style?: Record<string, string>;
5078
+ }, z.ZodTypeDef, {
5079
+ [key: string]: unknown;
5080
+ component: string;
5081
+ style?: Record<string, string>;
5082
+ }>, "many">;
5083
+ }, "strip", z.ZodTypeAny, {
5084
+ each: string | unknown[];
5085
+ as: string;
5086
+ items: {
5087
+ [key: string]: unknown;
5088
+ component: string;
5089
+ style?: Record<string, string>;
5090
+ }[];
5091
+ }, {
5092
+ each: string | unknown[];
5093
+ as: string;
5094
+ items: {
5095
+ [key: string]: unknown;
5096
+ component: string;
5097
+ style?: Record<string, string>;
5098
+ }[];
5099
+ }>]>;
5100
+ 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>>;
5101
+ }, z.ZodTypeAny, "passthrough">>;
4720
5102
  type AllowedCSSProperty = z.infer<typeof AllowedCSSPropertySchema>;
4721
5103
  type ExtensionComponentStyle = z.infer<typeof ExtensionComponentStyleSchema>;
4722
5104
  type ExtensionComponentData = z.infer<typeof ExtensionComponentDataSchema>;
@@ -4748,7 +5130,11 @@ type CollapsibleProps = z.infer<typeof CollapsiblePropsSchema>;
4748
5130
  type PillProps = z.infer<typeof PillPropsSchema>;
4749
5131
  type CheckboxProps = z.infer<typeof CheckboxPropsSchema>;
4750
5132
  type MarkdownProps = z.infer<typeof MarkdownPropsSchema>;
5133
+ type TextPreviewProps = z.infer<typeof TextPreviewPropsSchema>;
4751
5134
  type ModalProps = z.infer<typeof ModalPropsSchema>;
4752
5135
  type ConditionalGroupProps = z.infer<typeof ConditionalGroupPropsSchema>;
5136
+ type FrameVariant = z.infer<typeof FrameVariantSchema>;
5137
+ type FrameProps = z.infer<typeof FramePropsSchema>;
5138
+ type ListProps = z.infer<typeof ListPropsSchema>;
4753
5139
 
4754
- export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, type CapabilityPermission, CapabilityPermissionSchema, 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 GridProps, GridPropsSchema, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, type LabelProps, LabelPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, 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 ProviderConfigProperty, ProviderConfigPropertySchema, type ProviderConfigPropertyType, ProviderConfigPropertyTypeSchema, type ProviderConfigSchema, ProviderConfigSchemaSchema, type ProviderConfigSelectOption, ProviderConfigSelectOptionSchema, type ProviderConfigValidation, ProviderConfigValidationSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, type SettingCreateMapping, SettingCreateMappingSchema, type SettingDefinition, SettingDefinitionSchema, type SettingOptionsMapping, SettingOptionsMappingSchema, type SettingValidation, SettingValidationSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, isValidPermission };
5140
+ export { type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, type CapabilityPermission, CapabilityPermissionSchema, 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, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, 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 ProviderConfigProperty, ProviderConfigPropertySchema, type ProviderConfigPropertyType, ProviderConfigPropertyTypeSchema, type ProviderConfigSchema, ProviderConfigSchemaSchema, type ProviderConfigSelectOption, ProviderConfigSelectOptionSchema, type ProviderConfigValidation, ProviderConfigValidationSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, type SettingCreateMapping, SettingCreateMappingSchema, type SettingDefinition, SettingDefinitionSchema, type SettingOptionsMapping, SettingOptionsMappingSchema, type SettingValidation, SettingValidationSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, isValidPermission };
@@ -17,6 +17,8 @@ var VALID_PERMISSIONS = [
17
17
  "chat.message.write",
18
18
  "provider.register",
19
19
  "tools.register",
20
+ "tools.list",
21
+ "tools.execute",
20
22
  "actions.register",
21
23
  "settings.register",
22
24
  "commands.register",
@@ -51,6 +53,8 @@ var UserDataPermissionSchema = z.enum(["user.profile.read", "user.location.read"
51
53
  var CapabilityPermissionSchema = z.enum([
52
54
  "provider.register",
53
55
  "tools.register",
56
+ "tools.list",
57
+ "tools.execute",
54
58
  "actions.register",
55
59
  "settings.register",
56
60
  "commands.register",
@@ -319,6 +323,12 @@ var MarkdownPropsSchema = z2.object({
319
323
  content: z2.string().describe("Markdown content"),
320
324
  style: ExtensionComponentStyleSchema.optional()
321
325
  }).passthrough().describe("Markdown component");
326
+ var TextPreviewPropsSchema = z2.object({
327
+ component: z2.literal("TextPreview"),
328
+ content: z2.string().describe("Markdown content"),
329
+ maxLines: z2.number().optional().describe("Max visible lines before truncating (default 5)"),
330
+ style: ExtensionComponentStyleSchema.optional()
331
+ }).passthrough().describe("TextPreview component");
322
332
  var ModalPropsSchema = z2.object({
323
333
  component: z2.literal("Modal"),
324
334
  title: z2.string().describe("Modal title"),
@@ -335,6 +345,22 @@ var ConditionalGroupPropsSchema = z2.object({
335
345
  children: ExtensionComponentChildrenSchema.describe("Children to render when condition is true"),
336
346
  style: ExtensionComponentStyleSchema.optional()
337
347
  }).passthrough().describe("ConditionalGroup component");
348
+ var FrameVariantSchema = z2.enum(["border", "solid"]).describe("Frame visual variant");
349
+ var FramePropsSchema = z2.object({
350
+ component: z2.literal("Frame"),
351
+ title: z2.union([z2.string(), ExtensionComponentChildrenSchema]).optional().describe("Optional title (string or components)"),
352
+ icon: z2.string().optional().describe("Icon name"),
353
+ collapsible: z2.boolean().optional().describe("Whether content can be toggled"),
354
+ defaultExpanded: z2.boolean().optional().describe("Whether expanded by default"),
355
+ variant: FrameVariantSchema.optional().describe("Visual variant"),
356
+ children: ExtensionComponentChildrenSchema.describe("Child components"),
357
+ style: ExtensionComponentStyleSchema.optional()
358
+ }).passthrough().describe("Frame container component");
359
+ var ListPropsSchema = z2.object({
360
+ component: z2.literal("List"),
361
+ children: ExtensionComponentChildrenSchema.describe("Child components rendered as list items"),
362
+ style: ExtensionComponentStyleSchema.optional()
363
+ }).passthrough().describe("List component");
338
364
 
339
365
  // src/schemas/contributions.schema.ts
340
366
  var LocalizedStringSchema = z3.union([z3.string(), z3.record(z3.string())]).describe("String or localized string map");
@@ -566,6 +592,8 @@ export {
566
592
  ExtensionContributionsSchema,
567
593
  ExtensionDataSourceSchema,
568
594
  ExtensionManifestSchema,
595
+ FramePropsSchema,
596
+ FrameVariantSchema,
569
597
  GridPropsSchema,
570
598
  HeaderPropsSchema,
571
599
  HorizontalStackPropsSchema,
@@ -574,6 +602,7 @@ export {
574
602
  IconPickerPropsSchema,
575
603
  IconPropsSchema,
576
604
  LabelPropsSchema,
605
+ ListPropsSchema,
577
606
  LocalizedStringSchema,
578
607
  MarkdownPropsSchema,
579
608
  ModalPropsSchema,
@@ -607,6 +636,7 @@ export {
607
636
  StoragePermissionSchema,
608
637
  SystemPermissionSchema,
609
638
  TextInputPropsSchema,
639
+ TextPreviewPropsSchema,
610
640
  TogglePropsSchema,
611
641
  ToolDefinitionSchema,
612
642
  ToolSettingsActionDataSourceSchema,