Skip to content

Feature/sync cwapi3d stubs skill - #402

Merged
Brunner246 merged 8 commits into
mainfrom
feature/sync-cwapi3d-stubs-skill
Aug 13, 2026
Merged

Feature/sync cwapi3d stubs skill#402
Brunner246 merged 8 commits into
mainfrom
feature/sync-cwapi3d-stubs-skill

Conversation

@Brunner246

Copy link
Copy Markdown
Contributor

No description provided.

@Brunner246
Brunner246 requested a review from 9and3 August 7, 2026 14:15
@Brunner246
Brunner246 requested a review from jspaquet as a code owner August 7, 2026 14:15
Derives the binding inventory from CCwAPI3DPythonController.cpp and writes
the stub declarations, cadwork types, docs pages and nav entries that are
missing from this repo. Machine paths live in the git-ignored
config.personal.toml.
The stub sync bumped the pyproject patch blindly, so the published version
never tracked the API it was generated against. Read the versionMinor tag in
CwAPI3D/include/CwAPI3DVersion.h instead: a higher build number resets the
patch (33.322.7 -> 33.328.0), the same one increments it (33.328.0 ->
33.328.1). versionMajor is ignored -- it carries the marketing year while the
package major is the product major.

A versionMinor below the packaged minor, or a header with no tag at all,
falls back to a patch bump and warns rather than emitting a version PyPI has
already seen. The missing header is a preflight config error.
@Brunner246
Brunner246 force-pushed the feature/sync-cwapi3d-stubs-skill branch from 4c62a0c to 8331bc7 Compare August 7, 2026 14:49
Derives the binding inventory from CCwAPI3DPythonController.cpp and writes
the stub declarations, cadwork types, docs pages and nav entries that are
missing from this repo. Machine paths live in the git-ignored
config.personal.toml.
The stub sync bumped the pyproject patch blindly, so the published version
never tracked the API it was generated against. Read the versionMinor tag in
CwAPI3D/include/CwAPI3DVersion.h instead: a higher build number resets the
patch (33.322.7 -> 33.328.0), the same one increments it (33.328.0 ->
33.328.1). versionMajor is ignored -- it carries the marketing year while the
package major is the product major.

A versionMinor below the packaged minor, or a header with no tag at all,
falls back to a patch bump and warns rather than emitting a version PyPI has
already seen. The missing header is a preflight config error.
@Brunner246
Brunner246 force-pushed the feature/sync-cwapi3d-stubs-skill branch from 8331bc7 to 9a1112e Compare August 10, 2026 07:02

@9and3 9and3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Amazing, love the config.toml, I would add only an example and that is all!

Comment on lines +24 to +26
| `pyproject.toml` | `packages` entry for a new module, and `[project].version` |

## Invocation

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably just add an example of "translation" from cpp to py here.

…/cwapi3d/cwapi3dpython into feature/sync-cwapi3d-stubs-skill

# Conflicts:
#	.claude/skills/sync-cwapi3d-stubs/scripts/_cpp_bindings.py
@Brunner246
Brunner246 requested a review from 9and3 August 10, 2026 17:47
@Brunner246
Brunner246 merged commit 190dcb7 into main Aug 13, 2026
3 checks passed
@Brunner246
Brunner246 deleted the feature/sync-cwapi3d-stubs-skill branch August 13, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants