Skip to content
Closed

Dev #280

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
# - os: ubuntu-20.04
# target: armv7-unknown-linux-gnueabihf
# code-target: linux-armhf
- os: macos-13
- os: macos-15
target: x86_64-apple-darwin
code-target: darwin-x64
- os: macos-14
- os: macos-15
target: aarch64-apple-darwin
code-target: darwin-arm64

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
# - os: ubuntu-20.04
# target: armv7-unknown-linux-gnueabihf
# code-target: linux-armhf
- os: macos-13
- os: macos-15
target: x86_64-apple-darwin
code-target: darwin-x64
- os: macos-14
- os: macos-15
target: aarch64-apple-darwin
code-target: darwin-arm64

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"url": "https://github.com/smallcloudai/refact-vscode/issues",
"email": "support@smallcloud.tech"
},
"version": "6.5.8",
"version": "6.6.0",
"dependencies": {
"@types/marked": "^4.0.8",
"@types/vscode": "^1.69.0",
Expand Down
1 change: 1 addition & 0 deletions src/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -686,10 +686,10 @@

async handleToolEdit(toolCall: TextDocToolCall, toolEdit: ToolEditResult) {
if(!toolEdit.file_before && toolEdit.file_after) {
return this.createNewFileWithContent(toolCall.function.arguments.path, toolEdit.file_after);

Check failure on line 689 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (aarch64-unknown-linux-gnu)

Property 'path' does not exist on type '{ patch: string; } | { path: string; content: string; } | { path: string; replacement: string; } | { path: string; steps?: number | undefined; } | { path: string; pattern: string; replacement: string; multiple: boolean; } | { ...; } | { ...; } | { ...; }'.

Check failure on line 689 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (x86_64-unknown-linux-gnu)

Property 'path' does not exist on type '{ patch: string; } | { path: string; content: string; } | { path: string; replacement: string; } | { path: string; steps?: number | undefined; } | { path: string; pattern: string; replacement: string; multiple: boolean; } | { ...; } | { ...; } | { ...; }'.

Check failure on line 689 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (x86_64-unknown-linux-gnu)

Property 'path' does not exist on type '{ patch: string; } | { path: string; content: string; } | { path: string; replacement: string; } | { path: string; steps?: number | undefined; } | { path: string; pattern: string; replacement: string; multiple: boolean; } | { ...; } | { ...; } | { ...; }'.

Check failure on line 689 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (x86_64-unknown-linux-gnu)

Property 'path' does not exist on type '{ patch: string; } | { path: string; content: string; } | { path: string; replacement: string; } | { path: string; steps?: number | undefined; } | { path: string; pattern: string; replacement: string; multiple: boolean; } | { ...; } | { ...; } | { ...; }'.
}

return this.addDiffToFile(toolCall.function.arguments.path, toolEdit.file_after);

Check failure on line 692 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (aarch64-unknown-linux-gnu)

Property 'path' does not exist on type '{ patch: string; } | { path: string; content: string; } | { path: string; replacement: string; } | { path: string; steps?: number | undefined; } | { path: string; pattern: string; replacement: string; multiple: boolean; } | { ...; } | { ...; } | { ...; }'.

Check failure on line 692 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (x86_64-unknown-linux-gnu)

Property 'path' does not exist on type '{ patch: string; } | { path: string; content: string; } | { path: string; replacement: string; } | { path: string; steps?: number | undefined; } | { path: string; pattern: string; replacement: string; multiple: boolean; } | { ...; } | { ...; } | { ...; }'.

Check failure on line 692 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (x86_64-unknown-linux-gnu)

Property 'path' does not exist on type '{ patch: string; } | { path: string; content: string; } | { path: string; replacement: string; } | { path: string; steps?: number | undefined; } | { path: string; pattern: string; replacement: string; multiple: boolean; } | { ...; } | { ...; } | { ...; }'.

Check failure on line 692 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (x86_64-unknown-linux-gnu)

Property 'path' does not exist on type '{ patch: string; } | { path: string; content: string; } | { path: string; replacement: string; } | { path: string; steps?: number | undefined; } | { path: string; pattern: string; replacement: string; multiple: boolean; } | { ...; } | { ...; } | { ...; }'.
}


Expand Down Expand Up @@ -1034,7 +1034,7 @@

if(thread) {
const chat: InitialState["chat"] = {
streaming: false,

Check failure on line 1037 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (aarch64-unknown-linux-gnu)

Type '{ streaming: boolean; error: null; prevent_send: boolean; waiting_for_response: boolean; tool_use: ToolUse; cache: {}; system_prompt: {}; send_immediately: boolean; thread: ChatThread; queued_messages: never[]; }' is not assignable to type 'Chat'.

Check failure on line 1037 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (x86_64-unknown-linux-gnu)

Type '{ streaming: boolean; error: null; prevent_send: boolean; waiting_for_response: boolean; tool_use: ToolUse; cache: {}; system_prompt: {}; send_immediately: boolean; thread: ChatThread; queued_messages: never[]; }' is not assignable to type 'Chat'.

Check failure on line 1037 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (x86_64-unknown-linux-gnu)

Type '{ streaming: boolean; error: null; prevent_send: boolean; waiting_for_response: boolean; tool_use: ToolUse; cache: {}; system_prompt: {}; send_immediately: boolean; thread: ChatThread; queued_messages: never[]; }' is not assignable to type 'Chat'.

Check failure on line 1037 in src/sidebar.ts

View workflow job for this annotation

GitHub Actions / dist (x86_64-unknown-linux-gnu)

Type '{ streaming: boolean; error: null; prevent_send: boolean; waiting_for_response: boolean; tool_use: ToolUse; cache: {}; system_prompt: {}; send_immediately: boolean; thread: ChatThread; queued_messages: never[]; }' is not assignable to type 'Chat'.
error: null,
prevent_send: true,
waiting_for_response: false,
Expand All @@ -1043,6 +1043,7 @@
system_prompt: {},
send_immediately: thread.messages.length > 0,
thread,
queued_messages: [],
};
state.chat = chat;
state.pages = [{name: "login page"}, {name: "history"}, {name: "chat"}];
Expand Down
Loading