@ericsanchezok/synergy-sdk 1.2.26 → 1.2.28

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.
@@ -1031,7 +1031,7 @@ export declare class Session extends HeyApiClient {
1031
1031
  /**
1032
1032
  * Send command
1033
1033
  *
1034
- * Send a new command to a session for execution by the AI assistant.
1034
+ * Send a new command to a session for execution by the AI assistant. Returns immediately; the agent processes the command asynchronously.
1035
1035
  */
1036
1036
  command<ThrowOnError extends boolean = false>(parameters: {
1037
1037
  sessionID: string;
@@ -2038,7 +2038,7 @@ export class Session extends HeyApiClient {
2038
2038
  /**
2039
2039
  * Send command
2040
2040
  *
2041
- * Send a new command to a session for execution by the AI assistant.
2041
+ * Send a new command to a session for execution by the AI assistant. Returns immediately; the agent processes the command asynchronously.
2042
2042
  */
2043
2043
  command(parameters, options) {
2044
2044
  const params = buildClientParams([parameters], [
@@ -254,6 +254,10 @@ export type AgendaItem = {
254
254
  * Whether to suppress result delivery entirely
255
255
  */
256
256
  silent?: boolean;
257
+ /**
258
+ * If true, automatically set status to done after first successful fire. Used by agenda_watch.
259
+ */
260
+ autoDone?: boolean;
257
261
  origin: AgendaOrigin;
258
262
  createdBy: "user" | "agent";
259
263
  state?: AgendaItemState;
@@ -2568,6 +2572,7 @@ export type AgendaCreateInput = {
2568
2572
  global?: boolean;
2569
2573
  wake?: boolean;
2570
2574
  silent?: boolean;
2575
+ autoDone?: boolean;
2571
2576
  agent?: string;
2572
2577
  model?: {
2573
2578
  providerID: string;
@@ -5136,12 +5141,9 @@ export type SessionCommandErrors = {
5136
5141
  export type SessionCommandError = SessionCommandErrors[keyof SessionCommandErrors];
5137
5142
  export type SessionCommandResponses = {
5138
5143
  /**
5139
- * Created message
5144
+ * Command accepted
5140
5145
  */
5141
- 200: {
5142
- info: AssistantMessage;
5143
- parts: Array<Part>;
5144
- };
5146
+ 204: void;
5145
5147
  };
5146
5148
  export type SessionCommandResponse = SessionCommandResponses[keyof SessionCommandResponses];
5147
5149
  export type SessionShellData = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@ericsanchezok/synergy-sdk",
4
- "version": "1.2.26",
4
+ "version": "1.2.28",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {