@stndrds/constants 1.0.0-alpha.224 → 1.0.0-alpha.226

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.
package/dist/index.d.mts CHANGED
@@ -1735,6 +1735,18 @@ declare const isVideoMimeType: (mimeType: string) => boolean;
1735
1735
  */
1736
1736
  declare const isCodeMimeType: (mimeType: string) => boolean;
1737
1737
 
1738
+ /**
1739
+ * Maximum length of a skill `name`. Skill names double as the identifier passed
1740
+ * to `get_skill({ name })`, so they stay short and slug-like.
1741
+ */
1742
+ declare const SKILL_NAME_MAX_LENGTH = 100;
1743
+ /**
1744
+ * Maximum length of a skill `description`. Descriptions are advertised verbatim
1745
+ * in the agent system prompt, so they are bounded to keep the per-skill bullet
1746
+ * (and therefore the whole skills block) within a fixed ceiling.
1747
+ */
1748
+ declare const SKILL_DESCRIPTION_MAX_LENGTH = 160;
1749
+
1738
1750
  /** The shared single-tenant / master-tenant UUID used across web and api wiring. */
1739
1751
  declare const DEFAULT_TENANT_ID = "00000000-0000-0000-0000-000000000000";
1740
1752
 
@@ -1755,4 +1767,4 @@ type FormatPreset = {
1755
1767
  };
1756
1768
  declare const TEXT_FORMAT_PRESETS: readonly FormatPreset[];
1757
1769
 
