@lightsage/mcp 0.4.1 → 0.4.2

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 (110) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +84 -31
  3. package/bin/mcp-server.js.map +24 -22
  4. package/esm/funcs/promptsV2PromptsRetrieve.d.ts +1 -1
  5. package/esm/funcs/promptsV2PromptsRetrieve.js +1 -1
  6. package/esm/funcs/promptsV2PromptsUpdate.d.ts +1 -1
  7. package/esm/funcs/promptsV2PromptsUpdate.js +1 -1
  8. package/esm/landing-page.js +1 -1
  9. package/esm/lib/config.d.ts +2 -2
  10. package/esm/lib/config.js +2 -2
  11. package/esm/mcp-server/mcp-server.js +1 -1
  12. package/esm/mcp-server/server.js +1 -1
  13. package/esm/mcp-server/tools/promptsV2PromptsRetrieve.js +1 -1
  14. package/esm/mcp-server/tools/promptsV2PromptsRetrieve.js.map +1 -1
  15. package/esm/mcp-server/tools/promptsV2PromptsUpdate.js +1 -1
  16. package/esm/mcp-server/tools/promptsV2PromptsUpdate.js.map +1 -1
  17. package/esm/models/createv2promptrequest.d.ts +2 -0
  18. package/esm/models/createv2promptrequest.d.ts.map +1 -1
  19. package/esm/models/createv2promptrequest.js +3 -0
  20. package/esm/models/createv2promptrequest.js.map +1 -1
  21. package/esm/models/updatev2promptrequest.d.ts +2 -0
  22. package/esm/models/updatev2promptrequest.d.ts.map +1 -1
  23. package/esm/models/updatev2promptrequest.js +3 -0
  24. package/esm/models/updatev2promptrequest.js.map +1 -1
  25. package/esm/models/v2listpromptsresponse.d.ts +8 -0
  26. package/esm/models/v2listpromptsresponse.d.ts.map +1 -0
  27. package/esm/models/v2listpromptsresponse.js +11 -0
  28. package/esm/models/v2listpromptsresponse.js.map +1 -0
  29. package/esm/models/v2promptbatchresponse.d.ts +10 -0
  30. package/esm/models/v2promptbatchresponse.d.ts.map +1 -0
  31. package/esm/models/v2promptbatchresponse.js +13 -0
  32. package/esm/models/v2promptbatchresponse.js.map +1 -0
  33. package/esm/models/{publicprompt.d.ts → v2promptresponse.d.ts} +9 -7
  34. package/esm/models/v2promptresponse.d.ts.map +1 -0
  35. package/esm/models/{publicprompt.js → v2promptresponse.js} +8 -6
  36. package/esm/models/v2promptresponse.js.map +1 -0
  37. package/esm/models/v2promptrundetail.d.ts +6 -0
  38. package/esm/models/v2promptrundetail.d.ts.map +1 -1
  39. package/esm/models/v2promptrundetail.js +7 -0
  40. package/esm/models/v2promptrundetail.js.map +1 -1
  41. package/esm/models/v2promptrunsettings.d.ts +26 -0
  42. package/esm/models/v2promptrunsettings.d.ts.map +1 -0
  43. package/esm/models/v2promptrunsettings.js +26 -0
  44. package/esm/models/v2promptrunsettings.js.map +1 -0
  45. package/esm/models/v2promptrunsettingsinput.d.ts +20 -0
  46. package/esm/models/v2promptrunsettingsinput.d.ts.map +1 -0
  47. package/esm/models/v2promptrunsettingsinput.js +23 -0
  48. package/esm/models/v2promptrunsettingsinput.js.map +1 -0
  49. package/esm/models/v2promptrunsummary.d.ts +6 -0
  50. package/esm/models/v2promptrunsummary.d.ts.map +1 -1
  51. package/esm/models/v2promptrunsummary.js +7 -0
  52. package/esm/models/v2promptrunsummary.js.map +1 -1
  53. package/esm/models/v2promptscreateop.d.ts +2 -2
  54. package/esm/models/v2promptscreateop.d.ts.map +1 -1
  55. package/esm/models/v2promptscreateop.js +2 -2
  56. package/esm/models/v2promptscreateop.js.map +1 -1
  57. package/esm/models/v2promptslistop.d.ts +2 -2
  58. package/esm/models/v2promptslistop.d.ts.map +1 -1
  59. package/esm/models/v2promptslistop.js +2 -2
  60. package/esm/models/v2promptslistop.js.map +1 -1
  61. package/esm/models/v2promptsretrieveop.d.ts +2 -2
  62. package/esm/models/v2promptsretrieveop.d.ts.map +1 -1
  63. package/esm/models/v2promptsretrieveop.js +2 -2
  64. package/esm/models/v2promptsretrieveop.js.map +1 -1
  65. package/esm/models/v2promptsupdateop.d.ts +2 -2
  66. package/esm/models/v2promptsupdateop.d.ts.map +1 -1
  67. package/esm/models/v2promptsupdateop.js +2 -2
  68. package/esm/models/v2promptsupdateop.js.map +1 -1
  69. package/esm/models/validationerror.d.ts +4 -0
  70. package/esm/models/validationerror.d.ts.map +1 -1
  71. package/esm/models/validationerror.js +3 -0
  72. package/esm/models/validationerror.js.map +1 -1
  73. package/esm/tool-names.js +2 -2
  74. package/esm/tool-names.js.map +1 -1
  75. package/package.json +1 -1
  76. package/src/funcs/promptsV2PromptsRetrieve.ts +1 -1
  77. package/src/funcs/promptsV2PromptsUpdate.ts +1 -1
  78. package/src/landing-page.ts +1 -1
  79. package/src/lib/config.ts +2 -2
  80. package/src/mcp-server/mcp-server.ts +1 -1
  81. package/src/mcp-server/server.ts +1 -1
  82. package/src/mcp-server/tools/promptsV2PromptsRetrieve.ts +1 -1
  83. package/src/mcp-server/tools/promptsV2PromptsUpdate.ts +1 -1
  84. package/src/models/createv2promptrequest.ts +9 -0
  85. package/src/models/updatev2promptrequest.ts +9 -0
  86. package/src/models/v2listpromptsresponse.ts +21 -0
  87. package/src/models/v2promptbatchresponse.ts +27 -0
  88. package/src/models/{publicprompt.ts → v2promptresponse.ts} +29 -21
  89. package/src/models/v2promptrundetail.ts +21 -0
  90. package/src/models/v2promptrunsettings.ts +50 -0
  91. package/src/models/v2promptrunsettingsinput.ts +47 -0
  92. package/src/models/v2promptrunsummary.ts +21 -0
  93. package/src/models/v2promptscreateop.ts +5 -5
  94. package/src/models/v2promptslistop.ts +5 -5
  95. package/src/models/v2promptsretrieveop.ts +6 -3
  96. package/src/models/v2promptsupdateop.ts +6 -3
  97. package/src/models/validationerror.ts +8 -0
  98. package/src/tool-names.ts +2 -2
  99. package/esm/models/listpromptsresponse.d.ts +0 -8
  100. package/esm/models/listpromptsresponse.d.ts.map +0 -1
  101. package/esm/models/listpromptsresponse.js +0 -12
  102. package/esm/models/listpromptsresponse.js.map +0 -1
  103. package/esm/models/publicprompt.d.ts.map +0 -1
  104. package/esm/models/publicprompt.js.map +0 -1
  105. package/esm/models/publicpromptbatchresponse.d.ts +0 -10
  106. package/esm/models/publicpromptbatchresponse.d.ts.map +0 -1
  107. package/esm/models/publicpromptbatchresponse.js +0 -13
  108. package/esm/models/publicpromptbatchresponse.js.map +0 -1
  109. package/src/models/listpromptsresponse.ts +0 -15
  110. package/src/models/publicpromptbatchresponse.ts +0 -25
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.js";
10
10
  * Retrieve Prompt
