@lucern/sdk 0.3.0-alpha.17 → 0.3.0-alpha.3

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 (210) hide show
  1. package/CHANGELOG.md +0 -12
  2. package/README.md +4 -110
  3. package/dist/adminClient.d.ts +8 -8
  4. package/dist/adminClient.js +40 -70
  5. package/dist/adminClient.js.map +1 -1
  6. package/dist/answersClient.js +12 -49
  7. package/dist/answersClient.js.map +1 -1
  8. package/dist/audience/index.d.ts +1 -2
  9. package/dist/audience/index.js +3 -1
  10. package/dist/audience/index.js.map +1 -1
  11. package/dist/audiencesClient.d.ts +16 -16
  12. package/dist/audiencesClient.js +91 -125
  13. package/dist/audiencesClient.js.map +1 -1
  14. package/dist/auditClient.js +14 -53
  15. package/dist/auditClient.js.map +1 -1
  16. package/dist/authContext.d.ts +2 -2
  17. package/dist/authContext.js +3 -4
  18. package/dist/authContext.js.map +1 -1
  19. package/dist/authDeviceClient.js +3 -16
  20. package/dist/authDeviceClient.js.map +1 -1
  21. package/dist/beliefs/index.d.ts +4 -9
  22. package/dist/beliefs/index.js +1305 -1943
  23. package/dist/beliefs/index.js.map +1 -1
  24. package/dist/beliefsClient.d.ts +2 -2
  25. package/dist/beliefsClient.js +23 -54
  26. package/dist/beliefsClient.js.map +1 -1
  27. package/dist/boundaryClientSurface.js +3 -10
  28. package/dist/boundaryClientSurface.js.map +1 -1
  29. package/dist/client-EiG9nJOY.d.ts +2911 -0
  30. package/dist/client.d.ts +41 -3038
  31. package/dist/client.js +1305 -1943
  32. package/dist/client.js.map +1 -1
  33. package/dist/contextClient.d.ts +3 -4
  34. package/dist/contextClient.js +30 -79
  35. package/dist/contextClient.js.map +1 -1
  36. package/dist/contextFacade.js +16 -25
  37. package/dist/contextFacade.js.map +1 -1
  38. package/dist/contextPackCompiler.js +30 -19
  39. package/dist/contextPackCompiler.js.map +1 -1
  40. package/dist/contextPackPolicy.js +17 -7
  41. package/dist/contextPackPolicy.js.map +1 -1
  42. package/dist/contextTypes.d.ts +0 -2
  43. package/dist/contracts/api-enums.contract.d.ts +2 -2
  44. package/dist/contracts/api-enums.contract.js +1 -6
  45. package/dist/contracts/api-enums.contract.js.map +1 -1
  46. package/dist/contracts/auth-session.contract.d.ts +1 -1
  47. package/dist/contracts/auth-session.contract.js +2 -14
  48. package/dist/contracts/auth-session.contract.js.map +1 -1
  49. package/dist/contracts/index.js +6 -30
  50. package/dist/contracts/index.js.map +1 -1
  51. package/dist/contracts/lens-filter.contract.js +3 -4
  52. package/dist/contracts/lens-filter.contract.js.map +1 -1
  53. package/dist/contracts/lens-workflow.contract.js +3 -4
  54. package/dist/contracts/lens-workflow.contract.js.map +1 -1
  55. package/dist/contracts/lensFilter.js +3 -4
  56. package/dist/contracts/lensFilter.js.map +1 -1
  57. package/dist/contracts/lensWorkflow.js +3 -4
  58. package/dist/contracts/lensWorkflow.js.map +1 -1
  59. package/dist/contracts/mcpTools.js +0 -6
  60. package/dist/contracts/mcpTools.js.map +1 -1
  61. package/dist/contradictions/index.d.ts +3 -8
  62. package/dist/contradictions/index.js +1305 -1943
  63. package/dist/contradictions/index.js.map +1 -1
  64. package/dist/coreClient.d.ts +2 -19
  65. package/dist/coreClient.js +15 -50
  66. package/dist/coreClient.js.map +1 -1
  67. package/dist/decisions/index.d.ts +13 -18
  68. package/dist/decisions/index.js +1305 -1943
  69. package/dist/decisions/index.js.map +1 -1
  70. package/dist/decisionsClient.d.ts +12 -4
  71. package/dist/decisionsClient.js +35 -60
  72. package/dist/decisionsClient.js.map +1 -1
  73. package/dist/edges/index.d.ts +86 -31
  74. package/dist/edges/index.js +1305 -1943
  75. package/dist/edges/index.js.map +1 -1
  76. package/dist/embeddingsClient.js +18 -60
  77. package/dist/embeddingsClient.js.map +1 -1
  78. package/dist/eventingClient.js +18 -60
  79. package/dist/eventingClient.js.map +1 -1
  80. package/dist/events.js +3 -6
  81. package/dist/events.js.map +1 -1
  82. package/dist/eventsCore.d.ts +1 -1
  83. package/dist/eventsCore.js +15 -50
  84. package/dist/eventsCore.js.map +1 -1
  85. package/dist/evidence/index.d.ts +3 -8
  86. package/dist/evidence/index.js +1305 -1943
  87. package/dist/evidence/index.js.map +1 -1
  88. package/dist/evidenceClient.js +15 -50
  89. package/dist/evidenceClient.js.map +1 -1
  90. package/dist/facade/context.d.ts +1 -2
  91. package/dist/facade/context.js +16 -25
  92. package/dist/facade/context.js.map +1 -1
  93. package/dist/gatewayFacades.d.ts +48 -90
  94. package/dist/gatewayFacades.js +128 -251
  95. package/dist/gatewayFacades.js.map +1 -1
  96. package/dist/graphAnalysisClient.d.ts +1 -53
  97. package/dist/graphAnalysisClient.js +17 -81
  98. package/dist/graphAnalysisClient.js.map +1 -1
  99. package/dist/graphClient.d.ts +13 -6
  100. package/dist/graphClient.js +39 -65
  101. package/dist/graphClient.js.map +1 -1
  102. package/dist/graphRecommendationsClient.js +17 -54
  103. package/dist/graphRecommendationsClient.js.map +1 -1
  104. package/dist/graphStateClassifierClient.js +19 -60
  105. package/dist/graphStateClassifierClient.js.map +1 -1
  106. package/dist/harnessClient.d.ts +24 -13
  107. package/dist/harnessClient.js +41 -61
  108. package/dist/harnessClient.js.map +1 -1
  109. package/dist/identityClient.d.ts +9 -27
  110. package/dist/identityClient.js +39 -203
  111. package/dist/identityClient.js.map +1 -1
  112. package/dist/index.d.ts +6 -15
  113. package/dist/index.js +1171 -2256
  114. package/dist/index.js.map +1 -1
  115. package/dist/jobsClient.js +19 -60
  116. package/dist/jobsClient.js.map +1 -1
  117. package/dist/learningClient.d.ts +6 -6
  118. package/dist/learningClient.js +43 -78
  119. package/dist/learningClient.js.map +1 -1
  120. package/dist/lenses/index.d.ts +37 -60
  121. package/dist/lenses/index.js +1305 -1943
  122. package/dist/lenses/index.js.map +1 -1
  123. package/dist/mcpClient.js +13 -51
  124. package/dist/mcpClient.js.map +1 -1
  125. package/dist/modelRuntimeClient.js +18 -60
  126. package/dist/modelRuntimeClient.js.map +1 -1
  127. package/dist/nodes/index.d.ts +22 -49
  128. package/dist/nodes/index.js +1305 -1943
  129. package/dist/nodes/index.js.map +1 -1
  130. package/dist/ontologies/index.d.ts +31 -37
  131. package/dist/ontologies/index.js +1305 -1943
  132. package/dist/ontologies/index.js.map +1 -1
  133. package/dist/ontologyClient.d.ts +25 -17
  134. package/dist/ontologyClient.js +41 -86
  135. package/dist/ontologyClient.js.map +1 -1
  136. package/dist/ontologyLinksClient.js +19 -60
  137. package/dist/ontologyLinksClient.js.map +1 -1
  138. package/dist/orgGraphSearchClient.js +14 -53
  139. package/dist/orgGraphSearchClient.js.map +1 -1
  140. package/dist/packRuntime.d.ts +1 -2
  141. package/dist/packsClient.d.ts +23 -9
  142. package/dist/packsClient.js +47 -62
  143. package/dist/packsClient.js.map +1 -1
  144. package/dist/policyClient.d.ts +10 -11
  145. package/dist/policyClient.js +26 -71
  146. package/dist/policyClient.js.map +1 -1
  147. package/dist/questions/index.d.ts +3 -8
  148. package/dist/questions/index.js +1305 -1943
  149. package/dist/questions/index.js.map +1 -1
  150. package/dist/realtime/index.d.ts +1 -1
  151. package/dist/reportsClient.d.ts +7 -7
  152. package/dist/reportsClient.js +52 -107
  153. package/dist/reportsClient.js.map +1 -1
  154. package/dist/schemaClient.d.ts +3 -3
  155. package/dist/schemaClient.js +30 -63
  156. package/dist/schemaClient.js.map +1 -1
  157. package/dist/sdkSurface.d.ts +3 -6
  158. package/dist/sdkSurface.js +6 -10
  159. package/dist/sdkSurface.js.map +1 -1
  160. package/dist/sourcesClient.js +15 -50
  161. package/dist/sourcesClient.js.map +1 -1
  162. package/dist/telemetryClient.js +19 -60
  163. package/dist/telemetryClient.js.map +1 -1
  164. package/dist/toolRegistryClient.d.ts +2 -10
  165. package/dist/toolRegistryClient.js +20 -73
  166. package/dist/toolRegistryClient.js.map +1 -1
  167. package/dist/topics/index.d.ts +8 -19
  168. package/dist/topics/index.js +1305 -1945
  169. package/dist/topics/index.js.map +1 -1
  170. package/dist/topicsClient.d.ts +0 -2
  171. package/dist/topicsClient.js +20 -60
  172. package/dist/topicsClient.js.map +1 -1
  173. package/dist/types.d.ts +0 -17
  174. package/dist/version.d.ts +1 -1
  175. package/dist/version.js +1 -1
  176. package/dist/version.js.map +1 -1
  177. package/dist/workflowClient.d.ts +40 -58
  178. package/dist/workflowClient.js +54 -66
  179. package/dist/workflowClient.js.map +1 -1
  180. package/dist/worktrees/index.d.ts +33 -54
  181. package/dist/worktrees/index.js +1305 -1943
  182. package/dist/worktrees/index.js.map +1 -1
  183. package/package.json +3 -17
  184. package/dist/accessControl.d.ts +0 -79
  185. package/dist/accessControl.js +0 -1270
  186. package/dist/accessControl.js.map +0 -1
  187. package/dist/clientHelpers.d.ts +0 -48
  188. package/dist/clientHelpers.js +0 -137
  189. package/dist/clientHelpers.js.map +0 -1
  190. package/dist/control-plane.d.ts +0 -69
  191. package/dist/control-plane.js +0 -674
  192. package/dist/control-plane.js.map +0 -1
  193. package/dist/functionSurface.d.ts +0 -144
  194. package/dist/functionSurface.js +0 -1227
  195. package/dist/functionSurface.js.map +0 -1
  196. package/dist/functionSurfaceClient.d.ts +0 -8
  197. package/dist/functionSurfaceClient.js +0 -1227
  198. package/dist/functionSurfaceClient.js.map +0 -1
  199. package/dist/graphIntel.d.ts +0 -4
  200. package/dist/graphIntel.js +0 -3
  201. package/dist/graphIntel.js.map +0 -1
  202. package/dist/graphIntelligence.d.ts +0 -2
  203. package/dist/graphIntelligence.js +0 -47
  204. package/dist/graphIntelligence.js.map +0 -1
  205. package/dist/infisicalRuntime.d.ts +0 -43
  206. package/dist/infisicalRuntime.js +0 -346
  207. package/dist/infisicalRuntime.js.map +0 -1
  208. package/dist/secrets.d.ts +0 -1
  209. package/dist/secrets.js +0 -3
  210. package/dist/secrets.js.map +0 -1