1758
- export { AI_CHAT_ACCEPTED_TYPES, AI_CHAT_MAX_FILES, AI_CHAT_MAX_FILE_SIZE, AI_CHAT_SUPPORTED_DOCUMENTS, AI_CHAT_SUPPORTED_IMAGES, AI_CHAT_SUPPORTED_MIME_TYPES, ALL_MIME_TYPES, ARCHIVES, ARCHIVE_MIME_TYPES, ARCHIVE_MIME_TYPES_ARRAY, AUDIO, AUDIO_MIME_TYPES, AUDIO_MIME_TYPES_ARRAY, type ArchiveMimeType, type AudioMimeType, BYTES, CODE, CODE_MIME_TYPES, CODE_MIME_TYPES_ARRAY, COLORS, COLOR_GROUPS, COUNTRIES, CURRENCIES, type CodeMimeType, type Color, type ColorBackground, type ColorBorder, type ColorGroup, type ColorGroupColors, type ColorIcon, type ColorId, type ColorText, type Country, type CountryIso2, type CountryIso3, type CountryName, type CountryNumericCode, type CountryPhoneCode, type Currency, type CurrencyCode, type CurrencyName, type CurrencySymbol, DEFAULT_ATTRIBUTE_ICONS, DEFAULT_TENANT_ID, DOCUMENTS, DOCUMENT_MIME_TYPES, DOCUMENT_MIME_TYPES_ARRAY, type DocumentMimeType, FILE_SIZE, FONTS, FONT_MIME_TYPES, FONT_MIME_TYPES_ARRAY, type FontMimeType, type FormatPreset, type FormatPresetGroup, GIGABYTES, ICONS, IMAGES, IMAGE_MIME_TYPES, IMAGE_MIME_TYPES_ARRAY, type IconName, type ImageMimeType, KILOBYTES, MEDIA, MEGABYTES, type MimeType, OFFICE_DOCUMENTS, RECOMMENDED_MAX_SIZES, STATUS_COLORS, type StatusColorGroup, TEXT_FORMAT_PRESETS, VIDEO, VIDEO_MIME_TYPES, VIDEO_MIME_TYPES_ARRAY, type VideoMimeType, WEB_IMAGES, bytesToGb, bytesToMb, cn, formatBytes, gbToBytes, getAllColors, getAllCountries, getAllCurrencies, getColor, getColorIds, getColorsByGroup, getCountryByIso2, getCountryByIso3, getCountryDisplayName, getCountryDisplayNameByIso3, getCurrency, getCurrencySymbol, getDefaultAttributeIcon, getPhoneMaxDigits, getPhoneTrunkPrefix, getSortedCountries, isArchiveMimeType, isAudioMimeType, isCodeMimeType, isDocumentMimeType, isImageMimeType, isValidColorId, isValidCurrencyCode, isValidIso2, isValidIso3, isVideoMimeType, isWithinSizeLimit, mbToBytes, stripTrunkPrefix };
1770
+ export { AI_CHAT_ACCEPTED_TYPES, AI_CHAT_MAX_FILES, AI_CHAT_MAX_FILE_SIZE, AI_CHAT_SUPPORTED_DOCUMENTS, AI_CHAT_SUPPORTED_IMAGES, AI_CHAT_SUPPORTED_MIME_TYPES, ALL_MIME_TYPES, ARCHIVES, ARCHIVE_MIME_TYPES, ARCHIVE_MIME_TYPES_ARRAY, AUDIO, AUDIO_MIME_TYPES, AUDIO_MIME_TYPES_ARRAY, type ArchiveMimeType, type AudioMimeType, BYTES, CODE, CODE_MIME_TYPES, CODE_MIME_TYPES_ARRAY, COLORS, COLOR_GROUPS, COUNTRIES, CURRENCIES, type CodeMimeType, type Color, type ColorBackground, type ColorBorder, type ColorGroup, type ColorGroupColors, type ColorIcon, type ColorId, type ColorText, type Country, type CountryIso2, type CountryIso3, type CountryName, type CountryNumericCode, type CountryPhoneCode, type Currency, type CurrencyCode, type CurrencyName, type CurrencySymbol, DEFAULT_ATTRIBUTE_ICONS, DEFAULT_TENANT_ID, DOCUMENTS, DOCUMENT_MIME_TYPES, DOCUMENT_MIME_TYPES_ARRAY, type DocumentMimeType, FILE_SIZE, FONTS, FONT_MIME_TYPES, FONT_MIME_TYPES_ARRAY, type FontMimeType, type FormatPreset, type FormatPresetGroup, GIGABYTES, ICONS, IMAGES, IMAGE_MIME_TYPES, IMAGE_MIME_TYPES_ARRAY, type IconName, type ImageMimeType, KILOBYTES, MEDIA, MEGABYTES, type MimeType, OFFICE_DOCUMENTS, RECOMMENDED_MAX_SIZES, SKILL_DESCRIPTION_MAX_LENGTH, SKILL_NAME_MAX_LENGTH, STATUS_COLORS, type StatusColorGroup, TEXT_FORMAT_PRESETS, VIDEO, VIDEO_MIME_TYPES, VIDEO_MIME_TYPES_ARRAY, type VideoMimeType, WEB_IMAGES, bytesToGb, bytesToMb, cn, formatBytes, gbToBytes, getAllColors, getAllCountries, getAllCurrencies, getColor, getColorIds, getColorsByGroup, getCountryByIso2, getCountryByIso3, getCountryDisplayName, getCountryDisplayNameByIso3, getCurrency, getCurrencySymbol, getDefaultAttributeIcon, getPhoneMaxDigits, getPhoneTrunkPrefix, getSortedCountries, isArchiveMimeType, isAudioMimeType, isCodeMimeType, isDocumentMimeType, isImageMimeType, isValidColorId, isValidCurrencyCode, isValidIso2, isValidIso3, isVideoMimeType, isWithinSizeLimit, mbToBytes, stripTrunkPrefix };
package/dist/index.d.ts CHANGED
@@ -1735,6 +1735,18 @@ declare const isVideoMimeType: (mimeType: string) => boolean;
1735
1735
  */
1736
1736
  declare const isCodeMimeType: (mimeType: string) => boolean;
1737
1737
 
1738
+ /**
1739
+ * Maximum length of a skill `name`. Skill names double as the identifier passed
1740
+ * to `get_skill({ name })`, so they stay short and slug-like.
1741
+ */
1742
+ declare const SKILL_NAME_MAX_LENGTH = 100;
1743
+ /**
1744
+ * Maximum length of a skill `description`. Descriptions are advertised verbatim
1745
+ * in the agent system prompt, so they are bounded to keep the per-skill bullet
1746
+ * (and therefore the whole skills block) within a fixed ceiling.
1747
+ */
1748
+ declare const SKILL_DESCRIPTION_MAX_LENGTH = 160;
1749
+
1738
1750
  /** The shared single-tenant / master-tenant UUID used across web and api wiring. */
1739
1751
  declare const DEFAULT_TENANT_ID = "00000000-0000-0000-0000-000000000000";
1740
1752
 
@@ -1755,4 +1767,4 @@ type FormatPreset = {
1755
1767
  };
1756
1768
  declare const TEXT_FORMAT_PRESETS: readonly FormatPreset[];
1757
1769
 
