@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 CHANGED
@@ -148,6 +148,7 @@ export type SessionSendOptions = {
148
148
  export type SessionResumeOptions = {
149
149
  model?: string;
150
150
  reasoningEffort?: string;
151
+ system?: string;
151
152
  providerSessionId?: string | null;
152
153
  cwd?: string;
153
154
  repoRoot?: string;
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentconnect/sdk",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/rayzhudev/agent-connect",