@@ -1,20 +1,19 @@
1
- import { FunctionSurfaceInput, FunctionSurfaceResult } from '../functionSurface.js';
1
+ import { L as LucernClientConfig, a as FunctionSurfaceInput, b as FunctionSurfaceResult } from '../client-EiG9nJOY.js';
2
2
  import { PlatformGatewaySuccess } from '../coreClient.js';
3
3
  import { JsonObject, TopicIdentifierInput, WorkflowLensRecord, ListResult, WorkflowLensBindingRecord, WorkflowBranchRecord, WorkflowWorktreeRecord, ListWorktreesResponse, PushWorktreeResponse, OpenPullRequestResponse } from '../types.js';
4
4
  import { LensPromptTemplateReference, LensWorkflowTemplate, LensTaskTemplate } from '../contracts/lens-workflow.contract.js';
5
5
  import { WorkflowLensPerspectiveType, WorkflowLensStatus, AddWorktreeInput, WorkflowWorktreeStatus, UpdateWorktreeTargetsInput, MergeInput } from '../workflowClient.js';
6
- import { LucernClientConfig } from '../client.js';
7
6
  import * as lensFilter_contract from '@lucern/contracts/lens-filter.contract';
8
7
  export { lensFilter_contract as lensFilterContracts };
9
8
  import * as lensWorkflow_contract from '@lucern/contracts/lens-workflow.contract';
