@ikenga/contract 0.9.1 → 0.11.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.
@@ -377,14 +377,66 @@ export declare const PkgVersionSchema: z.ZodObject<{
377
377
  webview: z.ZodOptional<z.ZodObject<{
378
378
  child_webviews: z.ZodDefault<z.ZodBoolean>;
379
379
  partitions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
380
+ engines: z.ZodDefault<z.ZodArray<z.ZodEnum<["webkit", "chrome"]>, "many">>;
380
381
  }, "strip", z.ZodTypeAny, {
381
382
  child_webviews: boolean;
382
383
  partitions: string[];
384
+ engines: ("webkit" | "chrome")[];
383
385
  }, {
384
386
  child_webviews?: boolean | undefined;
385
387
  partitions?: string[] | undefined;
388
+ engines?: ("webkit" | "chrome")[] | undefined;
386
389
  }>>;
387
390
  agentOps: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
391
+ http: z.ZodOptional<z.ZodObject<{
392
+ auth_secret: z.ZodOptional<z.ZodString>;
393
+ auth_header: z.ZodDefault<z.ZodString>;
394
+ }, "strict", z.ZodTypeAny, {
395
+ auth_header: string;
396
+ auth_secret?: string | undefined;
397
+ }, {
398
+ auth_secret?: string | undefined;
399
+ auth_header?: string | undefined;
400
+ }>>;
401
+ secrets: z.ZodOptional<z.ZodObject<{
402
+ declarations: z.ZodDefault<z.ZodArray<z.ZodObject<{
403
+ name: z.ZodString;
404
+ vault_key: z.ZodString;
405
+ required: z.ZodDefault<z.ZodBoolean>;
406
+ format: z.ZodOptional<z.ZodString>;
407
+ }, "strict", z.ZodTypeAny, {
408
+ name: string;
409
+ required: boolean;
410
+ vault_key: string;
411
+ format?: string | undefined;
412
+ }, {
413
+ name: string;
414
+ vault_key: string;
415
+ format?: string | undefined;
416
+ required?: boolean | undefined;
417
+ }>, "many">>;
418
+ }, "strict", z.ZodTypeAny, {
419
+ declarations: {
420
+ name: string;
421
+ required: boolean;
422
+ vault_key: string;
423
+ format?: string | undefined;
424
+ }[];
425
+ }, {
426
+ declarations?: {
427
+ name: string;
428
+ vault_key: string;
429
+ format?: string | undefined;
430
+ required?: boolean | undefined;
431
+ }[] | undefined;
432
+ }>>;
433
+ invoke: z.ZodOptional<z.ZodObject<{
434
+ commands: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
435
+ }, "strict", z.ZodTypeAny, {
436
+ commands: string[];
437
+ }, {
438
+ commands?: string[] | undefined;
439
+ }>>;
388
440
  }, "strip", z.ZodTypeAny, {
389
441
  supabase?: {
390
442
  required: boolean;
@@ -395,8 +447,24 @@ export declare const PkgVersionSchema: z.ZodObject<{
395
447
  webview?: {
396
448
  child_webviews: boolean;
397
449
  partitions: string[];
450
+ engines: ("webkit" | "chrome")[];
398
451
  } | undefined;
399
452
  agentOps?: {} | undefined;
453
+ http?: {
454
+ auth_header: string;
455
+ auth_secret?: string | undefined;
456
+ } | undefined;
457
+ secrets?: {
458
+ declarations: {
459
+ name: string;
460
+ required: boolean;
461
+ vault_key: string;
462
+ format?: string | undefined;
463
+ }[];
464
+ } | undefined;
465
+ invoke?: {
466
+ commands: string[];
467
+ } | undefined;
400
468
  }, {
401
469
  supabase?: {
402
470
  required?: boolean | undefined;
@@ -407,8 +475,24 @@ export declare const PkgVersionSchema: z.ZodObject<{
407
475
  webview?: {
408
476
  child_webviews?: boolean | undefined;
409
477
  partitions?: string[] | undefined;
478
+ engines?: ("webkit" | "chrome")[] | undefined;
410
479
  } | undefined;
411
480
  agentOps?: {} | undefined;
481
+ http?: {
482
+ auth_secret?: string | undefined;
483
+ auth_header?: string | undefined;
484
+ } | undefined;
485
+ secrets?: {
486
+ declarations?: {
487
+ name: string;
488
+ vault_key: string;
489
+ format?: string | undefined;
490
+ required?: boolean | undefined;
491
+ }[] | undefined;
492
+ } | undefined;
493
+ invoke?: {
494
+ commands?: string[] | undefined;
495
+ } | undefined;
412
496
  }>>;
413
497
  engine: z.ZodOptional<z.ZodObject<{
414
498
  agentId: z.ZodString;
@@ -542,6 +626,7 @@ export declare const PkgVersionSchema: z.ZodObject<{
542
626
  ref?: string | undefined;
543
627
  source?: "git" | "npx" | "catalog" | "local" | undefined;
544
628
  }>, "many">>;
629
+ signature: z.ZodOptional<z.ZodString>;
545
630
  }, "strip", z.ZodTypeAny, {
546
631
  mcp: {
547
632
  args: string[];
@@ -633,8 +718,48 @@ export declare const PkgVersionSchema: z.ZodObject<{
633
718
  webview?: {
634
719
  child_webviews: boolean;
635
720
  partitions: string[];
721
+ engines: ("webkit" | "chrome")[];
636
722
  } | undefined;
637
723
  agentOps?: {} | undefined;
724
+ http?: {
725
+ auth_header: string;
726
+ auth_secret?: string | undefined;
727
+ } | undefined;
728
+ secrets?: {
729
+ declarations: {
730
+ name: string;
731
+ required: boolean;
732
+ vault_key: string;
733
+ format?: string | undefined;
734
+ }[];
735
+ } | undefined;
736
+ invoke?: {
737
+ commands: string[];
738
+ } | undefined;
739
+ } | undefined;
740
+ engine?: {
741
+ capabilities: {
742
+ mcp: boolean;
743
+ streaming: boolean;
744
+ toolUse: boolean;
745
+ thinking: boolean;
746
+ artifacts: boolean;
747
+ fileAttachments: boolean;
748
+ imageInput: boolean;
749
+ slashCommands: boolean;
750
+ modelSwitching: boolean;
751
+ promptCaching: boolean;
752
+ agenticTools: boolean;
753
+ sessionResume: boolean;
754
+ };
755
+ agentId: string;
756
+ onboarding: {
757
+ requiredVaultKeys: string[];
758
+ requiredEnvVars: string[];
759
+ authCommand?: string | undefined;
760
+ docsUrl?: string | undefined;
761
+ };
762
+ display?: string | undefined;
638
763
  } | undefined;
639
764
  kind?: string | undefined;
640
765
  migrations?: string | undefined;
@@ -662,30 +787,7 @@ export declare const PkgVersionSchema: z.ZodObject<{
662
787
  decorations?: boolean | undefined;
663
788
  menu?: string | undefined;
664
789
  } | undefined;
665
- engine?: {
666
- capabilities: {
667
- mcp: boolean;
668
- streaming: boolean;
669
- toolUse: boolean;
670
- thinking: boolean;
671
- artifacts: boolean;
672
- fileAttachments: boolean;
673
- imageInput: boolean;
674
- slashCommands: boolean;
675
- modelSwitching: boolean;
676
- promptCaching: boolean;
677
- agenticTools: boolean;
678
- sessionResume: boolean;
679
- };
680
- agentId: string;
681
- onboarding: {
682
- requiredVaultKeys: string[];
683
- requiredEnvVars: string[];
684
- authCommand?: string | undefined;
685
- docsUrl?: string | undefined;
686
- };
687
- display?: string | undefined;
688
- } | undefined;
790
+ signature?: string | undefined;
689
791
  }, {
690
792
  id: string;
691
793
  name: string;
@@ -723,8 +825,48 @@ export declare const PkgVersionSchema: z.ZodObject<{
723
825
  webview?: {
724
826
  child_webviews?: boolean | undefined;
725
827
  partitions?: string[] | undefined;
828
+ engines?: ("webkit" | "chrome")[] | undefined;
726
829
  } | undefined;
727
830
  agentOps?: {} | undefined;
831
+ http?: {
832
+ auth_secret?: string | undefined;
833
+ auth_header?: string | undefined;
834
+ } | undefined;
835
+ secrets?: {
836
+ declarations?: {
837
+ name: string;
838
+ vault_key: string;
839
+ format?: string | undefined;
840
+ required?: boolean | undefined;
841
+ }[] | undefined;
842
+ } | undefined;
843
+ invoke?: {
844
+ commands?: string[] | undefined;
845
+ } | undefined;
846
+ } | undefined;
847
+ engine?: {
848
+ capabilities: {
849
+ mcp: boolean;
850
+ streaming: boolean;
851
+ toolUse: boolean;
852
+ thinking: boolean;
853
+ artifacts: boolean;
854
+ fileAttachments: boolean;
855
+ imageInput: boolean;
856
+ slashCommands: boolean;
857
+ modelSwitching: boolean;
858
+ promptCaching: boolean;
859
+ agenticTools: boolean;
860
+ sessionResume: boolean;
861
+ };
862
+ agentId: string;
863
+ display?: string | undefined;
864
+ onboarding?: {
865
+ requiredVaultKeys?: string[] | undefined;
866
+ requiredEnvVars?: string[] | undefined;
867
+ authCommand?: string | undefined;
868
+ docsUrl?: string | undefined;
869
+ } | undefined;
728
870
  } | undefined;
729
871
  kind?: string | undefined;
730
872
  permissions?: {
@@ -802,34 +944,11 @@ export declare const PkgVersionSchema: z.ZodObject<{
802
944
  decorations?: boolean | undefined;
803
945
  menu?: string | undefined;
804
946
  } | undefined;
805
- engine?: {
806
- capabilities: {
807
- mcp: boolean;
808
- streaming: boolean;
809
- toolUse: boolean;
810
- thinking: boolean;
811
- artifacts: boolean;
812
- fileAttachments: boolean;
813
- imageInput: boolean;
814
- slashCommands: boolean;
815
- modelSwitching: boolean;
816
- promptCaching: boolean;
817
- agenticTools: boolean;
818
- sessionResume: boolean;
819
- };
820
- agentId: string;
821
- display?: string | undefined;
822
- onboarding?: {
823
- requiredVaultKeys?: string[] | undefined;
824
- requiredEnvVars?: string[] | undefined;
825
- authCommand?: string | undefined;
826
- docsUrl?: string | undefined;
827
- } | undefined;
828
- } | undefined;
829
947
  screenshots?: {
830
948
  path: string;
831
949
  caption?: string | undefined;
832
950
  }[] | undefined;
951
+ signature?: string | undefined;
833
952
  }>;
834
953
  /** Cross-pkg deps within `@ikenga/pkg-*`. External deps ride in the tarball. */
835
954
  deps: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -961,8 +1080,48 @@ export declare const PkgVersionSchema: z.ZodObject<{
961
1080
  webview?: {
962
1081
  child_webviews: boolean;
963
1082
  partitions: string[];
1083
+ engines: ("webkit" | "chrome")[];
964
1084
  } | undefined;
965
1085
  agentOps?: {} | undefined;
1086
+ http?: {
1087
+ auth_header: string;
1088
+ auth_secret?: string | undefined;
1089
+ } | undefined;
1090
+ secrets?: {
1091
+ declarations: {
1092
+ name: string;
1093
+ required: boolean;
1094
+ vault_key: string;
1095
+ format?: string | undefined;
1096
+ }[];
1097
+ } | undefined;
1098
+ invoke?: {
1099
+ commands: string[];
1100
+ } | undefined;
1101
+ } | undefined;
1102
+ engine?: {
1103
+ capabilities: {
1104
+ mcp: boolean;
1105
+ streaming: boolean;
1106
+ toolUse: boolean;
1107
+ thinking: boolean;
1108
+ artifacts: boolean;
1109
+ fileAttachments: boolean;
1110
+ imageInput: boolean;
1111
+ slashCommands: boolean;
1112
+ modelSwitching: boolean;
1113
+ promptCaching: boolean;
1114
+ agenticTools: boolean;
1115
+ sessionResume: boolean;
1116
+ };
1117
+ agentId: string;
1118
+ onboarding: {
1119
+ requiredVaultKeys: string[];
1120
+ requiredEnvVars: string[];
1121
+ authCommand?: string | undefined;
1122
+ docsUrl?: string | undefined;
1123
+ };
1124
+ display?: string | undefined;
966
1125
  } | undefined;
967
1126
  kind?: string | undefined;
968
1127
  migrations?: string | undefined;
@@ -990,30 +1149,7 @@ export declare const PkgVersionSchema: z.ZodObject<{
990
1149
  decorations?: boolean | undefined;
991
1150
  menu?: string | undefined;
992
1151
  } | undefined;
993
- engine?: {
994
- capabilities: {
995
- mcp: boolean;
996
- streaming: boolean;
997
- toolUse: boolean;
998
- thinking: boolean;
999
- artifacts: boolean;
1000
- fileAttachments: boolean;
1001
- imageInput: boolean;
1002
- slashCommands: boolean;
1003
- modelSwitching: boolean;
1004
- promptCaching: boolean;
1005
- agenticTools: boolean;
1006
- sessionResume: boolean;
1007
- };
1008
- agentId: string;
1009
- onboarding: {
1010
- requiredVaultKeys: string[];
1011
- requiredEnvVars: string[];
1012
- authCommand?: string | undefined;
1013
- docsUrl?: string | undefined;
1014
- };
1015
- display?: string | undefined;
1016
- } | undefined;
1152
+ signature?: string | undefined;
1017
1153
  };
1018
1154
  deps: {
1019
1155
  name: string;
@@ -1062,8 +1198,48 @@ export declare const PkgVersionSchema: z.ZodObject<{
1062
1198
  webview?: {
1063
1199
  child_webviews?: boolean | undefined;
1064
1200
  partitions?: string[] | undefined;
1201
+ engines?: ("webkit" | "chrome")[] | undefined;
1065
1202
  } | undefined;
1066
1203
  agentOps?: {} | undefined;
1204
+ http?: {
1205
+ auth_secret?: string | undefined;
1206
+ auth_header?: string | undefined;
1207
+ } | undefined;
1208
+ secrets?: {
1209
+ declarations?: {
1210
+ name: string;
1211
+ vault_key: string;
1212
+ format?: string | undefined;
1213
+ required?: boolean | undefined;
1214
+ }[] | undefined;
1215
+ } | undefined;
1216
+ invoke?: {
1217
+ commands?: string[] | undefined;
1218
+ } | undefined;
1219
+ } | undefined;
1220
+ engine?: {
1221
+ capabilities: {
1222
+ mcp: boolean;
1223
+ streaming: boolean;
1224
+ toolUse: boolean;
1225
+ thinking: boolean;
1226
+ artifacts: boolean;
1227
+ fileAttachments: boolean;
1228
+ imageInput: boolean;
1229
+ slashCommands: boolean;
1230
+ modelSwitching: boolean;
1231
+ promptCaching: boolean;
1232
+ agenticTools: boolean;
1233
+ sessionResume: boolean;
1234
+ };
1235
+ agentId: string;
1236
+ display?: string | undefined;
1237
+ onboarding?: {
1238
+ requiredVaultKeys?: string[] | undefined;
1239
+ requiredEnvVars?: string[] | undefined;
1240
+ authCommand?: string | undefined;
1241
+ docsUrl?: string | undefined;
1242
+ } | undefined;
1067
1243
  } | undefined;
1068
1244
  kind?: string | undefined;
1069
1245
  permissions?: {
@@ -1141,34 +1317,11 @@ export declare const PkgVersionSchema: z.ZodObject<{
1141
1317
  decorations?: boolean | undefined;
1142
1318
  menu?: string | undefined;
1143
1319
  } | undefined;
1144
- engine?: {
1145
- capabilities: {
1146
- mcp: boolean;
1147
- streaming: boolean;
1148
- toolUse: boolean;
1149
- thinking: boolean;
1150
- artifacts: boolean;
1151
- fileAttachments: boolean;
1152
- imageInput: boolean;
1153
- slashCommands: boolean;
1154
- modelSwitching: boolean;
1155
- promptCaching: boolean;
1156
- agenticTools: boolean;
1157
- sessionResume: boolean;
1158
- };
1159
- agentId: string;
1160
- display?: string | undefined;
1161
- onboarding?: {
1162
- requiredVaultKeys?: string[] | undefined;
1163
- requiredEnvVars?: string[] | undefined;
1164
- authCommand?: string | undefined;
1165
- docsUrl?: string | undefined;
1166
- } | undefined;
1167
- } | undefined;
1168
1320
  screenshots?: {
1169
1321
  path: string;
1170
1322
  caption?: string | undefined;
1171
1323
  }[] | undefined;
1324
+ signature?: string | undefined;
1172
1325
  };
1173
1326
  size?: number | undefined;
1174
1327
  screenshots?: {
@@ -1531,14 +1684,66 @@ export declare const PkgDetailSchema: z.ZodObject<{
1531
1684
  webview: z.ZodOptional<z.ZodObject<{
1532
1685
  child_webviews: z.ZodDefault<z.ZodBoolean>;
1533
1686
  partitions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1687
+ engines: z.ZodDefault<z.ZodArray<z.ZodEnum<["webkit", "chrome"]>, "many">>;
1534
1688
  }, "strip", z.ZodTypeAny, {
1535
1689
  child_webviews: boolean;
1536
1690
  partitions: string[];
1691
+ engines: ("webkit" | "chrome")[];
1537
1692
  }, {
1538
1693
  child_webviews?: boolean | undefined;
1539
1694
  partitions?: string[] | undefined;
1695
+ engines?: ("webkit" | "chrome")[] | undefined;
1540
1696
  }>>;
1541
1697
  agentOps: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
1698
+ http: z.ZodOptional<z.ZodObject<{
1699
+ auth_secret: z.ZodOptional<z.ZodString>;
1700
+ auth_header: z.ZodDefault<z.ZodString>;
1701
+ }, "strict", z.ZodTypeAny, {
1702
+ auth_header: string;
1703
+ auth_secret?: string | undefined;
1704
+ }, {
1705
+ auth_secret?: string | undefined;
1706
+ auth_header?: string | undefined;
1707
+ }>>;
1708
+ secrets: z.ZodOptional<z.ZodObject<{
1709
+ declarations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1710
+ name: z.ZodString;
1711
+ vault_key: z.ZodString;
1712
+ required: z.ZodDefault<z.ZodBoolean>;
1713
+ format: z.ZodOptional<z.ZodString>;
1714
+ }, "strict", z.ZodTypeAny, {
1715
+ name: string;
1716
+ required: boolean;
1717
+ vault_key: string;
1718
+ format?: string | undefined;
1719
+ }, {
1720
+ name: string;
1721
+ vault_key: string;
1722
+ format?: string | undefined;
1723
+ required?: boolean | undefined;
1724
+ }>, "many">>;
1725
+ }, "strict", z.ZodTypeAny, {
1726
+ declarations: {
1727
+ name: string;
1728
+ required: boolean;
1729
+ vault_key: string;
1730
+ format?: string | undefined;
1731
+ }[];
1732
+ }, {
1733
+ declarations?: {
1734
+ name: string;
1735
+ vault_key: string;
1736
+ format?: string | undefined;
1737
+ required?: boolean | undefined;
1738
+ }[] | undefined;
1739
+ }>>;
1740
+ invoke: z.ZodOptional<z.ZodObject<{
1741
+ commands: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1742
+ }, "strict", z.ZodTypeAny, {
1743
+ commands: string[];
1744
+ }, {
1745
+ commands?: string[] | undefined;
1746
+ }>>;
1542
1747
  }, "strip", z.ZodTypeAny, {
1543
1748
  supabase?: {
1544
1749
  required: boolean;
@@ -1549,8 +1754,24 @@ export declare const PkgDetailSchema: z.ZodObject<{
1549
1754
  webview?: {
1550
1755
  child_webviews: boolean;
1551
1756
  partitions: string[];
1757
+ engines: ("webkit" | "chrome")[];
1552
1758
  } | undefined;
1553
1759
  agentOps?: {} | undefined;
1760
+ http?: {
1761
+ auth_header: string;
1762
+ auth_secret?: string | undefined;
1763
+ } | undefined;
1764
+ secrets?: {
1765
+ declarations: {
1766
+ name: string;
1767
+ required: boolean;
1768
+ vault_key: string;
1769
+ format?: string | undefined;
1770
+ }[];
1771
+ } | undefined;
1772
+ invoke?: {
1773
+ commands: string[];
1774
+ } | undefined;
1554
1775
  }, {
1555
1776
  supabase?: {
1556
1777
  required?: boolean | undefined;
@@ -1561,8 +1782,24 @@ export declare const PkgDetailSchema: z.ZodObject<{
1561
1782
  webview?: {
1562
1783
  child_webviews?: boolean | undefined;
1563
1784
  partitions?: string[] | undefined;
1785
+ engines?: ("webkit" | "chrome")[] | undefined;
1564
1786
  } | undefined;
1565
1787
  agentOps?: {} | undefined;
1788
+ http?: {
1789
+ auth_secret?: string | undefined;
1790
+ auth_header?: string | undefined;
1791
+ } | undefined;
1792
+ secrets?: {
1793
+ declarations?: {
1794
+ name: string;
1795
+ vault_key: string;
1796
+ format?: string | undefined;
1797
+ required?: boolean | undefined;
1798
+ }[] | undefined;
1799
+ } | undefined;
1800
+ invoke?: {
1801
+ commands?: string[] | undefined;
1802
+ } | undefined;
1566
1803
  }>>;
1567
1804
  engine: z.ZodOptional<z.ZodObject<{
1568
1805
  agentId: z.ZodString;
@@ -1696,6 +1933,7 @@ export declare const PkgDetailSchema: z.ZodObject<{
1696
1933
  ref?: string | undefined;
1697
1934
  source?: "git" | "npx" | "catalog" | "local" | undefined;
1698
1935
  }>, "many">>;
1936
+ signature: z.ZodOptional<z.ZodString>;
1699
1937
  }, "strip", z.ZodTypeAny, {
1700
1938
  mcp: {
1701
1939
  args: string[];
@@ -1787,34 +2025,24 @@ export declare const PkgDetailSchema: z.ZodObject<{
1787
2025
  webview?: {
1788
2026
  child_webviews: boolean;
1789
2027
  partitions: string[];
2028
+ engines: ("webkit" | "chrome")[];
1790
2029
  } | undefined;
1791
2030
  agentOps?: {} | undefined;
1792
- } | undefined;
1793
- kind?: string | undefined;
1794
- migrations?: string | undefined;
1795
- settings?: {
1796
- schema: {
1797
- type: "string" | "number" | "boolean" | "secret";
1798
- label: string;
1799
- key: string;
1800
- description?: string | undefined;
1801
- default?: unknown;
1802
- }[];
1803
- } | undefined;
1804
- iyke?: {
1805
- routes: {
1806
- path: string;
1807
- method: "GET" | "POST";
1808
- handler: string;
1809
- }[];
1810
- events: string[];
1811
- } | undefined;
1812
- window?: {
1813
- url: string;
1814
- label: string;
1815
- size?: [number, number] | undefined;
1816
- decorations?: boolean | undefined;
1817
- menu?: string | undefined;
2031
+ http?: {
2032
+ auth_header: string;
2033
+ auth_secret?: string | undefined;
2034
+ } | undefined;
2035
+ secrets?: {
2036
+ declarations: {
2037
+ name: string;
2038
+ required: boolean;
2039
+ vault_key: string;
2040
+ format?: string | undefined;
2041
+ }[];
2042
+ } | undefined;
2043
+ invoke?: {
2044
+ commands: string[];
2045
+ } | undefined;
1818
2046
  } | undefined;
1819
2047
  engine?: {
1820
2048
  capabilities: {
@@ -1840,6 +2068,33 @@ export declare const PkgDetailSchema: z.ZodObject<{
1840
2068
  };
1841
2069
  display?: string | undefined;
1842
2070
  } | undefined;
2071
+ kind?: string | undefined;
2072
+ migrations?: string | undefined;
2073
+ settings?: {
2074
+ schema: {
2075
+ type: "string" | "number" | "boolean" | "secret";
2076
+ label: string;
2077
+ key: string;
2078
+ description?: string | undefined;
2079
+ default?: unknown;
2080
+ }[];
2081
+ } | undefined;
2082
+ iyke?: {
2083
+ routes: {
2084
+ path: string;
2085
+ method: "GET" | "POST";
2086
+ handler: string;
2087
+ }[];
2088
+ events: string[];
2089
+ } | undefined;
2090
+ window?: {
2091
+ url: string;
2092
+ label: string;
2093
+ size?: [number, number] | undefined;
2094
+ decorations?: boolean | undefined;
2095
+ menu?: string | undefined;
2096
+ } | undefined;
2097
+ signature?: string | undefined;
1843
2098
  }, {
1844
2099
  id: string;
1845
2100
  name: string;
@@ -1877,8 +2132,48 @@ export declare const PkgDetailSchema: z.ZodObject<{
1877
2132
  webview?: {
1878
2133
  child_webviews?: boolean | undefined;
1879
2134
  partitions?: string[] | undefined;
2135
+ engines?: ("webkit" | "chrome")[] | undefined;
1880
2136
  } | undefined;
1881
2137
  agentOps?: {} | undefined;
2138
+ http?: {
2139
+ auth_secret?: string | undefined;
2140
+ auth_header?: string | undefined;
2141
+ } | undefined;
2142
+ secrets?: {
2143
+ declarations?: {
2144
+ name: string;
2145
+ vault_key: string;
2146
+ format?: string | undefined;
2147
+ required?: boolean | undefined;
2148
+ }[] | undefined;
2149
+ } | undefined;
2150
+ invoke?: {
2151
+ commands?: string[] | undefined;
2152
+ } | undefined;
2153
+ } | undefined;
2154
+ engine?: {
2155
+ capabilities: {
2156
+ mcp: boolean;
2157
+ streaming: boolean;
2158
+ toolUse: boolean;
2159
+ thinking: boolean;
2160
+ artifacts: boolean;
2161
+ fileAttachments: boolean;
2162
+ imageInput: boolean;
2163
+ slashCommands: boolean;
2164
+ modelSwitching: boolean;
2165
+ promptCaching: boolean;
2166
+ agenticTools: boolean;
2167
+ sessionResume: boolean;
2168
+ };
2169
+ agentId: string;
2170
+ display?: string | undefined;
2171
+ onboarding?: {
2172
+ requiredVaultKeys?: string[] | undefined;
2173
+ requiredEnvVars?: string[] | undefined;
2174
+ authCommand?: string | undefined;
2175
+ docsUrl?: string | undefined;
2176
+ } | undefined;
1882
2177
  } | undefined;
1883
2178
  kind?: string | undefined;
1884
2179
  permissions?: {
@@ -1956,34 +2251,11 @@ export declare const PkgDetailSchema: z.ZodObject<{
1956
2251
  decorations?: boolean | undefined;
1957
2252
  menu?: string | undefined;
1958
2253
  } | undefined;
1959
- engine?: {
1960
- capabilities: {
1961
- mcp: boolean;
1962
- streaming: boolean;
1963
- toolUse: boolean;
1964
- thinking: boolean;
1965
- artifacts: boolean;
1966
- fileAttachments: boolean;
1967
- imageInput: boolean;
1968
- slashCommands: boolean;
1969
- modelSwitching: boolean;
1970
- promptCaching: boolean;
1971
- agenticTools: boolean;
1972
- sessionResume: boolean;
1973
- };
1974
- agentId: string;
1975
- display?: string | undefined;
1976
- onboarding?: {
1977
- requiredVaultKeys?: string[] | undefined;
1978
- requiredEnvVars?: string[] | undefined;
1979
- authCommand?: string | undefined;
1980
- docsUrl?: string | undefined;
1981
- } | undefined;
1982
- } | undefined;
1983
2254
  screenshots?: {
1984
2255
  path: string;
1985
2256
  caption?: string | undefined;
1986
2257
  }[] | undefined;
2258
+ signature?: string | undefined;
1987
2259
  }>;
1988
2260
  /** Cross-pkg deps within `@ikenga/pkg-*`. External deps ride in the tarball. */
1989
2261
  deps: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2115,8 +2387,48 @@ export declare const PkgDetailSchema: z.ZodObject<{
2115
2387
  webview?: {
2116
2388
  child_webviews: boolean;
2117
2389
  partitions: string[];
2390
+ engines: ("webkit" | "chrome")[];
2118
2391
  } | undefined;
2119
2392
  agentOps?: {} | undefined;
2393
+ http?: {
2394
+ auth_header: string;
2395
+ auth_secret?: string | undefined;
2396
+ } | undefined;
2397
+ secrets?: {
2398
+ declarations: {
2399
+ name: string;
2400
+ required: boolean;
2401
+ vault_key: string;
2402
+ format?: string | undefined;
2403
+ }[];
2404
+ } | undefined;
2405
+ invoke?: {
2406
+ commands: string[];
2407
+ } | undefined;
2408
+ } | undefined;
2409
+ engine?: {
2410
+ capabilities: {
2411
+ mcp: boolean;
2412
+ streaming: boolean;
2413
+ toolUse: boolean;
2414
+ thinking: boolean;
2415
+ artifacts: boolean;
2416
+ fileAttachments: boolean;
2417
+ imageInput: boolean;
2418
+ slashCommands: boolean;
2419
+ modelSwitching: boolean;
2420
+ promptCaching: boolean;
2421
+ agenticTools: boolean;
2422
+ sessionResume: boolean;
2423
+ };
2424
+ agentId: string;
2425
+ onboarding: {
2426
+ requiredVaultKeys: string[];
2427
+ requiredEnvVars: string[];
2428
+ authCommand?: string | undefined;
2429
+ docsUrl?: string | undefined;
2430
+ };
2431
+ display?: string | undefined;
2120
2432
  } | undefined;
2121
2433
  kind?: string | undefined;
2122
2434
  migrations?: string | undefined;
@@ -2144,30 +2456,7 @@ export declare const PkgDetailSchema: z.ZodObject<{
2144
2456
  decorations?: boolean | undefined;
2145
2457
  menu?: string | undefined;
2146
2458
  } | undefined;
2147
- engine?: {
2148
- capabilities: {
2149
- mcp: boolean;
2150
- streaming: boolean;
2151
- toolUse: boolean;
2152
- thinking: boolean;
2153
- artifacts: boolean;
2154
- fileAttachments: boolean;
2155
- imageInput: boolean;
2156
- slashCommands: boolean;
2157
- modelSwitching: boolean;
2158
- promptCaching: boolean;
2159
- agenticTools: boolean;
2160
- sessionResume: boolean;
2161
- };
2162
- agentId: string;
2163
- onboarding: {
2164
- requiredVaultKeys: string[];
2165
- requiredEnvVars: string[];
2166
- authCommand?: string | undefined;
2167
- docsUrl?: string | undefined;
2168
- };
2169
- display?: string | undefined;
2170
- } | undefined;
2459
+ signature?: string | undefined;
2171
2460
  };
2172
2461
  deps: {
2173
2462
  name: string;
@@ -2216,8 +2505,48 @@ export declare const PkgDetailSchema: z.ZodObject<{
2216
2505
  webview?: {
2217
2506
  child_webviews?: boolean | undefined;
2218
2507
  partitions?: string[] | undefined;
2508
+ engines?: ("webkit" | "chrome")[] | undefined;
2219
2509
  } | undefined;
2220
2510
  agentOps?: {} | undefined;
2511
+ http?: {
2512
+ auth_secret?: string | undefined;
2513
+ auth_header?: string | undefined;
2514
+ } | undefined;
2515
+ secrets?: {
2516
+ declarations?: {
2517
+ name: string;
2518
+ vault_key: string;
2519
+ format?: string | undefined;
2520
+ required?: boolean | undefined;
2521
+ }[] | undefined;
2522
+ } | undefined;
2523
+ invoke?: {
2524
+ commands?: string[] | undefined;
2525
+ } | undefined;
2526
+ } | undefined;
2527
+ engine?: {
2528
+ capabilities: {
2529
+ mcp: boolean;
2530
+ streaming: boolean;
2531
+ toolUse: boolean;
2532
+ thinking: boolean;
2533
+ artifacts: boolean;
2534
+ fileAttachments: boolean;
2535
+ imageInput: boolean;
2536
+ slashCommands: boolean;
2537
+ modelSwitching: boolean;
2538
+ promptCaching: boolean;
2539
+ agenticTools: boolean;
2540
+ sessionResume: boolean;
2541
+ };
2542
+ agentId: string;
2543
+ display?: string | undefined;
2544
+ onboarding?: {
2545
+ requiredVaultKeys?: string[] | undefined;
2546
+ requiredEnvVars?: string[] | undefined;
2547
+ authCommand?: string | undefined;
2548
+ docsUrl?: string | undefined;
2549
+ } | undefined;
2221
2550
  } | undefined;
2222
2551
  kind?: string | undefined;
2223
2552
  permissions?: {
@@ -2295,34 +2624,11 @@ export declare const PkgDetailSchema: z.ZodObject<{
2295
2624
  decorations?: boolean | undefined;
2296
2625
  menu?: string | undefined;
2297
2626
  } | undefined;
2298
- engine?: {
2299
- capabilities: {
2300
- mcp: boolean;
2301
- streaming: boolean;
2302
- toolUse: boolean;
2303
- thinking: boolean;
2304
- artifacts: boolean;
2305
- fileAttachments: boolean;
2306
- imageInput: boolean;
2307
- slashCommands: boolean;
2308
- modelSwitching: boolean;
2309
- promptCaching: boolean;
2310
- agenticTools: boolean;
2311
- sessionResume: boolean;
2312
- };
2313
- agentId: string;
2314
- display?: string | undefined;
2315
- onboarding?: {
2316
- requiredVaultKeys?: string[] | undefined;
2317
- requiredEnvVars?: string[] | undefined;
2318
- authCommand?: string | undefined;
2319
- docsUrl?: string | undefined;
2320
- } | undefined;
2321
- } | undefined;
2322
2627
  screenshots?: {
2323
2628
  path: string;
2324
2629
  caption?: string | undefined;
2325
2630
  }[] | undefined;
2631
+ signature?: string | undefined;
2326
2632
  };
2327
2633
  size?: number | undefined;
2328
2634
  screenshots?: {
@@ -2438,8 +2744,48 @@ export declare const PkgDetailSchema: z.ZodObject<{
2438
2744
  webview?: {
2439
2745
  child_webviews: boolean;
2440
2746
  partitions: string[];
2747
+ engines: ("webkit" | "chrome")[];
2441
2748
  } | undefined;
2442
2749
  agentOps?: {} | undefined;
2750
+ http?: {
2751
+ auth_header: string;
2752
+ auth_secret?: string | undefined;
2753
+ } | undefined;
2754
+ secrets?: {
2755
+ declarations: {
2756
+ name: string;
2757
+ required: boolean;
2758
+ vault_key: string;
2759
+ format?: string | undefined;
2760
+ }[];
2761
+ } | undefined;
2762
+ invoke?: {
2763
+ commands: string[];
2764
+ } | undefined;
2765
+ } | undefined;
2766
+ engine?: {
2767
+ capabilities: {
2768
+ mcp: boolean;
2769
+ streaming: boolean;
2770
+ toolUse: boolean;
2771
+ thinking: boolean;
2772
+ artifacts: boolean;
2773
+ fileAttachments: boolean;
2774
+ imageInput: boolean;
2775
+ slashCommands: boolean;
2776
+ modelSwitching: boolean;
2777
+ promptCaching: boolean;
2778
+ agenticTools: boolean;
2779
+ sessionResume: boolean;
2780
+ };
2781
+ agentId: string;
2782
+ onboarding: {
2783
+ requiredVaultKeys: string[];
2784
+ requiredEnvVars: string[];
2785
+ authCommand?: string | undefined;
2786
+ docsUrl?: string | undefined;
2787
+ };
2788
+ display?: string | undefined;
2443
2789
  } | undefined;
2444
2790
  kind?: string | undefined;
2445
2791
  migrations?: string | undefined;
@@ -2467,30 +2813,7 @@ export declare const PkgDetailSchema: z.ZodObject<{
2467
2813
  decorations?: boolean | undefined;
2468
2814
  menu?: string | undefined;
2469
2815
  } | undefined;
2470
- engine?: {
2471
- capabilities: {
2472
- mcp: boolean;
2473
- streaming: boolean;
2474
- toolUse: boolean;
2475
- thinking: boolean;
2476
- artifacts: boolean;
2477
- fileAttachments: boolean;
2478
- imageInput: boolean;
2479
- slashCommands: boolean;
2480
- modelSwitching: boolean;
2481
- promptCaching: boolean;
2482
- agenticTools: boolean;
2483
- sessionResume: boolean;
2484
- };
2485
- agentId: string;
2486
- onboarding: {
2487
- requiredVaultKeys: string[];
2488
- requiredEnvVars: string[];
2489
- authCommand?: string | undefined;
2490
- docsUrl?: string | undefined;
2491
- };
2492
- display?: string | undefined;
2493
- } | undefined;
2816
+ signature?: string | undefined;
2494
2817
  };
2495
2818
  deps: {
2496
2819
  name: string;
@@ -2544,8 +2867,48 @@ export declare const PkgDetailSchema: z.ZodObject<{
2544
2867
  webview?: {
2545
2868
  child_webviews?: boolean | undefined;
2546
2869
  partitions?: string[] | undefined;
2870
+ engines?: ("webkit" | "chrome")[] | undefined;
2547
2871
  } | undefined;
2548
2872
  agentOps?: {} | undefined;
2873
+ http?: {
2874
+ auth_secret?: string | undefined;
2875
+ auth_header?: string | undefined;
2876
+ } | undefined;
2877
+ secrets?: {
2878
+ declarations?: {
2879
+ name: string;
2880
+ vault_key: string;
2881
+ format?: string | undefined;
2882
+ required?: boolean | undefined;
2883
+ }[] | undefined;
2884
+ } | undefined;
2885
+ invoke?: {
2886
+ commands?: string[] | undefined;
2887
+ } | undefined;
2888
+ } | undefined;
2889
+ engine?: {
2890
+ capabilities: {
2891
+ mcp: boolean;
2892
+ streaming: boolean;
2893
+ toolUse: boolean;
2894
+ thinking: boolean;
2895
+ artifacts: boolean;
2896
+ fileAttachments: boolean;
2897
+ imageInput: boolean;
2898
+ slashCommands: boolean;
2899
+ modelSwitching: boolean;
2900
+ promptCaching: boolean;
2901
+ agenticTools: boolean;
2902
+ sessionResume: boolean;
2903
+ };
2904
+ agentId: string;
2905
+ display?: string | undefined;
2906
+ onboarding?: {
2907
+ requiredVaultKeys?: string[] | undefined;
2908
+ requiredEnvVars?: string[] | undefined;
2909
+ authCommand?: string | undefined;
2910
+ docsUrl?: string | undefined;
2911
+ } | undefined;
2549
2912
  } | undefined;
2550
2913
  kind?: string | undefined;
2551
2914
  permissions?: {
@@ -2623,34 +2986,11 @@ export declare const PkgDetailSchema: z.ZodObject<{
2623
2986
  decorations?: boolean | undefined;
2624
2987
  menu?: string | undefined;
2625
2988
  } | undefined;
2626
- engine?: {
2627
- capabilities: {
2628
- mcp: boolean;
2629
- streaming: boolean;
2630
- toolUse: boolean;
2631
- thinking: boolean;
2632
- artifacts: boolean;
2633
- fileAttachments: boolean;
2634
- imageInput: boolean;
2635
- slashCommands: boolean;
2636
- modelSwitching: boolean;
2637
- promptCaching: boolean;
2638
- agenticTools: boolean;
2639
- sessionResume: boolean;
2640
- };
2641
- agentId: string;
2642
- display?: string | undefined;
2643
- onboarding?: {
2644
- requiredVaultKeys?: string[] | undefined;
2645
- requiredEnvVars?: string[] | undefined;
2646
- authCommand?: string | undefined;
2647
- docsUrl?: string | undefined;
2648
- } | undefined;
2649
- } | undefined;
2650
2989
  screenshots?: {
2651
2990
  path: string;
2652
2991
  caption?: string | undefined;
2653
2992
  }[] | undefined;
2993
+ signature?: string | undefined;
2654
2994
  };
2655
2995
  size?: number | undefined;
2656
2996
  screenshots?: {