Conversation
…ership workflow edits via sockets, ui improvements
…ng improvements, posthog, secrets mutations
…ration, signup method feature flags, SSO improvements
…nts, secrets performance, polling refactors, drag resources in mothership
* feat(transport): replace shared chat transport with mothership-stream module * improvement(contracts): regenerate contracts from go * feat(tools): add tool catalog codegen from go tool contracts * feat(tools): add tool-executor dispatch framework for sim side tool routing * feat(orchestrator): rewrite tool dispatch with catalog-driven executor and simplified resume loop * feat(orchestrator): checkpoint resume flow * refactor(copilot): consolidate orchestrator into request/ layer * refactor(mothership): reorganize lib/copilot into structured subdirectories * refactor(mothership): canonical transcript layer, dead code cleanup, type consolidation * refactor(mothership): rebase onto latest staging * refactor(mothership): rename request continue to lifecycle * feat(trace): add initial version of request traces * improvement(stream): batch stream from redis * fix(resume): fix the resume checkpoint * fix(resume): fix resume client tool * fix(subagents): subagent resume should join on existing subagent text block * improvement(reconnect): harden reconnect logic * fix(superagent): fix superagent integration tools * improvement(stream): improve stream perf * Rebase with origin dev * fix(tests): fix failing test * fix(build): fix type errors * fix(build): fix build errors * fix(build): fix type errors * feat(mothership): add cli execution * fix(mothership): fix function execute tests
Co-authored-by: Theodore Li <theo@sim.ai>
…ions, jira forms endpoints
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 29606901 | Triggered | Generic High Entropy Secret | a54dcbe | apps/sim/providers/utils.test.ts | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Greptile SummaryThis PR refactors the Mothership/copilot chat stack: it introduces a canonical message-persistence layer ( Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Client
participant PostHandler as lib/copilot/chat/post.ts
participant PersistedMsg as persisted-message.ts
participant DisplayMsg as display-message.ts
participant DB as copilotChats (DB)
participant Orchestrator as Copilot Orchestrator
participant VFS as workspace-vfs.ts
Client->>PostHandler: POST /api/copilot/chat
PostHandler->>PostHandler: "resolveBranch (workflow | workspace)"
PostHandler->>DB: persistUserMessage
PostHandler->>Orchestrator: createSSEStream
Orchestrator-->>PostHandler: OrchestratorResult (onComplete)
PostHandler->>PersistedMsg: buildPersistedAssistantMessage(result)
PostHandler->>DB: finalizeAssistantTurn (upsert messages)
Client->>DisplayMsg: load chat history
DisplayMsg->>PersistedMsg: normalizeMessage(rawRecord)
DisplayMsg-->>Client: ChatMessage[]
Client->>VFS: read("workflows/…/state.json")
VFS->>DB: loadWorkflowFromNormalizedTables
VFS-->>Client: serialized VFS content
|
Summary
Fix nested workflow reads in vfs
Type of Change
Testing
Manual
Checklist