Skip to content

Releases: lensapp/lens-desktop-experiments

lensdev-9007.0.0.1

24 Mar 14:04

Choose a tag to compare

Lens Desktop Experiments v0.0.1

First release of the experiments infrastructure for Lens Desktop.

What's New

  • Experiments monorepo — npm workspaces, esbuild bundling with glob-import plugin for
    injectable auto-discovery, TypeScript with Node16 module resolution
  • CI/CD pipeline — GitHub Actions for PR build/test validation and tagged releases with
    Ed25519 signing
  • hello-world experiment — Sample experiment showing a status bar indicator when loaded
    via the dynamic features system

How It Works

Experiments are single CommonJS bundles (dist/index.js) loaded at runtime by Lens
Desktop's dynamic features system. All @lensapp/* dependencies are externalized and
provided by the host application.

To install locally:

  1. Clone the repo and run npm install && npm run build
  2. In Lens Desktop (dev mode): Preferences → Extensions → Install from filesystem
  3. Select experiments/hello-world/package.json

Artifacts

File Description
manifest.json Experiment metadata with SHA256 checksums
hello-world-0.0.1.js Bundled experiment
hello-world-0.0.1.js.sig Ed25519 signature

Signature Verification

const crypto = require("crypto");
const fs = require("fs");

const publicKey = `-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEAHV0D1SqVpAshYl+Cfd1dbWODoSVrR9fLCzzc3uT5Vno=
-----END PUBLIC KEY-----`;

const bundle = fs.readFileSync("hello-world-0.0.1.js");
const sig = Buffer.from(fs.readFileSync("hello-world-0.0.1.js.sig", "utf8"), "base64");
console.log("Valid:", crypto.verify(null, bundle, publicKey, sig));

What's Changed

  • feat(LENSDESK-3373): experiments monorepo setup by @koncar in #1
  • feat(LENSDESK-3374/3375): CI signing, manifest, and build/release pipelines by @koncar in #2
  • refactor: simplify to renderer-only experiments by @koncar in #3

New Contributors

  • @koncar made their first contribution in #1

Full Changelog: https://github.com/lensapp/lens-desktop-experiments/commits/v0.0.1

What's Changed

  • feat(LENSDESK-3373): experiments monorepo setup by @koncar in #1
  • feat(LENSDESK-3374/3375): CI signing, manifest, and build/release pipelines by @koncar in #2
  • refactor: simplify to renderer-only experiments by @koncar in #3

New Contributors

  • @koncar made their first contribution in #1

Full Changelog: https://github.com/lensapp/lens-desktop-experiments/commits/v0.0.1

What's Changed

  • feat(LENSDESK-3373): experiments monorepo setup by @koncar in #1
  • feat(LENSDESK-3374/3375): CI signing, manifest, and build/release pipelines by @koncar in #2
  • refactor: simplify to renderer-only experiments by @koncar in #3

New Contributors

  • @koncar made their first contribution in #1

Full Changelog: https://github.com/lensapp/lens-desktop-experiments/commits/lens-9007.1

What's Changed

  • feat(LENSDESK-3373): experiments monorepo setup by @koncar in #1
  • feat(LENSDESK-3374/3375): CI signing, manifest, and build/release pipelines by @koncar in #2
  • refactor: simplify to renderer-only experiments by @koncar in #3

Full Changelog: https://github.com/lensapp/lens-desktop-experiments/commits/9007.0.0.1