@gitbook/api 0.185.0 → 0.186.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/dist/client.d.ts CHANGED
@@ -277,14 +277,6 @@ export declare enum AIModel {
277
277
  ReasoningMedium = "reasoning-medium",
278
278
  ReasoningHigh = "reasoning-high"
279
279
  }
280
- /**
281
- * The mode influences the response time and quality of the AI's answer. Fast mode will prioritize quicker responses with potentially less well reasoned answers and normal mode will allow for more comprehensive responses at the cost of longer response time.
282
- * @default "normal"
283
- */
284
- export declare enum AIMessageMode {
285
- Normal = "normal",
286
- Fast = "fast"
287
- }
288
280
  /** The phase of a step in a message from the AI agent. */
289
281
  export declare enum AIMessageStepPhase {
290
282
  Commentary = "commentary",
@@ -1134,7 +1126,13 @@ export type ContentKitInlineElement = ContentKitText | ContentKitImage | Content
1134
1126
  export type ContentKitDescendantElement = ContentKitButton | ContentKitTextInput | ContentKitHStack | ContentKitVStack | ContentKitBox | ContentKitDivider | ContentKitWebFrame | ContentKitCodeBlock | ContentKitMarkdown | ContentKitCard | ContentKitImage | ContentKitInput | ContentKitSelect | ContentKitSwitch | ContentKitCheckbox | ContentKitRadio | ContentKitText | ContentKitHint | ContentKitLink | ContentKitStepperStep;
1135
1127
  /** Any event that can be received from GitBook. */
1136
1128
  export type Event = InstallationSetupEvent | InstallationDeletedEvent | SpaceInstallationSetupEvent | SpaceInstallationDeletedEvent | SiteInstallationSetupEvent | SiteInstallationDeletedEvent | SiteViewEvent | SpaceContentUpdatedEvent | SpaceGitSyncCompletedEvent | SpaceGitSyncStartedEvent | SpaceVisibilityUpdatedEvent | TaskEvent | FetchEvent | FetchPublishedScriptEvent | FetchVisitorAuthenticationEvent | UIRenderEvent | ContentComputeDocumentEvent | ContentComputeRevisionEvent | PageFeedbackEvent;
1137
- export type ChangeRequestContentChange = ChangeRequestContentChangeUpdatePage;
1129
+ export type ChangeRequestContentChange = ({
1130
+ operation: "update_page";
1131
+ } & ChangeRequestContentChangeUpdatePage) | ({
1132
+ operation: "insert_page";
1133
+ } & ChangeRequestContentChangeInsertPage) | ({
1134
+ operation: "delete_page";
1135
+ } & ChangeRequestContentChangeDeletePage);
1138
1136
  /** An absolute reference to content in GitBook. */
1139
1137
  export type ContentLocation = ContentLocationFile | ContentLocationURL | ContentLocationPage | ContentLocationUser | ContentLocationCollection | ContentLocationSpace | ContentLocationReusableContent | ContentLocationOpenAPI;
1140
1138
  export type Revision = RevisionTypeEdits | RevisionTypeMerge | RevisionTypeRollback | RevisionTypeUpdate | RevisionTypeComputed;
@@ -1636,7 +1634,13 @@ export interface RevisionPageBase {
1636
1634
  updatedAt?: Timestamp;
1637
1635
  }
1638
1636
  export interface MarkdownDocument {
1639
- /** Content of the document formatted as markdown */
1637
+ /**
1638
+ * Content of the document formatted as markdown
1639
+ * @example "# Hello World
1640
+ *
1641
+ * This is a markdown document linking to [another page](/pages/page_id).
1642
+ * "
1643
+ */
1640
1644
  markdown: string;
1641
1645
  }
1642
1646
  export interface DocumentMarkBold {
@@ -2024,6 +2028,8 @@ export interface DocumentBlockTable {
2024
2028
  definition: Record<string, DocumentTableDefinition>;
2025
2029
  /** Whether to render the block as a full width one */
2026
2030
  fullWidth?: boolean;
2031
+ /** Whether to show the search bar on the table. When unset, search is shown automatically on grid tables once they have enough rows. */
2032
+ search?: boolean;
2027
2033
  };
2028
2034
  fragments: DocumentFragment[];
2029
2035
  }
@@ -2471,6 +2477,7 @@ export interface DocumentInlineButton {
2471
2477
  });
