@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
package/README.md CHANGED
@@ -33,9 +33,9 @@ Lightsage Public API: Public API for Lightsage CLI and external integrations.
33
33
  <details>
34
34
  <summary>Claude Desktop</summary>
35
35
 
36
- Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.1/mcp-server.mcpb) file:
36
+ Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.2/mcp-server.mcpb) file:
37
37
 
38
- Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.1/mcp-server.mcpb) file onto Claude Desktop to install the extension.
38
+ Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.2/mcp-server.mcpb) file onto Claude Desktop to install the extension.
39
39
 
40
40
  The MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.
41
41
 
package/bin/mcp-server.js CHANGED
@@ -52844,9 +52844,9 @@ var init_config = __esm(() => {
52844
52844
  SDK_METADATA = {
52845
52845
  language: "typescript",
52846
52846
  openapiDocVersion: "1.0.0",
52847
- sdkVersion: "0.4.1",
52847
+ sdkVersion: "0.4.2",
52848
52848
  genVersion: "2.941.0",
52849
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.1 2.941.0 1.0.0 @lightsage/mcp"
52849
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.2 2.941.0 1.0.0 @lightsage/mcp"
52850
52850
  };
52851
52851
  });
52852
52852
 
@@ -54639,14 +54639,17 @@ Generates and saves a draft article using AI. Returns the new content record wit
54639
54639
  });
54640
54640
 
54641
54641
  // src/models/validationerror.ts
