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

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 (35) hide show
  1. package/CHANGELOG.md +20 -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/package.json +5 -5
  31. package/dist/esm/lib/fusion-ai.js.map +0 -1
  32. package/dist/types/cli/commands/ai/utils/extract-git-metadata.d.ts +0 -49
  33. package/dist/types/cli/commands/ai/utils/parse-markdown.d.ts +0 -9
  34. /package/dist/esm/lib/{fusion-ai.js → ai/fusion-ai.js} +0 -0
  35. /package/dist/types/lib/{fusion-ai.d.ts → ai/fusion-ai.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Change Log
2
2
 
3
+ ## 13.0.0-cli-search-index.3
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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.
8
+
9
+ Enhanced file status tracking to handle new, modified, and removed files. Removed files are automatically deleted from the vector store during processing.
10
+
11
+ - [#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.
12
+
13
+ The new command enables semantic search using vector embeddings with support for:
14
+
15
+ - Configurable result limits
16
+ - OData filter expressions for metadata-based filtering
17
+ - JSON output option for programmatic use
18
+ - Raw metadata output option
19
+ - Verbose output mode
20
+
21
+ Usage: `ffc ai search <query> [options]`
22
+
3
23
  ## 13.0.0-cli-search-index.2
4
24
 
5
25
  ### 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