Skip to content

Commit 74fcf75

Browse files
committed
Merge remote-tracking branch 'origin/dependabot/github_actions/crate-ci/typos-1.49.0' into pr-clean-157
2 parents 57fde05 + f593a5b commit 74fcf75

301 files changed

Lines changed: 14043 additions & 930 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/skills/write-tui/DESIGN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@
8383
Select a model (type to search)
8484
Tab toggle provider · ↑↓ navigate · Enter select · Esc cancel ← hint 首项即 Tab 切换
8585
← 空行
86-
All Pythinker Code openai ← tab 条:激活项填充背景(primary 底 + text 字 + bold),其余 textMuted
86+
All Pythinker Code openai ← tab bar: active uses selectionBg + inverseText + bold; others use textMuted
8787
← 空行
8888
❯ ...
8989
```
9090

9191
- tab 条位置:**在 hint 行下方**,且**上下各一空行**(与 hint、与列表都隔开)。
92-
- 激活 tab`chalk.bgHex(colors.primary).hex(colors.text).bold(\` ${label} \`)`;非激活:`chalk.hex(colors.textMuted)`。两者可见宽度一致,切换不抖动。
92+
- Active tab: `chalk.bgHex(colors.selectionBg).hex(colors.inverseText).bold(\` ${label} \`)`; inactive tab: `chalk.hex(colors.textMuted)`. Both have the same visible width.
9393
- 第一个 tab 恒为 `All`(聚合所有 provider);**默认停在 `All`**。仅当显式传 `initialTabId`(如 `/provider` 新增完跳转)才停在指定 provider tab。
9494
- `Tab` / `Shift+Tab` 循环切换;hint 行首项即 `Tab toggle provider`
9595
- 当前模型在所在 tab 内仍以 `` + ` ← current` 标记,切 tab 不丢失定位。

.changeset/add-discussion-mode.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-code": minor
3+
---
4+
5+
Add experimental Expert Talk for automatic two-model analysis, reciprocal review, and fused answers.

.changeset/calm-doctors-check.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-code": patch
3+
---
4+
5+
Make `pythinker doctor` validate `config.toml` with the current schema in every engine mode.

.changeset/refresh-cli-tui.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-code": patch
3+
---
4+
5+
Update the terminal interface colors, transcript hierarchy, welcome panel, and workflow progress states.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-code": patch
3+
---
4+
5+
Use a refreshed New Chat icon across desktop and mobile navigation.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@pymodel/pythinker-code": minor
3+
---
4+
5+
Add a sidebar Explorer for browsing and opening workspace files.

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,13 @@ jobs:
160160

161161
- name: Mint release-bot token
162162
id: release-bot
163-
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # pinned from v2
163+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # pinned from v3.2.0
164164
with:
165165
app-id: ${{ vars.RELEASE_BOT_APP_ID }}
166166
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
167+
permission-contents: write
168+
permission-pull-requests: write
169+
permission-issues: write
167170

168171
- name: Create Release Pull Request or Publish to npm
169172
id: changesets
@@ -507,7 +510,7 @@ jobs:
507510
# Cloning and pushing the tap needs contents and nothing else.
508511
- name: Mint tap token
509512
id: tap-token
510-
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # pinned from v2
513+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # pinned from v3.2.0
511514
with:
512515
app-id: ${{ vars.RELEASE_BOT_APP_ID }}
513516
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}

.github/workflows/typos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
persist-credentials: false
2020

2121
- name: Check spelling of the entire repository
22-
uses: crate-ci/typos@80c8a4945eec0f6d464eaf9e65ed98ef085283d1 # pinned from v1.38.1
22+
uses: crate-ci/typos@8a48f81b6c64dcfea44b3633223084c4be58ac5f # pinned from v1.49.0

.github/workflows/update-flake-lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: DeterminateSystems/nix-installer-action@1d87d45818068401a10cf16bdc5f00b24994a83f # pinned from main
2828

