Commit Graph

73 Commits

Author SHA1 Message Date
1af0a6d1da Format all ts in project 2025-09-23 21:57:41 -07:00
2ee6b0b7b9 Update all of our samples to target VSCode 1.100 or newer
This makes sure that if folks get a relatively recent `vscode.d.ts`. It also lets us safely bump up the target to es2024 so you can use all the latest lib additions
2025-08-07 07:57:14 -07:00
e8a8df7782 Bump all samples to Typescript 5.9 2025-08-06 23:43:14 -07:00
7e5d971623 Npm audit fix
Running audit fix to fix some eslint related warnings
2025-07-23 14:37:43 -07:00
c835f5e0bd update per review 2025-04-01 10:34:46 +02:00
af2c674d3c Add canBeReferencedInPrompt property to tools 2025-03-31 15:55:21 +02:00
9fb82e1fb8 Bump package version for audit fixes 2025-03-03 09:59:28 -08:00
e3fce53668 Pick up latest TS version for all samples 2025-03-03 09:17:39 -08:00
774ecdb0ee Bump ts-eslint versions
This fixes a warning about running on an unsupported TypeScript version. Also makes sure we do not lint any `.vscode-test` contents if they are present
2024-11-26 22:59:45 -08:00
8747e64d7a Run audit fix
Runs `npm audit fix` on all samples
2024-11-26 22:23:51 -08:00
e0fac10b63 Update all samples to TS 5.7 2024-11-26 19:16:22 -08:00
c9e032ef24 Adopt @vscode/chat-extension-utils (#1130)
* Adopt @vscode/chat-extension-utils

* Update readme
2024-11-18 09:46:04 -08:00
003582f2db readme tweak (#1121) 2024-10-29 18:00:42 +01:00
2a0e869854 Port tools sample to main (#1119)
* Port tool sample to main

* README and polish

* Port changes from main

* Fix errors

* Add branch protection
2024-10-28 18:49:56 -07:00
1a3ac0c722 Switch internal scripts to ts
Also adds a formatting script and runs it against all TS files in the samples
2024-10-28 16:41:49 -07:00
e755371841 Merge branch 'main' into prominent-rat 2024-10-26 17:46:53 -07:00
73e249b3c1 Migrate all samples to eslint 9
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
2024-10-26 17:44:03 -07:00
93c518e360 use request.model 2024-10-25 15:24:29 +02:00
de598c7aef fix: update chat sample to use finalized intent detection api (#1108) 2024-10-14 12:11:56 -07:00
a0e45af080 Fixes #1106 2024-10-09 14:26:34 -07:00
8465a39a90 Bump to TS 5.6.2
Also bumps `@types/node` to fix compat issues with new TS lib typings
2024-10-03 11:53:22 -07:00
7749ad8b24 fix: adopt latest @vscode/prompt-tsx (#1096) 2024-09-03 11:20:53 -07:00
73ca99f455 remove randomTeach disambiguation 2024-08-14 17:56:10 +02:00
9e7875d28e use disambiguation per command
also rename teach to randomTeach
2024-08-14 17:51:58 +02:00
e5139d5cd4 chat sample disambiguation 2024-08-14 17:27:29 +02:00
b857a25753 no need to check if error or usage enabled on logger. This is auto-checked
fyi @lramos15
2024-08-02 11:59:24 +02:00
afe4d1eb3e use telemetry logger for counting requests, and unhelpful feedback, to be able to compute success metric 2024-08-01 13:59:37 +02:00
77289fd5f7 Merge pull request #1077 from microsoft/isidorn/diverse-sloth
fix sample:
2024-08-01 11:47:46 +02:00
e727840fc4 fix sample:
out and node_modules should not be ignored by vsce
prompt_tsx is a dependency, not a dev_dependency
chatVariableResovler API is not used
2024-08-01 11:45:42 +02:00
d74d081365 require latest vscode version due to https://github.com/microsoft/vscode-extension-samples/issues/1072 2024-08-01 10:58:15 +02:00
d92c5fcc03 use gpt-4o in sample 2024-07-31 15:45:34 +02:00
c6e3ba21da update readme for chat sample 2024-07-29 11:57:48 +02:00
20074ff9d5 Fix linting for chat sample 2024-06-27 14:16:27 -07:00
7628cfc947 Bump eslint versions
Avoids a warning when running the linter with TS 5.5
2024-06-27 13:33:48 -07:00
6d620a3a1a Bump to latest stable TS release for building samples 2024-06-26 17:02:58 -07:00
816db77857 Update prompt-tsx version 2024-06-12 15:01:56 +02:00
995432a2bb update how vscode.d.ts gets in 2024-06-10 11:55:27 +02:00
50dabc24b6 chore: adopt @vscode/prompt-tsx 0.2.1-alpha (#1047) 2024-06-07 02:30:23 +02:00
d5539c05fc re-throw other errors so they show up in the UI 2024-06-03 15:51:05 +02:00
f6fd8214cf error handling in chat sample 2024-05-31 12:57:26 +02:00
7c34798bd9 Fix chat-sample postinstall on windows (#1039) 2024-05-30 13:08:18 -07:00
36f0e08404 Adopt prompt-tsx for chat sample (#995)
* Adopt prompt-tsx for chat sample

* Rename

* Update prompt-tsx to published version

* Update for latest

* Fix up

* Small fix

* Latest prompt-tsx

* Format
2024-05-29 10:32:35 -07:00
bc0d92bb18 Merge pull request #1035 from microsoft/isidorn/annoyed-pelican
gracefully handle if model is not there
2024-05-27 14:25:38 +02:00
5b5218d9d9 gracefully handle if model is not there 2024-05-27 14:09:11 +02:00
d4e46c9fb4 chore: remove extension dependency to github copilot chat. We do not want folk adding this to their existing extensions 2024-05-27 14:01:06 +02:00
0f725b45bb "AI" and "Chat" categories are now supported by marketplace 2024-05-23 20:55:13 -07:00
a79d6117b5 Remove @types/vscode (#1025)
Because there isn't a published version that contains the new API yet
2024-05-16 22:00:04 -07:00
4ccae9de54 use static for creating User message 2024-05-16 20:51:16 -07:00
c6bba89ac4 add manually vscode.d.ts 2024-05-16 16:09:06 -07:00
1281bcf61a api is no longer proposed 2024-05-16 09:42:14 -07:00