@dxtmisha/functional 1.15.9 → 1.15.13

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/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.15.13] - 2026-08-20
6
+
7
+ ### Added
8
+ - **LLM Configuration (`llms.txt`)**: Added `llms.txt` indexing package capabilities, core composables (`executeUse`, `useApiRef`, `useStorageRef`, `useGeoIntlRef`), and AI resource documentation links.
9
+
10
+ ### Changed
11
+ - **AI Resource Metadata & Types**:
12
+ - Migrated prompt resource cache from monolithic `prompts.json` to individual resource descriptor files in `ai-types-list/resources/`.
13
+ - Regenerated AI type definitions and package descriptions with updated AI prompt formats.
14
+
15
+ ## [1.15.12] - 2026-08-13
16
+
17
+ ### Changed
18
+ - **Scripts**: Updated `prepublishOnly` script in `package.json` to execute `dxt-types-save` (`npm run library && npm run build && dxt-types-save`).
19
+
20
+ ## [1.15.11] - 2026-08-13
21
+
22
+ ### Changed
23
+ - **AI Documentation & Types**: Updated `types` script in `package.json` to build the library before running `dxt-types`, added `ai-types.md` to `.gitignore`, and regenerated modular `ai-types-list/` type declaration files.
24
+
25
+ ## [1.15.10] - 2026-08-11
26
+
27
+ ### Changed
28
+ - **AI Documentation**: Added architectural directive in `ai-doc.md` requiring complex business logic with potential for reuse to be extracted into external service composables wrapped with `executeUse*` (`executeUseGlobal`, `executeUseLocal`, or `executeUseProvide`).
29
+
5
30
  ## [1.15.8] - 2026-08-05
6
31
 
7
32
  ### Changed
package/ai-description.md CHANGED
@@ -1,24 +1,11 @@
1
- # @dxtmisha/functional Reference
1
+ This package provides a comprehensive collection of Vue composables, reactive utilities, and design component constructors tailored for enterprise application architecture, state management, and API integration.
2
2
 
3
- A reactive utility and component architecture library for Vue 3 providing high-level abstract base classes, state management composables, and localized formatting helpers.
4
-
5
- ## Key Capabilities & Groupings
6
- - **API & Network**: Reactive composables for asynchronous HTTP requests, mutation workflows, SSR prefetching, response contract validation, error mappings, and list orchestration.
7
- - **Storage & State**: Persistent storage composables synchronizing state with cookies, web storage, URL query/hash parameters, and cross-tab messaging.
8
- - **Localization & Formatting**: Utilities for reactive handling of dates, numbers, currency, unit conversions, country flags, and dynamic translations.
9
- - **List & Search**: Helpers for managing reactive data filtering, selection state, text highlighting, debouncing, and router-bound navigation lists.
10
- - **DOM & System**: DOM visibility tracking, reactive page metadata management, global loading states, scrollbar measurements, and singleton dependency injection.
11
- - **Design Components**: Abstract base classes for standardized component rendering, dynamic class/style computation, prop tracking, and element exposure.
12
-
13
- ## Triggers for Studying `ai-types.md`
14
- Study `ai-types.md` when implementing abstract component constructors, defining API validation contracts or error schemas, typing complex list structures and search options, configuring singleton execution scopes, or managing reactive Vue prop and subcomponent bindings.
15
-
16
- ## Integration Context
17
- This library integrates natively into Vue 3 and Vue Router applications through a unified global plugin that configures shared API, routing, localization, and metadata services.
3
+ To study ai-types.md, focus on reactive API request wrappers, component constructor definitions, and internationalization utilities for type-safe state synchronization.
18
4
 
5
+ Key Capabilities: API Integration, Reactive Storage, Internationalization Support, Component Design, List Management
19
6
  ## Mandatory Rules