2929
- name: Update flake.lock and open PR
30-
uses: DeterminateSystems/update-flake-lock@5ba4a20ae344a5edd7b97ed3002219974f4d20d7 # pinned from main
30+
uses: DeterminateSystems/update-flake-lock@f21d5f4a9e57815a4941a2e7c3860f4664cb3a96 # pinned from main
3131
with:
3232
pr-title: "chore(nix): monthly flake.lock update"
3333
pr-labels: dependencies

AGENTS.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,48 @@ Gate behind flags. Env: `PYTHINKER_CODE_EXPERIMENTAL_<NAME>` toggles one; `PYTHI
127127
- Hard rules that affect almost every task: update the root `AGENTS.md`.
128128
- Rules that only affect a specific directory: update the nearest sub-directory `AGENTS.md`.
129129
- Project-map entries stay at 1–2 sentences; deep package docs live in the package's own `AGENTS.md`.
130+
131+
<!-- gitnexus:start -->
132+
# GitNexus — Code Intelligence
133+
134+
This project is indexed by GitNexus as **pythinker-code** (91454 symbols, 263612 relationships, 300 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
135+
136+
> Index stale? Run `node .gitnexus/run.cjs analyze` from the project root — it auto-selects an available runner. No `.gitnexus/run.cjs` yet? `npx gitnexus analyze` (npm 11 crash → `npm i -g gitnexus`; #1939).
137+
138+
## Always Do
139+
140+
- **MUST run impact analysis before editing any symbol.** Before modifying a function, class, or method, run `impact({target: "symbolName", direction: "upstream"})` and report the blast radius (direct callers, affected processes, risk level) to the user.
141+
- **MUST run `detect_changes()` before committing** to verify your changes only affect expected symbols and execution flows. For regression review, compare against the default branch: `detect_changes({scope: "compare", base_ref: "main"})`.
142+
- **MUST warn the user** if impact analysis returns HIGH or CRITICAL risk before proceeding with edits.
143+
- When exploring unfamiliar code, use `query({search_query: "concept"})` to find execution flows instead of grepping. It returns process-grouped results ranked by relevance.
144+
- When you need full context on a specific symbol — callers, callees, which execution flows it participates in — use `context({name: "symbolName"})`.
145+
- For security review, `explain({target: "fileOrSymbol"})` lists taint findings (source→sink flows; needs `analyze --pdg`).
146+
147+
## Never Do
148+
149+
- NEVER edit a function, class, or method without first running `impact` on it.
150+
- NEVER ignore HIGH or CRITICAL risk warnings from impact analysis.
151+
- NEVER rename symbols with find-and-replace — use `rename` which understands the call graph.
152+
- NEVER commit changes without running `detect_changes()` to check affected scope.
153+
154+
## Resources
155+
156+
| Resource | Use for |
157+
|----------|---------|
158+
| `gitnexus://repo/pythinker-code/context` | Codebase overview, check index freshness |
159+
| `gitnexus://repo/pythinker-code/clusters` | All functional areas |
160+
| `gitnexus://repo/pythinker-code/processes` | All execution flows |
161+
| `gitnexus://repo/pythinker-code/process/{name}` | Step-by-step execution trace |
162+
163+
## CLI
164+
165+
| Task | Read this skill file |
166+
|------|---------------------|
167+
| Understand architecture / "How does X work?" | `.claude/skills/gitnexus/gitnexus-exploring/SKILL.md` |
168+
| Blast radius / "What breaks if I change X?" | `.claude/skills/gitnexus/gitnexus-impact-analysis/SKILL.md` |
169+
| Trace bugs / "Why is X failing?" | `.claude/skills/gitnexus/gitnexus-debugging/SKILL.md` |
170+
| Rename / extract / split / refactor | `.claude/skills/gitnexus/gitnexus-refactoring/SKILL.md` |
171+
| Tools, resources, schema reference | `.claude/skills/gitnexus/gitnexus-guide/SKILL.md` |
172+
| Index, status, clean, wiki CLI commands | `.claude/skills/gitnexus/gitnexus-cli/SKILL.md` |
173+
174+
<!-- gitnexus:end -->

0 commit comments

Comments
 (0)