@openchamber/web 1.21.1 → 1.22.1
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/dist/assets/{CodeMirrorCommentWidgets-BGj8TJxW.js → CodeMirrorCommentWidgets-BO_2OW4E.js} +1 -1
- package/dist/assets/DiffView-CNnDxRmO.js +4 -0
- package/dist/assets/DirtyBranchSwitchDialog-jADfXQnR.js +1 -0
- package/dist/assets/FilesView-8wdiG2mj.js +17 -0
- package/dist/assets/GitView-Cv2xH-S6.js +6 -0
- package/dist/assets/{JsonTreeView-CggOsLot.js → JsonTreeView-DUiIpERC.js} +1 -1
- package/dist/assets/LinearIssuesView-CoZ7pQN5.js +1 -0
- package/dist/assets/MarkdownImageGallery-DffjmciG.js +1 -0
- package/dist/assets/MarkdownRendererImpl-DxqdYDAx.js +12 -0
- package/dist/assets/OnboardingScreen-CTZe6HZn.js +1 -0
- package/dist/assets/{PatchDiff-DJYMUiXA.js → PatchDiff-BymkP9JA.js} +1 -1
- package/dist/assets/{PierreDiffViewer-CY2bx_SB.js → PierreDiffViewer-BvwtCxW4.js} +3 -3
- package/dist/assets/{PlanView-PkiOY_9H.js → PlanView-C1qvAm7m.js} +3 -3
- package/dist/assets/SettingsView-xGONHFGS.js +28 -0
- package/dist/assets/{SettingsWindow-oyOm2fHR.js → SettingsWindow-COzgfFxM.js} +1 -1
- package/dist/assets/{ToolOutputDialog-lKyeQTPL.js → ToolOutputDialog-Dlhh_-oe.js} +6 -6
- package/dist/assets/ToolPartDiffPreview-b9joNtXH.js +8 -0
- package/dist/assets/{VirtualizedFileDiff-BP7ebDFF.js → VirtualizedFileDiff-vqW3KKo5.js} +1 -1
- package/dist/assets/WalkthroughView-D-HFgdmM.js +4 -0
- package/dist/assets/{computeVirtualFileMetrics-CZ0xPeaT.js → computeVirtualFileMetrics-DUnyszhW.js} +1 -1
- package/dist/assets/{contextPanelEmbeddedChat-C9abMBTb.js → contextPanelEmbeddedChat-CV-DwAiX.js} +1 -1
- package/dist/assets/{de-CEoCz3j6.js → de-Cv_4FoXm.js} +6 -5
- package/dist/assets/es-BIWNEbnS.js +16 -0
- package/dist/assets/{fr-CS7Csln9.js → fr-SD3OfMHJ.js} +6 -5
- package/dist/assets/index-CHUT_bDS.css +1 -0
- package/dist/assets/index-DDInLQDd.js +40 -0
- package/dist/assets/{index-CaPAjwXQ.js → index-DLiD86ge.js} +1 -1
- package/dist/assets/{isDiffPlainText-ZBvDxhVB.js → isDiffPlainText-TNageFjy.js} +1 -1
- package/dist/assets/{isFilePlainText-DiLRrkJr.js → isFilePlainText-JPmZOYSp.js} +1 -1
- package/dist/assets/{ja-vnwqLcx6.js → ja-D7I9HofF.js} +7 -6
- package/dist/assets/{ko-CXuSfZv5.js → ko-BsVJM_PQ.js} +7 -6
- package/dist/assets/{main-D5RWr6sJ.js → main-DCB4JgVe.js} +2 -2
- package/dist/assets/main-De8Z5w49.js +928 -0
- package/dist/assets/markdownCore-BoQVG5-a.js +3 -0
- package/dist/assets/{miniChat-CqR3icsk.js → miniChat-BtV7N5OF.js} +2 -2
- package/dist/assets/{mobile-RN_UTTlB.js → mobile-DZV_sfX7.js} +2 -2
- package/dist/assets/{patchFileDiff-CjRR5ESs.js → patchFileDiff-Chmiz6hq.js} +4 -4
- package/dist/assets/{pl-BJxry0Mi.js → pl-XR9Bs8Be.js} +6 -5
- package/dist/assets/pt-BR-Due4be8g.js +16 -0
- package/dist/assets/{renderElectronMiniChatApp-1wC94fQK.js → renderElectronMiniChatApp-8tXADjfl.js} +2 -2
- package/dist/assets/renderMobileApp-Cji7Hma5.js +25 -0
- package/dist/assets/runtimeEndpointReset-gWt3Lb5D.js +16 -0
- package/dist/assets/scheduledTasksApi-9e-UX6im.js +1 -0
- package/dist/assets/{shikiHighlight-fGmFkxAM.js → shikiHighlight-CRpCl7UT.js} +1 -1
- package/dist/assets/tr-DBJcAv4y.js +7 -0
- package/dist/assets/uk-COYh2BaN.js +16 -0
- package/dist/assets/{useAppFontEffects-KP8_yiGW.js → useAppFontEffects-CCgvcQ6u.js} +178 -170
- package/dist/assets/useInlineCommentController-BkfXnjNZ.js +2 -0
- package/dist/assets/useRootScrollLock-KzOUytpn.js +1 -0
- package/dist/assets/{vendor-codemirror-language-data-DrTPkHl4.js → vendor-codemirror-language-data-BxpoC5Fp.js} +2 -2
- package/dist/assets/vendor-zod-DVWEh-IS.js +39 -0
- package/dist/assets/{web-components-DOXvU-tB.js → web-components-B6QgbmTo.js} +4 -4
- package/dist/assets/zh-CN-Cjk6lzhc.js +16 -0
- package/dist/assets/{zh-TW-Dv8yyhN1.js → zh-TW-Dk0dOg03.js} +6 -5
- package/dist/index.html +5 -5
- package/dist/mini-chat.html +4 -4
- package/dist/mobile.html +4 -4
- package/package.json +2 -2
- package/server/index.js +35 -4
- package/server/lib/agent-tool/runtime.js +2 -19
- package/server/lib/dev-tunnel/DOCUMENTATION.md +13 -4
- package/server/lib/dev-tunnel/runtime.js +4 -4
- package/server/lib/dev-tunnel/tunnel.test.js +20 -0
- package/server/lib/dictation/DOCUMENTATION.md +19 -6
- package/server/lib/dictation/local/model-catalog.js +220 -0
- package/server/lib/dictation/local/model-catalog.test.js +42 -0
- package/server/lib/dictation/local/sherpa-tts.js +41 -20
- package/server/lib/dictation/local/worker-process.js +2 -0
- package/server/lib/dictation/runtime.js +4 -0
- package/server/lib/dictation/service.js +27 -4
- package/server/lib/fs/DOCUMENTATION.md +4 -0
- package/server/lib/fs/routes.js +129 -0
- package/server/lib/fs/routes.test.js +219 -0
- package/server/lib/git/DOCUMENTATION.md +3 -1
- package/server/lib/git/routes.js +16 -0
- package/server/lib/git/service.js +97 -17
- package/server/lib/git/service.test.js +153 -0
- package/server/lib/linear/DOCUMENTATION.md +97 -0
- package/server/lib/linear/OAUTH-BROKER-HANDOFF.md +91 -0
- package/server/lib/linear/auth.js +436 -0
- package/server/lib/linear/auth.test.js +242 -0
- package/server/lib/linear/client.js +191 -0
- package/server/lib/linear/index.js +61 -0
- package/server/lib/linear/issues.js +499 -0
- package/server/lib/linear/issues.test.js +512 -0
- package/server/lib/linear/mapping.js +188 -0
- package/server/lib/linear/mapping.test.js +147 -0
- package/server/lib/linear/oauth.js +345 -0
- package/server/lib/linear/oauth.test.js +166 -0
- package/server/lib/linear/parse.js +23 -0
- package/server/lib/linear/routes.js +432 -0
- package/server/lib/linear/routes.test.js +661 -0
- package/server/lib/linear/status-runtime.js +64 -0
- package/server/lib/linear/status-runtime.test.js +167 -0
- package/server/lib/linear/status.js +280 -0
- package/server/lib/linear/status.test.js +271 -0
- package/server/lib/linear/teams.js +72 -0
- package/server/lib/linear/teams.test.js +94 -0
- package/server/lib/mcp-reconnect/DOCUMENTATION.md +55 -0
- package/server/lib/mcp-reconnect/runtime.js +122 -0
- package/server/lib/mcp-reconnect/runtime.test.js +140 -0
- package/server/lib/message-queue/DOCUMENTATION.md +148 -0
- package/server/lib/message-queue/runtime.js +818 -0
- package/server/lib/message-queue/runtime.test.js +426 -0
- package/server/lib/openchamber-sessions/routes.js +102 -0
- package/server/lib/openchamber-sessions/routes.test.js +88 -0
- package/server/lib/opencode/DOCUMENTATION.md +5 -1
- package/server/lib/opencode/core-routes.js +1 -0
- package/server/lib/opencode/feature-routes-runtime.js +5 -0
- package/server/lib/opencode/managed-plugin-config.js +35 -0
- package/server/lib/opencode/settings-runtime.js +2 -2
- package/server/lib/opencode/settings-runtime.test.js +29 -0
- package/server/lib/opencode/shutdown-runtime.js +2 -0
- package/server/lib/opencode/static-routes-runtime.js +3 -3
- package/server/lib/projects/project-config.js +33 -5
- package/server/lib/projects/project-config.test.js +85 -0
- package/server/lib/quota/DOCUMENTATION.md +2 -1
- package/server/lib/quota/credentials/providers.js +4 -0
- package/server/lib/quota/credentials/store.js +1 -1
- package/server/lib/quota/credentials/store.test.js +4 -4
- package/server/lib/quota/providers/exe-dev.js +75 -0
- package/server/lib/quota/providers/exe-dev.test.js +47 -0
- package/server/lib/quota/providers/index.js +7 -0
- package/server/lib/quota/providers/opencode-go.js +1 -0
- package/server/lib/quota/providers/opencode-go.test.js +5 -1
- package/server/lib/quota/routes.js +2 -0
- package/server/lib/relay/DOCUMENTATION.md +1 -1
- package/server/lib/relay/tunnel-host.js +3 -1
- package/server/lib/relay/tunnel-host.test.js +9 -1
- package/server/lib/scheduled-tasks/DOCUMENTATION.md +7 -0
- package/server/lib/security/request-security.js +21 -6
- package/server/lib/security/request-security.test.js +42 -8
- package/server/lib/session-assist/runtime.js +1 -0
- package/server/lib/session-goal/create.js +3 -1
- package/server/lib/session-goal/runtime.js +1 -0
- package/server/lib/small-model/DOCUMENTATION.md +4 -0
- package/server/lib/small-model/call.js +8 -2
- package/server/lib/small-model/call.test.js +23 -0
- package/server/lib/small-model/index.js +2 -1
- package/server/lib/small-model/routes.js +2 -1
- package/server/lib/system-prompt/runtime.js +2 -21
- package/server/lib/terminal/runtime.js +30 -7
- package/server/lib/tts/DOCUMENTATION.md +1 -0
- package/server/lib/tts/language-detect.js +210 -0
- package/server/lib/tts/language-detect.test.js +76 -0
- package/server/lib/tts/routes.js +23 -1
- package/server/lib/tts/routes.test.js +26 -0
- package/server/lib/ui-auth/ui-auth.js +4 -1
- package/server/lib/ui-auth/ui-auth.test.js +16 -0
- package/server/lib/walkthrough/index.js +1 -0
- package/dist/assets/CommitSection-DwGiXyjf.js +0 -1
- package/dist/assets/DiffView-Db6bjVv1.js +0 -4
- package/dist/assets/FilesView-DQOa7Lgz.js +0 -17
- package/dist/assets/GitView-CHzJxTi0.js +0 -6
- package/dist/assets/MarkdownImageGallery-DoZpaHev.js +0 -1
- package/dist/assets/MarkdownRendererImpl-B5Y5xCOz.js +0 -12
- package/dist/assets/OnboardingScreen-C98d69Fp.js +0 -1
- package/dist/assets/SettingsView-D-K3ELCM.js +0 -28
- package/dist/assets/ToolPartDiffPreview-C7kBQNAA.js +0 -8
- package/dist/assets/WalkthroughView-MuJodAHD.js +0 -4
- package/dist/assets/es-DwyXCqaL.js +0 -15
- package/dist/assets/index-CUKcHnUA.css +0 -1
- package/dist/assets/index-DIvDEKE-.js +0 -7
- package/dist/assets/main-DLlfDjQ_.js +0 -926
- package/dist/assets/markdownCore-CcTcLsQF.js +0 -3
- package/dist/assets/pt-BR-DxLmkhdv.js +0 -15
- package/dist/assets/renderMobileApp-ltva2Plg.js +0 -25
- package/dist/assets/runtimeEndpointReset-D6SmNZaP.js +0 -15
- package/dist/assets/scheduledTasksApi-mjMDet_H.js +0 -1
- package/dist/assets/tr-5Mk_hQ2Q.js +0 -6
- package/dist/assets/uk-ClgQjmlw.js +0 -15
- package/dist/assets/useInlineCommentController-HIjtuhxD.js +0 -2
- package/dist/assets/useRootScrollLock-BSiQ5F75.js +0 -1
- package/dist/assets/vendor-zod-BLfBSgBh.js +0 -39
- package/dist/assets/zh-CN-Ba6y8H-i.js +0 -15
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getLinearAuth,
|
|
3
|
+
getLinearAuthByWorkspaceId,
|
|
4
|
+
setLinearAuth,
|
|
5
|
+
clearLinearAuth,
|
|
6
|
+
isLinearAccessTokenStale,
|
|
7
|
+
} from './auth.js';
|
|
8
|
+
import { refreshAccessToken } from './oauth.js';
|
|
9
|
+
import { isPlainObject, readTrimmedString } from './parse.js';
|
|
10
|
+
|
|
11
|
+
const LINEAR_GRAPHQL_URL = 'https://api.linear.app/graphql';
|
|
12
|
+
const VIEWER_QUERY = '{ viewer { id name displayName email avatarUrl } organization { id name urlKey } }';
|
|
13
|
+
// Linear file URLs in GraphQL need this header or the browser cannot load
|
|
14
|
+
// uploads.linear.app images (comment screenshots, description images).
|
|
15
|
+
const LINEAR_PUBLIC_FILE_URL_TTL_SECONDS = '3600';
|
|
16
|
+
|
|
17
|
+
export class LinearApiError extends Error {
|
|
18
|
+
constructor(message, status, options = {}) {
|
|
19
|
+
super(message);
|
|
20
|
+
this.name = 'LinearApiError';
|
|
21
|
+
this.status = status;
|
|
22
|
+
this.userError = options.userError === true;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function readGraphqlError(payload) {
|
|
27
|
+
const errors = Array.isArray(payload.errors) ? payload.errors : [];
|
|
28
|
+
const first = errors.length > 0 && isPlainObject(errors[0]) ? errors[0] : null;
|
|
29
|
+
if (!first) {
|
|
30
|
+
return { message: '', userError: false, status: 502 };
|
|
31
|
+
}
|
|
32
|
+
const extensions = isPlainObject(first.extensions) ? first.extensions : null;
|
|
33
|
+
const presentable = extensions ? readTrimmedString(extensions.userPresentableMessage) : '';
|
|
34
|
+
let constraint = '';
|
|
35
|
+
const validationErrors = extensions && Array.isArray(extensions.validationErrors)
|
|
36
|
+
? extensions.validationErrors
|
|
37
|
+
: [];
|
|
38
|
+
for (const entry of validationErrors) {
|
|
39
|
+
if (!isPlainObject(entry) || !isPlainObject(entry.constraints)) continue;
|
|
40
|
+
for (const value of Object.values(entry.constraints)) {
|
|
41
|
+
const text = readTrimmedString(value);
|
|
42
|
+
if (text) {
|
|
43
|
+
constraint = text;
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (constraint) break;
|
|
48
|
+
}
|
|
49
|
+
const message = presentable || constraint || readTrimmedString(first.message);
|
|
50
|
+
const code = extensions ? readTrimmedString(extensions.code) : '';
|
|
51
|
+
const userError = extensions?.userError === true
|
|
52
|
+
|| code === 'INVALID_INPUT'
|
|
53
|
+
|| code === 'INPUT_ERROR'
|
|
54
|
+
|| /^entity not found/i.test(message)
|
|
55
|
+
|| /^argument validation/i.test(message);
|
|
56
|
+
return {
|
|
57
|
+
message,
|
|
58
|
+
userError,
|
|
59
|
+
status: userError ? 400 : 502,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function readIdentity(payload) {
|
|
64
|
+
const data = isPlainObject(payload) ? payload.data : null;
|
|
65
|
+
const viewer = isPlainObject(data) ? data.viewer : null;
|
|
66
|
+
if (!isPlainObject(viewer) || !readTrimmedString(viewer.id)) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
const organization = isPlainObject(data) ? data.organization : null;
|
|
70
|
+
const organizationId = isPlainObject(organization) ? readTrimmedString(organization.id) : '';
|
|
71
|
+
const organizationName = isPlainObject(organization) ? readTrimmedString(organization.name) : '';
|
|
72
|
+
return {
|
|
73
|
+
user: {
|
|
74
|
+
id: viewer.id.trim(),
|
|
75
|
+
name: readTrimmedString(viewer.name) || null,
|
|
76
|
+
displayName: readTrimmedString(viewer.displayName) || null,
|
|
77
|
+
email: readTrimmedString(viewer.email) || null,
|
|
78
|
+
avatarUrl: readTrimmedString(viewer.avatarUrl) || null,
|
|
79
|
+
},
|
|
80
|
+
organization: organizationId && organizationName
|
|
81
|
+
? {
|
|
82
|
+
id: organizationId,
|
|
83
|
+
name: organizationName,
|
|
84
|
+
urlKey: readTrimmedString(organization.urlKey) || null,
|
|
85
|
+
}
|
|
86
|
+
: null,
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export async function fetchLinearGraphql(accessToken, query, variables) {
|
|
91
|
+
const token = readTrimmedString(accessToken);
|
|
92
|
+
if (!token) {
|
|
93
|
+
throw new LinearApiError('Linear is not connected', 401);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const body = { query };
|
|
97
|
+
if (isPlainObject(variables)) {
|
|
98
|
+
body.variables = variables;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
const response = await fetch(LINEAR_GRAPHQL_URL, {
|
|
102
|
+
method: 'POST',
|
|
103
|
+
headers: {
|
|
104
|
+
Accept: 'application/json',
|
|
105
|
+
'Content-Type': 'application/json',
|
|
106
|
+
Authorization: `Bearer ${token}`,
|
|
107
|
+
'public-file-urls-expire-in': LINEAR_PUBLIC_FILE_URL_TTL_SECONDS,
|
|
108
|
+
},
|
|
109
|
+
body: JSON.stringify(body),
|
|
110
|
+
});
|
|
111
|
+
const payload = await response.json().catch(() => null);
|
|
112
|
+
if (response.status === 401) {
|
|
113
|
+
throw new LinearApiError('Linear token expired or revoked', 401);
|
|
114
|
+
}
|
|
115
|
+
if (!response.ok) {
|
|
116
|
+
throw new LinearApiError(`Linear GraphQL request failed (${response.status})`, response.status);
|
|
117
|
+
}
|
|
118
|
+
if (!isPlainObject(payload)) {
|
|
119
|
+
throw new LinearApiError('Linear GraphQL response was not JSON', 502);
|
|
120
|
+
}
|
|
121
|
+
const data = isPlainObject(payload.data) ? payload.data : null;
|
|
122
|
+
if (!data) {
|
|
123
|
+
const graphqlError = readGraphqlError(payload);
|
|
124
|
+
throw new LinearApiError(
|
|
125
|
+
graphqlError.message || 'Linear GraphQL response did not include data',
|
|
126
|
+
graphqlError.status,
|
|
127
|
+
{ userError: graphqlError.userError },
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
return data;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export async function fetchLinearIdentity(accessToken) {
|
|
134
|
+
const data = await fetchLinearGraphql(accessToken, VIEWER_QUERY);
|
|
135
|
+
const identity = readIdentity({ data });
|
|
136
|
+
if (!identity) {
|
|
137
|
+
throw new LinearApiError('Linear GraphQL response did not include a viewer', 502);
|
|
138
|
+
}
|
|
139
|
+
return identity;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
const inFlightRefreshByWorkspace = new Map();
|
|
143
|
+
|
|
144
|
+
async function refreshWorkspaceAuth(auth) {
|
|
145
|
+
const tokens = await refreshAccessToken(auth.refreshToken);
|
|
146
|
+
const next = setLinearAuth({
|
|
147
|
+
accessToken: tokens.accessToken,
|
|
148
|
+
refreshToken: tokens.refreshToken || auth.refreshToken,
|
|
149
|
+
tokenType: tokens.tokenType,
|
|
150
|
+
expiresAt: tokens.expiresAt,
|
|
151
|
+
scope: tokens.scope || auth.scope,
|
|
152
|
+
user: auth.user,
|
|
153
|
+
organization: auth.organization,
|
|
154
|
+
workspaceId: auth.workspaceId,
|
|
155
|
+
}, { activate: false });
|
|
156
|
+
return next.accessToken;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export async function getValidLinearAccessToken(workspaceId) {
|
|
160
|
+
const auth = workspaceId
|
|
161
|
+
? getLinearAuthByWorkspaceId(workspaceId)
|
|
162
|
+
: getLinearAuth();
|
|
163
|
+
if (!auth?.accessToken) {
|
|
164
|
+
return null;
|
|
165
|
+
}
|
|
166
|
+
if (!isLinearAccessTokenStale(auth.expiresAt)) {
|
|
167
|
+
return auth.accessToken;
|
|
168
|
+
}
|
|
169
|
+
if (!auth.refreshToken) {
|
|
170
|
+
clearLinearAuth(auth.workspaceId);
|
|
171
|
+
return null;
|
|
172
|
+
}
|
|
173
|
+
const key = auth.workspaceId;
|
|
174
|
+
const pending = inFlightRefreshByWorkspace.get(key);
|
|
175
|
+
if (pending) {
|
|
176
|
+
return pending;
|
|
177
|
+
}
|
|
178
|
+
const promise = refreshWorkspaceAuth(auth)
|
|
179
|
+
.catch((error) => {
|
|
180
|
+
if (error?.code === 'INVALID_GRANT' || error?.status === 400 || error?.status === 401) {
|
|
181
|
+
clearLinearAuth(auth.workspaceId);
|
|
182
|
+
return null;
|
|
183
|
+
}
|
|
184
|
+
throw error;
|
|
185
|
+
})
|
|
186
|
+
.finally(() => {
|
|
187
|
+
inFlightRefreshByWorkspace.delete(key);
|
|
188
|
+
});
|
|
189
|
+
inFlightRefreshByWorkspace.set(key, promise);
|
|
190
|
+
return promise;
|
|
191
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export {
|
|
2
|
+
getLinearAuth,
|
|
3
|
+
getLinearAuthByWorkspaceId,
|
|
4
|
+
getLinearAuthWorkspaces,
|
|
5
|
+
setLinearAuth,
|
|
6
|
+
activateLinearAuth,
|
|
7
|
+
clearLinearAuth,
|
|
8
|
+
toLinearPublicStatus,
|
|
9
|
+
getLinearClientId,
|
|
10
|
+
getLinearClientSecret,
|
|
11
|
+
getLinearScopes,
|
|
12
|
+
getLinearBrokerUrl,
|
|
13
|
+
getLinearRedirectUri,
|
|
14
|
+
isLinearAccessTokenStale,
|
|
15
|
+
getLinearAuthFilePath,
|
|
16
|
+
getLinearSessionCommentsEnabled,
|
|
17
|
+
setLinearSessionCommentsEnabled,
|
|
18
|
+
DEFAULT_LINEAR_CLIENT_ID_VALUE,
|
|
19
|
+
} from './auth.js';
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
startAuthorization,
|
|
23
|
+
consumeAuthorizationCallback,
|
|
24
|
+
pollAuthorizationBroker,
|
|
25
|
+
completeAuthorizationBroker,
|
|
26
|
+
refreshAccessToken,
|
|
27
|
+
revokeToken,
|
|
28
|
+
LinearOAuthError,
|
|
29
|
+
} from './oauth.js';
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
fetchLinearIdentity,
|
|
33
|
+
getValidLinearAccessToken,
|
|
34
|
+
LinearApiError,
|
|
35
|
+
} from './client.js';
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
listLinearIssues,
|
|
39
|
+
getLinearIssue,
|
|
40
|
+
listLinearIssueStates,
|
|
41
|
+
updateLinearIssue,
|
|
42
|
+
} from './issues.js';
|
|
43
|
+
|
|
44
|
+
export {
|
|
45
|
+
listLinearTeams,
|
|
46
|
+
} from './teams.js';
|
|
47
|
+
|
|
48
|
+
export {
|
|
49
|
+
LinearMappingError,
|
|
50
|
+
getLinearMappingFilePath,
|
|
51
|
+
mergeLinearMappingView,
|
|
52
|
+
readStoredLinearMapping,
|
|
53
|
+
resolveMappedProjectPath,
|
|
54
|
+
setStoredLinearMapping,
|
|
55
|
+
} from './mapping.js';
|
|
56
|
+
|
|
57
|
+
export {
|
|
58
|
+
LinearSessionStatusError,
|
|
59
|
+
isPublicSessionOrigin,
|
|
60
|
+
postLinearSessionStatus,
|
|
61
|
+
} from './status.js';
|