@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
@@ -5,6 +5,10 @@
5
5
 
6
6
  import * as z from "zod";
7
7
  import { ClosedEnum } from "../types/enums.js";
8
+ import {
9
+ SearchGroundingMode,
10
+ SearchGroundingMode$zodSchema,
11
+ } from "./searchgroundingmode.js";
8
12
  import {
9
13
  V2PromptRunCitation,
10
14
  V2PromptRunCitation$zodSchema,
@@ -48,6 +52,11 @@ export type V2PromptRunDetail = {
48
52
  is_brand_mentioned?: boolean | null | undefined;
49
53
  citation_count?: number | undefined;
50
54
  tool_call_count?: number | null | undefined;
55
+ search_grounding?: SearchGroundingMode | null | undefined;
56
+ web_retrieval_observed?: boolean | null | undefined;
57
+ search_observed?: boolean | null | undefined;
58
+ grounding_qualified?: boolean | null | undefined;
59
+ grounding_qualification_reason?: string | null | undefined;
51
60
  created_at?: string | null | undefined;
52
61
  response?: string | null | undefined;
53
62
  mentions?: Array<V2PromptRunMention> | undefined;
@@ -65,6 +74,10 @@ export const V2PromptRunDetail$zodSchema: z.ZodType<V2PromptRunDetail> = z
65
74
  "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`.",
66
75
  ),
67
76
  created_at: z.string().nullable().optional(),
77
+ grounding_qualification_reason: z.string().nullable().optional(),
78
+ grounding_qualified: z.boolean().nullable().optional().describe(
79
+ "Whether the run satisfied the requested web access mode. Null means the default mode was used or isolation could not be proven.",
80
+ ),
68
81
  harness: z.string().nullable().optional().describe(
69
82
  "Coding-agent harness for agent runs; otherwise the answer platform identifier.",
70
83
  ),
@@ -80,6 +93,11 @@ export const V2PromptRunDetail$zodSchema: z.ZodType<V2PromptRunDetail> = z
80
93
  response: z.string().nullable().optional(),
81
94
  response_preview: z.string().nullable().optional(),
82
95
  run_date: z.string(),
96
+ search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
97
+ .describe(
98
+ "Web access mode requested for this run. Null for runs recorded before web access was tracked.",
99
+ ),
100
+ search_observed: z.boolean().nullable().optional(),
83
101
  target_kind: V2PromptRunDetailTargetKind$zodSchema.nullable().optional(),
84
102
  tool_call_count: z.int().nullable().optional().describe(
85
103
  "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.",
@@ -87,4 +105,7 @@ export const V2PromptRunDetail$zodSchema: z.ZodType<V2PromptRunDetail> = z
87
105
  tool_calls: z.array(z.record(z.string(), z.any())).optional().describe(
88
106
  "Sanitized coding-agent tool invocations captured for this run, one entry per invocation with its result merged in.",
89
107
  ),
108
+ web_retrieval_observed: z.boolean().nullable().optional().describe(
109
+ "Whether the coding agent was observed searching or fetching from the web. Null when not measured, including answer-engine runs.",
110
+ ),
90
111
  });
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: cc46063d455b
4
+ */
5
+
6
+ import * as z from "zod";
7
+ import { ClosedEnum } from "../types/enums.js";
8
+ import {
9
+ SearchGroundingMode,
10
+ SearchGroundingMode$zodSchema,
11
+ } from "./searchgroundingmode.js";
12
+
13
+ /**
14
+ * 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.
15
+ */
16
+ export const V2PromptRunSettingsWebSearchInstruction = {
17
+ Omit: "omit",
18
+ Append: "append",
19
+ Both: "both",
20
+ } as const;
21
+ /**
22
+ * 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.
23
+ */
24
+ export type V2PromptRunSettingsWebSearchInstruction = ClosedEnum<
25
+ typeof V2PromptRunSettingsWebSearchInstruction
26
+ >;
27
+
28
+ export const V2PromptRunSettingsWebSearchInstruction$zodSchema = z.enum([
29
+ "omit",
30
+ "append",
31
+ "both",
32
+ ]).describe(
33
+ "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.",
34
+ );
35
+
36
+ export type V2PromptRunSettings = {
37
+ search_grounding?: SearchGroundingMode | undefined;
38
+ web_search_instruction?: V2PromptRunSettingsWebSearchInstruction | undefined;
39
+ };
40
+
41
+ export const V2PromptRunSettings$zodSchema: z.ZodType<V2PromptRunSettings> = z
42
+ .object({
43
+ search_grounding: SearchGroundingMode$zodSchema.optional().describe(
44
+ "Requested web-retrieval behavior for an eval run.",
45
+ ),
46
+ web_search_instruction: V2PromptRunSettingsWebSearchInstruction$zodSchema
47
+ .default("omit").describe(
48
+ "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.",
49
+ ),
50
+ });
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 7dee5732ac7a
4
+ */
5
+
6
+ import * as z from "zod";
7
+ import { ClosedEnum } from "../types/enums.js";
8
+ import {
9
+ SearchGroundingMode,
10
+ SearchGroundingMode$zodSchema,
11
+ } from "./searchgroundingmode.js";
12
+
13
+ export const V2PromptRunSettingsInputWebSearchInstruction = {
14
+ Omit: "omit",
15
+ Append: "append",
16
+ Both: "both",
17
+ } as const;
18
+ export type V2PromptRunSettingsInputWebSearchInstruction = ClosedEnum<
19
+ typeof V2PromptRunSettingsInputWebSearchInstruction
20
+ >;
21
+
22
+ export const V2PromptRunSettingsInputWebSearchInstruction$zodSchema = z.enum([
23
+ "omit",
24
+ "append",
25
+ "both",
26
+ ]);
27
+
28
+ export type V2PromptRunSettingsInput = {
29
+ search_grounding?: SearchGroundingMode | null | undefined;
30
+ web_search_instruction?:
31
+ | V2PromptRunSettingsInputWebSearchInstruction
32
+ | null
33
+ | undefined;
34
+ };
35
+
36
+ export const V2PromptRunSettingsInput$zodSchema: z.ZodType<
37
+ V2PromptRunSettingsInput
38
+ > = z.object({
39
+ search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
40
+ .describe(
41
+ "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.",
42
+ ),
43
+ web_search_instruction: V2PromptRunSettingsInputWebSearchInstruction$zodSchema
44
+ .nullable().optional().describe(
45
+ "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.",
46
+ ),
47
+ });
@@ -5,6 +5,10 @@
5
5
 
