@superdoc/sdk 2.26.0 → 2.27.0-next.19

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 (45) hide show
  1. package/README.md +236 -29
  2. package/dist/agent/actions.cjs +62 -24
  3. package/dist/agent/actions.js +62 -24
  4. package/dist/agent/catalog.d.ts +0 -4
  5. package/dist/agent/catalog.js +0 -4
  6. package/dist/embedded-prompts.generated.cjs +1 -1
  7. package/dist/embedded-prompts.generated.js +1 -1
  8. package/dist/embedded-tools.generated.cjs +5 -5
  9. package/dist/embedded-tools.generated.js +5 -5
  10. package/dist/generated/client.cjs +18 -1
  11. package/dist/generated/client.d.ts +3250 -1019
  12. package/dist/generated/client.js +18 -1
  13. package/dist/generated/contract.cjs +1 -2
  14. package/dist/generated/contract.d.ts +1 -0
  15. package/dist/generated/contract.js +1 -2
  16. package/dist/index.cjs +3 -0
  17. package/dist/index.d.ts +3 -0
  18. package/dist/index.js +3 -0
  19. package/dist/presets/full.cjs +4 -0
  20. package/dist/presets/full.js +4 -0
  21. package/dist/prompts/full-addendum.md +1 -0
  22. package/dist/runtime/host.cjs +36 -3
  23. package/dist/runtime/host.d.ts +5 -0
  24. package/dist/runtime/host.js +36 -4
  25. package/dist/runtime/notifications.cjs +124 -0
  26. package/dist/runtime/notifications.d.ts +35 -0
  27. package/dist/runtime/notifications.js +116 -0
  28. package/dist/runtime/process.cjs +4 -1
  29. package/dist/runtime/process.d.ts +2 -0
  30. package/dist/runtime/process.js +4 -1
  31. package/dist/runtime/sdk-policy.d.ts +1 -0
  32. package/dist/runtime/sdk-version.generated.cjs +1 -1
  33. package/dist/runtime/sdk-version.generated.d.ts +1 -1
  34. package/dist/runtime/sdk-version.generated.js +1 -1
  35. package/dist/runtime/transport-common.cjs +9 -1
  36. package/dist/runtime/transport-common.d.ts +3 -0
  37. package/dist/runtime/transport-common.js +8 -1
  38. package/package.json +7 -7
  39. package/tools/catalog.json +42 -2
  40. package/tools/generation-receipt.json +60 -22
  41. package/tools/tools-policy.json +1 -1
  42. package/tools/tools.anthropic.json +42 -2
  43. package/tools/tools.generic.json +42 -2
  44. package/tools/tools.openai.json +42 -2
  45. package/tools/tools.vercel.json +42 -2
@@ -3393,11 +3393,25 @@
3393
3393
  "description": "Line spacing rule. Required when 'line' is set. Only for action 'set_spacing'. Omit for other actions."
3394
3394
  },
3395
3395
  "contextualSpacing": {
3396
- "type": "boolean",
3396
+ "oneOf": [
3397
+ {
3398
+ "type": "boolean"
3399
+ },
3400
+ {
3401
+ "type": "null"
3402
+ }
3403
+ ],
3397
3404
  "description": "Only for action 'set_flow_options'. Omit for other actions."
3398
3405
  },
3399
3406
  "pageBreakBefore": {
3400
- "type": "boolean",
3407
+ "oneOf": [
3408
+ {
3409
+ "type": "boolean"
3410
+ },
3411
+ {
3412
+ "type": "null"
3413
+ }
3414
+ ],
3401
3415
  "description": "Only for action 'set_flow_options'. Omit for other actions."
3402
3416
  },
3403
3417
  "suppressAutoHyphens": {
@@ -5206,6 +5220,32 @@
5206
5220
  "minLength": 1,
5207
5221
  "description": "Caller-owned author image URL. Only for action 'create'. Omit for other actions."
5208
5222
  },
5223
+ "authorIdentity": {
5224
+ "anyOf": [
5225
+ {
5226
+ "type": "object",
5227
+ "properties": {
5228
+ "providerId": {
5229
+ "type": "string",
5230
+ "minLength": 1
5231
+ },
5232
+ "userId": {
5233
+ "type": "string",
5234
+ "minLength": 1
5235
+ }
5236
+ },
5237
+ "additionalProperties": false,
5238
+ "required": [
5239
+ "providerId",
5240
+ "userId"
5241
+ ]
5242
+ },
5243
+ {
5244
+ "type": "null"
5245
+ }
5246
+ ],
5247
+ "description": "Explicit provider-issued comment account. Omitted author attribution inherits the configured identity; explicit author fields opt out of a configured identity unless a pair is supplied. Null explicitly opts out. Unconfigured identities keep existing name-only export behavior. Only for action 'create'. Omit for other actions."
5248
+ },
5209
5249
  "metadata": {
5210
5250
  "type": "object",
5211
5251
  "additionalProperties": true,
@@ -3355,11 +3355,25 @@
3355
3355
  "description": "Line spacing rule. Required when 'line' is set. Only for action 'set_spacing'. Omit for other actions."
3356
3356
  },
