skill(synap): document namespaced JS API + bump JS stamps to 0.3.0 (D4) - #11
Merged
Conversation
… to 0.3.0 D4 from the SDK-namespaced rollout. The JS client now mirrors the Python SDK's namespaced surface (from @maximem/synap-js-sdk 0.3.0); the skill should teach it. - examples/typescript-minimal.ts (synap + synap-codex): keep the flat methods as the runnable example (they work on 0.2.4 AND 0.3.0, so the skill never emits broken code), and add a documented namespaced block (sdk.conversation.record_message, sdk.memories.create, sdk.user/customer/client.context.fetch, sdk.fetch, sdk.conversation.context.get_context_for_prompt). - bump the JS SDK version stamp in all skill footers 0.2.4 -> 0.3.0 (Python maximem-synap 0.2.6 left untouched); re-stamp verified date 2026-06-20. Safe to merge before or after the 0.3.0 npm publish: the runnable example uses flat methods that exist in both versions; only the footer freshness stamp and the labeled namespaced block reference 0.3.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Completes D4 of the SDK-namespaced rollout for the coding-agent skill.
What
skills/{synap,synap-codex}/examples/typescript-minimal.ts: add a documented namespaced API block (sdk.conversation.record_message,sdk.memories.create,sdk.{user,customer,client}.context.fetch,sdk.fetch,sdk.conversation.context.get_context_for_prompt). The runnable example stays on the flat methods (addMemory/fetchUserContext) which exist in both 0.2.4 and 0.3.0, so the skill never drives an agent to emit broken code.maximem-synap0.2.6 untouched); re-stamp the verified date.Sequencing
Safe to merge before or after the
@maximem/synap-js-sdk0.3.0 npm publish — the runnable example uses flat methods present in both versions; only the freshness stamp and the labeled namespaced block reference 0.3.0.🤖 Generated with Claude Code