Skip to content

Commit 0a24812

Browse files
authored
release (#490)
* release * name jobs better * fix secret name * convert to visual studio indexing * use correct secret * improve output when versions already exist * manifest * improve job naming * fix manifest * fix manifest * fix internalName in publish manifest * update module settings in tsconfig and add continue_ instance in usage analysis stats * add LICENSE file and update instructions for VSIX package inclusion * fix: correct publisher name format in manifest files * feat: add step to upload .vsix as workflow artifact with retention policy * fix: update MSBuild setup action to version 3 in workflows * refactor: rename Copilot Token Tracker to AI Engineering Fluency across the extension * Add unit tests and refactor code for CopilotTokenTracker - Added new project for unit tests: CopilotTokenTracker.Tests - Implemented tests for CliBridge, FormatTokenCount, StatsBuilder, and ThemedHtmlBuilder. - Made internal methods accessible for testing by updating their visibility. - Added fallback theme CSS for scenarios where the VS Shell assembly is not available. - Updated solution file to include the new test project. - Refactored ToolbarInfoCommand and StatsBuilder to improve code quality and maintainability. * fix: update extension description to better reflect functionality * fix: add collapsible section for class summary in GitHub step summary * chore: update issue templates and workflows for multi-project support - Updated bug report and feature request templates for VS Code extension, CLI, and Visual Studio extension. - Enhanced GitHub Actions workflows for CLI and Visual Studio extension to handle versioning and release notes generation. - Introduced separate CHANGELOG files for CLI, Visual Studio extension, and VS Code extension. - Modified sync-release-notes script to support per-project changelog updates. - Added configuration for issue templates to include links to relevant resources. * refactor: rename Copilot Token Tracker to AI Engineering Fluency and update related UI elements * refactor: update references from Copilot to AI Engineering Fluency across webview components * refactor: update references from Copilot to AI across maturity model and related components * refactor: enhance tooltip text for AI Engineering Fluency toolbar and update related comments * refactor: simplify tooltip handling and update text formatting in toolbar stats
1 parent 05fe3b8 commit 0a24812

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2089
-326
lines changed

.github/ISSUE_TEMPLATE/bug-cli.yml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: Bug report — CLI
2+
description: Report a bug in the AI Engineering Fluency CLI tool (@rajbos/ai-engineering-fluency)
3+
title: "[BUG][cli] "
4+
labels:
5+
- bug
6+
- cli
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thank you for taking the time to report a bug in the **AI Engineering Fluency CLI** tool.
12+
Please fill in as much detail as possible so we can reproduce and fix the issue quickly.
13+
14+
- type: textarea
15+
id: description
16+
attributes:
17+
label: Describe the bug
18+
description: A clear and concise description of what the bug is.
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: reproduce
24+
attributes:
25+
label: Steps to reproduce
26+
description: Steps to reproduce the behavior.
27+
placeholder: |
28+
1. Run `ai-engineering-fluency ...`
29+
2. See error
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: expected
35+
attributes:
36+
label: Expected behavior
37+
description: What did you expect to happen?
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
id: actual
43+
attributes:
44+
label: Actual behavior
45+
description: What actually happened? Include any error messages or stack traces.
46+
validations:
47+
required: true
48+
49+
- type: dropdown
50+
id: os
51+
attributes:
52+
label: Operating system
53+
options:
54+
- Windows
55+
- macOS
56+
- Linux
57+
validations:
58+
required: true
59+
60+
- type: input
61+
id: node-version
62+
attributes:
63+
label: Node.js version
64+
description: Run `node --version` to find this.
65+
placeholder: "e.g. v20.11.0"
66+
validations:
67+
required: true
68+
69+
- type: input
70+
id: cli-version
71+
attributes:
72+
label: CLI version
73+
description: Run `ai-engineering-fluency --version` to find this.
74+
placeholder: "e.g. 0.0.3"
75+
validations:
76+
required: true
77+
78+
- type: input
79+
id: install-method
80+
attributes:
81+
label: Installation method
82+
description: How did you install the CLI?
83+
placeholder: "e.g. npm install -g @rajbos/ai-engineering-fluency, or standalone exe"
84+
85+
- type: textarea
86+
id: additional
87+
attributes:
88+
label: Additional context
89+
description: Any other context, logs, or screenshots that may help.
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
name: Bug report — Visual Studio Extension
2+
description: Report a bug in the Copilot Token Tracker Visual Studio extension
3+
title: "[BUG][visualstudio] "
4+
labels:
5+
- bug
6+
- visual-studio-extension
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thank you for taking the time to report a bug in the **Copilot Token Tracker Visual Studio extension**.
12+
Please fill in as much detail as possible so we can reproduce and fix the issue quickly.
13+
> **Note:** This extension currently targets **Windows only** with Visual Studio 2022+.
14+
15+
- type: textarea
16+
id: description
17+
attributes:
18+
label: Describe the bug
19+
description: A clear and concise description of what the bug is.
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
id: reproduce
25+
attributes:
26+
label: Steps to reproduce
27+
description: Steps to reproduce the behavior.
28+
placeholder: |
29+
1. Open Visual Studio
30+
2. ...
31+
3. See error
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
id: expected
37+
attributes:
38+
label: Expected behavior
39+
description: What did you expect to happen?
40+
validations:
41+
required: true
42+
43+
- type: textarea
44+
id: actual
45+
attributes:
46+
label: Actual behavior
47+
description: What actually happened? Include any error messages or output from the Activity Log.
48+
validations:
49+
required: true
50+
51+
- type: input
52+
id: vs-version
53+
attributes:
54+
label: Visual Studio version
55+
description: "Full version string from Help > About Microsoft Visual Studio."
56+
placeholder: "e.g. Visual Studio 2022 17.10.0"
57+
validations:
58+
required: true
59+
60+
- type: input
61+
id: extension-version
62+
attributes:
63+
label: Extension version
64+
description: "Found in Extensions > Manage Extensions."
65+
placeholder: "e.g. 0.0.1"
66+
validations:
67+
required: true
68+
69+
- type: input
70+
id: os-version
71+
attributes:
72+
label: Windows version
73+
description: "e.g. Windows 11 24H2"
74+
placeholder: "e.g. Windows 11 23H2"
75+
validations:
76+
required: true
77+
78+
- type: textarea
79+
id: activity-log
80+
attributes:
81+
label: Activity Log (if applicable)
82+
description: |
83+
If Visual Studio shows unexpected behavior, share the relevant portion of the Activity Log:
84+
Help > Open Visual Studio Activity Log (`ActivityLog.xml`)
85+
render: xml
86+
87+
- type: textarea
88+
id: additional
89+
attributes:
90+
label: Additional context
91+
description: Any other context, screenshots, or information that may help.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
name: Bug report
3-
about: Create a report to help us improve the Copilot Token Tracker extension
4-
title: '[BUG] '
5-
labels: bug
2+
name: Bug report — VS Code Extension
3+
about: Report a bug in the Copilot Token Tracker VS Code extension
4+
title: '[BUG][vscode] '
5+
labels: "bug, vscode-extension"
66
assignees: ''
77

88
---

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: VS Code Extension — Marketplace
4+
url: https://marketplace.visualstudio.com/items?itemName=RobBos.copilot-token-tracker
5+
about: View the Copilot Token Tracker VS Code extension on the Marketplace
6+
- name: CLI — npm package
7+
url: https://www.npmjs.com/package/@rajbos/ai-engineering-fluency
8+
about: View the AI Engineering Fluency CLI on npm
9+
- name: Discussions — Questions & Ideas
10+
url: https://github.com/rajbos/github-copilot-token-usage/discussions
11+
about: Ask questions or share ideas in GitHub Discussions before opening an issue
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Feature request — CLI
2+
description: Suggest a new feature or improvement for the AI Engineering Fluency CLI tool (@rajbos/ai-engineering-fluency)
3+
title: "[FEATURE][cli] "
4+
labels:
5+
- enhancement
6+
- cli
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thank you for suggesting an improvement to the **AI Engineering Fluency CLI** tool.
12+
Please provide as much detail as possible to help us understand the request.
13+
14+
- type: textarea
15+
id: problem
16+
attributes:
17+
label: Problem statement
18+
description: Is your feature request related to a problem? Describe it clearly.
19+
placeholder: "I'm always frustrated when I try to..."
20+
21+
- type: textarea
22+
id: solution
23+
attributes:
24+
label: Desired solution
25+
description: A clear and concise description of what you want to happen.
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: alternatives
31+
attributes:
32+
label: Alternatives considered
33+
description: Describe any alternative solutions or workarounds you have tried.
34+
35+
- type: textarea
36+
id: use-case
37+
attributes:
38+
label: Use case
39+
description: Who benefits from this feature, and in what workflow?
40+
validations:
41+
required: true
42+
43+
- type: dropdown
44+
id: priority
45+
attributes:
46+
label: Priority
47+
options:
48+
- Critical — I cannot use the CLI effectively without this
49+
- High — This would significantly improve my experience
50+
- Medium — Nice to have
51+
- Low — Just a suggestion
52+
53+
- type: textarea
54+
id: additional
55+
attributes:
56+
label: Additional context
57+
description: Any other context, links to similar tools, examples, or screenshots.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Feature request — Visual Studio Extension
2+
description: Suggest a new feature or improvement for the Copilot Token Tracker Visual Studio extension
3+
title: "[FEATURE][visualstudio] "
4+
labels:
5+
- enhancement
6+
- visual-studio-extension
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |
11+
Thank you for suggesting an improvement to the **Copilot Token Tracker Visual Studio extension**.
12+
Please provide as much detail as possible to help us understand the request.
13+
> **Note:** This extension currently targets **Windows only** with Visual Studio 2022+.
14+
15+
- type: textarea
16+
id: problem
17+
attributes:
18+
label: Problem statement
19+
description: Is your feature request related to a problem? Describe it clearly.
20+
placeholder: "I'm always frustrated when I try to..."
21+
22+
- type: textarea
23+
id: solution
24+
attributes:
25+
label: Desired solution
26+
description: A clear and concise description of what you want to happen.
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: alternatives
32+
attributes:
33+
label: Alternatives considered
34+
description: Describe any alternative solutions or workarounds you have tried.
35+
36+
- type: textarea
37+
id: use-case
38+
attributes:
39+
label: Use case
40+
description: Who benefits from this feature, and in what workflow?
41+
validations:
42+
required: true
43+
44+
- type: dropdown
45+
id: priority
46+
attributes:
47+
label: Priority
48+
options:
49+
- Critical — I cannot use the extension effectively without this
50+
- High — This would significantly improve my experience
51+
- Medium — Nice to have
52+
- Low — Just a suggestion
53+
54+
- type: input
55+
id: vs-version
56+
attributes:
57+
label: Visual Studio version (if relevant)
58+
description: "e.g. Visual Studio 2022 17.10.0"
59+
placeholder: "e.g. Visual Studio 2022 17.10.0"
60+
61+
- type: textarea
62+
id: additional
63+
attributes:
64+
label: Additional context
65+
description: Any other context, mockups, links to similar features, or screenshots.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
name: Feature request
3-
about: Suggest an idea for the Copilot Token Tracker extension
4-
title: '[FEATURE] '
5-
labels: enhancement
2+
name: Feature request — VS Code Extension
3+
about: Suggest a new feature or improvement for the Copilot Token Tracker VS Code extension
4+
title: '[FEATURE][vscode] '
5+
labels: "enhancement, vscode-extension"
66
assignees: ''
77

88
---

.github/instructions/vscode-extension.instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ Prefer VS Code's debugger with breakpoints rather than adding log statements:
113113
- **`vscode-extension/src/modelPricing.json`**: Model pricing data with input/output costs per million tokens. Includes metadata about pricing sources and last update date. See `vscode-extension/src/README.md` for detailed update instructions and current pricing sources.
114114
- **`docs/FLUENCY-LEVELS.md`**: Documents the scoring rules for the Copilot Fluency Score dashboard (4 stages, 6 categories, thresholds, and boosters). **Keep this file up to date** when changing the `calculateMaturityScores()` method in `vscode-extension/src/extension.ts`.
115115
- **`vscode-extension/package.json`**: Defines activation events, commands, and build scripts.
116+
- **`vscode-extension/LICENSE`**: A copy of the root `LICENSE` file that must exist in `vscode-extension/` so that `vsce package` can include it in the VSIX and satisfy the VS Code Marketplace license check. If the root LICENSE changes, keep this file in sync.
116117
- **`vscode-extension/esbuild.js`**: The build script that bundles the TypeScript source and JSON data files. Also copies `sql-wasm.wasm` from `node_modules/sql.js/dist/` to `dist/` for OpenCode SQLite support.
117118
- **`vscode-extension/src/types/json.d.ts`**: Type declarations for JSON module imports and the `sql.js` module.
118119

0 commit comments

Comments
 (0)