@ellipsis-dev/sdk 0.37.0 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/index.d.ts +166 -317
- package/dist/index.js +88 -320
- package/dist/store/index.d.ts +9 -3
- package/dist/store/index.js +10 -2
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types-BXbnHOQe.d.ts → types-BAJ82SH6.d.ts} +838 -2675
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +360 -25
- package/schema/frames.schema.json +373 -25
- package/schema/lifecycle.schema.json +13 -0
- package/schema/openapi.v1.json +2580 -5745
- package/schema/trigger_fields.schema.json +6 -1
package/README.md
CHANGED
|
@@ -40,8 +40,8 @@ types and unknown `source`/`record_type`/`kind` values**.
|
|
|
40
40
|
## Shared chat work sections
|
|
41
41
|
|
|
42
42
|
Web and CLI renderers can use `splitLedger(groupRecordsToChatTurns(records))`
|
|
43
|
-
and `entryBody(entry, { live, now, liveText, liveSummary })` from `@ellipsis-dev/sdk/store`.
|
|
44
|
-
`now` is epoch milliseconds
|
|
43
|
+
and `entryBody(entry, { live, now, liveText, liveSummary, harness })` from `@ellipsis-dev/sdk/store`.
|
|
44
|
+
`now` is epoch milliseconds, and `harness` is `harnessName(session)`. The returned `items` are the collapsed view:
|
|
45
45
|
one `isWorkFold(item)` section for progress, thinking and tools, with final
|
|
46
46
|
replies, turn outcome and closing notices kept visible.
|
|
47
47
|
`members.get(item.key)` contains
|
|
@@ -49,7 +49,8 @@ that section's rows; nested tool folds use the same map and `isToolFold`.
|
|
|
49
49
|
Renderers own expansion state and can recursively display the members.
|
|
50
50
|
|
|
51
51
|
The work key stays stable as records stream in and after replay. The live
|
|
52
|
-
label advances from `Preparing environment` to `Starting
|
|
52
|
+
label advances from `Preparing environment` to `Starting Claude Code` (the
|
|
53
|
+
harness's name, or `Starting agent` without one) to `Working`
|
|
53
54
|
as the platform and native turn events arrive. While the agent works, the heading
|
|
54
55
|
from `store.getSnapshot().liveSummary` replaces `Working` when available.
|
|
55
56
|
Pass the summary only to the entry being answered (`loading: true`, add a loading
|