37 Replies
Seve mad about CLI
I am also mad about runframe thing lol
have to setup both cli and runframe in local and then test...
ya haha like we're so close to it being actually good
the automatic type installation from @shibo and @DOPΣ is pretty sick
but we NEED to show that the snippet is loading or errored or whatever, it's pretty frusterating that just like nothing changed
same for the "Save Snippet" button
@DOPΣ knows how event bus and runframe works
I was trying to understand architecture little bit unclear
😞 kya fayda
tum krdete aur me chahkar bhi nhi kr pata
Use cursor bro, it works on your laptop, nothing hard,
@om @DOPΣ do not use hindi use english
its paid isnt it
I am using cline
Change it cline isn't best, #general
didn't we merge a pr for that?
thats still open
@shibo nope, i am working on it but left of in between if anyone want to work on this feel free to make a PR.
I see
@shibo actually the thing is i have done it cli part but there is some problem on ui related part
Its 2 repo problem
have to emit events from devserver
and receive in runframe
as events are catching correclt like
circuit_rendering_finished
but the ui is not updating according to that
ohh so thats why it is not happeningyou have to do dev in 2 repos haha
yeah if u want you can solve it
@om
hm
@Seve This repo will be needing cleanup. The tests are in bad shape, we didn't have CI on this so a lot a failing tests have been merged. https://github.com/tscircuit/cli/pull/62
As you say this is getting Sabotaged!! 💣
Omg
SABOTAGE
I have created this already 👀
Well, Keeping all things aside, although it isn't fully my fault but somehow i forget to mention cons of my prs, I'm trying to send patches to fix issues one by one after inspecting myself
I also tried fixing the already present code of other peeps, hope you'll co-operate thanks
GitHub
refactor: init & clone by ArnavK-09 · Pull Request #63 · tscircuit/...
avoid writing same code again
using dry principles
will init pakcage json before adding deps so name is there
fix logs
error free
feat: allow init in custom directory
Is something changed? Unable to get save to snippets button

@DOPΣ Make sure you are testing things before making a PR https://github.com/tscircuit/cli/pull/65/files. We are not using cjs, this breaks the
cli
Ohmg me dumb, also remove these outdated comments, i forgot to commit
https://github.com/tscircuit/cli/pull/66

Here test-package used but it uses actual api to check

hey sorry for the delay- are you able to use the fake api to test?
if the fake api is missing a feature we can introduce it to the fake api (the fake api is inside the tscircuit.com repo)
Ok this test sometimes pass sometimes fail
and in workflow entierly different error 💀

This is passing too localy

if it's failing on ci it might be because the fake-api isn't being used 🤔
will try that
but for dev server I am confused