githubnext/chopinPublic

Let's compose rich plans together

Add typed chat references

KCKrzysztof Cieslak authored
a24a72cPatch
Parent832713d
41 files changed+5424-125
StackedSplit
README.md+8 −0
apps/server/src/agent/planner.test.ts+11 −0
apps/server/src/agent/planner.ts+7 −0
apps/server/src/agent/tools.test.ts+51 −1
apps/server/src/agent/tools.ts+35 −0
apps/server/src/chat/address.test.ts+59 −1
apps/server/src/chat/address.ts+74 −13
apps/server/src/chat/hosted.test.ts+5 −0
apps/server/src/chat/incoming.test.ts+46 −0
apps/server/src/chat/incoming.ts+23 −0
apps/server/src/chat/queue.test.ts+498 −11
apps/server/src/chat/references.test.ts+578 −0
apps/server/src/chat/references.ts+714 −0
apps/server/src/chat/service.test.ts+156 −1
apps/server/src/chat/service.ts+397 −51
apps/server/src/main.ts+18 −8
apps/server/src/plan/persistence.test.ts+80 −1
apps/server/src/plan/service.ts+31 −1
apps/server/src/research/routes.test.ts+47 −0
apps/server/src/research/routes.ts+21 −0
apps/web/src/api.ts+12 −0
apps/web/src/chat/chat.tsx+262 −17
apps/web/src/chat/markdown.css+11 −0
apps/web/src/chat/markdown.test.ts+121 −2
apps/web/src/chat/markdown.tsx+42 −3
apps/web/src/chat/model.test.ts+28 −0
apps/web/src/chat/model.ts+2 −0
apps/web/src/chat/reference-markdown.ts+178 −0
apps/web/src/chat/reference-picker.test.ts+316 −0
apps/web/src/chat/reference-picker.tsx+322 −0
apps/web/src/chat/references.test.ts+339 −0
apps/web/src/chat/references.ts+502 −0
apps/web/src/chat/transcript.tsx+4 −2
apps/web/src/room-workspace.tsx+12 −0
docs/hosted-agent.md+12 −0
e2e/chat-references.e2e.ts+335 −0
e2e/smoke.e2e.ts+9 −5
packages/editor/src/threads.test.ts+7 −3
packages/editor/src/threads.ts+9 −3
packages/protocol/chat.d.ts+40 −2
packages/protocol/index.d.ts+2 −0