6
6
  import * as z from "zod";
7
7
  import { ClosedEnum } from "../types/enums.js";
8
+ import {
9
+ SearchGroundingMode,
10
+ SearchGroundingMode$zodSchema,
11
+ } from "./searchgroundingmode.js";
8
12
  import {
9
13
  V2PromptRunPlatform,
10
14
  V2PromptRunPlatform$zodSchema,
@@ -40,6 +44,11 @@ export type V2PromptRunSummary = {
40
44
  is_brand_mentioned?: boolean | null | undefined;
41
45
  citation_count?: number | undefined;
42
46
  tool_call_count?: number | null | undefined;
47
+ search_grounding?: SearchGroundingMode | null | undefined;
48
+ web_retrieval_observed?: boolean | null | undefined;
49
+ search_observed?: boolean | null | undefined;
50
+ grounding_qualified?: boolean | null | undefined;
51
+ grounding_qualification_reason?: string | null | undefined;
43
52
  created_at?: string | null | undefined;
44
53
  };
45
54
 
@@ -47,6 +56,10 @@ export const V2PromptRunSummary$zodSchema: z.ZodType<V2PromptRunSummary> = z
47
56
  .object({
48
57
  citation_count: z.int().default(0),
49
58
  created_at: z.string().nullable().optional(),
59
+ grounding_qualification_reason: z.string().nullable().optional(),
60
+ grounding_qualified: z.boolean().nullable().optional().describe(
61
+ "Whether the run satisfied the requested web access mode. Null means the default mode was used or isolation could not be proven.",
62
+ ),
50
63
  harness: z.string().nullable().optional().describe(
51
64
  "Coding-agent harness for agent runs; otherwise the answer platform identifier.",
52
65
  ),
@@ -60,8 +73,16 @@ export const V2PromptRunSummary$zodSchema: z.ZodType<V2PromptRunSummary> = z
60
73
  prompt_id: z.string(),
61
74
  response_preview: z.string().nullable().optional(),
62
75
  run_date: z.string(),
76
+ search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
77
+ .describe(
78
+ "Web access mode requested for this run. Null for runs recorded before web access was tracked.",
79
+ ),
80
+ search_observed: z.boolean().nullable().optional(),
63
81
  target_kind: V2PromptRunSummaryTargetKind$zodSchema.nullable().optional(),
64
82
  tool_call_count: z.int().nullable().optional().describe(
65
83
  "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.",
66
84
  ),
85
+ web_retrieval_observed: z.boolean().nullable().optional().describe(
86
+ "Whether the coding agent was observed searching or fetching from the web. Null when not measured, including answer-engine runs.",
87
+ ),
67
88
  });
@@ -9,17 +9,17 @@ import {
9
9
  HTTPValidationError$zodSchema,
10
10
  } from "./httpvalidationerror.js";
11
11
  import {
12
- PublicPromptBatchResponse,
13
- PublicPromptBatchResponse$zodSchema,
14
- } from "./publicpromptbatchresponse.js";
12
+ V2PromptBatchResponse,
13
+ V2PromptBatchResponse$zodSchema,
14
+ } from "./v2promptbatchresponse.js";
15
15
 
