Commit Graph

34 Commits

Author SHA1 Message Date
Ryan Willis
1b6c776214 feat: LLM integrations + preferences (#9296)
* feat: integrate AI plugin and configure LLMs in preferences (#9192)

* poc: LLM configuration

* fix formatting + tidy script

* fix openpath type send method

* exempt node_modules from vitest

* reset package-lock for inso build

* switch from send/on to invoke/handle

* switch to pluginData

* remove unnecessary animation

* remove extraneous external defs in frontend bundle config

* rebase fix

* feat: mock server gen (#9201)

* add ipc handler methods in front of llm config service (#9202)

* feat: gemini first class config support (#9209)

* feat: add gemini as a backend

* fix: save api key the first time

* chore: call plugin from utility process (#9210)

* feat: additional mock server event tracking (#9215)

* feat(Git Commit): Automatically generate commits (#9164)

* feat: add AI-generated commit message functionality in staging modal

* feat: enhance AI commit message generation with error handling and improved UI

* fix: update button icon and text for commit generation state in staging modal

* feat: add diff functionality to Git service and integrate with AI commit message generation

* feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS

* feat: implement multiple commit functionality for Git VCS and integrate with staging modal

* feat: add validation for staged changes before generating commit messages

* feat: implement generateCommitsFromDiff functionality for AI commit message generation

* Cleanup staging modal and use tree data for reordering and submitting multiple commits

* Revert "feat: update isomorphic-git to version 1.33.1 and add stash functionality to Git VCS"

This reverts commit b731372debdfb07ac118d84900c2cecb635a34b4.

* feat: update type definitions for diff changes in Git VCS

* refactor: remove console logs and commented code from staging modal and AI commit generation

* feat: implement git commit generation process using a separate utility process for improved error handling and performance

* fix: improve error handling messages in AI commit generation

* chore: update optional dependency for AI plugin to alpha version 1.0.3

* fix: ensure data dir exists prior to reading (#9220)

* fix: ensure data dir exists prior to reading

* rename handler

* feat: mock server gen ux improvements (#9221)

* fix: include mockgen script in build (#9222)

* feat: add git commit generation process to build script (#9226)

* fix: set min height for git folder selector (#9242)

* chore: ai plugin 1.0.4 (#9243)

* feat: toggle ai features (#9232)

* feat: track commit generation and saving events for analytics (#9293)

* feat: add analytics tracking for commit message generation events

* fix: update segment event names to camelCase for consistency

* Update package-lock with the plugin modules

* fix(build): add x64ArchFiles option back (#9297)

* fix: autoselect self hosted mock when cloud mock disabled (#9299)

* fix: hide ai settings from scratch pad user (#9300)

---------

Co-authored-by: Shelby Moore <13246465+shelby-moore@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2025-10-23 10:41:39 +02:00
Jack Kavanagh
d25412c93b Fix release recurring builds (#9191)
* x64ArchFiles

* extend recurring timeout
2025-09-29 18:00:09 +02:00
James Gatz
aa838bf39c chore(Architecture): react router spa mode (#8902)
* first pass

fix tests

move all react things in dev

try-package

build stuff

use http protocol instead of file

handle refresh

fix tests and routeloaderdata apths

fix npm run dev

fix sorts

fix hidden browser window

cleanup files

Typesafe /auth/* routes

typesafe commands route

git-credentials typesafe routes

import typesafe routes

fix types

fix hidden browser window

invite and collaborators typesafe routes

fix types

remove workarounds

fix dashboard test

more types

git typesafe routes

fix runner test

typesafe scratchpad navigation

fix remove unused project route

fix test routes

add space

request typesafe routes

git credentials typescript conspiracy

git typesafe routes

typecheck

debug bundles for inso

fix test

fix request group tab

workspace typesafe routes

feedback

All routes use generated types

Add typed fetchers to actions and loader

Use typed fetchers in the app

move git actions to the root

* fix react-use usage

update import source field

Spawning npm fails the build

Add ~ module resolution to vitest

add initialEntry functionality

fix update environment name requirement

fix settings patch

use loader for fetching the vault key and fix process.env.PLAYWRIGHT issue

fix missing type

Centralize useRouteLoaderData to routes

Use environment for vitest tests that run browser code

Update remaining fetchers to typesafe versions

remove unused fetcher and add callback to sync

Wrap load/submit in useCallback to keep them stable between re-renders

Update deps lists with stable submit functions

fix lint issue

* fix ts issues

* Add toaster to root

* Use shell for running scripts with spawn on Windows

* Move renderer bundling out of the build script

* Fix request-pane test flakiness

* update the url we use for internal purposes

* Increase timeout for release workflow

* fix flaky bundling test

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2025-08-08 11:10:28 +02:00
Kent Wang
2eca4de150 feat: External vault separation and bundle plugin support for Insomnia & Inso (#8864)
* Move vault related UI code
* Support bundle plugin for app & inso and backend integration (#8857)
* Update Github actions
* spike: bundle plugin installation alternatives (#8899)
* installation alternative by optional dependency
* Refine plugins api
* feat: Execute vault plugin tag in web worker (#8934)
* update bundle test
* fix issues from comment

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2025-08-07 14:06:41 +00:00
Ryan Willis
e9b75c02bc feat: allow choosing install dir with NSIS - [INS-5109] (#8456)
* feat: allow choosing install dir with NSIS

* inject file

* write file to package

* read nsis flag file

* add publish config

* add publish config

* comment wrapper

* nsis auto-update

* auto update

* update

* fix nsh

* update nsh script

* update config

* fix: lint error

* fix lint

* fix: can not read or write file

* fix: did not generate app-update.yml

* use different wrapper logic

* modify comment

* fix: simplify code

* feat: add version into origin exe name

---------

Co-authored-by: Curry Yang <1019yanglu@gmail.com>
2025-06-23 16:31:13 +08:00
Jack Kavanagh
b30978e33b Full-prettier-run (#8605)
* prettier

* remove markdown linting
2025-04-11 13:37:19 +02:00
Ryan Willis
05d15b4abf securely wrap execution (#8451)
* test using a wrapper that sets security context before invoking the main application

* add build step to pr ci

* try with diff ver string

* statically link the standard libraries for portability

* more static linking

* prior version string

* remove pr substring from version

* try using a different version string
2025-03-25 08:57:53 -07:00
Filipe Freire
3f86211139 chore: bump electron 35 [INS-5154] (#8490)
* chore: bump electron 35 [no-ticket]

* fix: build.ts poiting to node 22

* fix: update types

* fix: comment out inso build.ts node version check

* fix: bump npx pkg

* skip flakey tests

* bump timeout

* use glob instead of regex

* fix windows inconsistency

* revert experiemental changes

* fix: revert timeout

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2025-03-20 10:53:34 +01:00
jackkav
cc0cdb66ce use ubuntu 22 2025-01-28 13:41:28 +01:00
Jack Kavanagh
0c7c50c4af make runners conventional (#8325)
* make runners conventional

* use 24 explicitly until latest alias is available for arm

* arm64 need snapcraft
2025-01-28 13:11:01 +01:00
hexchain
e5c49f8d38 Build Linux aarch64 packages using the new GH runner (#8306)
* chore: upgrade @getinsomnia/node-libcurl to 2.33.7

* chore: add arch into AppImage name template

* chore: run release workflows on aarch64 linux runner

* fix: also consider process.arch when determining insomnia binary path

* fix: lift unprivileged userns restrictions for linux

Ubuntu 24.04 introduced this new restriction so we just lift it for all
Linux runners now to avoid confusion in the future.

* chore: remove hardcoded platform in inso Dockerfile

* chore: add architecture id into inso artifact name

* feat: modify workflows to support multi-arch
2025-01-28 10:55:25 +01:00
Curry Yang
18072a8a8f fix: smoke failed in github action (#8274)
* add log

* fix ubuntu image version
2025-01-06 17:07:53 +08:00
Jack Kavanagh
03581544cf split test job into app and cli (#7685)
* split

* add build sr

* adjust timeouts

* fix test

* fix timeout

* typo
2024-07-10 10:18:12 +02:00
saisatishkarra
f2712204ed fix: script to parse binary digests (#7493) 2024-06-05 13:12:05 +02:00
Filipe Freire
ef9cd3c5ee chore: bump GH actions versions [no-ticket] (#7117) 2024-02-27 14:49:14 +00:00
Kong Team Eng Enablement Bot
d113cf9ca9 Update timeout for .github/workflows/release-recurring.yml (#7053)
* Update default timeouts for .github/workflows/release-recurring.yml [skip ci]

* configure timeout

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-02-06 12:27:19 +00:00
Filipe Freire
96a33f1bba fix #6490 portable .exe is not actually portable (#6571)
* fix: portable .exe is not actually portable

* keep portable for release-recurring

* edit electron-builder
2023-09-27 14:58:09 +00:00
Filipe Freire
df77275576 chore: Add test to check for backups on new version to critical tests (#6403)
* chore: Add test to check for backups on new version to critical tests

* check for backups folder contents

* change env var on gh actions file

* fix
2023-08-28 14:06:47 +00:00
Jack Kavanagh
f9bd4ff82a fix: http request loading indicator (#6265)
* flatten url bar

* flattening continued

* more flat

* more more flat

* fix lint

* flatten network send into one call

* unpack send everywhere

* remove send with settgins

* fix types

* fix bug in download

* contain interpolation and modal

* abstract render try catch

* send action

* extract to file

* remove plugin ignore code

* remove unused

* unpack misc functions

* less misc functions

* readd inso tests

* split test runs

* fix test

* fix test

* fix test

* use workspace pathing

* remove check-engine

* add tech debt list
2023-08-13 12:30:04 +02:00
Jack Kavanagh
96011e8db5 add critical smoke tests to avoid broken beta deploy (#6259)
* fix lint errors

* use only ubuntu for tests

* add critical test to release recurring

* fix path

* fix paths again
2023-08-11 08:22:01 +00:00
Filipe Freire
001a88af11 setup new versioning for release-start (#6244)
* setup new versioning for release-start

* delete bump version
2023-08-10 11:04:28 +02:00
Filipe Freire
9800ad5aee chore: use npm workspaces (herecles) (#6193)
* chore: use npm workspaces

* edit workspaces

* fix

* fix

* force workspace order

* fix lock?

* define max_old_space_size on CI

* rm unnecessary bootstrap

* fix

* cleanup package.json

* bump vite and re-add build to bootstrap

* define paths on tsconfig

* fix some things

* add mocha to vite config

* bump mocha

* remove tsconfigs and project refs

* cache npm install

* fixed types

* assing repo root

* merge lint configs

* fix clean

* fix tests

* setup node

* lockfile

* fix bump

* fix lint markdown

* temporary disable inso tests

* dont use rimraf

* simplify clean

* fix version

* lockfile

* inso build

* fix lint

* lock file

* remove cleans

* remove unused

* tslib hack

* redownload node-libcurl

* rm version from scripts

* fix extrainfo bug

* use npm version

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-10 00:14:16 +02:00
James Gatz
36a5635bd5 Revert "exclude macos release (#6056)" (#6061)
This reverts commit 033b74871c.
2023-06-27 18:16:03 +00:00
James Gatz
033b74871c exclude macos release (#6056)
* exclude macos release

* more exclusion
2023-06-26 12:41:30 +00:00
Filipe Freire
d3b917a15f chore: Add merge-group on workflow dispatch (#5872) 2023-03-31 10:51:31 +00:00
David Marby
df9a48e010 Upload sourcemaps to Sentry on publish (#4909) 2022-06-28 11:29:28 +02:00
Dimitri Mitropoulos
213e1dd1c8 rename insomnia-app/app to insomnia/src (#4491) 2022-04-20 17:42:19 +00:00
David Marby
0bfb097676 Fix lerna version bumps and release-recurring skipping, again (#4583) 2022-03-10 17:45:11 +00:00
David Marby
d3b4322bf2 Fix lerna version bumps and don't run release recurring for release PRs (#4576) 2022-03-10 16:58:42 +01:00
John Chadwick
e3b30c26f4 Change "Release recurring" to "Release Recurring" (#4567) 2022-03-09 19:03:14 +00:00
Filipe Freire
b3aa6b9cec Easier Alpha/Beta/Stable releases (INS-1435) (#4516)
Co-authored-by: David Marby <david@dmarby.se>
2022-03-09 16:06:53 +01:00
Filipe Freire
bcad07b9aa Fix BUILD_REF for develop and other non-PR triggers (#4496) 2022-02-14 18:56:07 +00:00
Filipe Freire
d68ad33f2b Change build ref of recurring build if PR (#4490)
* Change build ref of recurring build if PR

* Add PR_NUMBER env var

* Edit the BUILD_REF to <commit>.pr-<number>
2022-02-14 17:21:45 +00:00
Filipe Freire
1160b4a09c Recurring releases of insomnia app (INS-1429) (#4474)
* Update default electron-builder targetgs

* Allow setting a build ref

Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.

* Adds recurring release workflow

New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.

Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.

Co-Authored-By: David Marby <david@dmarby.se>

* Make recurring flow independent from Test flow

Co-Authored-By: David Marby <david@dmarby.se>

* Use setup-node@v2

Co-Authored-By: David Marby <david@dmarby.se>

* Update .github/workflows/release-recurring.yml

Co-authored-by: David Marby <david@dmarby.se>

* It's always the single quotes 🙏 😚

* Use bash shell

* Disable fail-fast

* Add cancel-in-progress setting to recurring releases

If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.

Co-Authored-By: David Marby <david@dmarby.se>

* Change concurrency setting to workflow level

Co-Authored-By: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2022-02-10 15:32:33 +00:00