Commit graph

114 commits

Author SHA1 Message Date
MinaSaad1
62680dd060 feat: v3.10.3 - opt-in Claude integration, dual-license DLL attribution, new pbi-cli entry point
## Claude Code integration now fully opt-in (Fix 3)
- `pbi connect` no longer writes to ~/.claude/ automatically
- New `pbi-cli` entry point: `pbi-cli skills install/uninstall/list`
- `pbi-cli skills install` shows exact paths before writing and requires y/N confirmation
- `pbi connect` prints a one-line tip if skills are not yet installed
- `pbi skills` subgroup removed from the `pbi` entry point

## DLL licensing compliance (Fix 1)
- pyproject.toml updated to PEP 639 SPDX dual expression:
  MIT AND LicenseRef-Microsoft-AS-Client-Libraries
- license-files declaration: LICENSE, THIRD_PARTY_LICENSES.md, NOTICE
- THIRD_PARTY_LICENSES.md: full verbatim MS Analysis Services Client Libraries EULA
- NOTICE: short-form attribution for wheel redistribution
- src/pbi_cli/dlls/README.md: in-directory sentinel for the MS DLLs
- setuptools requirement bumped to >=77.0 for PEP 639 support

## SECURITY.md rewrite (Fix 2)
- Supported versions table updated to 3.10.x
- Architecture section: no MCP server, no subprocess, direct pythonnet interop
- Global Configuration Modifications section updated to reflect opt-in model
- Bundled Binaries section references THIRD_PARTY_LICENSES.md

## Documentation
- README.md, README.pypi.md: corrected 3-step setup flow
- CHANGELOG.md: [3.10.3] entry
- CONTRIBUTING.md: pbi skills -> pbi-cli skills
- All 7 semantic model SKILL.md files: prerequisites updated to 3-step flow
- New SVG/PNG marketing and documentation assets
2026-04-05 20:37:05 +02:00
MinaSaad1
81abf49f37 chore: remove unused assets from git tracking
Keep only the 17 SVGs actually referenced in README.md.
Removed 13 unused files from tracking (still on local disk).
2026-04-03 17:38:25 +02:00
MinaSaad1
148956e91b feat: add VIBE BI release announcement image
AI-generated ad-quality PNG for v3.10.1 release showing the evolution
from Vibe Modeling to VIBE BI with Claude Code, PBI-CLI, and Power BI
flow, stats, install CTA, and project URLs.
2026-04-03 16:47:57 +02:00
MinaSaad1
50e28a52c4 fix: show skill install success before connection attempt
Print success message for skills and CLAUDE.md injection before
auto-discovery, so users see what succeeded even if Power BI Desktop
is not running. Bump version to 3.10.1.
2026-04-03 12:25:40 +02:00
MinaSaad1
fd3b33bcc0 feat: add visual-first SVG marketing assets and update README
Add 4 new SVG assets (layers, commands, stats, workflow) with drawn
icons, block art, and dark GitHub theme. Enhance banner and before-after
with visual redesigns. Update README to reference layers.svg and stats.svg.
2026-04-03 11:49:23 +02:00
MinaSaad1
f3db52c13d fix: PBI-CLI block art as center element between Claude and Power BI 2026-04-02 17:35:45 +02:00
MinaSaad1
2cb60d3ed3 fix: restore PBI-CLI block art below VIBE BI, compact layout at 310px 2026-04-02 17:33:33 +02:00
MinaSaad1
cbaad119ea fix: compact banner -- remove PBI-CLI block art, tighten spacing, reduce to 280px 2026-04-02 17:32:05 +02:00
MinaSaad1
65ffbb1859 feat: add VIBE BI block art header above PBI-CLI in banner 2026-04-02 17:28:24 +02:00
MinaSaad1
8390a228e3 feat: restructure README with separate Modeling and Report Layer sections 2026-04-02 17:18:08 +02:00
MinaSaad1
d10e227d7f fix: remove overlapping input bar from chat-demo-report SVG 2026-04-02 17:16:33 +02:00
MinaSaad1
98c9a23df3 fix: redesign chat-demo-report SVG to match Claude Code terminal mockup style 2026-04-02 17:15:30 +02:00
MinaSaad1
2d730f72f6 fix: center PBI-CLI block art horizontally in banner 2026-04-02 17:13:54 +02:00
MinaSaad1
05627e320b fix: center pbi-cli card in banner, add pill badges for Modeling + Reporting 2026-04-02 17:12:47 +02:00
MinaSaad1
b900b9c19a fix: simplify refresh icon to two-tone circle with PBI logo, remove arrows 2026-04-02 17:09:40 +02:00
MinaSaad1
beba2af69e fix: rebuild refresh icon with dashed circle + arrow triangles at gaps 2026-04-02 17:08:07 +02:00
MinaSaad1
be79eb94f3 fix: rebuild refresh icon with clean semicircular arcs 2026-04-02 17:07:25 +02:00
MinaSaad1
3f1f74f0f8 fix: enhance refresh icon in auto-sync SVG with cleaner arcs and larger arrows 2026-04-02 17:06:12 +02:00
MinaSaad1
ccdc9c618f feat: add 3 new report-layer SVGs (visual types grid, workflow, chat demo)
- visual-types.svg: grid of 18 visual types with mini icons across 3 rows
  (charts, cards/KPIs/tables, slicers/maps/decorative) + list of 14 more
