ByteCode.NewsSubmit
Use quotes for an exact word.

Subscribe

RSSPodcast
Log in

Chat Logs

  1. blueHi phaleth.
  2. bluephaleth: https://github.com/primate-run/primate/issues/286
  3. nevetpema: `p.loose.bigint` / `i64` / `u64` / `i128` / `u128` coerce numeric strings via `Number()`, losing precision above 2^53 · Issue #286 · primate-run/primate
  4. bluePrimate is commited to delivering in record time :P
  5. blueI used that report as a reason to introduce changelogs per package, which is kinda cool
  6. phalethhi blue
  7. phaletha research group led by Professor Yu Feng
  8. phalethlooks like they don't care how is that implemented
  9. bluehow what is implemented?
  10. phaleththe number overflow
  11. bluewell it's good we got their attention
  12. bluealso, we're the fastest in delivering fixes, less than an hour from the original report to patch on npm
  13. phalethyeah, but it's a lot of mess in the code https://repopack.com/project/primate/tasks/414#file-70c75a59428a18c31f4c3a38
  14. phalethonly a student would be worried about 2^53 overflow, practically that's not going to happen
  15. blueI see if I can move some of the complexity into rcompat
  16. phalethwell, would be nice if a lot of the JS clanker recently added to the website's app js bundle would go away
  17. bluewhat JS clanker?
  18. bluecan you create task?
  19. phalethI mean the JS that clanker recently added
  20. phalethnah, prolly waste of time, and clanker has no chance anyway
  21. bluebut where? what task?
  22. phalethall of them I guess, like each release adds more and more kBs
  23. phalethit used to be at around 71 kBs
  24. bluecan you create task so I can review this? just write it used to be 71kBs and now it's whatever, and I'll look into it and figure it out why
  25. bluealso I didn't update repopack.com yet to primate .45, still need to do it
  26. phalethdon't worry, it does not matter
  27. blueI think it does matter if it bothers you :{
  28. blue:P*
  29. phalethyeah, would be nice if there was some work done for repopack
  30. phalethjust saying that bloat is being added
  31. bluein primate or repopack?
  32. phalethI mean you've propably promised those 64 bit ints in pema or whatever, so that bored student chuckled over it
  33. phalethbut in the end who cares if somebody runs into a bug there
  34. phalethboth
  35. bluewell please create tasks, I will look into it, memory consumption is kinda good in repopack, it's been running for a while and it's at 288MB
  36. phalethbut I've already created other tasks that are more important
  37. bluek
  38. bluemajor chat update is coming, phaleth
  39. blueand btw you can use with free models :)
  40. phalethoh, hmm
  41. phalethlast time I've tried running Mistral on my laptop the laptop was dying
  42. bluewe're gonna get hosted agents soon
  43. bluethis will be a paid feature
  44. blueand I know dreamreal is gonna love it
  45. bluephaleth: https://repopack.com/project/primate/tasks/423
  46. blueman I REALLY need chat. I keep confusing all those opencode tmux sessions :(
  47. blueI have three sessions per project. and I have the projects: repopack, primate, rcompat, flog, dog/cit (and sometimes socialcloud). also planning on future projects, superarch and many others
  48. blueimagine how much confusion this causes
  49. bluewith chat now, you always are in the context of a project (this is a local change I haven't deployed) yet. going to the homepage redirects you to your first, in the future default project
  50. bluebeing always in the context of a project is immensely helpful
  51. blueand btw: I think this is why people use herdr
  52. phalethyeah, I think so too
  53. bluebecause they realised tmux with a ton of agent sessions is gonna be totally confusing
  54. bluebut repopack.com solves this so nicely. you always have a project context
  55. bluealso with hosted agents, I can restart the computer as often as I want. the git checkouts survive because they're not on my computer
  56. blueit's perfect
  57. bluedreamreal: ^
  58. blueI might be wrong, but I think we've hit gold here. only time will tell
  59. bluethree workflows:
  60. blue1) you host your agent on your computer and connect it to repopack.com via rp; that's how I intend to work now; rp manages the worktrees in ~/.local/rp/agent-workspaces
  61. blue2) you host your agent on a vps or otherwise a server you own, and use rp to connect. same thing like 1), but not on your computer
  62. blue3) you buy a hosted agent (essentially a vps or another abstraction) from repopack.com, you don't need to setup anything
  63. blue3) will be the most elegant way to work, but also you might ask yourself - how do I get previews of the things I'm working on?
  64. bluethat's why we have task previews, that's exactly the reason they exist
  65. blueit's a new way to do development
  66. blueradically different, I think, but also very interesting
  67. blueand also crucially, it means your computer can burn down and you don't lose anything
  68. blueand you can do development on a weak(er) laptop
  69. blueyour computer becomes a terminal to your development environment, via your browser and repopack.com
  70. phalethlot of people will pay clanker and be wanting to get clanker hooked up to the project easiest way possible
  71. blueyes
  72. phalethif you make it so that the person has to write commands in terminal then you've lost them
  73. bluewell ideally, they're all gonna work through repopack.com chat
  74. phalethI mean for hooking up clanker
  75. phalethlike to me the chat says some nonsense cause I have no clanker
  76. phalethit should shove down a guide how to hook up clanker to the user's throat
  77. blueyes, this is going to change with hosted agents
  78. phalethalso once they set it up it should make them feel like a winner
  79. bluewell with hosted agents, there's no setup involved othre than connecting to your provider
  80. blueand if you buy a hosted agents, you would still get the free models immediately
  81. phaleththe gamification aspect is important, people are way too screwed nowadays, especially the youngsters
  82. bluelol
  83. bluedreamreal: you use claude code, correct?
  84. blueI currently only have rp wire opencode sessions. I do need to extend chat to claude code and codex
  85. phalethand to seepdeek
  86. phalethoops
  87. blueseepdeek?
  88. phalethyeah, try saying that
  89. blueseepdeek!
  90. phaleththis is difficult to understand without an example https://docs.repopack.com/start#connect-a-project
  91. bluecan you edit it or create task to improve?
  92. blueyou don't have to work on the task, just create it
  93. blueI want to make it perfect but I need to know about things that don't work well
  94. bluejust create tasks, it's cheap
  95. phalethyeah, but clanker is just gonna write more walls of texts
  96. blueignore it, just create tasks, tasks are the cheapest currency we have
  97. bluethe walls of texts are something we can work against in AGENTS.md
  98. bluethat doesn't make creating tasks invaluable
  99. phalethso does `rp bootstrap ...` create a project?
  100. blueor well, "not valuable"
  101. phaleththe bootstrap term is confusing
  102. blueit doesn't
  103. blueit sets up a project by cloning it
  104. bluetry this
  105. phalethah, now I get it
  106. bluemkdir ttt && cd ttt && rp bootstrap primate
  107. blueit will clone the project into ttt/primate, and print instructions. it's mostly for agents
  108. blueif you run rp bootstrap INSIDE a repopack.com project, it will just print instructinos
  109. blueit detects it by looking at the .git/config and finding repopack.com origins
  110. phaleththat information is missing there
  111. blueya
  112. phalethclanker would just turn it into a wall of text
  113. bluecreate task, I will fix
  114. blueor add manually :P
  115. blueeither way you need a task for it
  116. phalethyeah, I will try to read the docs, prolly impossible
  117. bluechat is working REALLY well
  118. blueonce I have this deployed, you gotta try it out phaleth
  119. phalethok, anyway, I don't have a clanker
  120. bluethere are open models
  121. phalethlast time I messed around with LLMs was in 2023 and since then I forgot everything
  122. phalethI remember I used some python environment thing that was painful to work with
  123. phalethevery single project worked only on specific version of python
  124. blueyou just need opencode
  125. phalethisn't opencode's source closed?
  126. phaleth:)
  127. phalethI think it was anthropic who published sourcemaps of their CLI to npm package registry and then somebody found two vulnerabs in their shitty CLI thanks to that
  128. * phaleth looks up if garbage is still running on the VPS
  129. phalethnope, it doesn't
  130. blueopencode is open source
  131. bluehttps://github.com/anomalyco/opencode
  132. blueMIT
  133. phalethwow, it can be installed via pacman
  134. phaleththen it must be important
  135. blueya
  136. blueanyway try it, rp can connect to it and then you can use the chat :) I'll soon push out this amazing update
  137. bluealmost done with it
  138. phalethmy computer does not have a GPU and it's CPU is too old
  139. bluedon't worry about it, this is a T480
  140. phalethyeah, but you use a remote clanker
  141. blueI don't
  142. blueopencode is running on my computer currently
  143. blueI don't have an extra vps atm
  144. phalethby clanker I mean the LLM
  145. phalethI found this knob https://i.imageupload.app/0ca74ba34e780ae573b2.png but in rp CLI there isn't anything like `rp task merge .` right?
  146. blueYes. I think I removed `task merge` from the cli at some point. It should return, but I think it should always guarded
  147. blueClankers should not be able to autonomously push code onto master. So that will become an always-guarded action.
  148. phalethyeah, with a permission on the project
  149. bluehere, https://repopack.com/project/repopack/tasks/868
  150. bluewe don't need a permissoin on the project
  151. bluetask merge will always be guarded
  152. phalethbut people also use CLI so it's impossible to distinguish people from clankers
  153. blueyes. but the CLI isn't assumed to be 100% safe
  154. phalethand people should also be denied to take that action
  155. blueyes
  156. blueanyway can script your CLI
  157. bluethe last authority is the website
  158. blueguarded actions always require you manually approving on the ui
  159. bluethere are not a lot of them, but important things are guarded
  160. blues/anyway/anyone/
  161. phalethok, that task says: "equires a deliberate human confirmation in Repopack's browser for every invocation"
  162. phalethrequires*
  163. phalethbut how is that confirmation gonna look like? will it be enough that I'm logged in only via rp CLI?
  164. phalethcause now I have to be logged in on repopack site itself and hunt for the merge button everytime
  165. bluethe human confirmation is a popup that appears on the top right in the browser
  166. blueand yes, you wouldn;t need to hunt for the merge button
  167. phalethyeah, but in the browser after logged in to repopack website right?
  168. blueyes
  169. phalethwell, that's still the same then
  170. bluesame as what?
  171. phalethmakes no sense to implement that task at all
  172. bluewait, are we talking past it other? `rp task merge` would allow your clanker to request a merge
  173. phalethlike currently, in CLI you get link to task, open it and hit the merge button there after logging into the website
  174. bluethat would show up as a popup on the UI
  175. phalethyeah, but I'm in role of the clanker too :D
  176. bluethat spares you from looking for the task and scrolling down to the merge button
  177. blueif you're in the role of the clanker, that's useless for you, yes
  178. phaleththere is no looking up the task, the URL to the task is already in the terminal after `rp task submit . --push`
  179. blueyou wouldn't type `rp task merge`, then go to the website and confirm it
  180. blueyou'd just go directly to the website, I agree
  181. bluebut human-driving rp isn't the most common use case
  182. phalethok, then lets move on, no need to implement
  183. phaleththat means I should enable that knob I shown on the picture above again
  184. bluewell arguably it can move things a bit faster... let's imagine I'm in chat
  185. bluethen I tell the review clanker, review this task, and if approved, request a merge
  186. bluethen it can work in the backgronud and at some point I get a merge popup request
  187. blueI think there is some rationale for that task in the task description
  188. phalethyeah, that makes sense, but I was thinking it should just be available to anybody, but clankers will not have permission by default, or better yet that merge availability is off by default, which is already done by that knob I posted on the picture above
  189. blueso the probem is, you cannot distinguish who's driving rp, right?
  190. phalethI dunno, prolly not
  191. blueit's literally impossible to distinguish it. maybe in chat because we run in a sandbox. but even then we cheat with RP_CHAT_SANDBOX=1
  192. bluean env variable should not become an access gate
  193. blueI believe in repopack, we should have two levels of access. rp and browser. browser can do less actions, but has higher permissions
  194. bluerp can do anything, but important stuff is guarded, because it's scriptable and agent-runnable
  195. phalethok, how about doing something like `rp login` does
  196. phalethit opens up a web browser to confirm and only a human can confirm that
  197. bluerp login just gets you the token
  198. phalethyeah, I mean that behaviour
  199. blueessentially we have that behaviour already for guarded actions. except it doesn't open a new browser, it sends a push SSE to your existing session
  200. phalethso just show a merge button there, no need to logged into the website itself and click some notification or whatever
  201. bluebut remember that with rp login, you already need to be logged into the website anyway
  202. bluethis is more or less the exact same flow as push popups, just in a new tab
  203. phalethyeah, that's true
  204. blueI honestly don't even know why we're doing rp login in a new tab
  205. blueshould just do a push notif
  206. phalethso the client would just have to generate a one time token that the server can recognize as something belonging to the user
  207. blueI guess, yeah
  208. phalethsomething super obscure
  209. bluephaleth, there's a new feature on repopack.com if you're interested
  210. bluewhen you're in a project, click on the project switcher
  211. bluethe last line allows you to subscribe
  212. blueyou can choose which events you're interested in getting informed about
  213. phalethI see, looks nice
  214. bluethe transport mechansim is confirmed in your account settings: any combination of email, bells and push notifications
  215. phalethI mostly care about tagged releases
  216. bluecan you create repopack task for that?
  217. blue`add tagged releases as subscription option`
  218. phalethok
  219. bluethanks
  220. bluethanks, I got a push notif for that :)
  221. phalethheh
  222. * phaleth continues to read those walls of texts
  223. bluehttps://repopack.com/project/repopack/tasks/918
  224. blueis ok phaleth? it's not a wall of text..
  225. phalethyeah, that means clicking on that notif will open the release page I guess
  226. blueyes
  227. phalethok
  228. bluerp is kinda nice, don't you think
  229. bluecan really do cool things with it
  230. phalethyeah, would be nice if I could merge without logging into the website
  231. phaleththat's the only piece missing I guess
  232. bluethat would give rp a lot of power to merge things into master autonomously
  233. phalethalso I dunno if it's possible to list task with review state, but that prolly already is possible
  234. bluemaybe we should allow this per rp token, phaleth?
  235. blueso when you do `rp login`, we can could offer an option "Allow rp to merge tasks without confirmation, subject to project settings."
  236. phalethper project
  237. phalethoh, that login token, yeah
  238. blueok, per project is also fine by me
  239. bluemy thought about the login token was that you could have your personal rp login on your computer, to merge stuff
  240. blueand then your clanker login on your vps, with no merge capabilities
  241. bluewe could even define that that `rp login --headless` never gets merge unguarded merge capabilities
  242. phalethno clue how that works currently, but I can see on the repopack website there are like a lot of already expired tokens from the CLI
  243. phalethnot sure if they get autodeleted at some point from the db
  244. phalethyeah, that's a good idea
  245. phalethI noticed that `rp login --headless` in the docs, but the docs are not telling much I can understand
  246. blueit's mostly self explanatory but should still document
  247. bluerp login --headless will print a url, I think repopack.com/auth/cli/dervice or so
  248. blue[blue@vmd170320 ~]$ rp login --headless
  249. blueRepopack server: https://repopack.com
  250. blueOpen: https://repopack.com/auth/cli/device
  251. blueEnter code: REDACTED
  252. blueThis code expires in 10 minutes. Waiting for authorization...
  253. phalethand clankers just curls that url?
  254. blueit's a server-server token exchange, yes
  255. blueyou need to authorise the token
  256. phalethcool
  257. bluethis is for environments that have no browser
  258. bluelike a vps.
  259. phalethyeah, that's understandable form the docs, it's just no example there
  260. phalethfrom*
  261. blueok, could you create task to improve that? I will do. no walls of text, promised
  262. phalethnah, don't worry about it, I just need to read all repopack docs
  263. bluek
  264. phalethall of those functionalities are going to change several times anyway
  265. phalethat this stage docs are just a pure waste of time
  266. blueyes but remember we will add to AGENTS.md, to update docs on every task
  267. blueand remove as much internal docs as possible
  268. blueanything that's not 'secret' (whatever that is), should be public-facing
  269. phalethI think then in AGENTS.md there should be something about docs in admin area, if there is going to be anything internal ever documented
  270. blueYES
  271. bluecreate task?
  272. phalethat this point, no
  273. phaleththere is nothing internal, except in #392 which should just be closed already
  274. blue392 is a dumpster fire :)
  275. phalethwall of text, yeah
  276. phaleth`rp task list --status review` takes a few seconds to respond, is it not like one db query behind the scenes?
  277. blueyes
  278. blueshould be faster
  279. phaleth2 seconds https://upaste.de/raw/bER
  280. blueI'll be looking into it
  281. phalethok, great
  282. blueworking on perf now
  283. bluephaleth, for the record, at some point we're gonna need to develop our own agent to make things even more streamlined
  284. bluesupporting opencode and codex and claude code is nice, but having our integrated agent makes things a whole lot smoother
  285. phalethI thought the chat replaces opencode
  286. blueno. the chat is not an agent. the chat is a multiplexer over agent sessions
  287. blueit connects to your local opencode/codex/claude code
  288. bluean agent is a complex thing, needing instructions, context compaction, tools, and so on
  289. blueit's doable, but it's not what the chat or rp currently does
  290. phalethah, ok, so it could be doing that in the future, but looking at the size of the opencode project that is a huge undertaking
  291. blueyes and no. because our chat agent will be 100% headless, just a server, not a client like opencode/codex/claude code
  292. bluethat saves you a lot of complexity
  293. blueall those opencode/codex/claude code are both. they are a server and a client. and I think a lot of the complexity is in the client
  294. phalethso I don't know how a web browser can control a CLI tool, sounds like there is a security problem
  295. blueour chat replaces the client essentially
  296. blueit doesn't
  297. bluerp starts an outgoing connection
  298. bluethe web browser doesn't really control it, it's more like rp connects to repopack.com and they exchange info
  299. blueyou could say in essence it does control it, but that's not a real security problem since connection can only be initiated from rp
  300. blueinstalling or running rp does not allow any repopack.com user to control rp
  301. phalethyeah, the docs do not explain any of that
  302. blueyou need to explicitly run `rp agent start`, and enter the code shown to link it
  303. blueyeah, the docs are also unfinished :P
  304. phalethhttps://docs.repopack.com/guides/agent-chat
  305. phalethwall of text
  306. blueyes, we're gonna need to deal with that
  307. bluebelieve me, I'll handpick all the docs and make sure they're reduced and understandable
  308. blueand then I'll have dreamreal go over them and scream at me when he doesn't get something
  309. phalethno, don't worry about the docs, they are a pure waste of time
  310. bluegive it some time, all good things take a while
  311. phalethno no no, no time given to that
  312. bluethe docs are actually important because people have been asking for them
  313. bluedreamreal did, as did stagas
  314. blueI can't ignore that forever
  315. phalethyeah, but those current docs are useless
  316. bluenot entirely. they already have structure, and some useful information
  317. bluethe problem is they're gonna outdate fast
  318. phalethso it's like waste of token, and people can type in `rp agent --help`
  319. blueand for that we need to update AGENTS.md
  320. phalethtokens*
  321. blueya
  322. phalethyeah, but if you update rp CLI's help then clanker can figure things out
  323. phalethand so can people
  324. phalethno person is gonna read AGENTS.md
  325. blueya
  326. bluephaleth: you can now subscribe to new releases, too
  327. blueit's deployed :)
  328. phalethcool, thanks
  329. blueoh man, it's not marked on by default
  330. bluestupid clanker :(
  331. blueneed to fix that
  332. bluephaleth, are you on rp unstable?
  333. blueshould switch to the unstable channel for now, I'm not cutting releases for everything
  334. blue`rp update --channel unstable`
  335. blueI'm gonna deploy the perf improvement in a few mins
  336. phalethI think stable but it's working well so far
  337. blueok
  338. phalethok, I could test that then
  339. blueyou will need the latest version for the chat. I might cut a new rp version. but for now you can switch to unstable
  340. phalethI have no local LLM
  341. phalethbut maybe later I can try finding some
  342. phalethever since hugging face requires a log in I just don't bother with LLMs anymore
  343. phalethyeah, clanker is stupid cause of coding this way https://repopack.com/project/repopack/tasks/919
  344. phalethI mean, by making the problem in the first place
  345. phalethwell, whatever it wrote there looks like a bloat
  346. phalethah, so clanker added a bunch of flags to the CLI it seems
  347. phalethor query options
  348. phalethon task stacks page in docs there is this: "the stack merges from parent to child" and later "An unmerged parent cannot be closed while open children remain"
  349. phaleththat sounds contradictory
  350. phaleththe first statements is most likely wrong, or at least I'd think so
  351. blueya
  352. bluethe problem is phaleth, before it was filtering in the cli, now on the server, that's faster
  353. blueanyway, I merged 919, gonna redeploy
  354. phalethyeah, figured
  355. bluephaleth: try now
  356. bluerp task list --status review
  357. blueis much, much faster
  358. blueyou need `rp update` first and to be on the unstable channel
  359. phalethyeah, trying to update
  360. blue`rp update --channel unstable`
  361. phalethmuch better, yeah https://upaste.de/raw/eA5
  362. blueyup