3357
3357
  "contextualSpacing": {
3358
- "type": "boolean",
3358
+ "oneOf": [
3359
+ {
3360
+ "type": "boolean"
3361
+ },
3362
+ {
3363
+ "type": "null"
3364
+ }
3365
+ ],
3359
3366
  "description": "Only for action 'set_flow_options'. Omit for other actions."
3360
3367
  },
3361
3368
  "pageBreakBefore": {
3362
- "type": "boolean",
3369
+ "oneOf": [
3370
+ {
3371
+ "type": "boolean"
3372
+ },
3373
+ {
3374
+ "type": "null"
3375
+ }
3376
+ ],
3363
3377
  "description": "Only for action 'set_flow_options'. Omit for other actions."
3364
3378
  },
3365
3379
  "suppressAutoHyphens": {
@@ -5108,6 +5122,32 @@
5108
5122
  "minLength": 1,
5109
5123
  "description": "Caller-owned author image URL. Only for action 'create'. Omit for other actions."
5110
5124
  },
5125
+ "authorIdentity": {
5126
+ "anyOf": [
5127
+ {
5128
+ "type": "object",
5129
+ "properties": {
5130
+ "providerId": {
5131
+ "type": "string",
5132
+ "minLength": 1
5133
+ },
5134
+ "userId": {
5135
+ "type": "string",
5136
+ "minLength": 1
5137
+ }
5138
+ },
5139
+ "additionalProperties": false,
5140
+ "required": [
5141
+ "providerId",
5142
+ "userId"
5143
+ ]
5144
+ },
5145
+ {
5146
+ "type": "null"
5147
+ }
5148
+ ],
5149
+ "description": "Explicit provider-issued comment account. Omitted author attribution inherits the configured identity; explicit author fields opt out of a configured identity unless a pair is supplied. Null explicitly opts out. Unconfigured identities keep existing name-only export behavior. Only for action 'create'. Omit for other actions."
5150
+ },
5111
5151
  "metadata": {
5112
5152
  "type": "object",
5113
5153
  "additionalProperties": true,
@@ -3355,11 +3355,25 @@
3355
3355
  "description": "Line spacing rule. Required when 'line' is set. Only for action 'set_spacing'. Omit for other actions."
3356
3356
  },
3357
3357
  "contextualSpacing": {
3358
- "type": "boolean",
3358
+ "oneOf": [
3359
+ {
3360
+ "type": "boolean"
3361
+ },
3362
+ {
3363
+ "type": "null"
3364
+ }
3365
+ ],
3359
3366
  "description": "Only for action 'set_flow_options'. Omit for other actions."
3360
3367
  },
3361
3368
  "pageBreakBefore": {
3362
- "type": "boolean",
3369
+ "oneOf": [
3370
+ {
3371
+ "type": "boolean"
3372
+ },
3373
+ {
3374
+ "type": "null"
3375
+ }
3376
+ ],
3363
3377
  "description": "Only for action 'set_flow_options'. Omit for other actions."
3364
3378
  },
3365
3379
  "suppressAutoHyphens": {
@@ -5108,6 +5122,32 @@
5108
5122
  "minLength": 1,
5109
5123
  "description": "Caller-owned author image URL. Only for action 'create'. Omit for other actions."
5110
5124
  },
5125
+ "authorIdentity": {
5126
+ "anyOf": [
5127
+ {
5128
+ "type": "object",
5129
+ "properties": {
5130
+ "providerId": {
5131
+ "type": "string",
5132
+ "minLength": 1
5133
+ },
5134
+ "userId": {
5135
+ "type": "string",
5136
+ "minLength": 1
5137
+ }
5138
+ },
5139
+ "additionalProperties": false,
5140
+ "required": [
5141
+ "providerId",
5142
+ "userId"
5143
+ ]
5144
+ },
5145
+ {
5146
+ "type": "null"
5147
+ }
5148
+ ],
5149
+ "description": "Explicit provider-issued comment account. Omitted author attribution inherits the configured identity; explicit author fields opt out of a configured identity unless a pair is supplied. Null explicitly opts out. Unconfigured identities keep existing name-only export behavior. Only for action 'create'. Omit for other actions."
5150
+ },
5111
5151
  "metadata": {
5112
5152
  "type": "object",
5113
5153
  "additionalProperties": true,