What's new in J5 Code 0.0.53

Read and answer in the Inbox the way you do in a thread

Links in an agent's question now open in that agent's own panel, right beside the Inbox, so you can read the pull request, file or diff while you write your answer. And the reply box works like the composer.

Try it: the ringed parts are where to start. Open the pull request, answer the question, switch the panel's tabs.

Inbox

Inbox

2 questions open

  1. SoonRelease checker·todo-app·open 12mMerge the sort-order fix now?

    PR #42 moves completed todos to the bottom of the list. The change is small, but the CLI'slist output order changes with it. Merge now, or hold it for the 0.4 release?

  2. FYIDocs writer·todo-app·open 40mRename the done flag in the README?

    The README still calls it done, but the code says completed everywhere. OK to rename it in the docs?

Release checker·Sort-order fix

src/todo.js+6 -2

5 unmodified lines

  1. 6-/** Lists todos in the order they were added. */
  2. 6+/** Lists open todos first; order within each group is unchanged. */
  3. 7export const format = (todos) =>
  4. 8- todos.map((todo) => line(todo)).join("\n");
  5. 8+ sortCompletedLast(todos)
  6. 9+ .map((todo) => line(todo))
  7. 10+ .join("\n");
  8. 11
  9. 12+const sortCompletedLast = (todos) =>
  10. 13+ [...todos].sort((a, b) => a.completed - b.completed);
test/todo.test.js+9 -0

28 unmodified lines

  1. 29
  2. 30+test("format lists completed todos last", () => {
  3. 31+ const todos = [
  4. 32+ { id: 1, title: "Ship", completed: true },
  5. 33+ { id: 2, title: "Write tests", completed: false },
  6. 34+ ];
  7. 35+ const lines = format(todos).split("\n");
  8. 36+ expect(lines[0]).toContain("Write tests");
  9. 37+ expect(lines[1]).toContain("Ship");
  10. 38+});
README.md+1 -1

16 unmodified lines

  1. 17## Listing todos
  2. 18
  3. 19-`todo list` prints todos in the order you added them.
  4. 19+`todo list` prints open todos first, then completed ones.
  • Links open beside the Inbox

    A pull request, file, commit, artifact or web page linked in a question opens in the asking agent's panel, next to your reply. Click a link in another question and the panel switches to that agent.

  • It's the agent's own panel

    Tabs you open from the Inbox are there when you open the agent's thread, and its + menu offers the thread's tabs.

  • Answer like you chat

    The reply box is the composer's editor: Enter sends, following your send setting, and your answer arrives exactly as you typed it. If one answer fails to send, the error shows under that question and the others stay usable.

  • Attachments like the composer

    Screenshots and files show full previews you can open, HEIC photos work, and large images are shrunk to fit.

  • Copy, times and skills

    Every message has a copy button, hovering “open 3h” shows the exact time, and $skill mentions show as chips.