11
11
  *
12
12
  * @remarks
13
- * Returns a prompt with its topic, platforms, tags, and lifecycle status.
13
+ * Returns a prompt with its topic, platforms, tags, lifecycle status, and coding-agent run settings.
14
14
  */
15
15
  export declare function promptsV2PromptsRetrieve(client$: LightsageMcpCore, request: V2PromptsRetrieveRequest, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=promptsV2PromptsRetrieve.d.ts.map
@@ -13,7 +13,7 @@ import { APIPromise } from "../types/async.js";
13
13
  * Retrieve Prompt
14
14
  *
15
15
  * @remarks
16
- * Returns a prompt with its topic, platforms, tags, and lifecycle status.
16
+ * Returns a prompt with its topic, platforms, tags, lifecycle status, and coding-agent run settings.
17
17
  */
18
18
  export function promptsV2PromptsRetrieve(client$, request, options) {
19
19
  return new APIPromise($do(client$, request, options));
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.js";
10
10
  * Update Prompt
11
11
  *
12
12
  * @remarks
13
- * Updates a prompt's text, topic, platforms, or lifecycle status. Omitted fields remain unchanged.
13
+ * Updates a prompt's text, topic, platforms, lifecycle status, or coding-agent run settings. Omitted fields remain unchanged.
14
14
  */
15
15
  export declare function promptsV2PromptsUpdate(client$: LightsageMcpCore, request: V2PromptsUpdateRequest, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
16
  //# sourceMappingURL=promptsV2PromptsUpdate.d.ts.map
@@ -13,7 +13,7 @@ import { APIPromise } from "../types/async.js";
13
13
  * Update Prompt
14
14
  *
15
15
  * @remarks
16
- * Updates a prompt's text, topic, platforms, or lifecycle status. Omitted fields remain unchanged.
16
+ * Updates a prompt's text, topic, platforms, lifecycle status, or coding-agent run settings. Omitted fields remain unchanged.
17
17
  */
18
18
  export function promptsV2PromptsUpdate(client$, request, options) {
19
19
  return new APIPromise($do(client$, request, options));
@@ -916,7 +916,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
916
916
  <h1>Instructions</h1>
917
917
  <p>One-click installation for Claude Desktop users</p>
918
918
  <div class="instruction-item">
919
- <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.1/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
919
+ <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.2/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
920
920
  📥 Download MCP Bundle
921
921
  </a>
922
922
  </div>
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
37
  readonly openapiDocVersion: "1.0.0";
38
- readonly sdkVersion: "0.4.1";
38
+ readonly sdkVersion: "0.4.2";
39
39
  readonly genVersion: "2.941.0";
40
- readonly userAgent: "speakeasy-sdk/mcp-typescript 0.4.1 2.941.0 1.0.0 @lightsage/mcp";
40
+ readonly userAgent: "speakeasy-sdk/mcp-typescript 0.4.2 2.941.0 1.0.0 @lightsage/mcp";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -28,8 +28,8 @@ export function serverURLFromOptions(options) {
28
28
  export const SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "1.0.0",
31
- sdkVersion: "0.4.1",
31
+ sdkVersion: "0.4.2",
32
32
  genVersion: "2.941.0",
33
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.1 2.941.0 1.0.0 @lightsage/mcp",
33
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.2 2.941.0 1.0.0 @lightsage/mcp",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.4.1",
22
+ currentVersion: "0.4.2",
23
23
  },
24
24
  });
25
25
  run(app, process.argv.slice(2), buildContext(process));
@@ -74,7 +74,7 @@ export function createMCPServer(deps) {
74
74
  sizes: ["any"],
75
75
  }],
76
76
  name: "LightsageMcp",
77
- version: "0.4.1",
77
+ version: "0.4.2",
78
78
  });
