@struct-ai/sdk 0.1.1 → 0.1.2
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 +0 -19
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/package.json +1 -1
- package/dist/node_modules/@struct-ai/sdk/dist/node_modules/@struct-ai/sdk/package.json +1 -1
- package/dist/node_modules/@struct-ai/sdk/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -245,25 +245,6 @@ response excludes). Matches the Python SDK.
|
|
|
245
245
|
attribute is still set, so "Spawned by" on the child side still renders —
|
|
246
246
|
but the parent's forward link to the subagent won't appear.
|
|
247
247
|
|
|
248
|
-
## Parity with the Python SDK
|
|
249
|
-
|
|
250
|
-
Span names, attribute keys, and log event shapes match `struct-sdk-python`
|
|
251
|
-
byte-for-byte. Running the same agent logic in both SDKs against the same
|
|
252
|
-
tenant produces structurally identical traces in the Struct UI.
|
|
253
|
-
|
|
254
|
-
One deliberate divergence: the TS SDK finalizes streaming chat spans via the
|
|
255
|
-
`finalMessage` event, closing a known gap in the Python SDK where
|
|
256
|
-
`messages.stream()` didn't populate the pending-tool-call queue.
|
|
257
|
-
|
|
258
|
-
## Development
|
|
259
|
-
|
|
260
|
-
```bash
|
|
261
|
-
pnpm install
|
|
262
|
-
pnpm -F @struct-ai/sdk typecheck
|
|
263
|
-
pnpm -F @struct-ai/sdk test
|
|
264
|
-
pnpm -F @struct-ai/sdk build
|
|
265
|
-
```
|
|
266
|
-
|
|
267
248
|
## License
|
|
268
249
|
|
|
269
250
|
Apache-2.0
|
package/package.json
CHANGED