@agentconnect/sdk 0.2.4 → 0.2.5
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/dist/index.d.ts +1 -0
- package/dist/index.js +1 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -278,9 +278,7 @@ class AgentConnectClientImpl {
|
|
|
278
278
|
if (!summary)
|
|
279
279
|
return null;
|
|
280
280
|
const provider = typeof data?.provider === 'string' ? data.provider : undefined;
|
|
281
|
-
const source = data?.source === 'prompt' || data?.source === 'claude-log'
|
|
282
|
-
? data.source
|
|
283
|
-
: undefined;
|
|
281
|
+
const source = data?.source === 'prompt' || data?.source === 'claude-log' ? data.source : undefined;
|
|
284
282
|
const model = typeof data?.model === 'string' ? data.model : undefined;
|
|
285
283
|
const createdAt = typeof data?.createdAt === 'string' ? data.createdAt : undefined;
|
|
286
284
|
return {
|