79
79
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
80
80
  security: deps.security,
@@ -12,7 +12,7 @@ export const tool$promptsV2PromptsRetrieve = {
12
12
  name: "prompts-v2-prompts-retrieve",
13
13
  description: `Retrieve Prompt
14
14
 
15
- Returns a prompt with its topic, platforms, tags, and lifecycle status.`,
15
+ Returns a prompt with its topic, platforms, tags, lifecycle status, and coding-agent run settings.`,
16
16
  annotations: {
17
17
  "title": "",
18
18
  "destructiveHint": false,
@@ -1 +1 @@
1
- {"version":3,"file":"promptsV2PromptsRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsV2PromptsRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAgC;IACxE,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE;;wEAEyD;IACtE,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,wBAAwB,CAC7C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"promptsV2PromptsRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsV2PromptsRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAgC;IACxE,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE;;mGAEoF;IACjG,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,wBAAwB,CAC7C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
@@ -12,7 +12,7 @@ export const tool$promptsV2PromptsUpdate = {
12
12
  name: "prompts-v2-prompts-update",
13
13
  description: `Update Prompt
14
14
 
15
- Updates a prompt's text, topic, platforms, or lifecycle status. Omitted fields remain unchanged.`,
15
+ Updates a prompt's text, topic, platforms, lifecycle status, or coding-agent run settings. Omitted fields remain unchanged.`,
16
16
  annotations: {
17
17
  "title": "",
18
18
  "destructiveHint": false,
@@ -1 +1 @@
1
- {"version":3,"file":"promptsV2PromptsUpdate.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsV2PromptsUpdate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE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BAA2B,GAAgC;IACtE,IAAI,EAAE,2BAA2B;IACjC,WAAW,EAAE;;4HAE6G;IAC1H,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;KACtB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,sBAAsB,CAC3C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import * as z from "zod";
2
+ import { V2PromptRunSettingsInput } from "./v2promptrunsettingsinput.js";
2
3
  export type CreateV2PromptRequest = {
3
4
  topic_id: string;
4
5
  text: string;
5
6
  platform_ids?: Array<string> | undefined;
7
+ run_settings?: V2PromptRunSettingsInput | null | undefined;
6
8
  };
7
9
  export declare const CreateV2PromptRequest$zodSchema: z.ZodType<CreateV2PromptRequest>;
8
10
  //# sourceMappingURL=createv2promptrequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createv2promptrequest.d.ts","sourceRoot":"","sources":["../../src/models/createv2promptrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CASzE,CAAC"}
1
+ {"version":3,"file":"createv2promptrequest.d.ts","sourceRoot":"","sources":["../../src/models/createv2promptrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACzC,YAAY,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAazE,CAAC"}
@@ -3,8 +3,11 @@
3
3
  * @generated-id: 7cc54f1fe084
4
4
  */
5
5
  import * as z from "zod";
6
+ import { V2PromptRunSettingsInput$zodSchema, } from "./v2promptrunsettingsinput.js";
6
7
  export const CreateV2PromptRequest$zodSchema = z.object({
7
8
  platform_ids: z.array(z.string()).optional().describe("Answer-platform IDs from the prompt configuration. Omit to attach none."),
9
+ run_settings: V2PromptRunSettingsInput$zodSchema.nullable().optional()
10
+ .describe("Run settings that apply to coding-agent runs of this prompt. Omitted fields keep their current or default values."),
8
11
  text: z.string(),
9
12
  topic_id: z.string().describe("Prompt topic ID from `GET /v2/prompts/topics`."),
10
13
  });
@@ -1 +1 @@
1
- {"version":3,"file":"createv2promptrequest.js","sourceRoot":"","sources":["../../src/models/createv2promptrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAQzB,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnD,yEAAyE,CAC1E;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC3B,gDAAgD,CACjD;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"createv2promptrequest.js","sourceRoot":"","sources":["../../src/models/createv2promptrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,kCAAkC,GACnC,MAAM,+BAA+B,CAAC;AASvC,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnD,yEAAyE,CAC1E;IACD,YAAY,EAAE,kCAAkC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SACnE,QAAQ,CACP,mHAAmH,CACpH;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC3B,gDAAgD,CACjD;CACF,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import * as z from "zod";
2
2
  import { ClosedEnum } from "../types/enums.js";
3
+ import { V2PromptRunSettingsInput } from "./v2promptrunsettingsinput.js";
3
4
  export declare const UpdateV2PromptRequestStatus: {
4
5
  readonly Active: "active";
5
6
  readonly Inactive: "inactive";
@@ -14,6 +15,7 @@ export type UpdateV2PromptRequest = {
14
15
  topic_id?: string | undefined;
15
16
  platform_ids?: Array<string> | null | undefined;
16
17
  status?: UpdateV2PromptRequestStatus | undefined;
18
+ run_settings?: V2PromptRunSettingsInput | null | undefined;
17
19
  };
18
20
  export declare const UpdateV2PromptRequest$zodSchema: z.ZodType<UpdateV2PromptRequest>;
19
21
  //# sourceMappingURL=updatev2promptrequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updatev2promptrequest.d.ts","sourceRoot":"","sources":["../../src/models/updatev2promptrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;EAGhD,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAUzE,CAAC"}
1
+ {"version":3,"file":"updatev2promptrequest.d.ts","sourceRoot":"","sources":["../../src/models/updatev2promptrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;EAGhD,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACjD,YAAY,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAczE,CAAC"}
@@ -3,6 +3,7 @@
3
3
  * @generated-id: 6239b66a5d07
4
4
  */
5
5
  import * as z from "zod";
6
+ import { V2PromptRunSettingsInput$zodSchema, } from "./v2promptrunsettingsinput.js";
6
7
  export const UpdateV2PromptRequestStatus = {
7
8
  Active: "active",
8
9
  Inactive: "inactive",
@@ -13,6 +14,8 @@ export const UpdateV2PromptRequestStatus$zodSchema = z.enum([
13
14
  ]);
14
15
  export const UpdateV2PromptRequest$zodSchema = z.object({
15
16
  platform_ids: z.array(z.string()).nullable().optional().describe("Replacement list of answer-platform IDs."),
17
+ run_settings: V2PromptRunSettingsInput$zodSchema.nullable().optional()
18
+ .describe("Run settings that apply to coding-agent runs of this prompt. Omitted fields keep their current or default values."),
16
19
  status: UpdateV2PromptRequestStatus$zodSchema.optional(),
17
20
  text: z.string().optional(),
18
21
  topic_id: z.string().optional().describe("Prompt topic ID from `GET /v2/prompts/topics`."),
@@ -1 +1 @@
1
- {"version":3,"file":"updatev2promptrequest.js","sourceRoot":"","sources":["../../src/models/updatev2promptrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK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,CAC9D,0CAA0C,CAC3C;IACD,YAAY,EAAE,kCAAkC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SACnE,QAAQ,CACP,mHAAmH,CACpH;IACH,MAAM,EAAE,qCAAqC,CAAC,QAAQ,EAAE;IACxD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACtC,gDAAgD,CACjD;CACF,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as z from "zod";
2
+ import { V2PromptResponse } from "./v2promptresponse.js";
3
+ export type V2ListPromptsResponse = {
4
+ data: Array<V2PromptResponse>;
5
+ count: number;
6
+ };
7
+ export declare const V2ListPromptsResponse$zodSchema: z.ZodType<V2ListPromptsResponse>;
8
+ //# sourceMappingURL=v2listpromptsresponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2listpromptsresponse.d.ts","sourceRoot":"","sources":["../../src/models/v2listpromptsresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAIzE,CAAC"}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 48a5d5271d92
4
+ */
5
+ import * as z from "zod";
6
+ import { V2PromptResponse$zodSchema, } from "./v2promptresponse.js";
7
+ export const V2ListPromptsResponse$zodSchema = z.object({
8
+ count: z.int(),
9
+ data: z.array(V2PromptResponse$zodSchema),
10
+ });
11
+ //# sourceMappingURL=v2listpromptsresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2listpromptsresponse.js","sourceRoot":"","sources":["../../src/models/v2listpromptsresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAO/B,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;CAC1C,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as z from "zod";
2
+ import { PromptBatchError } from "./promptbatcherror.js";
3
+ import { V2PromptResponse } from "./v2promptresponse.js";
4
+ export type V2PromptBatchResponse = {
5
+ created: Array<V2PromptResponse>;
6
+ count: number;
7
+ errors?: Array<PromptBatchError> | undefined;
8
+ };
9
+ export declare const V2PromptBatchResponse$zodSchema: z.ZodType<V2PromptBatchResponse>;
10
+ //# sourceMappingURL=v2promptbatchresponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2promptbatchresponse.d.ts","sourceRoot":"","sources":["../../src/models/v2promptbatchresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAKzE,CAAC"}
@@ -0,0 +1,13 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: d9c010826345
4
+ */
5
+ import * as z from "zod";
6
+ import { PromptBatchError$zodSchema, } from "./promptbatcherror.js";
7
+ import { V2PromptResponse$zodSchema, } from "./v2promptresponse.js";
8
+ export const V2PromptBatchResponse$zodSchema = z.object({
9
+ count: z.int(),
10
+ created: z.array(V2PromptResponse$zodSchema),
11
+ errors: z.array(PromptBatchError$zodSchema).optional(),
12
+ });
13
+ //# sourceMappingURL=v2promptbatchresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2promptbatchresponse.js","sourceRoot":"","sources":["../../src/models/v2promptbatchresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAQ/B,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;IAC5C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC"}
@@ -3,10 +3,11 @@ import { ClosedEnum } from "../types/enums.js";
3
3
  import { PublicPromptPlatform } from "./publicpromptplatform.js";
4
4
  import { PublicPromptTag } from "./publicprompttag.js";
5
5
  import { PublicPromptTopic } from "./publicprompttopic.js";
6
+ import { V2PromptRunSettings } from "./v2promptrunsettings.js";
6
7
  /**
7
8
  * The prompt lifecycle status. Only `active` prompts run on schedule.
8
9
  */
9
- export declare const PublicPromptStatus: {
10
+ export declare const V2PromptResponseStatus: {
10
11
  readonly Active: "active";
11
12
  readonly Inactive: "inactive";
12
13
  readonly Archived: "archived";
@@ -14,24 +15,25 @@ export declare const PublicPromptStatus: {
14
15
  /**
15
16
  * The prompt lifecycle status. Only `active` prompts run on schedule.
16
17
  */
17
- export type PublicPromptStatus = ClosedEnum<typeof PublicPromptStatus>;
18
- export declare const PublicPromptStatus$zodSchema: z.ZodEnum<{
18
+ export type V2PromptResponseStatus = ClosedEnum<typeof V2PromptResponseStatus>;
19
+ export declare const V2PromptResponseStatus$zodSchema: z.ZodEnum<{
19
20
  active: "active";
20
21
  inactive: "inactive";
21
22
  archived: "archived";
22
23
  }>;
23
- export type PublicPrompt = {
24
+ export type V2PromptResponse = {
24
25
  id: string;
25
26
  topic_id: string;
26
27
  text: string;
27
28
  language_id?: string | null | undefined;
28
29
  region_id?: string | null | undefined;
29
- status: PublicPromptStatus;
30
+ status: V2PromptResponseStatus;
30
31
  topic?: PublicPromptTopic | null | undefined;
31
32
  platforms?: Array<PublicPromptPlatform> | undefined;
32
33
  tags?: Array<PublicPromptTag> | undefined;
33
34
  created_at?: string | null | undefined;
34
35
  updated_at?: string | null | undefined;
36
+ run_settings?: V2PromptRunSettings | undefined;
35
37
  };
36
- export declare const PublicPrompt$zodSchema: z.ZodType<PublicPrompt>;
37
- //# sourceMappingURL=publicprompt.d.ts.map
38
+ export declare const V2PromptResponse$zodSchema: z.ZodType<V2PromptResponse>;
39
+ //# sourceMappingURL=v2promptresponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2promptresponse.d.ts","sourceRoot":"","sources":["../../src/models/v2promptresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E,eAAO,MAAM,gCAAgC;;;;EAM5C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;IACpD,IAAI,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,YAAY,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAiBlE,CAAC"}
@@ -1,35 +1,37 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: 7c803001c7a9
3
+ * @generated-id: 6495adbd118e
4
4
  */
5
5
  import * as z from "zod";
6
6
  import { PublicPromptPlatform$zodSchema, } from "./publicpromptplatform.js";
7
7
  import { PublicPromptTag$zodSchema, } from "./publicprompttag.js";
8
8
  import { PublicPromptTopic$zodSchema, } from "./publicprompttopic.js";
9
+ import { V2PromptRunSettings$zodSchema, } from "./v2promptrunsettings.js";
9
10
  /**
10
11
  * The prompt lifecycle status. Only `active` prompts run on schedule.
11
12
  */
12
- export const PublicPromptStatus = {
13
+ export const V2PromptResponseStatus = {
13
14
  Active: "active",
14
15
  Inactive: "inactive",
15
16
  Archived: "archived",
16
17
  };
17
- export const PublicPromptStatus$zodSchema = z.enum([
18
+ export const V2PromptResponseStatus$zodSchema = z.enum([
18
19
  "active",
19
20
  "inactive",
20
21
  "archived",
21
22
  ]).describe("The prompt lifecycle status. Only `active` prompts run on schedule.");
22
- export const PublicPrompt$zodSchema = z.object({
23
+ export const V2PromptResponse$zodSchema = z.object({
23
24
  created_at: z.string().nullable().optional(),
24
25
  id: z.string(),
25
26
  language_id: z.string().nullable().optional(),
26
27
  platforms: z.array(PublicPromptPlatform$zodSchema).optional(),
27
28
  region_id: z.string().nullable().optional(),
28
- status: PublicPromptStatus$zodSchema.describe("The prompt lifecycle status. Only `active` prompts run on schedule."),
29
+ run_settings: V2PromptRunSettings$zodSchema.optional(),
30
+ status: V2PromptResponseStatus$zodSchema.describe("The prompt lifecycle status. Only `active` prompts run on schedule."),
29
31
  tags: z.array(PublicPromptTag$zodSchema).optional(),
30
32
  text: z.string(),
31
33
  topic: PublicPromptTopic$zodSchema.nullable().optional(),
32
34
  topic_id: z.string(),
33
35
  updated_at: z.string().nullable().optional(),
34
36
  });
35
- //# sourceMappingURL=publicprompt.js.map
37
+ //# sourceMappingURL=v2promptresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2promptresponse.js","sourceRoot":"","sources":["../../src/models/v2promptresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,yBAAyB,GAC1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,EAAE,CAAC,QAAQ,EAAE;CAC7C,CACF,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import * as z from "zod";
2
2
  import { ClosedEnum } from "../types/enums.js";
3
+ import { SearchGroundingMode } from "./searchgroundingmode.js";
3
4
  import { V2PromptRunCitation } from "./v2promptruncitation.js";
4
5
  import { V2PromptRunMention } from "./v2promptrunmention.js";
5
6
  import { V2PromptRunPlatform } from "./v2promptrunplatform.js";
@@ -26,6 +27,11 @@ export type V2PromptRunDetail = {
26
27
  is_brand_mentioned?: boolean | null | undefined;
27
28
  citation_count?: number | undefined;
28
29
  tool_call_count?: number | null | undefined;
30
+ search_grounding?: SearchGroundingMode | null | undefined;
31
+ web_retrieval_observed?: boolean | null | undefined;
32
+ search_observed?: boolean | null | undefined;
33
+ grounding_qualified?: boolean | null | undefined;
34
+ grounding_qualification_reason?: string | null | undefined;
29
35
  created_at?: string | null | undefined;
30
36
  response?: string | null | undefined;
31
37
  mentions?: Array<V2PromptRunMention> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"v2promptrundetail.d.ts","sourceRoot":"","sources":["../../src/models/v2promptrundetail.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;EAGhD,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAA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S,CAAC;IAC5C,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,sBAAsB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACpD,eAAe,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,8BAA8B,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3D,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;IACnD,UAAU,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IACrD,kBAAkB,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;CAC9D,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CA2CjE,CAAC"}
@@ -3,6 +3,7 @@
3
3
  * @generated-id: cfcd048b3ba6
4
4
  */
5
5
  import * as z from "zod";
6
+ import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
6
7
  import { V2PromptRunCitation$zodSchema, } from "./v2promptruncitation.js";
7
8
  import { V2PromptRunMention$zodSchema, } from "./v2promptrunmention.js";
8
9
  import { V2PromptRunPlatform$zodSchema, } from "./v2promptrunplatform.js";
@@ -22,6 +23,8 @@ export const V2PromptRunDetail$zodSchema = z
22
23
  conversation_turns: z.array(z.record(z.string(), z.any())).optional()
23
24
  .describe("Sanitized interleaved text and tool-call trace captured for this run. It interleaves the agent's `text` turns with `tool_call` turns, so its length is not a tool-call count; use `tool_calls` or `tool_call_count`."),
24
25
  created_at: z.string().nullable().optional(),
26
+ grounding_qualification_reason: z.string().nullable().optional(),
27
+ grounding_qualified: z.boolean().nullable().optional().describe("Whether the run satisfied the requested web access mode. Null means the default mode was used or isolation could not be proven."),
25
28
  harness: z.string().nullable().optional().describe("Coding-agent harness for agent runs; otherwise the answer platform identifier."),
26
29
  id: z.string(),
27
30
  is_brand_mentioned: z.boolean().nullable().optional(),
@@ -33,8 +36,12 @@ export const V2PromptRunDetail$zodSchema = z
33
36
  response: z.string().nullable().optional(),
34
37
  response_preview: z.string().nullable().optional(),
35
38
  run_date: z.string(),
39
+ search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
40
+ .describe("Web access mode requested for this run. Null for runs recorded before web access was tracked."),
41
+ search_observed: z.boolean().nullable().optional(),
36
42
  target_kind: V2PromptRunDetailTargetKind$zodSchema.nullable().optional(),
37
43
  tool_call_count: z.int().nullable().optional().describe("Coding-agent tool invocations, counting a call and its result once. Matches the length of `tool_calls` on the detail response; null for answer-engine runs."),
38
44
  tool_calls: z.array(z.record(z.string(), z.any())).optional().describe("Sanitized coding-agent tool invocations captured for this run, one entry per invocation with its result merged in."),
45
+ web_retrieval_observed: z.boolean().nullable().optional().describe("Whether the coding agent was observed searching or fetching from the web. Null when not measured, including answer-engine runs."),
39
46
  });
40
47
  //# sourceMappingURL=v2promptrundetail.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"v2promptrundetail.js","sourceRoot":"","sources":["../../src/models/v2promptrundetail.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,yBAAyB,CAA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,CACjD,iEAAiE,CAClE;IACD,QAAQ,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7D,MAAM,EAAE,2BAA2B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC1C,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,gBAAgB,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SAClE,QAAQ,CACP,+FAA+F,CAChG;IACH,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,WAAW,EAAE,qCAAqC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxE,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrD,6JAA6J,CAC9J;IACD,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACpE,oHAAoH,CACrH;IACD,sBAAsB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChE,iIAAiI,CAClI;CACF,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ import { SearchGroundingMode } from "./searchgroundingmode.js";
4
+ /**
5
+ * Whether coding-agent runs append "Use web search." to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written.
6
+ */
7
+ export declare const V2PromptRunSettingsWebSearchInstruction: {
8
+ readonly Omit: "omit";
9
+ readonly Append: "append";
10
+ readonly Both: "both";
11
+ };
12
+ /**
13
+ * Whether coding-agent runs append "Use web search." to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written.
14
+ */
15
+ export type V2PromptRunSettingsWebSearchInstruction = ClosedEnum<typeof V2PromptRunSettingsWebSearchInstruction>;
16
+ export declare const V2PromptRunSettingsWebSearchInstruction$zodSchema: z.ZodEnum<{
17
+ omit: "omit";
18
+ append: "append";
19
+ both: "both";
20
+ }>;
21
+ export type V2PromptRunSettings = {
22
+ search_grounding?: SearchGroundingMode | undefined;
23
+ web_search_instruction?: V2PromptRunSettingsWebSearchInstruction | undefined;
24
+ };
25
+ export declare const V2PromptRunSettings$zodSchema: z.ZodType<V2PromptRunSettings>;
26
+ //# sourceMappingURL=v2promptrunsettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2promptrunsettings.d.ts","sourceRoot":"","sources":["../../src/models/v2promptrunsettings.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,eAAO,MAAM,uCAAuC;;;;CAI1C,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAC9D,OAAO,uCAAuC,CAC/C,CAAC;AAEF,eAAO,MAAM,iDAAiD;;;;EAM7D,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACnD,sBAAsB,CAAC,EAAE,uCAAuC,GAAG,SAAS,CAAC;CAC9E,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CASrE,CAAC"}
@@ -0,0 +1,26 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: cc46063d455b
4
+ */
5
+ import * as z from "zod";
6
+ import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
7
+ /**
8
+ * Whether coding-agent runs append "Use web search." to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written.
9
+ */
10
+ export const V2PromptRunSettingsWebSearchInstruction = {
11
+ Omit: "omit",
12
+ Append: "append",
13
+ Both: "both",
14
+ };
15
+ export const V2PromptRunSettingsWebSearchInstruction$zodSchema = z.enum([
16
+ "omit",
17
+ "append",
18
+ "both",
19
+ ]).describe("Whether coding-agent runs append \"Use web search.\" to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written.");
20
+ export const V2PromptRunSettings$zodSchema = z
21
+ .object({
22
+ search_grounding: SearchGroundingMode$zodSchema.optional().describe("Requested web-retrieval behavior for an eval run."),
23
+ web_search_instruction: V2PromptRunSettingsWebSearchInstruction$zodSchema
24
+ .default("omit").describe("Whether coding-agent runs append \"Use web search.\" to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written."),
25
+ });
26
+ //# sourceMappingURL=v2promptrunsettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2promptrunsettings.js","sourceRoot":"","sources":["../../src/models/v2promptrunsettings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACJ,CAAC;AAQX,MAAM,CAAC,MAAM,iDAAiD,GAAG,CAAC,CAAC,IAAI,CAAC;IACtE,MAAM;IACN,QAAQ;IACR,MAAM;CACP,CAAC,CAAC,QAAQ,CACT,4OAA4O,CAC7O,CAAC;AAOF,MAAM,CAAC,MAAM,6BAA6B,GAAmC,CAAC;KAC3E,MAAM,CAAC;IACN,gBAAgB,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjE,mDAAmD,CACpD;IACD,sBAAsB,EAAE,iDAAiD;SACtE,OAAO,CAAC,MAAM,CAAC,CAAC,QAAQ,CACvB,4OAA4O,CAC7O;CACJ,CAAC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ import { SearchGroundingMode } from "./searchgroundingmode.js";
4
+ export declare const V2PromptRunSettingsInputWebSearchInstruction: {
5
+ readonly Omit: "omit";
6
+ readonly Append: "append";
7
+ readonly Both: "both";
8
+ };
9
+ export type V2PromptRunSettingsInputWebSearchInstruction = ClosedEnum<typeof V2PromptRunSettingsInputWebSearchInstruction>;
10
+ export declare const V2PromptRunSettingsInputWebSearchInstruction$zodSchema: z.ZodEnum<{
11
+ omit: "omit";
12
+ append: "append";
13
+ both: "both";
14
+ }>;
15
+ export type V2PromptRunSettingsInput = {
16
+ search_grounding?: SearchGroundingMode | null | undefined;
17
+ web_search_instruction?: V2PromptRunSettingsInputWebSearchInstruction | null | undefined;
18
+ };
19
+ export declare const V2PromptRunSettingsInput$zodSchema: z.ZodType<V2PromptRunSettingsInput>;
20
+ //# sourceMappingURL=v2promptrunsettingsinput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2promptrunsettingsinput.d.ts","sourceRoot":"","sources":["../../src/models/v2promptrunsettingsinput.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,eAAO,MAAM,4CAA4C;;;;CAI/C,CAAC;AACX,MAAM,MAAM,4CAA4C,GAAG,UAAU,CACnE,OAAO,4CAA4C,CACpD,CAAC;AAEF,eAAO,MAAM,sDAAsD;;;;EAIjE,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG;IACrC,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,sBAAsB,CAAC,EACnB,4CAA4C,GAC5C,IAAI,GACJ,SAAS,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAUxB,CAAC"}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 7dee5732ac7a
4
+ */
5
+ import * as z from "zod";
6
+ import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
7
+ export const V2PromptRunSettingsInputWebSearchInstruction = {
8
+ Omit: "omit",
9
+ Append: "append",
10
+ Both: "both",
11
+ };
12
+ export const V2PromptRunSettingsInputWebSearchInstruction$zodSchema = z.enum([
13
+ "omit",
14
+ "append",
15
+ "both",
16
+ ]);
17
+ export const V2PromptRunSettingsInput$zodSchema = z.object({
18
+ search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
19
+ .describe("Web access for coding-agent runs of this prompt. `disabled` blocks web access in the agent sandbox, `enabled` requires the agent to retrieve from the web, and `default` leaves the choice to the agent. Answer engines are not affected. An eval-run target that sets `search_grounding` overrides this setting."),
20
+ web_search_instruction: V2PromptRunSettingsInputWebSearchInstruction$zodSchema
21
+ .nullable().optional().describe("Whether coding-agent runs append \"Use web search.\" to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written."),
22
+ });
23
+ //# sourceMappingURL=v2promptrunsettingsinput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v2promptrunsettingsinput.js","sourceRoot":"","sources":["../../src/models/v2promptrunsettingsinput.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACJ,CAAC;AAKX,MAAM,CAAC,MAAM,sDAAsD,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3E,MAAM;IACN,QAAQ;IACR,MAAM;CACP,CAAC,CAAC;AAUH,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SAClE,QAAQ,CACP,mTAAmT,CACpT;IACH,sBAAsB,EAAE,sDAAsD;SAC3E,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7B,4OAA4O,CAC7O;CACJ,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import * as z from "zod";
2
2
  import { ClosedEnum } from "../types/enums.js";
3
+ import { SearchGroundingMode } from "./searchgroundingmode.js";
3
4
  import { V2PromptRunPlatform } from "./v2promptrunplatform.js";
4
5
  import { V2PromptRunPrompt } from "./v2promptrunprompt.js";
5
6
  export declare const V2PromptRunSummaryTargetKind: {
@@ -24,6 +25,11 @@ export type V2PromptRunSummary = {
24
25
  is_brand_mentioned?: boolean | null | undefined;
25
26
  citation_count?: number | undefined;
26
27
  tool_call_count?: number | null | undefined;
28
+ search_grounding?: SearchGroundingMode | null | undefined;
29
+ web_retrieval_observed?: boolean | null | undefined;
30
+ search_observed?: boolean | null | undefined;
31
+ grounding_qualified?: boolean | null | undefined;
32
+ grounding_qualification_reason?: string | null | undefined;
27
33
  created_at?: string | null | undefined;
28
34
  };
29
35
  export declare const V2PromptRunSummary$zodSchema: z.ZodType<V2PromptRunSummary>;