@remixhq/core 0.1.25 → 0.1.26
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/api.d.ts +33 -7
- package/dist/api.js +1 -1
- package/dist/binding.js +2 -2
- package/dist/{chunk-CQXJZ5EP.js → chunk-DOMO3LNV.js} +171 -187
- package/dist/{chunk-S4ECO35X.js → chunk-FA6PTZQI.js} +46 -6
- package/dist/{chunk-P4XIICU3.js → chunk-GNW6FA4J.js} +1 -1
- package/dist/collab.d.ts +96 -134
- package/dist/collab.js +1134 -755
- package/dist/{contracts-S3cbsIUV.d.ts → contracts-BV67NVwV.d.ts} +7 -0
- package/dist/history.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/repo.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreConfig } from './config.js';
|
|
2
2
|
import { T as TokenProvider } from './tokenProvider-BWTusyj4.js';
|
|
3
|
-
import { T as TurnUsage } from './contracts-
|
|
3
|
+
import { T as TurnUsage } from './contracts-BV67NVwV.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
type HistoryImportProvider = "claude_code" | "cursor";
|
|
@@ -297,11 +297,18 @@ type ProjectRuntimeEnvMetadata = {
|
|
|
297
297
|
updatedAt: string;
|
|
298
298
|
version: number;
|
|
299
299
|
};
|
|
300
|
-
type
|
|
300
|
+
type CascadeToFamilyPayload = {
|
|
301
|
+
cascadeToFamily: true;
|
|
302
|
+
appId: string;
|
|
303
|
+
} | {
|
|
304
|
+
cascadeToFamily?: false | undefined;
|
|
305
|
+
appId?: string;
|
|
306
|
+
};
|
|
307
|
+
type SetProjectRuntimeEnvPayload = ProjectRuntimeEnvScope & CascadeToFamilyPayload & {
|
|
301
308
|
value: string;
|
|
302
309
|
inheritancePolicy?: "project_family" | "none";
|
|
303
310
|
};
|
|
304
|
-
type ImportProjectRuntimeEnvPayload = ProjectRuntimeEnvScope & {
|
|
311
|
+
type ImportProjectRuntimeEnvPayload = ProjectRuntimeEnvScope & CascadeToFamilyPayload & {
|
|
305
312
|
content?: string;
|
|
306
313
|
entries?: Record<string, string>;
|
|
307
314
|
inheritancePolicy?: "project_family" | "none";
|
|
@@ -310,7 +317,7 @@ type ResolveProjectRuntimeEnvForLocalPullResponse = {
|
|
|
310
317
|
content: string;
|
|
311
318
|
names: string[];
|
|
312
319
|
};
|
|
313
|
-
type RuntimeTargetKind = "web" | "cli" | "mobile" | "test" | "worker";
|
|
320
|
+
type RuntimeTargetKind = "web" | "api" | "cli" | "mobile" | "desktop" | "test" | "worker";
|
|
314
321
|
type RuntimeCommandKind = "install" | "dev" | "build" | "preview" | "test" | "custom";
|
|
315
322
|
type ProjectRuntimeTargetScope = {
|
|
316
323
|
repoFingerprint: string;
|
|
@@ -330,7 +337,7 @@ type ProjectRuntimeTargetMetadata = ProjectRuntimeTargetScope & {
|
|
|
330
337
|
enabled: boolean;
|
|
331
338
|
version?: number;
|
|
332
339
|
};
|
|
333
|
-
type SetProjectRuntimeTargetPayload = ProjectRuntimeTargetScope & {
|
|
340
|
+
type SetProjectRuntimeTargetPayload = ProjectRuntimeTargetScope & CascadeToFamilyPayload & {
|
|
334
341
|
targetKind: RuntimeTargetKind;
|
|
335
342
|
commandKind: RuntimeCommandKind;
|
|
336
343
|
command: string;
|
|
@@ -340,10 +347,21 @@ type SetProjectRuntimeTargetPayload = ProjectRuntimeTargetScope & {
|
|
|
340
347
|
inheritancePolicy?: "project_family" | "none";
|
|
341
348
|
enabled?: boolean;
|
|
342
349
|
};
|
|
343
|
-
type
|
|
350
|
+
type DetectRuntimeTargetCascadePayload = {
|
|
351
|
+
apply: true;
|
|
352
|
+
cascadeToFamily: true;
|
|
353
|
+
appId: string;
|
|
354
|
+
} | {
|
|
355
|
+
apply?: false | undefined;
|
|
356
|
+
cascadeToFamily?: boolean;
|
|
344
357
|
appId?: string;
|
|
345
|
-
|
|
358
|
+
} | {
|
|
346
359
|
apply?: boolean;
|
|
360
|
+
cascadeToFamily?: false | undefined;
|
|
361
|
+
appId?: string;
|
|
362
|
+
};
|
|
363
|
+
type DetectProjectRuntimeTargetsPayload = Partial<ProjectRuntimeTargetScope> & DetectRuntimeTargetCascadePayload & {
|
|
364
|
+
files?: Record<string, string | null>;
|
|
347
365
|
};
|
|
348
366
|
type RunAppRuntimeTargetPayload = {
|
|
349
367
|
forceInstall?: boolean;
|
|
@@ -710,6 +728,8 @@ type ApiClient = {
|
|
|
710
728
|
remoteUrl?: string;
|
|
711
729
|
defaultBranch?: string;
|
|
712
730
|
branchName: string;
|
|
731
|
+
currentAppId?: string;
|
|
732
|
+
upstreamAppId?: string;
|
|
713
733
|
}): Promise<Json>;
|
|
714
734
|
ensureProjectLaneBinding(payload: {
|
|
715
735
|
projectId?: string;
|
|
@@ -717,6 +737,8 @@ type ApiClient = {
|
|
|
717
737
|
remoteUrl?: string;
|
|
718
738
|
defaultBranch?: string;
|
|
719
739
|
branchName: string;
|
|
740
|
+
currentAppId?: string;
|
|
741
|
+
upstreamAppId?: string;
|
|
720
742
|
seedAppId?: string;
|
|
721
743
|
seedHeadCommitHash?: string;
|
|
722
744
|
}): Promise<Json>;
|
|
@@ -756,6 +778,7 @@ type ApiClient = {
|
|
|
756
778
|
accessScope?: "all_readable" | "explicit_member";
|
|
757
779
|
createdBy?: "me" | string;
|
|
758
780
|
forked?: "only" | "exclude" | "all";
|
|
781
|
+
status?: "active" | "archived" | "all";
|
|
759
782
|
limit?: number;
|
|
760
783
|
offset?: number;
|
|
761
784
|
}): Promise<Json>;
|
|
@@ -1038,6 +1061,9 @@ type ApiClient = {
|
|
|
1038
1061
|
acceptInvitation(payload: {
|
|
1039
1062
|
token: string;
|
|
1040
1063
|
}): Promise<Json>;
|
|
1064
|
+
listMyInvitations(): Promise<Json>;
|
|
1065
|
+
acceptMyInvitation(scope: "organization" | "project" | "app", inviteId: string): Promise<Json>;
|
|
1066
|
+
declineMyInvitation(scope: "organization" | "project" | "app", inviteId: string): Promise<Json>;
|
|
1041
1067
|
syncUpstreamApp(appId: string): Promise<Json>;
|
|
1042
1068
|
preflightAppReconcile(appId: string, payload: {
|
|
1043
1069
|
localHeadCommitHash: string;
|
package/dist/api.js
CHANGED
package/dist/binding.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
readCollabBinding,
|
|
4
4
|
readCollabBindingState,
|
|
5
5
|
writeCollabBinding
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-GNW6FA4J.js";
|
|
7
|
+
import "./chunk-FA6PTZQI.js";
|
|
8
8
|
import "./chunk-GC2MOT3U.js";
|
|
9
9
|
import "./chunk-7XJGOKEO.js";
|
|
10
10
|
export {
|