Giter Site home page Giter Site logo

ai-task-vscode's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ai-task-vscode's Issues

@run bug when typing space anywhere on the same line invokes the extension

Typing @run followed by space or enter kicks off completeInlineTasks.
If you type space anywhere on a line with @run it will also kick it off

See video attached for 2 cases described - first desired, second not so much.
Here is where the code lives that figures out if to kick off the task or not, all changes should be contained within those lines.
https://github.com/bra1nDump/ai-task-vscode/blob/main/src/extension.ts#L43-L75

Screen.Recording.2023-10-17.at.1.18.01.PM.mov

communication: Where and how to discuss things?

If somebody wants to connect with you. Discuss something, how would someone do it?!
It would be good if you opened a discussion tab on this repository.
Because I think, Issues are good for issues only.
What are your thoughts on it?!

doc: More examples needed.

It worked fabulously.
Here, is a snippet.
image
image

But, A user or a contributor developer or just to know it's working potentials, I think we need to add more it's working examples.
Not necessarity with images.
But, in the form of text like below.
Would be good.
For example.

// @task create a new file named index.html and create a basic portfolio website on that file

Something like this.

Generation stuck on timeout

Just register for paid API access for GPT-4 access. Start generation using 4 files pprox 8.5k tokens. And its stuck in the midlde of generation. No error messages.

Configuration of the API key is not clear.

severe: Cloning issue.

Used Windows Github Desktop Application to download.
The error while cloning.

Cloning into 'D:\coding\CODE_WAR\ai-task-vscode'...
remote: Enumerating objects: 2475, done.        
remote: Counting objects: 100% (623/623), done.        
remote: Compressing objects: 100% (230/230), done.        
remote: Total 2475 (delta 391), reused 604 (delta 373), pack-reused 1852        
Receiving objects: 100% (2475/2475), 65.74 MiB | 17.45 MiB/s, done.
Resolving deltas: 100% (1675/1675), done.
error: invalid path 'prompt-engineering/worthy-responses/Adding cleanup miro board script/10 More details and the prompt better results. Ignored instruction that says the task isn't past tense as if it's accomplished Revelation: I was using @crust instead of @bread which was expected More detailed prompt butter results, .md'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'


Would you like to retry cloning ?

Tried to do the steps above, still failed at it.

Tried using git cli.
Still error was being logged.
The error being.

 git clone https://github.com/bra1nDump/ai-task-vscode.git
Cloning into 'ai-task-vscode'...
remote: Enumerating objects: 2475, done.
remote: Counting objects: 100% (623/623), done.
remote: Compressing objects: 100% (230/230), done.
remote: Total 2475 (delta 391), reused 604 (delta 373), pack-reused 1852
Receiving objects: 100% (2475/2475), 65.74 MiB | 18.19 MiB/s, done.
Resolving deltas: 100% (1675/1675), done.
error: invalid path 'prompt-engineering/worthy-responses/Adding cleanup miro board script/10 More details and the prompt better results. Ignored instruction that says the task isn't past tense as if it's accomplished Revelation: I was using @crust instead of @bread which was expected More detailed prompt butter results, .md'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
C:\Users\playn\OneDrive\Desktop\ex\ai-task-vscode (main -> origin)
λ git restore --source=HEAD :/
error: invalid path 'prompt-engineering/worthy-responses/Adding cleanup miro board script/10 More details and the prompt better results. Ignored instruction that says the task isn't past tense as if it's accomplished Revelation: I was using @crust instead of @bread which was expected More detailed prompt butter results, .md'
error: invalid path 'prompt-engineering/worthy-responses/Adding cleanup miro board script/9 Failed: Came up with a nonexisting helper function, Did not mortify second function correctly Simple Task split across two functions to create permutations of names and loop over them in one function and fix u.md'
error: invalid path 'prompt-engineering/worthy-responses/Complex range tracking test requirements split across three files, failed somewhat miserabl/1. Multi file prompt:  .raw.md'
error: invalid path 'prompt-engineering/worthy-responses/DEMO WORTHY MATERIAL Simple convert one of the parameters into a config object /72-Thu.raw.md'
error: invalid path 'prompt-engineering/worthy-responses/DEMO WORTHY MATERIAL Simple convert one of the parameters into a config object /Continue succeeding repeatedly.md'
error: invalid path 'prompt-engineering/worthy-responses/DEMO WORTHY MATERIAL Simple convert one of the parameters into a config object /DEMO WORTHY example, correctly fix up tedious references to the function.md'
error: invalid path 'prompt-engineering/worthy-responses/DEMO WORTHY MATERIAL Simple convert one of the parameters into a config object /Did not print out any changes only the task, should be improved if we merge task with changes prompt.md'

Solutions I tried.

Forked the repo, then tried cloning it, still the same error.

Cloned the original repo by author still the same error.

Another solution I tried was.

  • Changed the regedit for windows 10 to support long path on system that is more then 240 chars, was 0 fixed it to 1.
  • Enabled git to support long file paths and set it as true.
  • Restarted it, tried again, still the same error.
  • Tried getting the shortest filepath as I doubted that was the case, so made a dir on desktop with 'e' dir name.
  • Tried 4 clones, forked - [gui, cli], OP - [gui, cli]
  • Still the same error.

severe: installation error Windows.

Installation error while installing into windows.

2023-10-07 13:30:44.796 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'ms-dotnettools.dotnet-interactive-vscode' wants API proposal 'languageConfigurationAutoClosingPairs' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-10-07 13:30:44.810 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.copilot-chat' wants API proposal 'terminalContextMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-10-07 13:30:46.747 [error] Extension 'ms-vscode.remote-server' appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): resolvers, tunnelFactory
product.json (WINS): resolvers, tunnels, contribViewsWelcome
2023-10-07 13:30:46.866 [warning] [twxs.cmake]: Cannot register 'cmake.cmakePath'. This property is already registered.
2023-10-07 13:30:47.053 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: blade
2023-10-07 13:30:47.053 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: ejs
2023-10-07 13:30:47.053 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: latte
2023-10-07 13:30:47.053 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: tpl
2023-10-07 13:30:47.054 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: twig
2023-10-07 13:30:47.054 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: vue-html
2023-10-07 13:30:47.054 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: django-html
2023-10-07 13:30:47.054 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: jinja-html
2023-10-07 13:30:47.055 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: erb
2023-10-07 13:30:47.055 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: HTML (Eex)
2023-10-07 13:30:47.055 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: volt
2023-10-07 13:30:47.056 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: nunjucks
2023-10-07 13:30:47.056 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: sass
2023-10-07 13:30:47.056 [error] [AnbuselvanRocky.bootstrap5-vscode]: Unknown language in `contributes.bootstrap5-vscode.language`. Provided value: svelte
2023-10-07 13:30:50.846 [info] [perf] Render performance baseline is 50ms
2023-10-07 13:30:53.419 [error] [Extension Host] Failed to load message bundle for file c:\Users\playn\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-2.1.3\out\extension
2023-10-07 13:30:53.420 [error] [Extension Host] Failed to load message bundle for file c:\Users\playn\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-2.1.3\out\extension
2023-10-07 13:30:53.423 [error] [Extension Host] Failed to load message bundle for file c:\Users\playn\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-2.1.3\out\extension
2023-10-07 13:30:53.424 [error] [Extension Host] Failed to load message bundle for file c:\Users\playn\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-2.1.3\out\extension
2023-10-07 13:30:53.425 [error] [Extension Host] Failed to load message bundle for file c:\Users\playn\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-2.1.3\out\extension
2023-10-07 13:30:53.425 [error] [Extension Host] Failed to load message bundle for file c:\Users\playn\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-2.1.3\out\extension
2023-10-07 13:30:53.426 [error] [Extension Host] Failed to load message bundle for file c:\Users\playn\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-2.1.3\out\extension
2023-10-07 13:30:53.426 [error] [Extension Host] Failed to load message bundle for file c:\Users\playn\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-2.1.3\out\extension
2023-10-07 13:31:05.525 [error] [Extension Host] (node:17344) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
2023-10-07 13:41:23.821 [error] Cannot read properties of undefined (reading 'data'): TypeError: Cannot read properties of undefined (reading 'data')
    at c:\Users\playn\.vscode\extensions\ms-python.vscode-pylance-2023.10.10\dist\extension.bundle.js:1:72139
    at _0x552b27 (c:\Users\playn\.vscode\extensions\ms-python.vscode-pylance-2023.10.10\dist\extension.bundle.js:1:83959)
    at me.provideCompletionItems (c:\Users\playn\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:127:50662)
2023-10-07 13:43:32.680 [error] CorruptZip: end of central directory record signature not found
    at w.download (c:\Users\playn\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:141)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async W.x (c:\Users\playn\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:19882)
    at async W.h (c:\Users\playn\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:17926)
2023-10-07 13:43:32.707 [error] end of central directory record signature not found: CorruptZip: end of central directory record signature not found
    at w.download (c:\Users\playn\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:141)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async W.x (c:\Users\playn\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:19882)
    at async W.h (c:\Users\playn\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:17926)
    

Explain why files where included into the task In the high level output .md

Currently

When users create a // @task comment the current file will be included, but they can also include other files for example with @tabs or @erroros. In the UI there is currently no distinction.

Currently the sessionContext.markdownHighLevelFeedbackDocument shows what files were inluded in the generation like so:
image

These are printed from all editable files from context manager, this is where the printing happens:

void highLevelLogger(`\n## Files submitted:\n`)
for (const fileContext of fileContexts) {
logFilePath(fileContext)
}

There is no grouping the files or explaining why they were added to the task

Desired

When we add the files to the context manager we actually pass a string 'group' that explains why the files were included, lets show this to the user by grouping the files / blobs when showing them in the high level document.

Code pointers to get started

Adaptation for Windows

When installing the extension on windows, it did not work due to different encodings on unix and windows (CLRF and LF)

Solution - #10

Assist me in something.

I am very good at Python programming language.
I want to contribute to this project, heavily.
Please, help me started.
Consider, me a sub-developer intern for this repository.

get started: new comer contributions

If somebody really likes the idea of this project.
Eagerly wants to contribute to it.
But, doesn't have experience in the stack of this project.
But, have an programming experience.

What should somebody know to get started with this project?
To actually start contributing to it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.