@equinor/fusion-framework-cli 13.0.0-cli-search-index.2 → 13.0.0-cli-search-index.4

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +3 -0
  3. package/bin/build/bin.mjs +1 -1
  4. package/bin/build/cli.mjs +3 -3
  5. package/dist/esm/lib/ai/fusion-ai.js.map +1 -0
  6. package/dist/esm/lib/ai/index.js +1 -1
  7. package/dist/esm/lib/ai/index.js.map +1 -1
  8. package/dist/esm/version.js +1 -1
  9. package/dist/types/cli/commands/ai/index.d.ts +3 -0
  10. package/dist/types/cli/commands/ai/search.d.ts +48 -0
  11. package/dist/types/cli/commands/ai/utils/generate-cunk-id.d.ts +7 -0
  12. package/dist/types/cli/commands/ai/utils/git/file-changes.d.ts +21 -0
  13. package/dist/types/cli/commands/ai/utils/git/git-client.d.ts +17 -0
  14. package/dist/types/cli/commands/ai/utils/git/index.d.ts +5 -0
  15. package/dist/types/cli/commands/ai/utils/git/metadata.d.ts +7 -0
  16. package/dist/types/cli/commands/ai/utils/git/status.d.ts +12 -0
  17. package/dist/types/cli/commands/ai/utils/git/types.d.ts +33 -0
  18. package/dist/types/cli/commands/ai/utils/markdown/index.d.ts +2 -0
  19. package/dist/types/cli/commands/ai/utils/markdown/parser.d.ts +21 -0
  20. package/dist/types/cli/commands/ai/utils/markdown/types.d.ts +11 -0
  21. package/dist/types/cli/commands/ai/utils/setup-framework.d.ts +8 -2
  22. package/dist/types/cli/commands/ai/utils/ts-doc/constants.d.ts +5 -0
  23. package/dist/types/cli/commands/ai/utils/ts-doc/extractors.d.ts +28 -0
  24. package/dist/types/cli/commands/ai/utils/ts-doc/index.d.ts +2 -0
  25. package/dist/types/cli/commands/ai/utils/{parse-ts-doc.d.ts → ts-doc/parser.d.ts} +2 -12
  26. package/dist/types/cli/commands/ai/utils/ts-doc/types.d.ts +20 -0
  27. package/dist/types/cli/commands/ai/utils/types.d.ts +2 -0
  28. package/dist/types/lib/ai/index.d.ts +1 -1
  29. package/dist/types/version.d.ts +1 -1
  30. package/docs/ai-commands.md +573 -0
  31. package/package.json +4 -4
  32. package/dist/esm/lib/fusion-ai.js.map +0 -1
  33. package/dist/types/cli/commands/ai/utils/extract-git-metadata.d.ts +0 -49
  34. package/dist/types/cli/commands/ai/utils/parse-markdown.d.ts +0 -9
  35. /package/dist/esm/lib/{fusion-ai.js → ai/fusion-ai.js} +0 -0
  36. /package/dist/types/lib/{fusion-ai.d.ts → ai/fusion-ai.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Change Log
2
2
 
3
+ ## 13.0.0-cli-search-index.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3757](https://github.com/equinor/fusion-framework/pull/3757) [`91fbb14`](https://github.com/equinor/fusion-framework/commit/91fbb14c3618d4d494e0468fdef691a8cb48253d) Thanks [@odinr](https://github.com/odinr)! - Refactor `ai embeddings` command pipeline to improve performance and maintainability.
8
+
9
+ - Optimize file deletion with batch operations instead of one-by-one processing
10
+ - Improve RxJS stream handling with better separation of removed vs new/modified files
11
+ - Enhance result tracking to report deleted files and added document IDs
12
+ - Add clearer logging and comments throughout the pipeline
13
+ - Ensure deletions happen before additions using concat operator
14
+
15
+ No public API changes; internal improvements only.
16
+
17
+ ## 13.0.0-cli-search-index.3
18
+
19
+ ### Minor Changes
20
+
21
+ - [#3757](https://github.com/equinor/fusion-framework/pull/3757) [`551765f`](https://github.com/equinor/fusion-framework/commit/551765fc100332dd5d9e7ef2b14dfb51269bf888) Thanks [@odinr](https://github.com/odinr)! - Add `--clean` option to `ai embeddings` command to delete all existing documents from the vector store before processing.
22
+
23
+ Enhanced file status tracking to handle new, modified, and removed files. Removed files are automatically deleted from the vector store during processing.
24
+
25
+ - [#3757](https://github.com/equinor/fusion-framework/pull/3757) [`d09f820`](https://github.com/equinor/fusion-framework/commit/d09f8205cc091aa6af8d8527e3ed74d92ab9dc30) Thanks [@odinr](https://github.com/odinr)! - Add `ai search` command to search the vector store and validate embeddings.
26
+
27
+ The new command enables semantic search using vector embeddings with support for:
28
+
29
+ - Configurable result limits
30
+ - OData filter expressions for metadata-based filtering
31
+ - JSON output option for programmatic use
32
+ - Raw metadata output option
33
+ - Verbose output mode
34
+
35
+ Usage: `ffc ai search <query> [options]`
36
+
3
37
  ## 13.0.0-cli-search-index.2
4
38
 
5
39
  ### Patch Changes
package/README.md CHANGED
@@ -153,6 +153,9 @@ A minimal example for a Fusion Framework app:
153
153
  - [CI/CD Best Practices](docs/application.md#ci-cd): Automated workflows and deployment strategies
154
154
  - [Troubleshooting Guide](docs/application.md#troubleshooting-faq): Common issues and solutions
155
155
 
156
+ **Internal Tools** (Fusion Core Team Only)
157
+ - [AI Commands](docs/ai-commands.md): ⚠️ **Internal use only** - AI-powered chat, embeddings, and search commands for codebase understanding (not supported for third-party users ...yet)
158
+
156
159
  ## Troubleshooting
157
160
 
158
161
  ### Common Issues