diff --git a/CHANGELOG.md b/CHANGELOG.md index c309329..2751b2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ - Added canonical Capture Record constructors shared by Element and Region saves. - Renamed the History JSON handoff to `Send to Codex` and gave each Downloads export a unique filename. - Added bounded MCP inbox discovery and newest-valid import under the user's Downloads directory. -- Added an Electron development inspector package with one guarded registration import, package-owned preload and shortcut wiring, local History, and explicit clipboard export. +- Added the `@flyingchangescode/dev-feedback-electron` development inspector package with one guarded registration import, package-owned preload and shortcut wiring, local History, and explicit clipboard export. - Released the browser extension source and Electron package under the MIT License. - Removed stale implementation plans and added current issue-tracker, triage-label, and domain-document instructions. - Kept Feedback Sessions on the checkpointed experiment branch rather than shipping them in this release. diff --git a/README.md b/README.md index 0999115..f5542c0 100644 --- a/README.md +++ b/README.md @@ -114,12 +114,12 @@ The companion does not read Chromium's internal storage, open a network port, co ## Electron Inspector developer package -Electron apps cannot use Chrome's extension toolbar or attach this browser extension from Chrome. Developers can instead add the free, MIT-licensed `@dev-feedback/electron` development package to their app. +Electron apps cannot use Chrome's extension toolbar or attach this browser extension from Chrome. Developers can instead add the free, MIT-licensed `@flyingchangescode/dev-feedback-electron` development package to their app. The Host App integration is one guarded import in its main-process entry, before any window is created: ```js -if (!app.isPackaged) await import('@dev-feedback/electron/register') +if (!app.isPackaged) await import('@flyingchangescode/dev-feedback-electron/register') ``` Press `Cmd/Ctrl+Shift+.` in any registered development window to start Element capture. The package owns its session preload, shortcut, package-owned overlay, local History under Electron `userData`, and `Copy History` action. It does not require React, replace the Host App preload, or expose Electron IPC to the Host App renderer. See [packages/electron-inspector/README.md](packages/electron-inspector/README.md) for installation and the trust contract. diff --git a/packages/electron-inspector/CHANGELOG.md b/packages/electron-inspector/CHANGELOG.md index 85595e6..87f33eb 100644 --- a/packages/electron-inspector/CHANGELOG.md +++ b/packages/electron-inspector/CHANGELOG.md @@ -2,7 +2,7 @@ ## 0.2.0 -- Added the development-only `@dev-feedback/electron/register` entrypoint. +- Added the development-only `@flyingchangescode/dev-feedback-electron/register` entrypoint. - Reduced Host App integration to one guarded import before window creation. - Moved the inspector preload, multi-window shortcut, IPC trust checks, and local History lifecycle into the package. - Preserved existing session preloads and removed package hooks during explicit disposal. diff --git a/packages/electron-inspector/LICENSE b/packages/electron-inspector/LICENSE index 665bd69..497a8d7 100644 --- a/packages/electron-inspector/LICENSE +++ b/packages/electron-inspector/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 Monroe Stone +Copyright (c) 2026 Flying Changes Code Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/electron-inspector/README.md b/packages/electron-inspector/README.md index d66e56a..94072ea 100644 --- a/packages/electron-inspector/README.md +++ b/packages/electron-inspector/README.md @@ -1,6 +1,6 @@ -# @dev-feedback/electron +# @flyingchangescode/dev-feedback-electron -`@dev-feedback/electron` adds an explicit Element inspector, local History, and a plain-text `Copy History` action to an Electron development build. +`@flyingchangescode/dev-feedback-electron` adds an explicit Element inspector, local History, and a plain-text `Copy History` action to an Electron development build. The Host App keeps ownership of its windows and preload. The package owns its session preload, shortcut, DOM selection, Capture Record validation, app-local storage, and in-app History panel. @@ -9,19 +9,19 @@ The Host App keeps ownership of its windows and preload. The package owns its se Install the development dependency from npm: ```sh -npm install --save-dev @dev-feedback/electron +npm install --save-dev @flyingchangescode/dev-feedback-electron ``` Add this one line to the Electron main-process entry before creating any windows: ```js -if (!app.isPackaged) await import('@dev-feedback/electron/register') +if (!app.isPackaged) await import('@flyingchangescode/dev-feedback-electron/register') ``` That is the complete Host App integration. In a CommonJS entry, use: ```js -if (!app.isPackaged) require('@dev-feedback/electron/register') +if (!app.isPackaged) require('@flyingchangescode/dev-feedback-electron/register') ``` Run the app and press `Cmd/Ctrl+Shift+.` in the window you want to inspect. The package appends its own preload without replacing existing session preloads and works across windows created after registration. It does not expose `ipcRenderer` or a new global to the Host App renderer. Keep `sandbox: true`, `contextIsolation: true`, and `nodeIntegration: false`. diff --git a/packages/electron-inspector/package.json b/packages/electron-inspector/package.json index e9727a6..1041217 100644 --- a/packages/electron-inspector/package.json +++ b/packages/electron-inspector/package.json @@ -1,9 +1,9 @@ { - "name": "@dev-feedback/electron", + "name": "@flyingchangescode/dev-feedback-electron", "version": "0.2.0", "description": "Local feedback inspector for Electron development builds", "license": "MIT", - "author": "Monroe Stone", + "author": "Flying Changes Code", "repository": { "type": "git", "url": "git+https://github.com/StoneHub/webDevFeedbackExt.git", diff --git a/test/electron-inspector.test.cjs b/test/electron-inspector.test.cjs index b2be3d4..131a705 100644 --- a/test/electron-inspector.test.cjs +++ b/test/electron-inspector.test.cjs @@ -15,6 +15,8 @@ const { describeFeature, implicitRole } = require('../packages/electron-inspecto test('published package contains the one-line register entry and its self-contained preload', async () => { const packageRoot = path.resolve(__dirname, '..', 'packages', 'electron-inspector'); const manifest = JSON.parse(await fs.readFile(path.join(packageRoot, 'package.json'), 'utf8')); + assert.equal(manifest.name, '@flyingchangescode/dev-feedback-electron'); + assert.equal(manifest.author, 'Flying Changes Code'); assert.equal(manifest.private, undefined); assert.equal(manifest.license, 'MIT'); assert.equal(manifest.exports['./register'], './register.cjs');