- report-workflow.svg: 6-step flow (scaffold, pages, visuals, bind, theme, validate)
- chat-demo-report.svg: Claude chat example showing report commands in action
2026-04-02 17:05:21 +02:00
MinaSaad1
652428632a fix: move step card titles up in auto-sync SVG 2026-04-02 17:00:49 +02:00
MinaSaad1
fd574a46cd fix: move left card bullet points inside card border 2026-04-02 16:59:40 +02:00
MinaSaad1
8ae92a679d fix: narrow dual-layer cards from 390px to 340px to remove blank space 2026-04-02 16:58:46 +02:00
MinaSaad1
26d6fd645b fix: extend card height so skill badges sit inside the border 2026-04-02 16:57:29 +02:00
MinaSaad1
45303c68f2 fix: left-align commands and add spacing under skill badges 2026-04-02 16:56:43 +02:00
MinaSaad1
39516bb840 fix: increase card height and fix overlapping badges/footer in dual-layer SVG 2026-04-02 16:54:52 +02:00
MinaSaad1
f4130b45f4 fix: clean card headers in dual-layer SVG -- remove overlapping rects, use line separator 2026-04-02 16:53:12 +02:00
MinaSaad1
2636bd5aae fix: increase spacing between step badges and title labels in auto-sync SVG 2026-04-02 16:49:31 +02:00
MinaSaad1
32aad78e5d fix: redesign auto-sync SVG with centered equal-width cards and larger icons 2026-04-02 16:48:10 +02:00
MinaSaad1
9cfab6329d fix: redesign dual-layer SVG with header bars, larger icons, skill badges 2026-04-02 16:47:12 +02:00
MinaSaad1
b102d83af2 feat: add auto-sync workflow SVG showing the 4-step save-first pattern 2026-04-02 16:45:33 +02:00
MinaSaad1
2e85c4f15e fix: redesign report-layer SVG with large visual icons instead of heavy text 2026-04-02 16:43:31 +02:00
MinaSaad1
136f4d77f7 fix: redesign report-layer SVG as 2x2 grid to prevent text truncation 2026-04-02 16:39:04 +02:00
MinaSaad1
a788175862 fix: center text vertically in skills-hub card boxes 2026-04-02 16:36:52 +02:00
MinaSaad1
91293bdfd0 fix: reposition NEW badge in skills-hub SVG 2026-04-02 16:34:42 +02:00
MinaSaad1
06b86f488f fix: redesign skills-hub SVG with wider cards and better spacing 2026-04-02 16:32:52 +02:00
MinaSaad1
7a2797c839 fix: increase text sizes across all SVG assets for readability 2026-04-02 16:29:51 +02:00
MinaSaad1
6afc7d7a24 fix: banner SVG -- remove duplicate Modeling text, increase label font size 2026-04-02 16:28:18 +02:00
MinaSaad1
3a54f2d84c feat: new SVG assets and README for v3 dual-layer messaging
New SVGs:
- dual-layer.svg: hero graphic showing both Modeling + Report layers
- report-layer.svg: 4-column showcase of Visuals, Pages, Themes, Filters

Updated SVGs:
- banner.svg: "The First CLI for Both Power BI Modeling and Reporting"
- skills-hub.svg: 12 skills in two rows (7 modeling + 5 report) with stats bar
- architecture-flow.svg: dual-path showing TOM + PBIR backends
- before-after.svg: added report-layer pain points and solutions

README updated to feature new graphics.
2026-04-02 16:21:05 +02:00
MinaSaad1
22f75b1699 fix: use subprocess instead of os.startfile for cross-platform mypy compat 2026-04-02 16:03:09 +02:00
MinaSaad1
5acb3f33e3 fix: resolve CI failures (formatting, mypy, test import)
- Run ruff format on all 26 unformatted files
- Fix mypy strict errors: add explicit typing for json.loads returns,
  add pywin32/websockets to mypy ignore_missing_imports
