Skip to content

feat(client): session context overrides, context.currentTime replaces worldContext - #13

Merged
Him188 merged 2 commits into
mainfrom
him188/world-context-agent-default
Oct 25, 2026
Merged

Him188 merged 2 commits into
mainfrom
him188/world-context-agent-default

Conversation

@Him188

@Him188 Him188 commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Session creation gains context, the per-session overrides of the agent's context switches, starting with context.current_time for the current date and time. The client option is context: { currentTime }; worldContext / world_context stay accepted as deprecated aliases and are still sent under the old name when used, so nothing changes for existing callers. The agent's configuration now carries the default (off for new agents), so an omitted option follows the agent.

Changeset: minor for @fishaudio/agent-protocol and @fishaudio/agent-client.

🤖 Generated with Claude Code

Him188 and others added 2 commits October 25, 2026 20:17
…n omitted

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… worldContext

The agent's configuration now carries the default for the current date and
time under a context section. The session option mirrors it as
context: { currentTime } and the protocol as context.current_time. The old
worldContext / world_context stay accepted as deprecated aliases and are
still sent under the old name when used.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Him188 Him188 changed the title docs(client): worldContext follows the agent's configured default when omitted feat(client): session context overrides, context.currentTime replaces worldContext Oct 25, 2026
@Him188
Him188 merged commit 6759dc7 into main Oct 25, 2026
1 check passed
@Him188
Him188 deleted the him188/world-context-agent-default branch October 25, 2026 16:30
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