16
16
  export type V2PromptsCreateResponse =
17
- | PublicPromptBatchResponse
17
+ | V2PromptBatchResponse
18
18
  | HTTPValidationError;
19
19
 
20
20
  export const V2PromptsCreateResponse$zodSchema: z.ZodType<
21
21
  V2PromptsCreateResponse
22
22
  > = z.union([
23
- PublicPromptBatchResponse$zodSchema,
23
+ V2PromptBatchResponse$zodSchema,
24
24
  HTTPValidationError$zodSchema,
25
25
  ]);
@@ -10,9 +10,9 @@ import {
10
10
  HTTPValidationError$zodSchema,
11
11
  } from "./httpvalidationerror.js";
12
12
  import {
13
- ListPromptsResponse,
14
- ListPromptsResponse$zodSchema,
15
- } from "./listpromptsresponse.js";
13
+ V2ListPromptsResponse,
14
+ V2ListPromptsResponse$zodSchema,
15
+ } from "./v2listpromptsresponse.js";
16
16
 
17
17
  export const V2PromptsListStatus = {
18
18
  Active: "active",
@@ -40,10 +40,10 @@ export const V2PromptsListRequest$zodSchema: z.ZodType<V2PromptsListRequest> = z
40
40
  topic_id: z.string().describe("Optional prompt topic ID.").optional(),
41
41
  });
42
42
 
43
- export type V2PromptsListResponse = ListPromptsResponse | HTTPValidationError;
43
+ export type V2PromptsListResponse = V2ListPromptsResponse | HTTPValidationError;
44
44
 
45
45
  export const V2PromptsListResponse$zodSchema: z.ZodType<V2PromptsListResponse> =
46
46
  z.union([
47
- ListPromptsResponse$zodSchema,
47
+ V2ListPromptsResponse$zodSchema,
48
48
  HTTPValidationError$zodSchema,
49
49
  ]);
@@ -8,7 +8,10 @@ import {
8
8
  HTTPValidationError,
9
9
  HTTPValidationError$zodSchema,
10
10
  } from "./httpvalidationerror.js";
11
- import { PublicPrompt, PublicPrompt$zodSchema } from "./publicprompt.js";
11
+ import {
12
+ V2PromptResponse,
13
+ V2PromptResponse$zodSchema,
14
+ } from "./v2promptresponse.js";
12
15
 
13
16
  export type V2PromptsRetrieveRequest = { prompt_id: string };
14
17
 
@@ -18,11 +21,11 @@ export const V2PromptsRetrieveRequest$zodSchema: z.ZodType<
18
21
  prompt_id: z.string(),
19
22
  });
20
23
 
21
- export type V2PromptsRetrieveResponse = PublicPrompt | HTTPValidationError;
24
+ export type V2PromptsRetrieveResponse = V2PromptResponse | HTTPValidationError;
22
25
 
23
26
  export const V2PromptsRetrieveResponse$zodSchema: z.ZodType<
24
27
  V2PromptsRetrieveResponse