10
9
  export { lensWorkflow_contract as lensWorkflowContracts };
11
10
  import * as toolContracts from '@lucern/contracts/tool-contracts';
12
11
  export { toolContracts as toolSchemas };
12
+ import '../audiencesClient.js';
13
13
  import '../authContext.js';
14
14
  import '../contracts/auth-session.contract.js';
15
15
  import '../contracts/workflow-runtime.contract.js';
16
16
  import '../contracts/lens-filter.contract.js';
17
- import '../audiencesClient.js';
18
17
  import '../schemaClient.js';
19
18
  import '../harnessClient.js';
20
19
  import '../adminClient.js';
@@ -25,9 +24,9 @@ import '../authDeviceClient.js';
25
24
  import '../mcpClient.js';
26
25
  import '@lucern/contracts/mcp-gateway-boundary.contract';
27
26
  import '../identityClient.js';
28
- import '../control-plane.js';
29
- import '../accessControl.js';
30
27
  import '../packsClient.js';
28
+ import '../customTools.js';
29
+ import 'zod';
31
30
  import '../toolRegistryClient.js';
32
31
  import '../telemetryClient.js';
33
32
  import '../jobsClient.js';
@@ -38,7 +37,6 @@ import '../ontologyLinksClient.js';
38
37
  import '../orgGraphSearchClient.js';