54642
- var Loc$zodSchema, ValidationError$zodSchema;
54642
+ var Loc$zodSchema, Context$zodSchema, ValidationError$zodSchema;
54643
54643
  var init_validationerror = __esm(() => {
54644
54644
  init_zod();
54645
54645
  Loc$zodSchema = union([
54646
54646
  string2(),
54647
54647
  int()
54648
54648
  ]);
54649
+ Context$zodSchema = object({});
54649
54650
  ValidationError$zodSchema = object({
54651
+ ctx: lazy(() => Context$zodSchema).optional(),
54652
+ input: any().optional(),
54650
54653
  loc: array(union([
54651
54654
  string2(),
54652
54655
  int()
@@ -58876,6 +58879,7 @@ var init_v2promptrunprompt = __esm(() => {
58876
58879
  var V2PromptRunSummaryTargetKind$zodSchema, V2PromptRunSummary$zodSchema;
58877
58880
  var init_v2promptrunsummary = __esm(() => {
58878
58881
  init_zod();
58882
+ init_searchgroundingmode();
58879
58883
  init_v2promptrunplatform();
58880
58884
  init_v2promptrunprompt();
58881
58885
  V2PromptRunSummaryTargetKind$zodSchema = _enum([
@@ -58885,6 +58889,8 @@ var init_v2promptrunsummary = __esm(() => {
58885
58889
  V2PromptRunSummary$zodSchema = object({
58886
58890
  citation_count: int().default(0),
58887
58891
  created_at: string2().nullable().optional(),
58892
+ grounding_qualification_reason: string2().nullable().optional(),
58893
+ grounding_qualified: boolean2().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."),
58888
58894
  harness: string2().nullable().optional().describe("Coding-agent harness for agent runs; otherwise the answer platform identifier."),
58889
58895
  id: string2(),
58890
58896
  is_brand_mentioned: boolean2().nullable().optional(),
@@ -58894,8 +58900,11 @@ var init_v2promptrunsummary = __esm(() => {
58894
58900
  prompt_id: string2(),
58895
58901
  response_preview: string2().nullable().optional(),
58896
58902
  run_date: string2(),
58903
+ search_grounding: SearchGroundingMode$zodSchema.nullable().optional().describe("Web access mode requested for this run. Null for runs recorded before web access was tracked."),
58904
+ search_observed: boolean2().nullable().optional(),
58897
58905
  target_kind: V2PromptRunSummaryTargetKind$zodSchema.nullable().optional(),
58898
- tool_call_count: 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.")
58906
+ tool_call_count: 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."),
58907
+ web_retrieval_observed: boolean2().nullable().optional().describe("Whether the coding agent was observed searching or fetching from the web. Null when not measured, including answer-engine runs.")
58899
58908
  });
58900
58909
  });
58901
58910
 
@@ -59094,6 +59103,7 @@ var init_v2promptrunmention = __esm(() => {
59094
59103
  var V2PromptRunDetailTargetKind$zodSchema, V2PromptRunDetail$zodSchema;
59095
59104
  var init_v2promptrundetail = __esm(() => {
59096
59105
  init_zod();
59106
+ init_searchgroundingmode();
59097
59107
  init_v2promptruncitation();
59098
59108
  init_v2promptrunmention();
59099
59109
  init_v2promptrunplatform();
@@ -59107,6 +59117,8 @@ var init_v2promptrundetail = __esm(() => {
59107
59117
  citations: array(V2PromptRunCitation$zodSchema).optional(),
59108
59118
  conversation_turns: array(record(string2(), any())).optional().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`."),
59109
59119
  created_at: string2().nullable().optional(),
59120
+ grounding_qualification_reason: string2().nullable().optional(),
59121
+ grounding_qualified: boolean2().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."),
59110
59122
  harness: string2().nullable().optional().describe("Coding-agent harness for agent runs; otherwise the answer platform identifier."),
59111
59123
  id: string2(),
59112
59124
  is_brand_mentioned: boolean2().nullable().optional(),
@@ -59118,9 +59130,12 @@ var init_v2promptrundetail = __esm(() => {
59118
59130
  response: string2().nullable().optional(),
59119
59131
  response_preview: string2().nullable().optional(),
59120
59132
  run_date: string2(),
59133
+ search_grounding: SearchGroundingMode$zodSchema.nullable().optional().describe("Web access mode requested for this run. Null for runs recorded before web access was tracked."),
59134
+ search_observed: boolean2().nullable().optional(),
59121
59135
  target_kind: V2PromptRunDetailTargetKind$zodSchema.nullable().optional(),
59122
59136
  tool_call_count: 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."),
59123
- tool_calls: array(record(string2(), any())).optional().describe("Sanitized coding-agent tool invocations captured for this run, one entry per invocation with its result merged in.")
59137
+ tool_calls: array(record(string2(), any())).optional().describe("Sanitized coding-agent tool invocations captured for this run, one entry per invocation with its result merged in."),
59138
+ web_retrieval_observed: boolean2().nullable().optional().describe("Whether the coding agent was observed searching or fetching from the web. Null when not measured, including answer-engine runs.")
59124
59139
  });
59125
59140
  });
59126
59141
 
@@ -59252,12 +59267,30 @@ Returns one stored prompt run, including mentions, citations, and any sanitized
59252
59267
  };
59253
59268
  });
59254
59269
 
59270
+ // src/models/v2promptrunsettingsinput.ts
59271
+ var V2PromptRunSettingsInputWebSearchInstruction$zodSchema, V2PromptRunSettingsInput$zodSchema;
59272
+ var init_v2promptrunsettingsinput = __esm(() => {
59273
+ init_zod();
59274
+ init_searchgroundingmode();
59275
+ V2PromptRunSettingsInputWebSearchInstruction$zodSchema = _enum([
59276
+ "omit",
59277
+ "append",
59278
+ "both"
59279
+ ]);
59280
+ V2PromptRunSettingsInput$zodSchema = object({
59281
+ search_grounding: SearchGroundingMode$zodSchema.nullable().optional().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."),
59282
+ web_search_instruction: V2PromptRunSettingsInputWebSearchInstruction$zodSchema.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.')
59283
+ });
59284
+ });
59285
+
59255
59286
  // src/models/createv2promptrequest.ts
59256
59287
  var CreateV2PromptRequest$zodSchema;
59257
59288
  var init_createv2promptrequest = __esm(() => {
59258
59289
  init_zod();
59290
+ init_v2promptrunsettingsinput();
59259
59291
  CreateV2PromptRequest$zodSchema = object({
59260
59292
  platform_ids: array(string2()).optional().describe("Answer-platform IDs from the prompt configuration. Omit to attach none."),
59293
+ run_settings: V2PromptRunSettingsInput$zodSchema.nullable().optional().describe("Run settings that apply to coding-agent runs of this prompt. Omitted fields keep their current or default values."),
59261
59294
  text: string2(),
59262
59295
  topic_id: string2().describe("Prompt topic ID from `GET /v2/prompts/topics`.")
59263
59296
  });
@@ -59552,25 +59585,43 @@ var init_publicprompttopic = __esm(() => {
59552
59585
  });
59553
59586
  });
59554
59587
 
59555
- // src/models/publicprompt.ts
59556
- var PublicPromptStatus$zodSchema, PublicPrompt$zodSchema;
59557
- var init_publicprompt = __esm(() => {
59588
+ // src/models/v2promptrunsettings.ts
59589
+ var V2PromptRunSettingsWebSearchInstruction$zodSchema, V2PromptRunSettings$zodSchema;
59590
+ var init_v2promptrunsettings = __esm(() => {
59591
+ init_zod();
59592
+ init_searchgroundingmode();
59593
+ V2PromptRunSettingsWebSearchInstruction$zodSchema = _enum([
59594
+ "omit",
59595
+ "append",
59596
+ "both"
59597
+ ]).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.');
59598
+ V2PromptRunSettings$zodSchema = object({
59599
+ search_grounding: SearchGroundingMode$zodSchema.optional().describe("Requested web-retrieval behavior for an eval run."),
59600
+ web_search_instruction: V2PromptRunSettingsWebSearchInstruction$zodSchema.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.')
59601
+ });
59602
+ });
59603
+
59604
+ // src/models/v2promptresponse.ts
59605
+ var V2PromptResponseStatus$zodSchema, V2PromptResponse$zodSchema;
59606
+ var init_v2promptresponse = __esm(() => {
59558
59607
  init_zod();
59559
59608
  init_publicpromptplatform();
59560
59609
  init_publicprompttag();
59561
59610
  init_publicprompttopic();
59562
- PublicPromptStatus$zodSchema = _enum([
59611
+ init_v2promptrunsettings();
59612
+ V2PromptResponseStatus$zodSchema = _enum([
59563
59613
  "active",
59564
59614
  "inactive",
59565
59615
  "archived"
59566
59616
  ]).describe("The prompt lifecycle status. Only `active` prompts run on schedule.");
59567
- PublicPrompt$zodSchema = object({
59617
+ V2PromptResponse$zodSchema = object({
59568
59618
  created_at: string2().nullable().optional(),
59569
59619
  id: string2(),
59570
59620
  language_id: string2().nullable().optional(),
59571
59621
  platforms: array(PublicPromptPlatform$zodSchema).optional(),
59572
59622
  region_id: string2().nullable().optional(),
59573
- status: PublicPromptStatus$zodSchema.describe("The prompt lifecycle status. Only `active` prompts run on schedule."),
59623
+ run_settings: V2PromptRunSettings$zodSchema.optional(),
59624
+ status: V2PromptResponseStatus$zodSchema.describe("The prompt lifecycle status. Only `active` prompts run on schedule."),
59574
59625
  tags: array(PublicPromptTag$zodSchema).optional(),
59575
59626
  text: string2(),
59576
59627
  topic: PublicPromptTopic$zodSchema.nullable().optional(),
@@ -59579,14 +59630,14 @@ var init_publicprompt = __esm(() => {
59579
59630
  });
59580
59631
  });
59581
59632
 
59582
- // src/models/listpromptsresponse.ts
59583
- var ListPromptsResponse$zodSchema;
59584
- var init_listpromptsresponse = __esm(() => {
59633
+ // src/models/v2listpromptsresponse.ts
59634
+ var V2ListPromptsResponse$zodSchema;
59635
+ var init_v2listpromptsresponse = __esm(() => {
59585
59636
  init_zod();
59586
- init_publicprompt();
59587
- ListPromptsResponse$zodSchema = object({
59637
+ init_v2promptresponse();
59638
+ V2ListPromptsResponse$zodSchema = object({
59588
59639
  count: int(),
59589
- data: array(PublicPrompt$zodSchema)
59640
+ data: array(V2PromptResponse$zodSchema)
59590
59641
  });
59591
59642
  });
59592
59643
 
@@ -59595,7 +59646,7 @@ var V2PromptsListStatus$zodSchema, V2PromptsListRequest$zodSchema, V2PromptsList
59595
59646
  var init_v2promptslistop = __esm(() => {
59596
59647
  init_zod();
59597
59648
  init_httpvalidationerror();
59598
- init_listpromptsresponse();
59649
+ init_v2listpromptsresponse();
59599
59650
  V2PromptsListStatus$zodSchema = _enum([
59600
59651
  "active",
59601
59652
  "inactive",
@@ -59607,7 +59658,7 @@ var init_v2promptslistop = __esm(() => {
59607
59658
  topic_id: string2().describe("Optional prompt topic ID.").optional()
59608
59659
  });
59609
59660
  V2PromptsListResponse$zodSchema = union([
59610
- ListPromptsResponse$zodSchema,
59661
+ V2ListPromptsResponse$zodSchema,
59611
59662
  HTTPValidationError$zodSchema
59612
59663
  ]);
59613
59664
  });
@@ -59730,12 +59781,12 @@ var V2PromptsRetrieveRequest$zodSchema, V2PromptsRetrieveResponse$zodSchema;
59730
59781
  var init_v2promptsretrieveop = __esm(() => {
59731
59782
  init_zod();
59732
59783
  init_httpvalidationerror();
59733
- init_publicprompt();
59784
+ init_v2promptresponse();
59734
59785
  V2PromptsRetrieveRequest$zodSchema = object({
59735
59786
  prompt_id: string2()
59736
59787
  });
59737
59788
  V2PromptsRetrieveResponse$zodSchema = union([
59738
- PublicPrompt$zodSchema,
59789
+ V2PromptResponse$zodSchema,
59739
59790
  HTTPValidationError$zodSchema
59740
59791
  ]);
59741
59792
  });
@@ -59831,7 +59882,7 @@ var init_promptsV2PromptsRetrieve2 = __esm(() => {
59831
59882
  name: "prompts-v2-prompts-retrieve",
59832
59883
  description: `Retrieve Prompt
59833
59884
 
59834
- Returns a prompt with its topic, platforms, tags, and lifecycle status.`,
59885
+ Returns a prompt with its topic, platforms, tags, lifecycle status, and coding-agent run settings.`,
59835
59886
  annotations: {
59836
59887
  title: "",
59837
59888
  destructiveHint: false,
@@ -59857,12 +59908,14 @@ Returns a prompt with its topic, platforms, tags, and lifecycle status.`,
59857
59908
  var UpdateV2PromptRequestStatus$zodSchema, UpdateV2PromptRequest$zodSchema;
59858
59909
  var init_updatev2promptrequest = __esm(() => {
59859
59910
  init_zod();
59911
+ init_v2promptrunsettingsinput();
59860
59912
  UpdateV2PromptRequestStatus$zodSchema = _enum([
59861
59913
  "active",
59862
59914
  "inactive"
59863
59915
  ]);
59864
59916
  UpdateV2PromptRequest$zodSchema = object({
59865
59917
  platform_ids: array(string2()).nullable().optional().describe("Replacement list of answer-platform IDs."),
59918
+ run_settings: V2PromptRunSettingsInput$zodSchema.nullable().optional().describe("Run settings that apply to coding-agent runs of this prompt. Omitted fields keep their current or default values."),
59866
59919
  status: UpdateV2PromptRequestStatus$zodSchema.optional(),
59867
59920
  text: string2().optional(),
59868
59921
  topic_id: string2().optional().describe("Prompt topic ID from `GET /v2/prompts/topics`.")
@@ -59874,14 +59927,14 @@ var V2PromptsUpdateRequest$zodSchema, V2PromptsUpdateResponse$zodSchema;
59874
59927
  var init_v2promptsupdateop = __esm(() => {
59875
59928
  init_zod();
59876
59929
  init_httpvalidationerror();
59877
- init_publicprompt();
59878
59930
  init_updatev2promptrequest();
59931
+ init_v2promptresponse();
59879
59932
  V2PromptsUpdateRequest$zodSchema = object({
59880
59933
  body: UpdateV2PromptRequest$zodSchema,
59881
59934
  prompt_id: string2()
59882
59935
  });
59883
59936
  V2PromptsUpdateResponse$zodSchema = union([
59884
- PublicPrompt$zodSchema,
59937
+ V2PromptResponse$zodSchema,
59885
59938
  HTTPValidationError$zodSchema
59886
59939
  ]);
59887
59940
  });
@@ -59978,7 +60031,7 @@ var init_promptsV2PromptsUpdate2 = __esm(() => {
59978
60031
  name: "prompts-v2-prompts-update",
59979
60032
  description: `Update Prompt
59980
60033
 
59981
- Updates a prompt's text, topic, platforms, or lifecycle status. Omitted fields remain unchanged.`,
60034
+ Updates a prompt's text, topic, platforms, lifecycle status, or coding-agent run settings. Omitted fields remain unchanged.`,
59982
60035
  annotations: {
59983
60036
  title: "",
59984
60037
  destructiveHint: false,
@@ -63028,7 +63081,7 @@ function createMCPServer(deps) {
63028
63081
  sizes: ["any"]
63029
63082
  }],
63030
63083
  name: "LightsageMcp",
63031
- version: "0.4.1"
63084
+ version: "0.4.2"
63032
63085
  });
63033
63086
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
63034
63087
  security: deps.security,
@@ -63259,13 +63312,13 @@ Returns one stored prompt run, including mentions, citations, and any sanitized
63259
63312
  name: "prompts-v2-prompts-retrieve",
63260
63313
  description: `Retrieve Prompt
63261
63314
 
63262
- Returns a prompt with its topic, platforms, tags, and lifecycle status.`
63315
+ Returns a prompt with its topic, platforms, tags, lifecycle status, and coding-agent run settings.`
63263
63316
  },
63264
63317
  {
63265
63318
  name: "prompts-v2-prompts-update",
63266
63319
  description: `Update Prompt
63267
63320
 
63268
- Updates a prompt's text, topic, platforms, or lifecycle status. Omitted fields remain unchanged.`
63321
+ Updates a prompt's text, topic, platforms, lifecycle status, or coding-agent run settings. Omitted fields remain unchanged.`
63269
63322
  },
63270
63323
  {
63271
63324
  name: "prompts-v2-prompts-delete",
@@ -64403,7 +64456,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
64403
64456
  <h1>Instructions</h1>
64404
64457
  <p>One-click installation for Claude Desktop users</p>
64405
64458
  <div class="instruction-item">
64406
- <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;">
64459
+ <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;">
64407
64460
  \uD83D\uDCE5 Download MCP Bundle
64408
64461
  </a>
64409
64462
  </div>
@@ -67281,7 +67334,7 @@ var routes = buildRouteMap({
67281
67334
  var app = buildApplication(routes, {
67282
67335
  name: "mcp",
67283
67336
  versionInfo: {
67284
- currentVersion: "0.4.1"
67337
+ currentVersion: "0.4.2"
67285
67338
  }
67286
67339
  });
67287
67340
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -67289,5 +67342,5 @@ export {
67289
67342
  app
67290
67343
  };
67291
67344
 
67292
- //# debugId=9D9BF9F9417C659E64756E2164756E21
67345
+ //# debugId=EB4BA033DF30A06964756E2164756E21
67293
67346
  //# sourceMappingURL=mcp-server.js.map