2472
2478
  isVoid: true;
2473
2479
  }
2480
+ /** @example {"object":"document","data":{},"nodes":[{"object":"block","type":"paragraph","data":{},"nodes":[{"object":"text","leaves":[{"object":"leaf","text":"Hello world","marks":[]}]}]}]} */
2474
2481
  export interface JSONDocument {
2475
2482
  object: "document";
2476
2483
  data: {
@@ -3587,13 +3594,42 @@ export interface PostCommentReplySchema {
3587
3594
  export type ChangeRequestUserContributor = UserContributor & {
3588
3595
  actionType: "edit" | "comment";
3589
3596
  };
3590
- /** Replace the document of an existing page with another document. */
3597
+ /**
3598
+ * Replace the document of an existing page with another document.
3599
+ * @example {"operation":"update_page","page":"page_id","document":{"markdown":"# Hello World\n\nThis is a markdown document linking to [another page](/pages/page_id).\n"}}
3600
+ */
3591
3601
  export interface ChangeRequestContentChangeUpdatePage {
3592
3602
  operation: "update_page";
3593
3603
  /** ID of the page whose content should be updated. */
3594
3604
  page: string;
3595
3605
  document: Document;
3596
3606
  }
3607
+ /**
3608
+ * Insert a new page into the change request.
3609
+ * @example {"operation":"insert_page","title":"New page","document":{"markdown":"# New page\n\nThis is a new page.\n"}}
3610
+ */
3611
+ export interface ChangeRequestContentChangeInsertPage {
3612
+ operation: "insert_page";
3613
+ /** Title of the new page. */
3614
+ title: string;
3615
+ /** ID of the parent page to insert the new page into. If omitted, the page is inserted as a root page. */
3616
+ into?: string;
3617
+ /**
3618
+ * Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end.
3619
+ * @min 0
3620
+ */
3621
+ at?: number;
3622
+ document: Document;
3623
+ }
3624
+ /**
3625
+ * Delete an existing page (and its subpages) from the change request.
3626
+ * @example {"operation":"delete_page","page":"page_id"}
3627
+ */
3628
+ export interface ChangeRequestContentChangeDeletePage {
3629
+ operation: "delete_page";
3630
+ /** ID of the page to delete. */
3631
+ page: string;
3632
+ }
3597
3633
  export interface ChangedRevisionPage {
3598
3634
  id: string;
3599
3635
  type: RevisionPageType;
@@ -6209,13 +6245,6 @@ export interface SiteCustomizationSettingsBase {
6209
6245
  /** Should the reader be able to switch between dark and light mode */
6210
6246
  toggeable: boolean;
6211
6247
  };
6212
- pdf: {
6213
- /**
6214
- * Deprecated: use `pageActions.items` instead. If true, PDF export is enabled for the published site. Kept in sync with the presence of `pdf` in `pageActions.items`.
6215
- * @deprecated
6216
- */
6217
- enabled: boolean;
6218
- };
6219
6248
  feedback: {
6220
6249
  /** If true, feedback gathering is enabled */
6221
6250
  enabled: boolean;
@@ -6229,38 +6258,14 @@ export interface SiteCustomizationSettingsBase {
6229
6258
  /** If true, Advanced customization is enabled */
6230
6259
  enabled: boolean;
6231
6260
  };
6232
- git: {
6233
- /**
6234
- * Deprecated: use `pageActions.items` instead. Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Kept in sync with the presence of `git` in `pageActions.items`.
6235
- * @deprecated
6236
- */
6237
- showEditLink: boolean;
6238
- };
6239
6261
  pageActions: {
6240
- /**
6241
- * Deprecated: use `items` instead. Whether actions to open ChatGPT, Anthropic, etc. should be available in the page menu. Kept in sync with the presence of `external-ai` in `items`.
6242
- * @deprecated
6243
- */
6244
- externalAI: boolean;
6245
- /**
6246
- * Deprecated: use `items` instead. Whether the copy and open the markdown version of the page should be available in the page menu. Kept in sync with the presence of `markdown` in `items`.
6247
- * @deprecated
6248
- */
6249
- markdown: boolean;
6250
- /**
6251
- * Deprecated: use `items` instead. Whether an action to connect to the docs using the MCP server should be available in the page menu. Kept in sync with the presence of `mcp` in `items`.
6252
- * @deprecated
6253
- */
6254
- mcp: boolean;
6255
6262
  /**
6256
6263
  * Ordered list of the page actions enabled in the page menu. This is the source of truth for
6257
6264
  * which actions are enabled and in which order: the position defines the display order, the
6258
6265
  * first action is the default one, surfaced as the main button on the page, and actions not
6259
- * present in the list are disabled. When omitted on input, the deprecated `externalAI`,
6260
- * `markdown`, `mcp`, `pdf` and `git` flags are used to derive the list. The `assistant` action
6261
- * is governed by the `ai.mode` setting rather than this list: it is always present (prepended
6262
- * by default if missing, otherwise keeping its position) when the assistant is enabled, and
6263
- * always absent when it is disabled.
6266
+ * present in the list are disabled. The `assistant` action is governed by the `ai.mode` setting
6267
+ * rather than this list: it is always present (prepended by default if missing, otherwise
6268
+ * keeping its position) when the assistant is enabled, and always absent when it is disabled.
6264
6269
  */
6265
6270
  items: CustomizationPageActionType[];
6266
6271
  };
@@ -7131,6 +7136,20 @@ export interface AIToolCallCreateChangeRequest {
7131
7136
  subject: string;
7132
7137
  };
7133
7138
  }
7139
+ export interface AIToolCallGetChangeRequestDetails {
7140
+ tool: "getChangeRequestDetails";
7141
+ /** The ID of the space the change request belongs to. */
7142
+ spaceId: string;
7143
+ /** The ID of the change request. */
7144
+ changeRequestId: string;
7145
+ }
7146
+ export interface AIToolCallSetChangeRequestDetails {
7147
+ tool: "setChangeRequestDetails";
7148
+ /** The ID of the space the change request belongs to. */
7149
+ spaceId: string;
7150
+ /** The ID of the change request. */
7151
+ changeRequestId: string;
7152
+ }
7134
7153
  export interface AIToolCallComment {
7135
7154
  tool: "comment";
7136
7155
  /** The ID of the space being commented. */
@@ -7187,7 +7206,7 @@ export interface AIToolCallOther {
7187
7206
  /** Summary of a generic tool call. */
7188
7207
  summary: AIToolCallOtherSummary;
7189
7208
  }
7190
- export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetRecordContent | AIToolCallGetPages | AIToolCallGetReusableContents | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallGetVariables | AIToolCallUpdateVariables | AIToolCallGetTags | AIToolCallUpdateTags | AIToolCallCreateChangeRequest | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
7209
+ export type AIToolCall = AIToolCallGetPageContent | AIToolCallGetRecordContent | AIToolCallGetPages | AIToolCallGetReusableContents | AIToolCallSearch | AIToolCallEditPage | AIToolCallCreatePage | AIToolCallDeletePage | AIToolCallRenamePage | AIToolCallMovePage | AIToolCallListModifiedPages | AIToolCallGetPageDiff | AIToolCallCreateReusableContent | AIToolCallEditReusableContent | AIToolCallGetReusableContent | AIToolCallGetVariables | AIToolCallUpdateVariables | AIToolCallGetTags | AIToolCallUpdateTags | AIToolCallCreateChangeRequest | AIToolCallGetChangeRequestDetails | AIToolCallSetChangeRequestDetails | AIToolCallComment | AIToolCallReplyToComment | AIToolCallSubmitChangeRequestReview | AIToolCallMCP | AIToolCallOther;
7191
7210
  export interface Timerange {
7192
7211
  start: Timestamp;
7193
7212
  end: Timestamp;
@@ -7372,8 +7391,6 @@ export interface AIMessageInput {
7372
7391
  /** Context about the current user sending a message. */
7373
7392
  context?: AIMessageContext;
7374
7393
  attachments?: AIAttachment[];
7375
- /** The mode influences the response time and quality of the AI's answer. Fast mode will prioritize quicker responses with potentially less well reasoned answers and normal mode will allow for more comprehensive responses at the cost of longer response time. */
7376
- mode?: AIMessageMode;
7377
7394
  }
7378
7395
  /** Description of a tool that can be called from an AI agent. */
7379
7396
  export interface AIToolDefinition {
@@ -9695,6 +9712,22 @@ export interface AgentActivity {
9695
9712
  /** When `type` is `tool`, the name of the tool being called (matches `AIToolCall.tool`). */
9696
9713
  tool?: string;
9697
9714
  }
9715
+ /** An option the user can pick when answering a question asked by the agent. */
9716
+ export interface AgentQuestionOption {
9717
+ /** Short label for the option, displayed as a button and used as the answer. */
9718
+ label: string;
9719
+ /** Optional longer description to clarify what the option means. */
9720
+ description?: string;
9721
+ }
9722
+ /** A question the agent is waiting for the user to answer. While set, the client replaces the prompt with a choice control. The user can pick one of the options or answer with a custom free-text message; either way the answer resolves the pending tool call. */
9723
+ export interface AgentPendingQuestion {
9724
+ /** ID of the tool call this question resolves, used to continue the conversation. */
9725
+ toolCallId: string;
9726
+ /** The question to display to the user. */
9727
+ question: string;
9728
+ /** The options the user can choose from. */
9729
+ options: AgentQuestionOption[];
9730
+ }
9698
9731
  export interface AgentState {
9699
9732
  status: AgentStatus;
9700
9733
  /** List of response suggestions for the user to select from. */
@@ -9703,6 +9736,8 @@ export interface AgentState {
9703
9736
  queuedMessages: AIMessageInput[];
9704
9737
  /** What the agent is currently doing. Only set while the agent is processing. */
9705
9738
  activity?: AgentActivity;
9739
+ /** A question the agent is waiting for the user to answer. While set, the client replaces the prompt with a choice control. */
9740
+ pendingQuestion?: AgentPendingQuestion;
9706
9741
  }
9707
9742
  /** Payload emitted by the agent with its current state. */
9708
9743
  export interface AgentStreamState {
@@ -11085,16 +11120,14 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11085
11120
  computed?: boolean;
11086
11121
  }, params?: RequestParams) => Promise<HttpResponse<Revision, any>>;
11087
11122
  /**
11088
- * No description
11089
- *
11090
- * @tags change-request-content
11091
- * @name UpdateChangeRequestContent
11092
- * @summary Update the content of a change request. This endpoint allows you to update the content of a change request by providing an array of changes.
11093
- Each change is ran sequentially. This operation will create a single new revision in the change request, apply all changes, and then point the change request to the new revision.
11094
- This endpoint will only run if all changes in the request are valid. If any change fails, the entire request will fail and no changes will be applied.
11095
- * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content
11096
- * @secure
11097
- */
11123
+ * @description This endpoint allows you to update the content of a change request by providing an array of changes. Each change is ran sequentially. This operation will create a single new revision in the change request, apply all changes, and then point the change request to the new revision. This endpoint will only run if all changes in the request are valid. If any change fails, the entire request will fail and no changes will be applied.
11124
+ *
11125
+ * @tags change-request-content
11126
+ * @name UpdateChangeRequestContent
11127
+ * @summary Update the content of a change request
11128
+ * @request POST:/spaces/{spaceId}/change-requests/{changeRequestId}/content
11129
+ * @secure
11130
+ */
11098
11131
  updateChangeRequestContent: (spaceId: EntityId, changeRequestId: EntityId, data: {
11099
11132
  /**
11100
11133
  * @maxItems 50
@@ -15145,7 +15178,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15145
15178
  * @secure
15146
15179
  */
15147
15180
  updateSiteFindingById: (organizationId: EntityId, siteId: string, siteFindingId: string, data: {
15148
- status: "open" | "canceled";
15181
+ status: "open" | "done" | "canceled";
15149
15182
  }, params?: RequestParams) => Promise<HttpResponse<SiteFinding, any>>;
15150
15183
  /**
15151
15184
  * No description
@@ -15719,18 +15752,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
15719
15752
  /** Should the reader be able to switch between dark and light mode. Set to null to reset the override. */
15720
15753
  toggeable?: boolean | null;
15721
15754
  };
15722
- pdf?: {
15723
- /** If true, PDF export is enabled for the published site. Set to null to reset the override. */
15724
- enabled: boolean | null;
15725
- };
15726
15755
  feedback?: {
15727
15756
  /** If true, feedback gathering is enabled. Set to null to reset the override. */
15728
15757
  enabled: boolean | null;
15729
15758
  };
15730
- git?: {
15731
- /** Whether the published site should show a link to edit the content on the git provider set up in the Git Sync. Set to null to reset the override. */
15732
- showEditLink: boolean | null;
15733
- };
15734
15759
  externalLinks?: {
15735
15760
  /** How external links should open. Set to null to reset the override. */
15736
15761
  target: SiteExternalLinksTarget | null;
@@ -164,7 +164,6 @@ export declare const SITE_QUESTION_ANSWER_HELPFULNESS_ENUM: ["low", "medium", "h
164
164
  export declare const AIMESSAGE_ROLE_ENUM: ["user", "assistant", "developer"];
165
165
  export declare const AIMESSAGE_STEP_START_CONDITION_ENUM: ["compaction"];
166
166
  export declare const AIMESSAGE_STEP_PHASE_ENUM: ["commentary", "final_answer"];
167
- export declare const AIMESSAGE_MODE_ENUM: ["normal", "fast"];
168
167
  export declare const AIMODEL_ENUM: ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
169
168
  export declare const SITE_SETTINGS_SCAN_TOPICS_ENUM: ["auto", "never"];
170
169
  export declare const SITE_SETTINGS_FINDING_CHANGE_REQUESTS_ENUM: ["always", "auto-fixable", "never"];
package/dist/index.cjs CHANGED
@@ -180,12 +180,10 @@ var require_node = __commonJS({
180
180
  var src_exports = {};
181
181
  __export(src_exports, {
182
182
  AGENT_STATUS_ENUM: () => AGENT_STATUS_ENUM,
183
- AIMESSAGE_MODE_ENUM: () => AIMESSAGE_MODE_ENUM,
184
183
  AIMESSAGE_ROLE_ENUM: () => AIMESSAGE_ROLE_ENUM,
185
184
  AIMESSAGE_STEP_PHASE_ENUM: () => AIMESSAGE_STEP_PHASE_ENUM,
186
185
  AIMESSAGE_STEP_START_CONDITION_ENUM: () => AIMESSAGE_STEP_START_CONDITION_ENUM,
187
186
  AIMODEL_ENUM: () => AIMODEL_ENUM,
188
- AIMessageMode: () => AIMessageMode,
189
187
  AIMessageRole: () => AIMessageRole,
190
188
  AIMessageStepPhase: () => AIMessageStepPhase,
191
189
  AIMessageStepStartCondition: () => AIMessageStepStartCondition,
@@ -526,7 +524,7 @@ module.exports = __toCommonJS(src_exports);
526
524
 
527
525
  // package.json
528
526
  var name = "@gitbook/api";
529
- var version = "0.185.0";
527
+ var version = "0.186.0";
530
528
 
531
529
  // src/client.ts
532
530
  var import_event_iterator = __toESM(require_node(), 1);
@@ -919,11 +917,6 @@ var AIModel = /* @__PURE__ */ ((AIModel2) => {
919
917
  AIModel2["ReasoningHigh"] = "reasoning-high";
920
918
  return AIModel2;
921
919
  })(AIModel || {});
922
- var AIMessageMode = /* @__PURE__ */ ((AIMessageMode2) => {
923
- AIMessageMode2["Normal"] = "normal";
924
- AIMessageMode2["Fast"] = "fast";
925
- return AIMessageMode2;
926
- })(AIMessageMode || {});
927
920
  var AIMessageStepPhase = /* @__PURE__ */ ((AIMessageStepPhase2) => {
928
921
  AIMessageStepPhase2["Commentary"] = "commentary";
929
922
  AIMessageStepPhase2["FinalAnswer"] = "final_answer";
@@ -4903,7 +4896,6 @@ var SITE_QUESTION_ANSWER_HELPFULNESS_ENUM = ["low", "medium", "high"];
4903
4896
  var AIMESSAGE_ROLE_ENUM = ["user", "assistant", "developer"];
4904
4897
  var AIMESSAGE_STEP_START_CONDITION_ENUM = ["compaction"];
4905
4898
  var AIMESSAGE_STEP_PHASE_ENUM = ["commentary", "final_answer"];
4906
- var AIMESSAGE_MODE_ENUM = ["normal", "fast"];
4907
4899
  var AIMODEL_ENUM = ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
4908
4900
  var SITE_SETTINGS_SCAN_TOPICS_ENUM = ["auto", "never"];
4909
4901
  var SITE_SETTINGS_FINDING_CHANGE_REQUESTS_ENUM = ["always", "auto-fixable", "never"];
@@ -5021,12 +5013,10 @@ var GitBookAPI = class extends Api {
5021
5013
  // Annotate the CommonJS export names for ESM import in node:
5022
5014
  0 && (module.exports = {
5023
5015
  AGENT_STATUS_ENUM,
5024
- AIMESSAGE_MODE_ENUM,
5025
5016
  AIMESSAGE_ROLE_ENUM,
5026
5017
  AIMESSAGE_STEP_PHASE_ENUM,
5027
5018
  AIMESSAGE_STEP_START_CONDITION_ENUM,
5028
5019
  AIMODEL_ENUM,
5029
- AIMessageMode,
5030
5020
  AIMessageRole,
5031
5021
  AIMessageStepPhase,
5032
5022
  AIMessageStepStartCondition,
package/dist/index.js CHANGED
@@ -172,7 +172,7 @@ var require_node = __commonJS({
172
172
 
173
173
  // package.json
174
174
  var name = "@gitbook/api";
175
- var version = "0.185.0";
175
+ var version = "0.186.0";
176
176
 
177
177
  // src/client.ts
178
178
  var import_event_iterator = __toESM(require_node(), 1);
@@ -565,11 +565,6 @@ var AIModel = /* @__PURE__ */ ((AIModel2) => {
565
565
  AIModel2["ReasoningHigh"] = "reasoning-high";
566
566
  return AIModel2;
567
567
  })(AIModel || {});
568
- var AIMessageMode = /* @__PURE__ */ ((AIMessageMode2) => {
569
- AIMessageMode2["Normal"] = "normal";
570
- AIMessageMode2["Fast"] = "fast";
571
- return AIMessageMode2;
572
- })(AIMessageMode || {});
573
568
  var AIMessageStepPhase = /* @__PURE__ */ ((AIMessageStepPhase2) => {
574
569
  AIMessageStepPhase2["Commentary"] = "commentary";
575
570
  AIMessageStepPhase2["FinalAnswer"] = "final_answer";
@@ -4549,7 +4544,6 @@ var SITE_QUESTION_ANSWER_HELPFULNESS_ENUM = ["low", "medium", "high"];
4549
4544
  var AIMESSAGE_ROLE_ENUM = ["user", "assistant", "developer"];
4550
4545
  var AIMESSAGE_STEP_START_CONDITION_ENUM = ["compaction"];
4551
4546
  var AIMESSAGE_STEP_PHASE_ENUM = ["commentary", "final_answer"];
4552
- var AIMESSAGE_MODE_ENUM = ["normal", "fast"];
4553
4547
  var AIMODEL_ENUM = ["fast", "reasoning-low", "reasoning-medium", "reasoning-high"];
4554
4548
  var SITE_SETTINGS_SCAN_TOPICS_ENUM = ["auto", "never"];
4555
4549
  var SITE_SETTINGS_FINDING_CHANGE_REQUESTS_ENUM = ["always", "auto-fixable", "never"];
@@ -4666,12 +4660,10 @@ var GitBookAPI = class extends Api {
4666
4660
  };
4667
4661
  export {
4668
4662
  AGENT_STATUS_ENUM,
4669
- AIMESSAGE_MODE_ENUM,
4670
4663
  AIMESSAGE_ROLE_ENUM,
4671
4664
  AIMESSAGE_STEP_PHASE_ENUM,
4672
4665
  AIMESSAGE_STEP_START_CONDITION_ENUM,
4673
4666
  AIMODEL_ENUM,
4674
- AIMessageMode,
4675
4667
  AIMessageRole,
4676
4668
  AIMessageStepPhase,
4677
4669
  AIMessageStepStartCondition,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
- "version": "0.185.0",
7
+ "version": "0.186.0",
8
8
  "sideEffects": false,
9
9
  "files": [
10
10
  "README.md",