feat: project evaluation scoped tool - #14
Conversation
|
for now its failing since we're not setting up the IPC communication channel properly we could try to communicate directly via STDIO but i think that's kinda tacky since node.js already handles IPC natively |
|
@josevalim i also took the option to define it as a record, because it seems kinda strange the need of |
|
hm some node specific version errors... |
|
Do we want a separate execution environment? I'd say we actually don't want a separate environment, as the goal of
Couldn't we still use
In any case, it should be an array, for consistency with the other implementations. It is important for the MCPs to be as consistent as possible. |
We can have |
|
I am just wondering if we can do a trick like this: or: Both seem to work on the repl. |
|
Oh, you are saying the actual Btw. we want |
nevermind, we can rename the argument name internally, so for the MCP we have |
i think i didn't understand completely the concern. the evaluated code have the same scope of the current project (aka the web server too), so it can access all local modules and dependencies, although restricted with dynamic imports since we're evaluating as a function. my main point here is security, it does have access to the project scope, although restricted. what is the real concern here? cc @josevalim |
i think we can expand the arguments array and pass it as separate ones to the function, would be that you're thinking on? |
…ave_javascript into feat/project-eval-tool * 'feat/project-eval-tool' of github.com:tidewave-ai/tidewave_javascript: chore(deps-dev): bump vite from 7.1.2 to 7.1.5 in the npm_and_yarn group across 1 directory (#15)
josevalim
left a comment
There was a problem hiding this comment.
One nit, double check CI, and we are good!
fad1673 to
40ec031
Compare
No description provided.