20
- Read the corresponding file ONLY when working on a task related to (even if not working directly with this package):
21
- - 'node_modules/@dxtmisha/functional/ai-resources/api-reference.md': Reactive singleton scope initialization and REST API management patterns
22
- - 'node_modules/@dxtmisha/functional/ai-resources/localization-seo.md': Geographic context, locale-aware formatting, reactive translations, document metadata, and scrollbar width measurement
23
- - 'node_modules/@dxtmisha/functional/ai-resources/reactivity-lists.md': Async reactivity composables, reactive list models, search filtering, and DOM observer utilities
24
- - 'node_modules/@dxtmisha/functional/ai-resources/storage-state.md': Reactive composables for browser storage, cookies, cross-tab synchronization, and URL hash state
7
+ You MUST evaluate whether your task relates to any of the following topics (even if not working directly with this package). If related material is present, you are strictly obligated to read and study the corresponding file before proceeding:
8
+ - 'node_modules/@dxtmisha/functional/ai-resources/api-reference.md': Defines guidance and usage patterns for REST API management and scope-isolated singleton factories within the library. It solves the technical task of configuring reactive CRUD operations, caching, and lifecycle scopes like global, local, and provided singletons.
9
+ - 'node_modules/@dxtmisha/functional/ai-resources/localization-seo.md': Utilities for locale-aware formatting, multi-key translations, and reactive HTML document metadata handling. Solves internationalization and SEO requirements in frontend applications.
10
+ - 'node_modules/@dxtmisha/functional/ai-resources/reactivity-lists.md': Provides advanced async reactivity composables, reactive list data models, debounced search filters, and DOM observer utilities. This file solves complex state management and performance optimization tasks in frontend applications using functional helpers.
11
+ - 'node_modules/@dxtmisha/functional/ai-resources/storage-state.md': Provides composable Vue-like functions for managing persistent and synchronized browser state across localStorage, sessionStorage, cookies, BroadcastChannel, and URL hash fragments. Solves technical tasks related to cross-tab communication, SSR-safe cookie handling, and reactive storage binding.
package/ai-doc.md CHANGED
@@ -6,3 +6,4 @@ Vue 3 reactive utilities built on `@dxtmisha/functional-basic`. See `ai-types.md
6
6
  - **Priority**: Always use `@dxtmisha/functional` reactive composables instead of low-level `@dxtmisha/functional-basic` primitives in Vue 3 applications.
7
7
  - **API & State Singletons**: **NEVER** call `useApi*` / `executeUse*` hooks directly in Vue components (`<script setup>`). Wrap them in `executeUseGlobal` (startup), `executeUseLocal` (lazy, session scope), or `executeUseProvide` (scoped tree) inside external service files. Components only import and call the resulting hook.
8
8
  - **Purity & Atomicity**: Keep Vue components minimal. Extract all reactive state management, network orchestration, and side effects into external composables.
9
+ - **Reusable Business Logic (`executeUse*`)**: Any complex business logic or state logic with any potential for reuse MUST be extracted into external service composables wrapped with `executeUse*` (`executeUseGlobal`, `executeUseLocal`, or `executeUseProvide`).
@@ -3,36 +3,36 @@
3
3
  "uri": "@dxtmisha/functional/ai-types.md",
4
4
  "name": "Type Definitions (@dxtmisha/functional)",
5
5
  "mimeType": "text/markdown",
6
- "description": "Compressed and AI-optimized TypeScript declaration contracts for functional Vue 3 utilities and base components."
6
+ "description": "TypeScript type definitions and signatures for AI coding assistant."
7
7
  },
8
8
  {
9
9
  "uri": "@dxtmisha/functional/ai-description.md",
10
- "name": "Package Overview & Rules (@dxtmisha/functional)",
10
+ "name": "Project Overview (@dxtmisha/functional)",
11
11
  "mimeType": "text/markdown",
12
- "description": "High-density project overview, key capabilities, and prompt trigger guidelines."
12
+ "description": "Project overview, usage guidelines, and mandatory prompt rules for AI coding assistant."
13
13
  },
14
14
  {
15
15
  "uri": "@dxtmisha/functional/ai-resources/api-reference.md",
16
- "name": "API Rules (@dxtmisha/functional)",
16
+ "name": "API Management and Reactive Singletons (@dxtmisha/functional)",
17
17
  "mimeType": "text/markdown",
18
- "description": "Reactive singleton scope initialization and REST API management patterns."
18
+ "description": "Defines guidance and usage patterns for REST API management and scope-isolated singleton factories within the library. It solves the technical task of configuring reactive CRUD operations, caching, and lifecycle scopes like global, local, and provided singletons."
19
19
  },
20
20
  {
21
21
  "uri": "@dxtmisha/functional/ai-resources/localization-seo.md",
22
- "name": "Localization Rules (@dxtmisha/functional)",
22
+ "name": "Localization and SEO Management (@dxtmisha/functional)",
23
23
  "mimeType": "text/markdown",
24
- "description": "Geographic context, locale-aware formatting, reactive translations, and document metadata."
24
+ "description": "Utilities for locale-aware formatting, multi-key translations, and reactive HTML document metadata handling. Solves internationalization and SEO requirements in frontend applications."
25
25
  },
26
26
  {
27
27
  "uri": "@dxtmisha/functional/ai-resources/reactivity-lists.md",
28
- "name": "Lists Rules (@dxtmisha/functional)",
28
+ "name": "Reactivity Helpers and DOM Utilities (@dxtmisha/functional)",
29
29
  "mimeType": "text/markdown",
30
- "description": "Async reactivity composables, reactive list models, search filtering, and DOM observer utilities."
30
+ "description": "Provides advanced async reactivity composables, reactive list data models, debounced search filters, and DOM observer utilities. This file solves complex state management and performance optimization tasks in frontend applications using functional helpers."
31
31
  },
32
32
  {
33
33
  "uri": "@dxtmisha/functional/ai-resources/storage-state.md",
34
- "name": "Storage Rules (@dxtmisha/functional)",
34
+ "name": "Reactive Storage Composables (@dxtmisha/functional)",
35
35
  "mimeType": "text/markdown",
36
- "description": "Reactive composables for browser storage, cookies, cross-tab synchronization, and URL hash state."
36
+ "description": "Provides composable Vue-like functions for managing persistent and synchronized browser state across localStorage, sessionStorage, cookies, BroadcastChannel, and URL hash fragments. Solves technical tasks related to cross-tab communication, SSR-safe cookie handling, and reactive storage binding."
37
37
  }
38
38
  ]