Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 56 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,59 @@ jobs:
run: dotnet build FlowCommand.slnx -c Release --no-restore

- name: Test
run: dotnet test tests/FlowCommand.Tests/FlowCommand.Tests.csproj -c Release --no-build --verbosity normal
run: dotnet test tests/FlowCommand.Tests/FlowCommand.Tests.csproj -c Release --no-build --verbosity normal --logger "trx;LogFileName=results.trx" --results-directory TestResults

- name: Dependency audit (known vulnerabilities fail the build)
shell: pwsh
run: |
$failed = $false
foreach ($proj in "src/FlowCommand/FlowCommand.csproj", "src/FlowCommand.Core/FlowCommand.Core.csproj", "tests/FlowCommand.Tests/FlowCommand.Tests.csproj") {
$v = dotnet list $proj package --vulnerable --include-transitive 2>&1 | Out-String
Write-Host $v
if ($v -match "has the following vulnerable packages") { $failed = $true }
$d = dotnet list $proj package --deprecated 2>&1 | Out-String
Write-Host $d
}
if ($failed) { throw "Vulnerable NuGet packages found. See the log above." }

- uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: TestResults

msix:
needs: build-and-test
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x

- name: Build development MSIX (self-signed, for sideload testing only)
shell: pwsh
run: ./scripts/New-MsixPackage.ps1 -Target dev

- name: Verify package contents
shell: pwsh
run: |
$msix = Get-ChildItem artifacts/msix -Filter *.msix | Select-Object -First 1
$tool = Get-ChildItem "${env:ProgramFiles(x86)}\Windows Kits\10\bin\*\x64\makeappx.exe" |
Sort-Object FullName -Descending | Select-Object -First 1
& $tool.FullName unpack /p $msix.FullName /d artifacts/unpacked /o
if ($LASTEXITCODE -ne 0) { throw "makeappx unpack failed" }
foreach ($f in "FlowCommand.exe", "AppxManifest.xml", "resources.pri", "coreclr.dll", "Assets/StoreLogo.scale-200.png") {
if (-not (Test-Path "artifacts/unpacked/$f")) { throw "Missing from package: $f" }
}
if (Select-String -Path artifacts/unpacked/AppxManifest.xml -Pattern '\{\{') { throw "Unfilled token left in AppxManifest.xml" }
Write-Host "Package layout verified: $($msix.Name)"

- uses: actions/upload-artifact@v4
with:
name: flowcommand-msix-dev
path: |
artifacts/msix/*.msix
artifacts/msix/*.cer
artifacts/msix/SHA256SUMS.txt
56 changes: 56 additions & 0 deletions .github/workflows/store-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: store-package

# Builds the UNSIGNED MSIX to upload to Microsoft Partner Center. Run it by hand from the Actions tab
# after reserving the app name, and paste the three values from Partner Center > Product identity.
# Nothing is published or uploaded by this workflow: it only produces a downloadable build artifact.

on:
workflow_dispatch:
inputs:
identity_name:
description: "Package/Identity/Name from Partner Center"
required: true
publisher:
description: "Package/Identity/Publisher from Partner Center (starts with CN=)"
required: true
publisher_display_name:
description: "Package/Properties/PublisherDisplayName from Partner Center"
required: true
version:
description: "Three-part version, for example 1.0.1 (must be higher than every version already submitted)"
required: false

permissions:
contents: read

jobs:
package:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x

- name: Test
run: dotnet test tests/FlowCommand.Tests/FlowCommand.Tests.csproj -c Release

- name: Build Store MSIX
shell: pwsh
env:
IDENTITY_NAME: ${{ inputs.identity_name }}
PUBLISHER: ${{ inputs.publisher }}
PUBLISHER_DISPLAY_NAME: ${{ inputs.publisher_display_name }}
VERSION: ${{ inputs.version }}
run: |
$params = @{ Target = "store"; IdentityName = $env:IDENTITY_NAME; Publisher = $env:PUBLISHER; PublisherDisplayName = $env:PUBLISHER_DISPLAY_NAME }
if ($env:VERSION) { $params.Version = $env:VERSION }
./scripts/New-MsixPackage.ps1 @params

- uses: actions/upload-artifact@v4
with:
name: flowcommand-msix-store
path: |
artifacts/msix/*.msix
artifacts/msix/SHA256SUMS.txt
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,31 @@ All notable changes to this project are documented here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and versions follow
[Semantic Versioning](https://semver.org/).

## [Unreleased]

Preparation for a Microsoft Store release.

### Added
- **Offline mode** (`provider: "local"`): a rule-based interpreter for common commands. It needs no account or key and sends nothing
anywhere. New installs start in this mode; online Gemini or Claude remains available with your own key.
- Welcome screen on first run: what FlowCommand does, offline or online, trigger choice, optional start with Windows.
- Tray: **Pause listening for the trigger** (removes the keyboard hook and hotkey), **Privacy policy**, **Report a problem or get support**.
- Settings: About, privacy and data section with **Delete all my FlowCommand data**, log folder, data location.
- MSIX packaging (`packaging/`, `scripts/New-MsixPackage.ps1`, `scripts/Install-DevMsix.ps1`) and CI jobs that build and check it.
- Application icon, tile assets and Store logo from one generated design.
- Documentation: privacy policy and data inventory, Store readiness audit, packaging guide, listing draft, test plan, architecture,
release checklist, third-party notices.
- Tests for the offline interpreter, first-run migration, package manifest, privacy policy and listing limits.

### Changed
- Wispr Flow is described as an optional companion, not a requirement. It was never integrated; any tool that types text works.
- Default provider for new installs is offline. Existing `config.json` files keep their provider (config version 3 only adds `firstRunCompleted`).
- A second launch now brings the running copy's Settings window forward instead of showing an error.
- Microsoft Store installs keep settings, keys and logs in the package's own folder and use a Windows startup task instead of the Run key.
- Per-monitor DPI awareness; accessibility names on the main Settings controls.
- Dependency audit (`dotnet list package --vulnerable`) added to CI.
- Documentation no longer uses em-dashes.

## [1.0.0]

First public release.
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Authors>LwkMoon</Authors>
<Product>FlowCommand</Product>
<Copyright>Copyright (c) 2026 LwkMoon</Copyright>
<Description>Voice-controlled Windows command palette: turns the text Wispr Flow dictates into validated, locally executed Windows actions.</Description>
<Description>Command palette for Windows: turns a short spoken or typed command into one validated, locally executed action. Works offline; online AI is optional.</Description>
<RepositoryUrl>https://github.com/LwkMoon/FlowCommand</RepositoryUrl>
</PropertyGroup>
</Project>
Loading
Loading