Skip to content

Commit 68f861f

Browse files
authored
fix: restore pymodel release identity after the 0.x rewind (#326)
## Related Issue No issue. Unblocks Release on `main`. ## Problem `#323` copied upstream identity onto `main`: - CLI version `2.1.0` (already on npm) rewound to `0.42.0`, then `#324` published a fake `0.43.0` GitHub tag that npm never received - VS Code publisher `pymodel` (live Marketplace id `pymodel.pythinker` 0.9.7) became `moonshot-ai`, so vsce refused every target: extension name `pythinker` already exists - Homebrew 404'd on `pythinker-code-0.42.0.tgz`; native upload looked for a `@pymodel/pythinker-code@0.42.0` release that does not exist; consistency check compared local `0.42.0` to npm `latest` `2.1.0` Required CI (build/test/lint/typecheck/nix) was already green. Only Release was red. ## What changed - Restore CLI to `2.1.0` and the 2.x changelog - Restore VS Code to publisher `pymodel`, id `pymodel.pythinker`, version `0.9.7`, and the 0.9.x changelog - Put the `#323` changesets back so the next `ci: release packages` PR bumps from `2.1.0` (likely `2.2.0`) instead of from `0.43.0` - Replace leftover `moonshot-ai` branding (capability marker, vis filter comment, migration doc). Left the Moonshot LLM provider id in `packages/oauth` — that names `api.moonshot.ai`, not our publisher After merge, Release should skip-publish npm `2.1.0`, skip-or-no-op native assets already on that tag, and skip Marketplace `0.9.7`. Then merge the regenerated version PR to ship the reconcile work on the 2.x line. ## Checklist - [x] I have read the CONTRIBUTING document. - [ ] I have linked a related issue (external PRs: the issue must have a maintainer's `/approve`. - [x] I have added tests that prove my feature works. - [x] Ran skill, or this PR needs no changeset. - [x] Ran skill, or this PR needs no doc update. EOF ) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added session deletion, workspace file suggestions, configurable compaction attempts, automatic session titles, noninteractive upgrades, and improved Tower mode. - Added deferred MCP tools, attachment access, Remote Control authentication and performance improvements, and configurable filesystem watching. - Rebranded the VS Code extension as Pythinker. - **Improvements** - Improved steering, session cleanup, telemetry, recovery, session indexing, diagnostics, and model configuration warnings. - Closed sessions no longer consume goal time, and the goal-time cap was removed. - **Breaking Changes** - Removed the experimental flat entity protocol and history API. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent a0f783c commit 68f861f

59 files changed

Lines changed: 1358 additions & 273 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/release/SKILL.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ otherwise errors.
7272
Dokploy deploy specifics: see memory `cdn-dokploy-deploy-pipeline`.
7373
- **`pnpm install` fails in CI or locally.** `engine-strict=true` + Node `>=24.15.0` — check
7474
`.nvmrc` before debugging anything else.
75+
- **Identity freeze / version rewind.** Copying another product's `CHANGELOG.md`, `package.json`
76+
`version`, or VS Code `publisher` onto `main` fails required CI (`lint` runs
77+
`scripts/check-identity-freeze.mjs`) and Release (`--npm`). npm `latest` does not move backwards,
78+
brew 404s the tarball, native `gh release view` misses the tag, vsce says the extension name
79+
already exists, and `verify-release-consistency.mjs` compares local version to npm `latest`.
80+
Do not merge `ci: release packages` while freeze fields disagree with npm or the Marketplace.
81+
Restore identity from the last published tag; do not hand-bump a lower version.
7582
- **Pre-push hook** (`scripts/pre-push.sh` via simple-git-hooks) gates local pushes; a hook failure
7683
is a real gate failure — fix the cause, never `--no-verify`.
7784

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 the compaction attempt limit configurable with loop_control.compaction_max_attempts (default 5).

‎.changeset/cwd-not-project-root.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+
Stop telling the model that the current working directory is always the project root.
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+
Delete sessions from the session picker: press Ctrl+X on a session, then y to confirm.
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+
Drop the experimental flat entity message protocol and history API; session inspect returns to the transcript surface.
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+
Honor dynamically_loaded_tools from official model catalogs when building tool lists.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@pymodel/agent-core-v2': patch
3+
---
4+
5+
Discard streamed attempt state when the LLM requester retries below the turn so interrupted tool-call ids cannot leak into the next attempt.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@pymodel/agent-core-v2': patch
3+
---
4+
5+
Compose LLM recovery strategies outside the turn machine with self-describing proposals and opaque prepare effects.
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+
Preserve original MCP attachments that are omitted from model output, and let Read open those session attachment references.
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 per-server deferred MCP tool disclosure so large tool lists stay hidden until selected.

0 commit comments

Comments
 (0)