- Remove yaml dependency from test_skill_triggering.py (use regex parser)
- Fix skill triggering test to handle both single-line and multi-line
  description formats in YAML frontmatter
2026-04-02 15:59:49 +02:00
Mina Saad
3eb68c56d3
feat: v3.10.0 -- Report layer, 12 skills, Desktop auto-sync
feat: v3.10.0 -- Report layer, 12 skills, Desktop auto-sync
2026-04-02 15:51:30 +02:00
MinaSaad1
56ddacbfb1 chore: add missing v3 source and test files
19 files from earlier v3 sessions were created on disk but never
staged/committed: 11 source modules (backends, preview, templates,
utils) and 8 test files (488 tests depend on these).

Without these files the package would be broken on install.
Found during pre-publish review.
2026-04-02 15:37:19 +02:00
MinaSaad1
0bfacbbced fix: safe Desktop sync -- save first, then re-apply PBIR changes
Redesigned desktop_sync to use save-first-then-rewrite pattern:
1. Snapshot recently modified PBIR files (our changes)
2. Close Desktop WITH save (preserves user's unsaved modeling work)
3. Re-apply our PBIR snapshots (Desktop's save overwrote them)
4. Reopen Desktop

This is safe for users who have unsaved modeling-layer changes
(measures, relationships, etc.) in Desktop -- those are preserved
by the save step. Our report-layer changes survive via the snapshot
re-apply.
2026-04-02 15:33:58 +02:00
MinaSaad1
86ecaf6fc2 feat: auto-sync Desktop after report-layer writes
Power BI Desktop does not auto-detect PBIR file changes. When pbi-cli
writes to report JSON files while Desktop has the .pbip open, Desktop's
in-memory state overwrites CLI changes on save.

New desktop_sync module: after any report-layer write command (add visual,
set filter, apply theme, etc.), pbi-cli automatically closes Desktop
(dismissing the save dialog) and reopens the .pbip file so Desktop loads
the updated state.

Also fixes:
- Add --path option to bookmarks and format command groups
- Fix categorical filter literal types (integers use "L" suffix, not
  string quotes) so filters work correctly in Desktop
2026-04-02 15:24:16 +02:00
MinaSaad1
e757596945 fix: add --path option to bookmarks and format command groups
Both groups were missing the --path/-p option that report, visual, and
filters already had, making them only work when CWD was inside the
.Report folder. Now all report-layer command groups consistently
support explicit path override.

Found during E2E testing with Power BI Desktop.
2026-04-02 14:18:32 +02:00
MinaSaad1
f0504bcf51 feat: v3.10.0 -- audit fixes, 12 skills, README rewrite
- Fix 4 code bugs: TopN filter cross-table, theme_set corruption,
  visual_bind type annotation, tmdl_diff hierarchy pluralization
- Add missing VisualTypeError and ReportNotFoundError to errors.py
- Register 5 command groups in CLI (report, visual, filters, format, bookmarks)
- Split monolithic report skill into 5 focused skills (12 total):
  power-bi-report, power-bi-visuals, power-bi-pages, power-bi-themes,
  power-bi-filters
- Update CLAUDE.md snippet for 12 skills organised by layer
- Add diff-tmdl section to deployment skill
- Write CHANGELOG entries for v3.0.0 through v3.10.0
- Rewrite README.md and README.pypi.md for both model and report layers
- Add skill triggering test suite (19/19 passing)
- 488 tests passing, ruff clean
2026-04-02 00:07:52 +02:00
MinaSaad1
88cb644f64 feat: add pbi database diff-tmdl command (v3.9.0) 2026-04-01 22:31:51 +02:00
MinaSaad1
d5574d2e9a feat: add pbi database diff-tmdl command (v3.9.0)
Pure-Python TMDL folder diff for CI/CD model change reporting.
No Power BI Desktop connection required. Handles direct and
SemanticModel folder layouts, strips lineageTags to avoid false
positives, and keys relationships by fromColumn->toColumn instead
of GUIDs. 18 tests covering all diff scenarios.
2026-04-01 22:27:57 +02:00
MinaSaad1
0afb44200c fix: update hardening test to use Values role for card (Fields -> Values fix) 2026-04-01 22:08:28 +02:00
MinaSaad1
090571ac09 chore: bump version to 3.8.0 2026-04-01 22:07:12 +02:00