1758
- export { AI_CHAT_ACCEPTED_TYPES, AI_CHAT_MAX_FILES, AI_CHAT_MAX_FILE_SIZE, AI_CHAT_SUPPORTED_DOCUMENTS, AI_CHAT_SUPPORTED_IMAGES, AI_CHAT_SUPPORTED_MIME_TYPES, ALL_MIME_TYPES, ARCHIVES, ARCHIVE_MIME_TYPES, ARCHIVE_MIME_TYPES_ARRAY, AUDIO, AUDIO_MIME_TYPES, AUDIO_MIME_TYPES_ARRAY, type ArchiveMimeType, type AudioMimeType, BYTES, CODE, CODE_MIME_TYPES, CODE_MIME_TYPES_ARRAY, COLORS, COLOR_GROUPS, COUNTRIES, CURRENCIES, type CodeMimeType, type Color, type ColorBackground, type ColorBorder, type ColorGroup, type ColorGroupColors, type ColorIcon, type ColorId, type ColorText, type Country, type CountryIso2, type CountryIso3, type CountryName, type CountryNumericCode, type CountryPhoneCode, type Currency, type CurrencyCode, type CurrencyName, type CurrencySymbol, DEFAULT_ATTRIBUTE_ICONS, DEFAULT_TENANT_ID, DOCUMENTS, DOCUMENT_MIME_TYPES, DOCUMENT_MIME_TYPES_ARRAY, type DocumentMimeType, FILE_SIZE, FONTS, FONT_MIME_TYPES, FONT_MIME_TYPES_ARRAY, type FontMimeType, type FormatPreset, type FormatPresetGroup, GIGABYTES, ICONS, IMAGES, IMAGE_MIME_TYPES, IMAGE_MIME_TYPES_ARRAY, type IconName, type ImageMimeType, KILOBYTES, MEDIA, MEGABYTES, type MimeType, OFFICE_DOCUMENTS, RECOMMENDED_MAX_SIZES, STATUS_COLORS, type StatusColorGroup, TEXT_FORMAT_PRESETS, VIDEO, VIDEO_MIME_TYPES, VIDEO_MIME_TYPES_ARRAY, type VideoMimeType, WEB_IMAGES, bytesToGb, bytesToMb, cn, formatBytes, gbToBytes, getAllColors, getAllCountries, getAllCurrencies, getColor, getColorIds, getColorsByGroup, getCountryByIso2, getCountryByIso3, getCountryDisplayName, getCountryDisplayNameByIso3, getCurrency, getCurrencySymbol, getDefaultAttributeIcon, getPhoneMaxDigits, getPhoneTrunkPrefix, getSortedCountries, isArchiveMimeType, isAudioMimeType, isCodeMimeType, isDocumentMimeType, isImageMimeType, isValidColorId, isValidCurrencyCode, isValidIso2, isValidIso3, isVideoMimeType, isWithinSizeLimit, mbToBytes, stripTrunkPrefix };
1770
+ export { AI_CHAT_ACCEPTED_TYPES, AI_CHAT_MAX_FILES, AI_CHAT_MAX_FILE_SIZE, AI_CHAT_SUPPORTED_DOCUMENTS, AI_CHAT_SUPPORTED_IMAGES, AI_CHAT_SUPPORTED_MIME_TYPES, ALL_MIME_TYPES, ARCHIVES, ARCHIVE_MIME_TYPES, ARCHIVE_MIME_TYPES_ARRAY, AUDIO, AUDIO_MIME_TYPES, AUDIO_MIME_TYPES_ARRAY, type ArchiveMimeType, type AudioMimeType, BYTES, CODE, CODE_MIME_TYPES, CODE_MIME_TYPES_ARRAY, COLORS, COLOR_GROUPS, COUNTRIES, CURRENCIES, type CodeMimeType, type Color, type ColorBackground, type ColorBorder, type ColorGroup, type ColorGroupColors, type ColorIcon, type ColorId, type ColorText, type Country, type CountryIso2, type CountryIso3, type CountryName, type CountryNumericCode, type CountryPhoneCode, type Currency, type CurrencyCode, type CurrencyName, type CurrencySymbol, DEFAULT_ATTRIBUTE_ICONS, DEFAULT_TENANT_ID, DOCUMENTS, DOCUMENT_MIME_TYPES, DOCUMENT_MIME_TYPES_ARRAY, type DocumentMimeType, FILE_SIZE, FONTS, FONT_MIME_TYPES, FONT_MIME_TYPES_ARRAY, type FontMimeType, type FormatPreset, type FormatPresetGroup, GIGABYTES, ICONS, IMAGES, IMAGE_MIME_TYPES, IMAGE_MIME_TYPES_ARRAY, type IconName, type ImageMimeType, KILOBYTES, MEDIA, MEGABYTES, type MimeType, OFFICE_DOCUMENTS, RECOMMENDED_MAX_SIZES, SKILL_DESCRIPTION_MAX_LENGTH, SKILL_NAME_MAX_LENGTH, STATUS_COLORS, type StatusColorGroup, TEXT_FORMAT_PRESETS, VIDEO, VIDEO_MIME_TYPES, VIDEO_MIME_TYPES_ARRAY, type VideoMimeType, WEB_IMAGES, bytesToGb, bytesToMb, cn, formatBytes, gbToBytes, getAllColors, getAllCountries, getAllCurrencies, getColor, getColorIds, getColorsByGroup, getCountryByIso2, getCountryByIso3, getCountryDisplayName, getCountryDisplayNameByIso3, getCurrency, getCurrencySymbol, getDefaultAttributeIcon, getPhoneMaxDigits, getPhoneTrunkPrefix, getSortedCountries, isArchiveMimeType, isAudioMimeType, isCodeMimeType, isDocumentMimeType, isImageMimeType, isValidColorId, isValidCurrencyCode, isValidIso2, isValidIso3, isVideoMimeType, isWithinSizeLimit, mbToBytes, stripTrunkPrefix };
package/dist/index.js CHANGED
@@ -60,6 +60,8 @@ __export(index_exports, {
60
60
  MEGABYTES: () => MEGABYTES,
61
61
  OFFICE_DOCUMENTS: () => OFFICE_DOCUMENTS,
62
62
  RECOMMENDED_MAX_SIZES: () => RECOMMENDED_MAX_SIZES,
63
+ SKILL_DESCRIPTION_MAX_LENGTH: () => SKILL_DESCRIPTION_MAX_LENGTH,
64
+ SKILL_NAME_MAX_LENGTH: () => SKILL_NAME_MAX_LENGTH,
63
65
  STATUS_COLORS: () => STATUS_COLORS,
64
66
  TEXT_FORMAT_PRESETS: () => TEXT_FORMAT_PRESETS,
65
67
  VIDEO: () => VIDEO,
@@ -2670,6 +2672,10 @@ var ICONS = [
2670
2672
  "zero"
2671
2673
  ];
2672
2674
 
2675
+ // src/skills.ts
2676
+ var SKILL_NAME_MAX_LENGTH = 100;
2677
+ var SKILL_DESCRIPTION_MAX_LENGTH = 160;
2678
+
2673
2679
  // src/tenant.ts
2674
2680
  var DEFAULT_TENANT_ID = "00000000-0000-0000-0000-000000000000";
2675
2681
 
@@ -2799,6 +2805,8 @@ var TEXT_FORMAT_PRESETS = [
2799
2805
  MEGABYTES,
2800
2806
  OFFICE_DOCUMENTS,
2801
2807
  RECOMMENDED_MAX_SIZES,
2808
+ SKILL_DESCRIPTION_MAX_LENGTH,
2809
+ SKILL_NAME_MAX_LENGTH,
2802
2810
  STATUS_COLORS,
2803
2811
  TEXT_FORMAT_PRESETS,
2804
2812
  VIDEO,
package/dist/index.mjs CHANGED
@@ -2565,6 +2565,10 @@ var ICONS = [
2565
2565
  "zero"
2566
2566
  ];
2567
2567
 
2568
+ // src/skills.ts
2569
+ var SKILL_NAME_MAX_LENGTH = 100;
2570
+ var SKILL_DESCRIPTION_MAX_LENGTH = 160;
2571
+
2568
2572
  // src/tenant.ts
2569
2573
  var DEFAULT_TENANT_ID = "00000000-0000-0000-0000-000000000000";
2570
2574
 
@@ -2693,6 +2697,8 @@ export {
2693
2697
  MEGABYTES,
2694
2698
  OFFICE_DOCUMENTS,
2695
2699
  RECOMMENDED_MAX_SIZES,
2700
+ SKILL_DESCRIPTION_MAX_LENGTH,
2701
+ SKILL_NAME_MAX_LENGTH,
2696
2702
  STATUS_COLORS,
2697
2703
  TEXT_FORMAT_PRESETS,
2698
2704
  VIDEO,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stndrds/constants",
3
- "version": "1.0.0-alpha.224",
3
+ "version": "1.0.0-alpha.226",
4
4
  "description": "Currency and country data with ISO codes",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",