Repository navigation
sync(upstream): 5 commits from upstream - #10
Merged
Merged
Conversation
…ailing 'Z' in ISO dates on Python <3.11 and read merged_at from the nested pull_request object in GitHub search API results (top-level merged_at is always null). Upstream-commit: 6e1ef7e
…ider: GitHub device-flow OAuth yields a long-lived token exchanged for a short-lived Copilot bearer that drives an OpenAI-compatible chat endpoint, with device-code sign-in UX in the /models selector and supporting fixes to credential retention, spinner/code placement, and shared helpers. Upstream-commit: d6ddf92
…ed bar and per-category breakdown of what fills the context window (system prompt, tools, MCP tools, skills, memory, messages), using the provider's measured prompt size as the total, an exact system+tools count derived from Anthropic's prompt-cache prefix when applicable (with 2x disagreement fallback), and a BPE pre-token-run-based estimator for the remaining split. Upstream-commit: 4f10651
…d add a Signed-off-by trailer (-s) so release PRs pass the DCO check. Upstream-commit: 0a3d021
… add a CHANGELOG entry summarizing previously-merged PRs (new /context command, GitHub Copilot provider, CI/release-bot fixes); no functional code changes. Upstream-commit: 219824a
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upstream Sync: 5 Commits
Upstream Commits
6e1ef7e0e418d6ddf92387734f1065119eb90a3d02162a67219824a41f2dAffected Surfaces
/context slash command/models provider-selector device-code sign-in flowagent.BuildParams.System() / promptParams()anthropic client CachesToolsAndSystemPrompt()internal/llm/copilot (new registered provider package)internal/llm/copilot/oauth (device flow, MintBearer, Token)kit token-run estimator (token.go)kit.FormatAlignedRowllm types: prompt-cache token usage fieldsllm.LoginPromptllm.NewRequestIDopenaicompat.ChatStreamConfig.RequestOptionsproc.OpenURLreminder package system-reminder tag consts/PatternTransformations Applied
.github/scripts/release-bot.pyREADME.mdREADME.zh.mddocs/reference/package-map.mdinternal/app/input/on_provider.gointernal/app/input/on_provider_auth.gointernal/app/input/on_provider_data.gointernal/app/input/on_provider_test.gointernal/app/input/on_provider_view.gointernal/llm/auth.gointernal/llm/auth_test.gointernal/llm/copilot/catalog.gointernal/llm/copilot/catalog_test.gointernal/llm/copilot/client.gointernal/llm/copilot/client_test.gointernal/llm/copilot/oauth/device.gointernal/llm/copilot/oauth/device_test.gointernal/llm/copilot/oauth/token.gointernal/llm/copilot/oauth/token_test.gointernal/llm/copilot/subscription.gointernal/llm/ids.gointernal/llm/openai/oauth/oauth.gointernal/llm/openai/oauth/token.gointernal/llm/openai/subscription.gointernal/llm/openaicompat/stream.gointernal/llm/types.gointernal/proc/browser.gointernal/proc/doc.gocmd/cube/main.gocmd/san/main.godoes not exist downstream: rename commit 10cfaec moved the CLI entrypoint tocmd/cube/main.go. Per the fork conventions the Go module path and all import paths remaingithubproxy.fjygbaifeng.eu.org/genai-io/san/...verbatim, so the copilot blank import is spelled identically to upstream. I retargeted the mapped filecmd/cube/main.goand inserted_ "github.com/genai-io/san/internal/llm/copilot"in the provider blank-import block, alphabetically between bigmodel and custom, exactly matching upstream's placement. The downstream file contents were empty in the prompt (the given path doesn't exist), so the anchor block is inferred from the upstream diff context plus the conventions' guarantee that the codebase is functionally identical apart from branding — hence medium confidence. Do NOT createcmd/san/main.go; that would re-add a stale pre-rename path. (applied 1 targeted edits)docs/guides/getting-started.mdinternal/agent/build.gointernal/agent/session.gointernal/app/agent.gointernal/app/context_usage.gointernal/app/context_usage_test.gointernal/app/conv/context_usage.gointernal/app/conv/context_usage_test.gointernal/app/env.gointernal/app/input/slash_command.gointernal/app/kit/token.gointernal/app/kit/token_test.gointernal/app/kit/util.gointernal/app/model_agent_events.gointernal/app/model_session.gointernal/app/update_command.gointernal/command/registry.gointernal/llm/anthropic/client.gointernal/llm/types.gointernal/reminder/reminder.gointernal/reminder/reminder_test.gointernal/session/message_convert.godocs/reference/slash-commands.md/initrow, shifting hunk context. The added lines themselves contain no san/cube branding, so they are inserted verbatim: the/contexttable row between/tokenlimitand/compact, and the/contextbullet between the/thinkand/loopbullets in UI Interactions. Both anchor blocks are unique in the file. (applied 2 targeted edits).github/scripts/release-bot.pyCHANGELOG.mdcmd/cube/main.go(): LLM edits did not apply: edit 1: 'old' block not found in file: 'var version = "1.22.2"'❌ Unresolved Build Failures
cmd/cube/main.go: LLM edits did not apply: edit 1: 'old' block not found in file: 'var version = "1.22.2"' — Suggestion: Resolve manually — see the conflict summary in this PR.🤖 Created by upstream-semantic-sync