forked from pingdotgg/t3code
-
Notifications
You must be signed in to change notification settings - Fork 0
chore: sync 5 upstream commits (March 15) #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
593569a
chore: add .idea/ to .gitignore (#1077)
StefanWin 10b78d7
Fixed Typos in Agents.md (#1120)
Ivorisnoob c600678
fix: tighten node engine range for node:sqlite compat (#206) (#1096)
EtanHey 9974401
fix(web): unify focus ring styles across sidebar and app (#1079)
Xanacas 6cd9ead
feat(web): add scroll to bottom pill in chat view (#619)
saishankar404 9824154
chore: adiciona skill upstream-sync para monitorar atualizacoes do re…
gabrielMalonso 97813e4
fix: format upstream-sync skill file for oxfmt check
gabrielMalonso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| --- | ||
| name: upstream-sync | ||
| description: "Verifica atualizacoes no upstream do t3code e compara com o changelog local. Use quando o usuario pedir '/upstream-sync', 'verifica upstream', 'check upstream', 'atualiza upstream', ou qualquer pedido para verificar novidades do repositorio upstream." | ||
| argument-hint: "" | ||
| allowed-tools: Bash, Read, Write, Edit, Glob, Grep, Agent | ||
| --- | ||
|
|
||
| # Upstream Sync — Verificacao e analise de atualizacoes | ||
|
|
||
| ## Workflow | ||
|
|
||
| ### 1. Ler o changelog local | ||
|
|
||
| Leia o arquivo `.context/upstream-sync.md` no diretorio do workspace. | ||
|
|
||
| - Extraia o **ultimo commit upstream sincronizado** (hash e data) | ||
| - Extraia a lista de **mudancas locais exclusivas** (reimplementacoes) | ||
| - Se o arquivo nao existir, avise o usuario e faca a analise completa | ||
|
|
||
| ### 2. Fetch upstream | ||
|
|
||
| ```bash | ||
| git fetch upstream | ||
| ``` | ||
|
|
||
| ### 3. Listar novos commits | ||
|
|
||
| Liste apenas commits do upstream **posteriores** ao ultimo commit sincronizado: | ||
|
|
||
| ```bash | ||
| git log <ultimo_hash_sincronizado>..upstream/main --oneline --reverse | ||
| ``` | ||
|
|
||
| Se retornar vazio, informe: "Nenhuma atualizacao nova no upstream desde o ultimo sync." | ||
|
|
||
| ### 4. Analise cruzada | ||
|
|
||
| Para cada novo commit upstream: | ||
|
|
||
| 1. **Verificar por PR number**: buscar `git log origin/main --oneline --grep="#NNN"` | ||
| 2. **Verificar por conteudo semantico**: comparar a descricao com a tabela de "Mudancas locais exclusivas" do changelog | ||
| 3. **Verificar por arquivos modificados**: `git show <hash> --stat` e comparar se os mesmos arquivos foram alterados localmente | ||
|
|
||
| Classificar cada commit em: | ||
|
|
||
| - **Ja sincronizado** — existe localmente (por hash, PR, ou reimplementacao) | ||
| - **Novo simples** — mudanca isolada sem conflito previsto (CSS, docs, config, chore) | ||
| - **Novo moderado** — feature/fix que toca areas comuns mas sem sobreposicao direta | ||
| - **Atencao especial** — toca areas que foram modificadas significativamente no fork (ChatView, sub-threads, skills, streaming, etc.) | ||
|
|
||
| ### 5. Apresentar relatorio | ||
|
|
||
| Formato: | ||
|
|
||
| ``` | ||
| ## Upstream Sync Report — [data] | ||
|
|
||
| ### Resumo | ||
| - X commits novos no upstream | ||
| - Y ja sincronizados | ||
| - Z pendentes (N simples, M moderados, K atencao especial) | ||
|
|
||
| ### Pendentes — Simples | ||
| | Hash | Descricao | Arquivos | | ||
| |---|---|---| | ||
|
|
||
| ### Pendentes — Moderado | ||
| | Hash | Descricao | Arquivos | Risco | | ||
| |---|---|---|---| | ||
|
|
||
| ### Pendentes — Atencao Especial | ||
| | Hash | Descricao | Arquivos | Conflito potencial | | ||
| |---|---|---|---| | ||
|
|
||
| ### Ja sincronizados (ignorados) | ||
| <lista resumida> | ||
| ``` | ||
|
|
||
| ### 6. Perguntar ao usuario | ||
|
|
||
| Apos o relatorio, perguntar: | ||
|
|
||
| - "Quer que eu traga os commits simples agora?" | ||
| - "Quer revisar os moderados/especiais individualmente?" | ||
|
|
||
| ### 7. Atualizar changelog | ||
|
|
||
| Apos qualquer sync realizado, atualizar `.context/upstream-sync.md`: | ||
|
|
||
| - Atualizar "Ultimo sync" com a nova data | ||
| - Atualizar "Ultimo commit upstream sincronizado" | ||
| - Adicionar entrada no historico | ||
| - Atualizar tabela de "Mudancas locais exclusivas" se necessario | ||
|
|
||
| ## Regras importantes | ||
|
|
||
| - NUNCA assumir que um commit upstream ja foi trazido apenas por similaridade vaga. Verificar arquivos e conteudo real. | ||
| - Commits de contribuidores (vouched lists, typos em docs) sao sempre "simples" | ||
| - Commits que tocam `ChatView.tsx`, `chat/`, `composer/`, `skills/`, `streaming/` precisam de verificacao extra contra mudancas locais | ||
| - Sempre preservar features exclusivas do fork (sub-threads, skills, Claude adapter, favorite model) | ||
| - Preferir cherry-pick individual para commits simples e squash merge para lotes grandes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pass the user-input in-flight IDs here instead of approval in-flight IDs.
ComposerPendingUserInputPanelusesrespondingRequestIdsto disable options whilethread.user-input.respondis pending, but this prop now receivesrespondingRequestIds(approval state), so user-input prompts stay interactive during submission and can trigger duplicate responses; additionally, an unrelated approval request can incorrectly mark a user-input prompt as responding.Useful? React with 👍 / 👎.