39
38
  import '../graphRecommendationsClient.js';
40
39
  import '../graphAnalysisClient.js';
41
- import '@lucern/contracts';
42
40
  import '../embeddingsClient.js';
43
41
  import '../policyClient.js';
44
42
  import '../ontologyClient.js';
@@ -47,8 +45,6 @@ import '../topicsClient.js';
47
45
  import '../answersClient.js';
48
46
  import '../auditClient.js';
49
47
  import '../contextClient.js';
50
- import '../customTools.js';
51
- import 'zod';
52
48
  import '../decisionsClient.js';
53
49
  import '../evidenceClient.js';
54
50
  import '../eventingClient.js';
@@ -56,12 +52,11 @@ import '../graphClient.js';
56
52
  import '../learningClient.js';
57
53
  import '../reportsClient.js';
58
54
  import '../sourcesClient.js';
59
- import '../clientHelpers.js';
60
55
 
61
56
  type LensesClientConfig = LucernClientConfig;
62
57
  type LensesClient = ReturnType<typeof createLensesClient>;
63
58
  declare function createLensesClient(config?: LensesClientConfig): {
64
- createLens: (input: {
59
+ createLens: (input: Parameters<(input: {
65
60
  name: string;
66
61
  workspaceId?: string;
67
62
  topicId?: string;
@@ -71,30 +66,30 @@ declare function createLensesClient(config?: LensesClientConfig): {
71
66
  workflowTemplates?: LensWorkflowTemplate[];
72
67
  taskTemplates?: LensTaskTemplate[];
73
68
  filterCriteria?: JsonObject;
74
- } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
75
- listLenses: (query: {
69
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>>[0]) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
70
+ listLenses: (query: Parameters<(query: {
76
71
  workspaceId?: string;
77
72
  topicId?: string;
78
73
  status?: WorkflowLensStatus;
79
74
  perspectiveType?: WorkflowLensPerspectiveType;
80
- } & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
81
- applyLensToTopic: (input: {
75
+ } & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>>[0]) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
76
+ applyLensToTopic: (input: Parameters<(input: {
82
77
  lensId: string;
83
78
  topicId?: string;
84
79
  metadata?: JsonObject;
85
- } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
86
- removeLensFromTopic: (input: {
80
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
81
+ removeLensFromTopic: (input: Parameters<(input: {
87
82
  lensId: string;
88
83
  topicId?: string;
89
- } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
84
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
90
85
  raw: {
91
- createBranch: (input: {
86
+ createBranch(input: Parameters<(input: {
92
87
  name: string;
93
88
  topicId?: string;
94
89
  description?: string;
95
90
  metadata?: JsonObject;
96
- } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
97
- createLens: (input: {
91
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowBranchRecord>>;
92
+ createLens(input: Parameters<(input: {
98
93
  name: string;
99
94
  workspaceId?: string;
100
95
  topicId?: string;
@@ -104,22 +99,22 @@ declare function createLensesClient(config?: LensesClientConfig): {
104
99
  workflowTemplates?: LensWorkflowTemplate[];
105
100
  taskTemplates?: LensTaskTemplate[];
106
101
  filterCriteria?: JsonObject;
107
- } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
108
- listLenses: (query: {
102
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensRecord>>;
103
+ listLenses(query: Parameters<(query: {
109
104
  workspaceId?: string;
110
105
  topicId?: string;
111
106
  status?: WorkflowLensStatus;
112
107
  perspectiveType?: WorkflowLensPerspectiveType;
113
- } & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
114
- applyLensToTopic: (input: {
108
+ } & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>>[0]): Promise<PlatformGatewaySuccess<ListResult<WorkflowLensRecord, "lenses">>>;
109
+ applyLensToTopic(input: Parameters<(input: {
115
110
  lensId: string;
116
111
  topicId?: string;
117
112
  metadata?: JsonObject;
118
- } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
119
- removeLensFromTopic: (input: {
113
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
114
+ removeLensFromTopic(input: Parameters<(input: {
120
115
  lensId: string;
121
116
  topicId?: string;
122
- } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
117
+ } & TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<WorkflowLensBindingRecord>>;
123
118
  create(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
124
119
  [x: string]: unknown;
125
120
  }>>;
@@ -144,30 +139,6 @@ declare function createLensesClient(config?: LensesClientConfig): {
144
139
  [x: string]: unknown;
145
140
  }[];
146
141
  }>>;
147
- listByTopic(query: Parameters<(query: {
148
- topicId?: string;
149
- branchId?: string;
150
- status?: WorkflowWorktreeStatus;
151
- groupBy?: "campaign" | "lane" | "flat";
152
- lane?: string;
153
- campaign?: number;
154
- limit?: number;
155
- } & TopicIdentifierInput) => Promise<PlatformGatewaySuccess<ListResult<WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<PlatformGatewaySuccess<{
156
- [x: string]: unknown;
157
- } & {
158
- cursor?: string;
159
- total?: number;
160
- } & {
161
- worktrees?: {
162
- [x: string]: unknown;
163
- }[];
164
- }>>;
165
- findByPairedSprint(input: {
166
- sprintId: string;
167
- topicId?: string;
168
- projectId?: string;
169
- limit?: number;
170
- }): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
171
142
  activate(worktreeId: string): Promise<PlatformGatewaySuccess<{
172
143
  [x: string]: unknown;
173
144
  }>>;
@@ -180,34 +151,36 @@ declare function createLensesClient(config?: LensesClientConfig): {
180
151
  updateTargets(input: Parameters<(input: UpdateWorktreeTargetsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<WorkflowWorktreeRecord>>>[0]): Promise<PlatformGatewaySuccess<{
181
152
  [x: string]: unknown;
182
153
  }>>;
183
- listAll: (query?: {
154
+ listAll(query?: Parameters<(query?: {
184
155
  status?: WorkflowWorktreeStatus;
185
156
  groupBy?: "campaign" | "lane" | "flat";
186
157
  lane?: string;
187
158
  campaign?: number;
188
159
  limit?: number;
189
- }) => Promise<PlatformGatewaySuccess<ListWorktreesResponse>>;
160
+ }) => Promise<PlatformGatewaySuccess<ListWorktreesResponse>>>[0]): Promise<PlatformGatewaySuccess<ListWorktreesResponse>>;
190
161
  merge(worktreeId: string, input: MergeInput): Promise<PlatformGatewaySuccess<{
191
162
  [x: string]: unknown;
192
163
  }>>;
193
- push: (worktreeId: string, input: {
164
+ push(worktreeId: string, input: Parameters<(worktreeId: string, input: {
194
165
  targetContext: string;
195
166
  beliefIds?: string[];
196
167
  metadata?: JsonObject;
197
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
198
- openPullRequest: (worktreeId: string, input: {
168
+ }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PushWorktreeResponse>>>[1]): Promise<PlatformGatewaySuccess<PushWorktreeResponse>>;
169
+ openPullRequest(worktreeId: string, input: Parameters<(worktreeId: string, input: {
199
170
  summary: string;
200
171
  reviewers?: string[];
201
172
  status?: "pending_review" | "changes_requested" | "approved" | "blocked";
202
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
173
+ }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>>[1]): Promise<PlatformGatewaySuccess<OpenPullRequestResponse>>;
203
174
  pipelineSnapshot(topicId: string): FunctionSurfaceResult<unknown>;
204
- complete: (input: {
175
+ complete(input: Parameters<(input: {
205
176
  worktreeId: string;
206
177
  keyFindings?: string[];
207
178
  decisionsReached?: string[];
208
179
  nextSteps?: string[];
209
180
  }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
210
181
  [x: string]: unknown;
182
+ }>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
183
+ [x: string]: unknown;
211
184
  }>>;
212
185
  advancePhase(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
213
186
  [x: string]: unknown;
@@ -215,18 +188,22 @@ declare function createLensesClient(config?: LensesClientConfig): {
215
188
  setPhase(worktreeId: string, phase: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
216
189
  [x: string]: unknown;
217
190
  }>>;
218
- patchState: (input: {
191
+ patchState(input: Parameters<(input: {
219
192
  worktreeId: string;
220
193
  patch: {
221
194
  [x: string]: unknown;
222
195
  };
223
196
  }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
224
197
  [x: string]: unknown;
198
+ }>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
199
+ [x: string]: unknown;
225
200
  }>>;
226
- bulkCreate: (input: {
201
+ bulkCreate(input: Parameters<(input: {
227
202
  worktrees: unknown[];
228
203
  }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
229
204
  [x: string]: unknown;
205
+ }>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
206
+ [x: string]: unknown;
230
207
  }>>;
231
208
  };
232
209
  };