@company-semantics/contracts 99.1.0 → 99.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "99.1.0",
3
+ "version": "99.2.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
2
- export const SPEC_HASH = '935ee995d53d' as const;
3
- export const SPEC_HASH_FULL = '935ee995d53d56538f0566bb3c1372041d5cb1def41f3b28db02716ad4d8c591' as const;
2
+ export const SPEC_HASH = 'bdfe41ff343f' as const;
3
+ export const SPEC_HASH_FULL = 'bdfe41ff343f7f914f93bf62144b67f3f1ff2f0cd2c53e6bb0727dff96eb543b' as const;
@@ -5831,6 +5831,13 @@ export interface components {
5831
5831
  /** @enum {string} */
5832
5832
  reason: "external-mutation" | "bulk-operation" | "sync-required";
5833
5833
  };
5834
+ ChatAttachmentRefusal: {
5835
+ /** @constant */
5836
+ code: "CHAT_ATTACHMENT_REFUSED";
5837
+ /** @enum {string} */
5838
+ reason: "format_not_admitted" | "too_large" | "too_many" | "not_inline" | "unreadable";
5839
+ message: string;
5840
+ };
5834
5841
  AiChatRequest: {
5835
5842
  /**
5836
5843
  * @default submit-message
@@ -12616,6 +12623,33 @@ export interface operations {
12616
12623
  };
12617
12624
  content?: never;
12618
12625
  };
12626
+ /** @description An attachment is an admitted format but could not be read (damaged, or failed a safety check). */
12627
+ 400: {
12628
+ headers: {
12629
+ [name: string]: unknown;
12630
+ };
12631
+ content: {
12632
+ "application/json": components["schemas"]["ChatAttachmentRefusal"];
12633
+ };
12634
+ };
12635
+ /** @description An attachment exceeds the chat surface ceiling, or the turn carries more attachments than the chat surface allows. */
12636
+ 413: {
12637
+ headers: {
12638
+ [name: string]: unknown;
12639
+ };
12640
+ content: {
12641
+ "application/json": components["schemas"]["ChatAttachmentRefusal"];
12642
+ };
12643
+ };
12644
+ /** @description An attachment is not a format the chat surface admits, or is not inline. */
12645
+ 415: {
12646
+ headers: {
12647
+ [name: string]: unknown;
12648
+ };
12649
+ content: {
12650
+ "application/json": components["schemas"]["ChatAttachmentRefusal"];
12651
+ };
12652
+ };
12619
12653
  };
12620
12654
  };
12621
12655
  resolveProactiveChat: {