@equinor/fusion-framework-cli 12.3.10 → 13.0.0-cli-search-index.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.
- package/CHANGELOG.md +86 -0
- package/bin/build/bin.mjs +1 -1
- package/bin/build/cli.mjs +6 -6
- package/dist/esm/lib/fusion-ai.js +2 -0
- package/dist/esm/lib/fusion-ai.js.map +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/bin/framework.node.d.ts +13 -1
- package/dist/types/bin/index.d.ts +2 -2
- package/dist/types/bin/portal-tag.d.ts +3 -17
- package/dist/types/cli/commands/ai/chat.d.ts +2 -0
- package/dist/types/cli/commands/ai/embeddings.d.ts +2 -0
- package/dist/types/cli/commands/ai/index.d.ts +27 -0
- package/dist/types/cli/commands/ai/utils/extract-git-metadata.d.ts +49 -0
- package/dist/types/cli/commands/ai/utils/generate-cunk-id.d.ts +1 -0
- package/dist/types/cli/commands/ai/utils/parse-markdown.d.ts +9 -0
- package/dist/types/cli/commands/ai/utils/parse-ts-doc.d.ts +33 -0
- package/dist/types/cli/commands/ai/utils/setup-framework.d.ts +6 -0
- package/dist/types/cli/commands/ai/utils/types.d.ts +5 -0
- package/dist/types/cli/commands/portal/publish.d.ts +1 -1
- package/dist/types/cli/commands/portal/tag.d.ts +1 -1
- package/dist/types/cli/options/ai.d.ts +105 -0
- package/dist/types/lib/fusion-ai.d.ts +20 -0
- package/dist/types/version.d.ts +1 -1
- package/docs/portal.md +7 -5
- package/package.json +33 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,91 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 13.0.0-cli-search-index.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`393f163`](https://github.com/equinor/fusion-framework/commit/393f1637ed33b84a6330b5eb122ab549805416bd) Thanks [@Noggling](https://github.com/Noggling)! - **Portal Tags Now Support Any String Value**
|
|
8
|
+
|
|
9
|
+
Portal tagging functionality has been enhanced to accept any string value for tags instead of being restricted to predefined enum values.
|
|
10
|
+
|
|
11
|
+
**Breaking Changes**
|
|
12
|
+
|
|
13
|
+
- **Removed `AllowedPortalTags` enum**: The enum that previously restricted portal tags to only `'latest'` and `'preview'` has been removed.
|
|
14
|
+
- **No longer exported**: `AllowedPortalTags` is no longer exported from `@equinor/fusion-framework-cli/bin`.
|
|
15
|
+
|
|
16
|
+
**Migration**
|
|
17
|
+
|
|
18
|
+
If you were importing and using `AllowedPortalTags`:
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
// Before
|
|
22
|
+
import { AllowedPortalTags } from '@equinor/fusion-framework-cli/bin';
|
|
23
|
+
await tagPortal({ tag: AllowedPortalTags.Latest, ... });
|
|
24
|
+
|
|
25
|
+
// After
|
|
26
|
+
await tagPortal({ tag: 'latest', ... });
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**New Flexibility**
|
|
30
|
+
|
|
31
|
+
You can now use any string value for portal tags:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# Common tags still work
|
|
35
|
+
ffc portal publish --tag latest
|
|
36
|
+
ffc portal publish --tag preview
|
|
37
|
+
|
|
38
|
+
# New flexibility with custom tags
|
|
39
|
+
ffc portal publish --tag next
|
|
40
|
+
ffc portal publish --tag stable
|
|
41
|
+
ffc portal publish --tag v2.0.0-beta
|
|
42
|
+
ffc portal publish --tag release-candidate
|
|
43
|
+
ffc portal tag custom-environment --package my-portal@1.0.0
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**Enhanced Documentation**
|
|
47
|
+
|
|
48
|
+
- Updated CLI help text with practical examples
|
|
49
|
+
- Added common tag examples (`latest`, `preview`, `next`, `stable`) in documentation
|
|
50
|
+
- Maintained guidance while showing flexibility
|
|
51
|
+
|
|
52
|
+
**Validation**
|
|
53
|
+
|
|
54
|
+
- Tags must be non-empty strings
|
|
55
|
+
- No other restrictions on tag format or content
|
|
56
|
+
- Backward compatibility maintained for existing tag values
|
|
57
|
+
|
|
58
|
+
This change provides much greater flexibility for deployment workflows while maintaining the same API structure and functionality.
|
|
59
|
+
|
|
60
|
+
### Minor Changes
|
|
61
|
+
|
|
62
|
+
- [#3757](https://github.com/equinor/fusion-framework/pull/3757) [`db880d1`](https://github.com/equinor/fusion-framework/commit/db880d1fbdb62ba4667f11229d1e6c3a4cea06fc) Thanks [@odinr](https://github.com/odinr)! - Add new `ai` command with `chat` and `embeddings` subcommands for LLM integration and document processing.
|
|
63
|
+
|
|
64
|
+
The CLI now supports interactive AI chat and document embedding utilities for processing codebase documentation and generating vector embeddings for search indexing.
|
|
65
|
+
|
|
66
|
+
**New Commands:**
|
|
67
|
+
|
|
68
|
+
- `ffc ai chat` - Interactive chat with AI models
|
|
69
|
+
- `ffc ai embeddings` - Document embedding utilities for AI processing
|
|
70
|
+
|
|
71
|
+
**Features:**
|
|
72
|
+
|
|
73
|
+
- Interactive chat interface with conversation history
|
|
74
|
+
- Document chunking and embedding generation
|
|
75
|
+
- Support for markdown and TypeScript documentation parsing
|
|
76
|
+
- Git metadata extraction for context-aware embeddings
|
|
77
|
+
- Vector store integration for search indexing
|
|
78
|
+
|
|
79
|
+
### Patch Changes
|
|
80
|
+
|
|
81
|
+
- [#3757](https://github.com/equinor/fusion-framework/pull/3757) [`db880d1`](https://github.com/equinor/fusion-framework/commit/db880d1fbdb62ba4667f11229d1e6c3a4cea06fc) Thanks [@odinr](https://github.com/odinr)! - preview release
|
|
82
|
+
|
|
83
|
+
- Updated dependencies [[`db880d1`](https://github.com/equinor/fusion-framework/commit/db880d1fbdb62ba4667f11229d1e6c3a4cea06fc)]:
|
|
84
|
+
- @equinor/fusion-framework-dev-portal@1.2.6-cli-search-index.0
|
|
85
|
+
- @equinor/fusion-framework-dev-server@1.1.13-cli-search-index.0
|
|
86
|
+
- @equinor/fusion-framework-module-msal-node@2.0.1-cli-search-index.0
|
|
87
|
+
- @equinor/fusion-imports@1.1.7-cli-search-index.0
|
|
88
|
+
|
|
3
89
|
## 12.3.10
|
|
4
90
|
|
|
5
91
|
### Patch Changes
|