25
28
  > = z.union([
26
- PublicPrompt$zodSchema,
29
+ V2PromptResponse$zodSchema,
27
30
  HTTPValidationError$zodSchema,
28
31
  ]);
@@ -8,11 +8,14 @@ import {
8
8
  HTTPValidationError,
9
9
  HTTPValidationError$zodSchema,
10
10
  } from "./httpvalidationerror.js";
11
- import { PublicPrompt, PublicPrompt$zodSchema } from "./publicprompt.js";
12
11
  import {
13
12
  UpdateV2PromptRequest,
14
13
  UpdateV2PromptRequest$zodSchema,
15
14
  } from "./updatev2promptrequest.js";
15
+ import {
16
+ V2PromptResponse,
17
+ V2PromptResponse$zodSchema,
18
+ } from "./v2promptresponse.js";
16
19
 
17
20
  export type V2PromptsUpdateRequest = {
18
21
  prompt_id: string;
@@ -26,11 +29,11 @@ export const V2PromptsUpdateRequest$zodSchema: z.ZodType<
26
29
  prompt_id: z.string(),
27
30
  });
28
31
 
29
- export type V2PromptsUpdateResponse = PublicPrompt | HTTPValidationError;
32
+ export type V2PromptsUpdateResponse = V2PromptResponse | HTTPValidationError;
30
33
 
31
34
  export const V2PromptsUpdateResponse$zodSchema: z.ZodType<
32
35
  V2PromptsUpdateResponse
33
36
  > = z.union([
34
- PublicPrompt$zodSchema,
37
+ V2PromptResponse$zodSchema,
35
38
  HTTPValidationError$zodSchema,
36
39
  ]);
@@ -12,13 +12,21 @@ export const Loc$zodSchema: z.ZodType<Loc> = z.union([
12
12
  z.int(),
13
13
  ]);
14
14
 
15
+ export type Context = {};
16
+
17
+ export const Context$zodSchema: z.ZodType<Context> = z.object({});
18
+
15
19
  export type ValidationError = {
16
20
  loc: Array<string | number>;
17
21
  msg: string;
18
22
  type: string;
23
+ input?: any | undefined;
24
+ ctx?: Context | undefined;
19
25
  };
20
26
 
