Skip to main content

is_conversation_shapes 0.8.4 copy "is_conversation_shapes: ^0.8.4" to clipboard
is_conversation_shapes: ^0.8.4 copied to clipboard

Shapes for a trajectory's conversation, needed by whichever modules carry one: AgentName, what an agent calls itself; UserSaid, what a person said; and ReplyText, the agent's reply to it.

Changelog #

0.8.4 #

  • Discontinued in favour of is_conversation_vocabulary; the README says what moves and what is gone. No code change.
  • checked_json ^0.3.0, so an app that has moved to it can still use this package until it moves to is_conversation_vocabulary. Nothing here decodes text; the strict decoders take a JsonObject already parsed.

0.8.3 #

  • Allows is_shapes >=0.4.0 <0.7.0, so an app can use this package with is_shapes 0.6.0, which removes RendererId (renderers are cut, Nick, 18 Nov). Nothing here uses it. No code change.

0.8.2 #

  • Allows is_shapes >=0.4.0 <0.6.0, so an app can use this package with is_shapes 0.5.0 (MissionId, TrajectoryId). Nothing here uses a name 0.5.0 renamed or removed.
  • Docs: a journey path is a trajectory, and its apex is its crux (Nick, 17 Nov), and is_annotation_shapes' types by their 0.3.0 names. No code change.
  • is_lint_rules 0.1.0, every rule on; no findings.

0.8.1 #

  • Doc fix: the library doc's reference to is_annotation_shapes' Verdict now says VerdictOnShownMessage, its name as of is_annotation_shapes 0.3.0 (annotation-shapes-c9, 2026-11-16). No code change.

0.8.0 #

  • UserSaid.shapeName and WhatChanged.shapeNames expose the "shape" strings these codecs decode and encode, as plain const values rather than switch-literals a reader would have to scrape with package:analyzer. For a mechanical check that no two packages' top-level node shapes collide (docking_station, 2026-11-16) — not QuotedAuthor's shapes, which nest inside Quote and are never dispatched at that top level.

0.7.0 #

  • UserSaid and WhatChanged (Edited, Deleted, Restored) carry strict JSON codecs: toJson() and a fromJson factory, in agent_loop's node map form ({"shape": "<class name>", ...its fields}). fromJson refuses an unknown shape, a field missing, extra or of the wrong type, or a malformed id. Needed so the docking station can hand a module's reading to the journey path's loop as bytes, already typed, without any process that holds sign-ins parsing a stranger's JSON itself.
  • New dependency: checked_json ^0.2.1, now on this package's pure list alongside is_shapes.

0.6.0 #

  • New ReplyChunk(text): one piece of a reply as the agent streams it, written to the agent loop's own chain, not the journey path — a chunk isn't a turn, so it carries no TurnId and no index of its own; the chain's own hash-chaining gives every chunk its order (agent-loop-b6/intersyntactic-a8, 2026-11-16).

0.5.0 #

  • New sealed WhatChanged: a UserSaid edited, deleted, or restored at its source, in message terms — a module's reading of that before anything maps the message to a TurnId. Cases Edited(text, quotes), Deleted(), Restored().
  • New UserSaidChanged: the node the journey path's apex appends for a WhatChanged, targeting the TurnId of the UserSaid it changes. Not a Withdrawal<UserSaid>: a restore has to target the original turn, and a fresh UserSaid would mint a new one. by counts only when it is who wrote the target, the same rule Withdrawal and AgentName's rename keep.

0.4.0 #

  • Quote gains an optional preview: String?: a shortened copy of the quoted text, if the source showed one. Matters most when source never reached the journey path, leaving this the only trace of what was quoted.

0.3.0 #

  • Breaking: QuotedAuthor's two cases are renamed Known → KnownAuthor and Unknown → UnknownAuthor (teams-module-e2's call, while nothing yet depended on the names): Known(actor) read in isolation without saying what was known, and these are shape types meant to be read across modules.

0.2.0 #

  • UserSaid gains an optional quotes: Quote?: the message it answers or replies to, as its source names it. text may be empty when quotes is set — a reply that is only a quote and an @-mention has nothing of its own to say.
  • New Quote, carrying the quoted message's source: SourceMessageId and its author: QuotedAuthor.
  • New sealed QuotedAuthor, Known(ActorId) or Unknown(String? displayName): a quote's author isn't always resolvable, so a reader handles both cases, and a bare display name never passes for an identity.

0.1.2 #

  • Widened is_shapes to ^0.4.0, which renames Withdraw to Withdrawal — a rename this package never touches — so modules can take that rename without is_conversation_shapes blocking the solve.

0.1.1 #

  • Dropped every link to a private issue tracker from docs and comments; the prose they supported stays, minus the citation.

0.1.0 #

  • First release as is_conversation_shapes: named for which modules need a shape, not for who writes it — UserSaid is person-authored, and belongs here on that test regardless.
  • AgentName: what an agent calls itself. Its identity is the agent's agent:<id>, which names the agent in every node it writes, and its value is the name, which can change while the id never does.
  • UserSaid: what a person said, as a module received it from its source — carries who said it, the message's id in its source's own terms, and the text. Ends echo-matching: a reply answers it by the TurnId the journey path delivers back, never by comparing text.
  • ReplyText: the agent's reply to one UserSaid, written once, when the message it answers is finished.
  • SourceMessageId: the typed id UserSaid.source carries, so a message id never drifts into a bare String.
0
likes
150
points
646
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shapes for a trajectory's conversation, needed by whichever modules carry one: AgentName, what an agent calls itself; UserSaid, what a person said; and ReplyText, the agent's reply to it.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

checked_json, is_shapes

More

Packages that depend on is_conversation_shapes