@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.
- package/CHANGELOG.md +0 -12
- package/README.md +4 -110
- package/dist/adminClient.d.ts +8 -8
- package/dist/adminClient.js +40 -70
- package/dist/adminClient.js.map +1 -1
- package/dist/answersClient.js +12 -49
- package/dist/answersClient.js.map +1 -1
- package/dist/audience/index.d.ts +1 -2
- package/dist/audience/index.js +3 -1
- package/dist/audience/index.js.map +1 -1
- package/dist/audiencesClient.d.ts +16 -16
- package/dist/audiencesClient.js +91 -125
- package/dist/audiencesClient.js.map +1 -1
- package/dist/auditClient.js +14 -53
- package/dist/auditClient.js.map +1 -1
- package/dist/authContext.d.ts +2 -2
- package/dist/authContext.js +3 -4
- package/dist/authContext.js.map +1 -1
- package/dist/authDeviceClient.js +3 -16
- package/dist/authDeviceClient.js.map +1 -1
- package/dist/beliefs/index.d.ts +4 -9
- package/dist/beliefs/index.js +1305 -1943
- package/dist/beliefs/index.js.map +1 -1
- package/dist/beliefsClient.d.ts +2 -2
- package/dist/beliefsClient.js +23 -54
- package/dist/beliefsClient.js.map +1 -1
- package/dist/boundaryClientSurface.js +3 -10
- package/dist/boundaryClientSurface.js.map +1 -1
- package/dist/client-EiG9nJOY.d.ts +2911 -0
- package/dist/client.d.ts +41 -3038
- package/dist/client.js +1305 -1943
- package/dist/client.js.map +1 -1
- package/dist/contextClient.d.ts +3 -4
- package/dist/contextClient.js +30 -79
- package/dist/contextClient.js.map +1 -1
- package/dist/contextFacade.js +16 -25
- package/dist/contextFacade.js.map +1 -1
- package/dist/contextPackCompiler.js +30 -19
- package/dist/contextPackCompiler.js.map +1 -1
- package/dist/contextPackPolicy.js +17 -7
- package/dist/contextPackPolicy.js.map +1 -1
- package/dist/contextTypes.d.ts +0 -2
- package/dist/contracts/api-enums.contract.d.ts +2 -2
- package/dist/contracts/api-enums.contract.js +1 -6
- package/dist/contracts/api-enums.contract.js.map +1 -1
- package/dist/contracts/auth-session.contract.d.ts +1 -1
- package/dist/contracts/auth-session.contract.js +2 -14
- package/dist/contracts/auth-session.contract.js.map +1 -1
- package/dist/contracts/index.js +6 -30
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/lens-filter.contract.js +3 -4
- package/dist/contracts/lens-filter.contract.js.map +1 -1
- package/dist/contracts/lens-workflow.contract.js +3 -4
- package/dist/contracts/lens-workflow.contract.js.map +1 -1
- package/dist/contracts/lensFilter.js +3 -4
- package/dist/contracts/lensFilter.js.map +1 -1
- package/dist/contracts/lensWorkflow.js +3 -4
- package/dist/contracts/lensWorkflow.js.map +1 -1
- package/dist/contracts/mcpTools.js +0 -6
- package/dist/contracts/mcpTools.js.map +1 -1
- package/dist/contradictions/index.d.ts +3 -8
- package/dist/contradictions/index.js +1305 -1943
- package/dist/contradictions/index.js.map +1 -1
- package/dist/coreClient.d.ts +2 -19
- package/dist/coreClient.js +15 -50
- package/dist/coreClient.js.map +1 -1
- package/dist/decisions/index.d.ts +13 -18
- package/dist/decisions/index.js +1305 -1943
- package/dist/decisions/index.js.map +1 -1
- package/dist/decisionsClient.d.ts +12 -4
- package/dist/decisionsClient.js +35 -60
- package/dist/decisionsClient.js.map +1 -1
- package/dist/edges/index.d.ts +86 -31
- package/dist/edges/index.js +1305 -1943
- package/dist/edges/index.js.map +1 -1
- package/dist/embeddingsClient.js +18 -60
- package/dist/embeddingsClient.js.map +1 -1
- package/dist/eventingClient.js +18 -60
- package/dist/eventingClient.js.map +1 -1
- package/dist/events.js +3 -6
- package/dist/events.js.map +1 -1
- package/dist/eventsCore.d.ts +1 -1
- package/dist/eventsCore.js +15 -50
- package/dist/eventsCore.js.map +1 -1
- package/dist/evidence/index.d.ts +3 -8
- package/dist/evidence/index.js +1305 -1943
- package/dist/evidence/index.js.map +1 -1
- package/dist/evidenceClient.js +15 -50
- package/dist/evidenceClient.js.map +1 -1
- package/dist/facade/context.d.ts +1 -2
- package/dist/facade/context.js +16 -25
- package/dist/facade/context.js.map +1 -1
- package/dist/gatewayFacades.d.ts +48 -90
- package/dist/gatewayFacades.js +128 -251
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/graphAnalysisClient.d.ts +1 -53
- package/dist/graphAnalysisClient.js +17 -81
- package/dist/graphAnalysisClient.js.map +1 -1
- package/dist/graphClient.d.ts +13 -6
- package/dist/graphClient.js +39 -65
- package/dist/graphClient.js.map +1 -1
- package/dist/graphRecommendationsClient.js +17 -54
- package/dist/graphRecommendationsClient.js.map +1 -1
- package/dist/graphStateClassifierClient.js +19 -60
- package/dist/graphStateClassifierClient.js.map +1 -1
- package/dist/harnessClient.d.ts +24 -13
- package/dist/harnessClient.js +41 -61
- package/dist/harnessClient.js.map +1 -1
- package/dist/identityClient.d.ts +9 -27
- package/dist/identityClient.js +39 -203
- package/dist/identityClient.js.map +1 -1
- package/dist/index.d.ts +6 -15
- package/dist/index.js +1171 -2256
- package/dist/index.js.map +1 -1
- package/dist/jobsClient.js +19 -60
- package/dist/jobsClient.js.map +1 -1
- package/dist/learningClient.d.ts +6 -6
- package/dist/learningClient.js +43 -78
- package/dist/learningClient.js.map +1 -1
- package/dist/lenses/index.d.ts +37 -60
- package/dist/lenses/index.js +1305 -1943
- package/dist/lenses/index.js.map +1 -1
- package/dist/mcpClient.js +13 -51
- package/dist/mcpClient.js.map +1 -1
- package/dist/modelRuntimeClient.js +18 -60
- package/dist/modelRuntimeClient.js.map +1 -1
- package/dist/nodes/index.d.ts +22 -49
- package/dist/nodes/index.js +1305 -1943
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.d.ts +31 -37
- package/dist/ontologies/index.js +1305 -1943
- package/dist/ontologies/index.js.map +1 -1
- package/dist/ontologyClient.d.ts +25 -17
- package/dist/ontologyClient.js +41 -86
- package/dist/ontologyClient.js.map +1 -1
- package/dist/ontologyLinksClient.js +19 -60
- package/dist/ontologyLinksClient.js.map +1 -1
- package/dist/orgGraphSearchClient.js +14 -53
- package/dist/orgGraphSearchClient.js.map +1 -1
- package/dist/packRuntime.d.ts +1 -2
- package/dist/packsClient.d.ts +23 -9
- package/dist/packsClient.js +47 -62
- package/dist/packsClient.js.map +1 -1
- package/dist/policyClient.d.ts +10 -11
- package/dist/policyClient.js +26 -71
- package/dist/policyClient.js.map +1 -1
- package/dist/questions/index.d.ts +3 -8
- package/dist/questions/index.js +1305 -1943
- package/dist/questions/index.js.map +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/reportsClient.d.ts +7 -7
- package/dist/reportsClient.js +52 -107
- package/dist/reportsClient.js.map +1 -1
- package/dist/schemaClient.d.ts +3 -3
- package/dist/schemaClient.js +30 -63
- package/dist/schemaClient.js.map +1 -1
- package/dist/sdkSurface.d.ts +3 -6
- package/dist/sdkSurface.js +6 -10
- package/dist/sdkSurface.js.map +1 -1
- package/dist/sourcesClient.js +15 -50
- package/dist/sourcesClient.js.map +1 -1
- package/dist/telemetryClient.js +19 -60
- package/dist/telemetryClient.js.map +1 -1
- package/dist/toolRegistryClient.d.ts +2 -10
- package/dist/toolRegistryClient.js +20 -73
- package/dist/toolRegistryClient.js.map +1 -1
- package/dist/topics/index.d.ts +8 -19
- package/dist/topics/index.js +1305 -1945
- package/dist/topics/index.js.map +1 -1
- package/dist/topicsClient.d.ts +0 -2
- package/dist/topicsClient.js +20 -60
- package/dist/topicsClient.js.map +1 -1
- package/dist/types.d.ts +0 -17
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/workflowClient.d.ts +40 -58
- package/dist/workflowClient.js +54 -66
- package/dist/workflowClient.js.map +1 -1
- package/dist/worktrees/index.d.ts +33 -54
- package/dist/worktrees/index.js +1305 -1943
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +3 -17
- package/dist/accessControl.d.ts +0 -79
- package/dist/accessControl.js +0 -1270
- package/dist/accessControl.js.map +0 -1
- package/dist/clientHelpers.d.ts +0 -48
- package/dist/clientHelpers.js +0 -137
- package/dist/clientHelpers.js.map +0 -1
- package/dist/control-plane.d.ts +0 -69
- package/dist/control-plane.js +0 -674
- package/dist/control-plane.js.map +0 -1
- package/dist/functionSurface.d.ts +0 -144
- package/dist/functionSurface.js +0 -1227
- package/dist/functionSurface.js.map +0 -1
- package/dist/functionSurfaceClient.d.ts +0 -8
- package/dist/functionSurfaceClient.js +0 -1227
- package/dist/functionSurfaceClient.js.map +0 -1
- package/dist/graphIntel.d.ts +0 -4
- package/dist/graphIntel.js +0 -3
- package/dist/graphIntel.js.map +0 -1
- package/dist/graphIntelligence.d.ts +0 -2
- package/dist/graphIntelligence.js +0 -47
- package/dist/graphIntelligence.js.map +0 -1
- package/dist/infisicalRuntime.d.ts +0 -43
- package/dist/infisicalRuntime.js +0 -346
- package/dist/infisicalRuntime.js.map +0 -1
- package/dist/secrets.d.ts +0 -1
- package/dist/secrets.js +0 -3
- package/dist/secrets.js.map +0 -1
package/dist/lenses/index.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { FunctionSurfaceInput, FunctionSurfaceResult } from '../
|
|
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
|
|
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
|
};
|