21
27
  export const ValidationError$zodSchema: z.ZodType<ValidationError> = z.object({
28
+ ctx: z.lazy(() => Context$zodSchema).optional(),
29
+ input: z.any().optional(),
22
30
  loc: z.array(z.union([
23
31
  z.string(),
24
32
  z.int(),
package/src/tool-names.ts CHANGED
@@ -58,11 +58,11 @@ export const toolNames: Array<{ name: string; description: string }>= [
58
58
  },
59
59
  {
60
60
  "name": "prompts-v2-prompts-retrieve",
61
- "description": "Retrieve Prompt\n\nReturns a prompt with its topic, platforms, tags, and lifecycle status."
61
+ "description": "Retrieve Prompt\n\nReturns a prompt with its topic, platforms, tags, lifecycle status, and coding-agent run settings."
62
62
  },
63
63
  {
64
64
  "name": "prompts-v2-prompts-update",
65
- "description": "Update Prompt\n\nUpdates a prompt's text, topic, platforms, or lifecycle status. Omitted fields remain unchanged."
65
+ "description": "Update Prompt\n\nUpdates a prompt's text, topic, platforms, lifecycle status, or coding-agent run settings. Omitted fields remain unchanged."
66
66
  },
67
67
  {
68
68
  "name": "prompts-v2-prompts-delete",
@@ -1,8 +0,0 @@
1
- import * as z from "zod";
2
- import { PublicPrompt } from "./publicprompt.js";
3
- export type ListPromptsResponse = {
4
- data: Array<PublicPrompt>;
5
- count: number;
6
- };
7
- export declare const ListPromptsResponse$zodSchema: z.ZodType<ListPromptsResponse>;
8
- //# sourceMappingURL=listpromptsresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listpromptsresponse.d.ts","sourceRoot":"","sources":["../../src/models/listpromptsresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AAEzE,MAAM,MAAM,mBAAmB,GAAG;IAAE,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/E,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAIrE,CAAC"}
@@ -1,12 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: d7cd8f69c086
4
- */
5
- import * as z from "zod";
6
- import { PublicPrompt$zodSchema } from "./publicprompt.js";
7
- export const ListPromptsResponse$zodSchema = z
8
- .object({
9
- count: z.int(),
10
- data: z.array(PublicPrompt$zodSchema),
11
- });
12
- //# sourceMappingURL=listpromptsresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listpromptsresponse.js","sourceRoot":"","sources":["../../src/models/listpromptsresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAgB,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAIzE,MAAM,CAAC,MAAM,6BAA6B,GAAmC,CAAC;KAC3E,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;CACtC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"publicprompt.d.ts","sourceRoot":"","sources":["../../src/models/publicprompt.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;AAEhC;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;CAIrB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEvE,eAAO,MAAM,4BAA4B;;;;EAMxC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,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,kBAAkB,CAAC;IAC3B,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;CACxC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAczD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"publicprompt.js","sourceRoot":"","sources":["../../src/models/publicprompt.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,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAMX,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,QAAQ;IACR,UAAU;IACV,UAAU;CACX,CAAC,CAAC,QAAQ,CACT,qEAAqE,CACtE,CAAC;AAgBF,MAAM,CAAC,MAAM,sBAAsB,GAA4B,CAAC,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7C,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,MAAM,EAAE,4BAA4B,CAAC,QAAQ,CAC3C,qEAAqE,CACtE;IACD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,QAAQ,EAAE;IACnD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,2BAA2B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- import * as z from "zod";
2
- import { PromptBatchError } from "./promptbatcherror.js";
3
- import { PublicPrompt } from "./publicprompt.js";
4
- export type PublicPromptBatchResponse = {
5
- created: Array<PublicPrompt>;
6
- count: number;
7
- errors?: Array<PromptBatchError> | undefined;
8
- };
9
- export declare const PublicPromptBatchResponse$zodSchema: z.ZodType<PublicPromptBatchResponse>;
10
- //# sourceMappingURL=publicpromptbatchresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"publicpromptbatchresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicpromptbatchresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AAEzE,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,yBAAyB,CAKzB,CAAC"}
@@ -1,13 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: 9c5fadb0ac89
4
- */
5
- import * as z from "zod";
6
- import { PromptBatchError$zodSchema, } from "./promptbatcherror.js";
7
- import { PublicPrompt$zodSchema } from "./publicprompt.js";
8
- export const PublicPromptBatchResponse$zodSchema = z.object({
9
- count: z.int(),
10
- created: z.array(PublicPrompt$zodSchema),
11
- errors: z.array(PromptBatchError$zodSchema).optional(),
12
- });
13
- //# sourceMappingURL=publicpromptbatchresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"publicpromptbatchresponse.js","sourceRoot":"","sources":["../../src/models/publicpromptbatchresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAgB,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAQzE,MAAM,CAAC,MAAM,mCAAmC,GAE5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;IACxC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC"}
@@ -1,15 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: d7cd8f69c086
4
- */
5
-
6
- import * as z from "zod";
7
- import { PublicPrompt, PublicPrompt$zodSchema } from "./publicprompt.js";
8
-
9
- export type ListPromptsResponse = { data: Array<PublicPrompt>; count: number };
10
-
11
- export const ListPromptsResponse$zodSchema: z.ZodType<ListPromptsResponse> = z
12
- .object({
13
- count: z.int(),
14
- data: z.array(PublicPrompt$zodSchema),
15
- });
@@ -1,25 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: 9c5fadb0ac89
4
- */
5
-
6
- import * as z from "zod";
7
- import {
8
- PromptBatchError,
9
- PromptBatchError$zodSchema,
10
- } from "./promptbatcherror.js";
11
- import { PublicPrompt, PublicPrompt$zodSchema } from "./publicprompt.js";
12
-
13
- export type PublicPromptBatchResponse = {
14
- created: Array<PublicPrompt>;
15
- count: number;
16
- errors?: Array<PromptBatchError> | undefined;
17
- };
18
-
19
- export const PublicPromptBatchResponse$zodSchema: z.ZodType<
20
- PublicPromptBatchResponse
21
- > = z.object({
22
- count: z.int(),
23
- created: z.array(PublicPrompt$zodSchema),
24
- errors: z.array(PromptBatchError$zodSchema).optional(),
25
- });