@superdoc/sdk 2.20.1-next.9 → 2.21.0-next.10

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.
Files changed (40) hide show
  1. package/dist/action-primitives/tools/list-transform.cjs +21 -1
  2. package/dist/action-primitives/tools/list-transform.d.ts +4 -3
  3. package/dist/action-primitives/tools/list-transform.js +21 -1
  4. package/dist/agent/action-descriptors.json +308 -0
  5. package/dist/agent/actions.cjs +20 -440
  6. package/dist/agent/actions.d.ts +13 -297
  7. package/dist/agent/actions.js +20 -440
  8. package/dist/embedded-tools.generated.cjs +5 -5
  9. package/dist/embedded-tools.generated.js +5 -5
  10. package/dist/generated/action-names.d.ts +1 -0
  11. package/dist/generated/action-names.js +1 -0
  12. package/dist/generated/client.cjs +2 -0
  13. package/dist/generated/client.d.ts +2282 -1023
  14. package/dist/generated/client.js +2 -0
  15. package/dist/generated/contract.cjs +1 -1
  16. package/dist/generated/contract.d.ts +24 -0
  17. package/dist/generated/contract.js +1 -1
  18. package/dist/runtime/document-rpc.cjs +10 -13
  19. package/dist/runtime/document-rpc.d.ts +5 -5
  20. package/dist/runtime/document-rpc.js +10 -13
  21. package/dist/runtime/host.cjs +7 -9
  22. package/dist/runtime/host.d.ts +1 -1
  23. package/dist/runtime/host.js +8 -10
  24. package/dist/runtime/sdk-policy.cjs +10 -0
  25. package/dist/runtime/sdk-policy.d.ts +22 -0
  26. package/dist/runtime/sdk-policy.js +5 -0
  27. package/dist/runtime/sdk-version.generated.cjs +1 -1
  28. package/dist/runtime/sdk-version.generated.d.ts +1 -1
  29. package/dist/runtime/sdk-version.generated.js +1 -1
  30. package/dist/runtime/transport-common.cjs +2 -8
  31. package/dist/runtime/transport-common.d.ts +2 -1
  32. package/dist/runtime/transport-common.js +2 -8
  33. package/package.json +7 -7
  34. package/tools/catalog.json +848 -243
  35. package/tools/generation-receipt.json +195 -0
  36. package/tools/tools-policy.json +1 -1
  37. package/tools/tools.anthropic.json +822 -243
  38. package/tools/tools.generic.json +822 -243
  39. package/tools/tools.openai.json +822 -243
  40. package/tools/tools.vercel.json +822 -243
@@ -52,6 +52,30 @@ export interface ContractOverview {
52
52
  }
53
53
  export interface Contract {
54
54
  contractVersion: string;
55
+ sourceHash?: string;
56
+ sdkContractHash: string;
57
+ sdkPolicy?: {
58
+ protocolVersion: string;
59
+ cliRequiredFeatures: readonly string[];
60
+ documentRequiredFeatures: readonly string[];
61
+ documentRpcFeatures: readonly string[];
62
+ features: {
63
+ replaceFile: string;
64
+ defaultChangeMode: string;
65
+ sourceSave: string;
66
+ requestTimeout: string;
67
+ collaborationAuthPerOpen: string;
68
+ documentAuthor: string;
69
+ };
70
+ documentOpenFields: readonly string[];
71
+ documentSaveFields: readonly string[];
72
+ documentOptionFields: readonly string[];
73
+ revisionPreflightOperations: readonly string[];
74
+ operationParamAliases: Record<string, Readonly<Record<string, readonly string[]>>>;
75
+ notifications: readonly string[];
76
+ hostDefaultRequestTimeoutMs: number;
77
+ watchdogHeadroomMs: number;
78
+ };
55
79
  $defs?: Record<string, unknown>;
56
80
  cli: {
57
81
  package: string;