Skip to content

skill(synap): document namespaced JS API + bump JS stamps to 0.3.0 (D4) - #11

Merged
visy-ani merged 1 commit into
mainfrom
skill/js-namespaced-0.3.0
Jun 20, 2026
Merged

skill(synap): document namespaced JS API + bump JS stamps to 0.3.0 (D4)#11
visy-ani merged 1 commit into
mainfrom
skill/js-namespaced-0.3.0

Conversation

@visy-ani

Copy link
Copy Markdown
Collaborator

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.
  • Bump the JS SDK version stamp in all skill footers 0.2.4 → 0.3.0 (Python maximem-synap 0.2.6 untouched); re-stamp the verified date.

Sequencing

Safe to merge before or after the @maximem/synap-js-sdk 0.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

… 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>
@visy-ani
visy-ani merged commit 95a33be into main Jun 20, 2026
0 of 66 checks passed
@visy-ani
visy-ani deleted the skill/js-namespaced-0.3.0 branch June 20, 2026 12:24
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.

1 participant