Commit graph

130 commits

Author SHA1 Message Date
Felix Isaac Lim
d51f10b33e style: run prettier to fix format check
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 06:30:12 +08:00
Felix Isaac Lim
1024c37991 fix: correct SSE delta parsing + custom model input
response.output_text.delta has delta as plain string not object; fix
parseSseText to handle it. Also fix custom model dropdown — selecting
Custom now sets model to "" so isCustom triggers correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 06:27:35 +08:00
Felix Isaac Lim
b389c5991d fix: use Obsidian requestUrl instead of fetch (CSP bypass), add model dropdown
native fetch blocked by Obsidian CSP for external domains; requestUrl
bypasses it. Also adds Codex model dropdown with known models + custom
fallback, updates normalizeModel for gpt-5.5/5.4-mini/5.3-codex-spark.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 06:18:39 +08:00
Felix Isaac Lim
6880043c8b feat: add Codex (ChatGPT subscription) provider
OAuth PKCE flow to auth w/ ChatGPT Plus/Pro; stores tokens in plugin
settings. Calls chatgpt.com/backend-api/codex/responses (responses API)
instead of chat completions. Auto-refreshes tokens. Sign in/out UI in
settings tab.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 05:33:00 +08:00
Barrca
3912da8047 [release] Bump version to 1.2.4 2025-09-19 17:28:48 +02:00
Barrca
2a0be90245 [fix] Fomatting of exports 2025-09-19 17:27:31 +02:00
Barrca
3e25d3e8d1 [feat] Add Azure OpenAI support to ChatApiManager and update settings interface for Azure configuration. 2025-09-19 17:25:45 +02:00
Barrca
149953d1bd [release] Release 1.2.3 2025-09-12 20:22:03 +02:00
Barrca
59960a9b1c [feat] Enhance extension with focus guard to prevent editor re-renders during widget interactions. This is better than the previous fix. 2025-09-12 20:20:29 +02:00
Barrca
2ec2eabdb2 [release] Release 1.2.2 2025-09-12 18:50:40 +02:00
Barrca
958533a0f0 [fix] Added event listeners to manage focus transitions and prevent unwanted re-renders in the outer editor. Specially for codeblocks 2025-09-12 18:48:49 +02:00
Barrca
ad60944974 Reformat the code with the new prettier config 2025-09-12 18:47:27 +02:00
Barrca
41e73ea28a Refactor project configuration: remove .gptignore, add .prettierignore and .prettierrc, update package-lock.json with new dependencies including husky and lint-staged, and configure GitHub Actions for Prettier checks. Also, set up husky pre-commit hook to run tests. 2025-09-12 18:46:02 +02:00
Barrca
9e95818df3
Merge pull request #11 from FBarrca/dependabot/npm_and_yarn/form-data-4.0.4
Bump form-data from 4.0.1 to 4.0.4
2025-08-22 09:35:31 +02:00
dependabot[bot]
95136efdbb
Bump form-data from 4.0.1 to 4.0.4
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.1 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.1...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 20:55:37 +00:00
Barrca
3f8dda5ac0
Update README.md 2025-07-09 18:49:18 +02:00
Barrca
5e878508cc Update version to 1.2.1 2025-05-17 20:44:37 +02:00
Barrca
46ef109abf Update event listener for FloatingWidget to use window instead of document for click outside detection. 2025-05-17 20:43:16 +02:00
Barrca
f0f35ac3fa Disable icons in autocomplete suggestions 2025-05-17 20:19:51 +02:00
Barrca
495e8742ff Enhance FloatingWidget to manage event listeners for dismissal on click outside and Escape key, including support for popout windows.
Rework to fix issues with dismissing on floating windows outside the main editor.
2025-05-17 20:13:21 +02:00
Barrca
8b37439f84 Improve some CSS issues with popup windows 2025-05-17 19:12:11 +02:00
Barrca
b62e2894d5 Release 1.2.0 2025-05-16 22:44:12 +02:00
Barrca
171994ccef Reinitialize ChatApiManagermessage queue based on settings toggle 2025-05-16 22:43:02 +02:00
Barrca
d2bd638b4e Refactor advanced section header in settings to use createEl method 2025-05-16 22:42:08 +02:00
Barrca
47c92dbd94 Add message history toggle in settings and conditionally enqueue messages in ChatApiManager 2025-05-13 21:51:50 +02:00
Barrca
031efb3ae4 Add basic message history 2025-05-13 21:28:40 +02:00
Barrca
13d0a1ebf9 Version 1.1.5 2025-05-13 20:14:51 +02:00
Barrca
b091815460 Further improve the autocomplete styling 2025-05-13 20:13:54 +02:00
Barrca
054d6aa854 Remove debug console log from buildSelectionHighlightState function in SelectionState.ts 2025-05-13 00:12:10 +02:00
Barrca
23f43b3b7e Update completion label styling in styles.css to use Arial font 2025-05-12 23:59:05 +02:00
Barrca
a893a4a60e
Update README.md
Fix License issues
2025-05-12 23:45:05 +02:00
Barrca
4d9a730b8d Version 1.1.4 2025-05-12 23:39:46 +02:00
Barrca
eea1bfc4fa Improve the styling of the command completions 2025-05-12 23:36:58 +02:00
Barrca
51c4121e57
Create FUNDING.yml 2025-05-12 21:32:38 +02:00
Barrca
186df1fd49 Update README with gemini 2025-03-30 22:07:12 +02:00
Barrca
c530839e77 Release 1.1.3 2025-03-30 22:06:00 +02:00
Barrca
08ba4da72f Added support for gemini
Tested with AI studio
2025-03-30 22:04:30 +02:00
Barrca
628773c5e4 Release 1.1.2 2025-02-28 20:24:53 +01:00
Barrca
fc00ca701a Fix bug https://github.com/FBarrca/obsidian-inlineAI/issues/6 2025-02-28 20:22:44 +01:00
Barrca
46d6080ef3
Merge pull request #4 from FBarrca/dependabot/npm_and_yarn/esbuild-0.25.0
Bump esbuild from 0.24.2 to 0.25.0
2025-02-24 17:45:25 +01:00
dependabot[bot]
b6b1d850d0
Bump esbuild from 0.24.2 to 0.25.0
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.24.2...v0.25.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 16:40:47 +00:00
Barrca
0be5bd802d Release 1.1.1 2025-02-24 17:36:18 +01:00
Barrca
a1cd524b15 Fix select text bug 2025-02-24 17:35:41 +01:00
Barrca
c5a83110d4 Release 1.1.0 2025-02-07 15:41:30 -08:00
Barrca
8f40589c6d Add type any to the errors 2025-01-30 13:04:09 -08:00
Barrca
d4c778b440 Moved the command prefix to the top 2025-01-30 13:02:10 -08:00
Barrca
45f16cb2af Fix bug with enter key in the widget 2025-01-30 12:59:20 -08:00
Barrca
f9c330dd45 Display changes after saviong the prefix 2025-01-30 12:58:25 -08:00
Barrca
900ba5f849 Reduce the number of notices 2025-01-29 13:34:35 -08:00
Barrca
108eb0c251 Clean the parsing 2025-01-29 13:31:13 -08:00