@remixhq/core 0.1.35 → 0.1.36
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 +16 -1
- package/dist/api.js +1 -1
- package/dist/{chunk-KURN7YZ5.js → chunk-MNVBXTSV.js} +8 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -373,6 +373,14 @@ type AppPreviewQuery = {
|
|
|
373
373
|
autostart?: boolean;
|
|
374
374
|
probe?: "metadata" | "full";
|
|
375
375
|
};
|
|
376
|
+
type AppShareLinkSummary = {
|
|
377
|
+
id: string;
|
|
378
|
+
url: string;
|
|
379
|
+
};
|
|
380
|
+
type CreateAppShareLinkPayload = {
|
|
381
|
+
targetId?: string;
|
|
382
|
+
autostart?: boolean;
|
|
383
|
+
};
|
|
376
384
|
type AppPreviewProcessStatus = "running" | "starting" | "stopped" | "exited";
|
|
377
385
|
type AppPreviewExpectedKind = "url" | "qr" | "api" | "logs";
|
|
378
386
|
type AppPreviewResponse = {
|
|
@@ -697,6 +705,7 @@ type ApiClient = {
|
|
|
697
705
|
environment?: string;
|
|
698
706
|
}): Promise<Json>;
|
|
699
707
|
getAppPreview(appId: string, params?: AppPreviewQuery): Promise<Json>;
|
|
708
|
+
createAppShareLink(appId: string, payload?: CreateAppShareLinkPayload): Promise<Json>;
|
|
700
709
|
runAppSandboxCommand(appId: string, payload: RunAppSandboxCommandPayload): Promise<Json>;
|
|
701
710
|
listAppSandboxCommandHistory(appId: string, params?: {
|
|
702
711
|
limit?: number;
|
|
@@ -1126,6 +1135,12 @@ type ApiClient = {
|
|
|
1126
1135
|
createdBefore?: string;
|
|
1127
1136
|
}): Promise<Json>;
|
|
1128
1137
|
getSandboxStatus(appId: string): Promise<Json>;
|
|
1138
|
+
editAgentApp(payload: {
|
|
1139
|
+
app_id: string;
|
|
1140
|
+
thread_id: string;
|
|
1141
|
+
prompt: string;
|
|
1142
|
+
idempotencyKey?: string;
|
|
1143
|
+
}): Promise<Json>;
|
|
1129
1144
|
importHistory(payload: ImportHistoryRequest): Promise<ImportHistoryResponse>;
|
|
1130
1145
|
};
|
|
1131
1146
|
declare function createApiClient(config: CoreConfig, opts?: {
|
|
@@ -1147,4 +1162,4 @@ declare function createApiClient(config: CoreConfig, opts?: {
|
|
|
1147
1162
|
defaultRequestTimeoutMs?: number;
|
|
1148
1163
|
}): ApiClient;
|
|
1149
1164
|
|
|
1150
|
-
export { type AgentMemoryItem, type AgentMemoryKind, type AgentMemorySearchItem, type AgentMemorySearchResponse, type AgentMemorySummary, type AgentMemoryTimelineResponse, type ApiClient, type AppContext, type AppContextAccessPath, type AppPreviewExpectedKind, type AppPreviewProcessStatus, type AppPreviewQuery, type AppPreviewResponse, type AppProfileInput, type AppReconcileResponse, type AppSandboxCommandRun, type Bundle, type BundlePlatform, type BundleStatus, type ChangeStepDiffResponse, type DetectProjectRuntimeTargetsPayload, type HistoricalTurnRecord, type HistoryImportCaptureSource, type HistoryImportProvider, type HistoryImportRecordMetadata, type HistoryImportWorkspaceMetadata, type ImportHistoryRecordOutcome, type ImportHistoryRequest, type ImportHistoryResponse, type ImportProjectRuntimeEnvPayload, type InitiateBundleRequest, type InvitationRecord, type MergeRequest, type MergeRequestReview, type MergeRequestStatus, type ProjectRuntimeEnvMetadata, type ProjectRuntimeEnvScope, type ProjectRuntimeTargetMetadata, type ProjectRuntimeTargetScope, type ProjectTrigger, type ProjectTriggerPayload, type ProjectTriggerScope, type ProjectTriggerStep, type ProjectTriggerStepPayload, type ReconcilePreflightResponse, type ResolveProjectRuntimeEnvForLocalPullResponse, type RunAppRuntimeTargetPayload, type RunAppSandboxCommandPayload, type RunAppTriggerEventPayload, type RunAppTriggerPayload, type RuntimeCommandKind, type RuntimeTargetKind, type SetProjectRuntimeEnvPayload, type SetProjectRuntimeTargetPayload, type SyncLocalResponse, type SyncUpstreamResponse, type TriggerEventMetadata, type TriggerEventSource, type TriggerIntegrationStatus, type TriggerMode, type TriggerRun, type TriggerStepRun, type TriggerStepType, type UpdateProjectTriggerPayload, createApiClient };
|
|
1165
|
+
export { type AgentMemoryItem, type AgentMemoryKind, type AgentMemorySearchItem, type AgentMemorySearchResponse, type AgentMemorySummary, type AgentMemoryTimelineResponse, type ApiClient, type AppContext, type AppContextAccessPath, type AppPreviewExpectedKind, type AppPreviewProcessStatus, type AppPreviewQuery, type AppPreviewResponse, type AppProfileInput, type AppReconcileResponse, type AppSandboxCommandRun, type AppShareLinkSummary, type Bundle, type BundlePlatform, type BundleStatus, type ChangeStepDiffResponse, type CreateAppShareLinkPayload, type DetectProjectRuntimeTargetsPayload, type HistoricalTurnRecord, type HistoryImportCaptureSource, type HistoryImportProvider, type HistoryImportRecordMetadata, type HistoryImportWorkspaceMetadata, type ImportHistoryRecordOutcome, type ImportHistoryRequest, type ImportHistoryResponse, type ImportProjectRuntimeEnvPayload, type InitiateBundleRequest, type InvitationRecord, type MergeRequest, type MergeRequestReview, type MergeRequestStatus, type ProjectRuntimeEnvMetadata, type ProjectRuntimeEnvScope, type ProjectRuntimeTargetMetadata, type ProjectRuntimeTargetScope, type ProjectTrigger, type ProjectTriggerPayload, type ProjectTriggerScope, type ProjectTriggerStep, type ProjectTriggerStepPayload, type ReconcilePreflightResponse, type ResolveProjectRuntimeEnvForLocalPullResponse, type RunAppRuntimeTargetPayload, type RunAppSandboxCommandPayload, type RunAppTriggerEventPayload, type RunAppTriggerPayload, type RuntimeCommandKind, type RuntimeTargetKind, type SetProjectRuntimeEnvPayload, type SetProjectRuntimeTargetPayload, type SyncLocalResponse, type SyncUpstreamResponse, type TriggerEventMetadata, type TriggerEventSource, type TriggerIntegrationStatus, type TriggerMode, type TriggerRun, type TriggerStepRun, type TriggerStepType, type UpdateProjectTriggerPayload, createApiClient };
|
package/dist/api.js
CHANGED
|
@@ -279,6 +279,10 @@ function createApiClient(config, opts) {
|
|
|
279
279
|
body: JSON.stringify(payload ?? {})
|
|
280
280
|
}),
|
|
281
281
|
getAppPreview: (appId, params) => request(`/v1/apps/${encodeURIComponent(appId)}/preview${buildAppPreviewQuery(params)}`, { method: "GET" }),
|
|
282
|
+
createAppShareLink: (appId, payload) => request(`/v1/apps/${encodeURIComponent(appId)}/share-links`, {
|
|
283
|
+
method: "POST",
|
|
284
|
+
body: JSON.stringify(payload ?? {})
|
|
285
|
+
}),
|
|
282
286
|
runAppSandboxCommand: (appId, payload) => request(`/v1/apps/${encodeURIComponent(appId)}/sandbox/commands/run`, {
|
|
283
287
|
method: "POST",
|
|
284
288
|
body: JSON.stringify(payload)
|
|
@@ -584,6 +588,10 @@ function createApiClient(config, opts) {
|
|
|
584
588
|
});
|
|
585
589
|
},
|
|
586
590
|
getSandboxStatus: (appId) => request(`/v1/apps/${encodeURIComponent(appId)}/sandbox/status`, { method: "GET" }),
|
|
591
|
+
editAgentApp: (payload) => request("/v1/agent/editApp", {
|
|
592
|
+
method: "POST",
|
|
593
|
+
body: JSON.stringify(payload)
|
|
594
|
+
}),
|
|
587
595
|
importHistory: async (payload) => {
|
|
588
596
|
const res = await request("/v1/history/import", {
|
|
589
597
|
method: "POST",
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ export { CliError, REMIX_ERROR_CODES, CliError as RemixError, RemixErrorCode } f
|
|
|
2
2
|
export { CoreConfig, ResolveConfigOptions, configSchema, resolveConfig } from './config.js';
|
|
3
3
|
export { S as SessionStore, a as StoredSession, W as WithRefreshLock, c as createRefreshLock, b as createStoredSessionTokenProvider, s as shouldRefreshSoon, d as storedSessionSchema } from './tokenProvider-B9so5Pm3.js';
|
|
4
4
|
export { createDefaultRefreshLock, createLocalSessionStore, createSupabaseAuthHelpers, defaultSessionFilePath, isInvalidGrantError, isNetworkError } from './auth.js';
|
|
5
|
-
export { AgentMemoryItem, AgentMemoryKind, AgentMemorySearchItem, AgentMemorySearchResponse, AgentMemorySummary, AgentMemoryTimelineResponse, ApiClient, AppContext, AppContextAccessPath, AppPreviewExpectedKind, AppPreviewProcessStatus, AppPreviewQuery, AppPreviewResponse, AppReconcileResponse, AppSandboxCommandRun, Bundle, BundlePlatform, BundleStatus, ChangeStepDiffResponse, DetectProjectRuntimeTargetsPayload, ImportProjectRuntimeEnvPayload, InitiateBundleRequest, InvitationRecord, MergeRequest, MergeRequestReview, MergeRequestStatus, ProjectRuntimeEnvMetadata, ProjectRuntimeEnvScope, ProjectRuntimeTargetMetadata, ProjectRuntimeTargetScope, ProjectTrigger, ProjectTriggerPayload, ProjectTriggerScope, ProjectTriggerStep, ProjectTriggerStepPayload, ReconcilePreflightResponse, ResolveProjectRuntimeEnvForLocalPullResponse, RunAppRuntimeTargetPayload, RunAppSandboxCommandPayload, RunAppTriggerEventPayload, RunAppTriggerPayload, RuntimeCommandKind, RuntimeTargetKind, SetProjectRuntimeEnvPayload, SetProjectRuntimeTargetPayload, SyncLocalResponse, SyncUpstreamResponse, TriggerEventMetadata, TriggerEventSource, TriggerIntegrationStatus, TriggerMode, TriggerRun, TriggerStepRun, TriggerStepType, UpdateProjectTriggerPayload, createApiClient } from './api.js';
|
|
5
|
+
export { AgentMemoryItem, AgentMemoryKind, AgentMemorySearchItem, AgentMemorySearchResponse, AgentMemorySummary, AgentMemoryTimelineResponse, ApiClient, AppContext, AppContextAccessPath, AppPreviewExpectedKind, AppPreviewProcessStatus, AppPreviewQuery, AppPreviewResponse, AppReconcileResponse, AppSandboxCommandRun, AppShareLinkSummary, Bundle, BundlePlatform, BundleStatus, ChangeStepDiffResponse, CreateAppShareLinkPayload, DetectProjectRuntimeTargetsPayload, ImportProjectRuntimeEnvPayload, InitiateBundleRequest, InvitationRecord, MergeRequest, MergeRequestReview, MergeRequestStatus, ProjectRuntimeEnvMetadata, ProjectRuntimeEnvScope, ProjectRuntimeTargetMetadata, ProjectRuntimeTargetScope, ProjectTrigger, ProjectTriggerPayload, ProjectTriggerScope, ProjectTriggerStep, ProjectTriggerStepPayload, ReconcilePreflightResponse, ResolveProjectRuntimeEnvForLocalPullResponse, RunAppRuntimeTargetPayload, RunAppSandboxCommandPayload, RunAppTriggerEventPayload, RunAppTriggerPayload, RuntimeCommandKind, RuntimeTargetKind, SetProjectRuntimeEnvPayload, SetProjectRuntimeTargetPayload, SyncLocalResponse, SyncUpstreamResponse, TriggerEventMetadata, TriggerEventSource, TriggerIntegrationStatus, TriggerMode, TriggerRun, TriggerStepRun, TriggerStepType, UpdateProjectTriggerPayload, createApiClient } from './api.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import './contracts-BqC3Lj7W.js';
|
package/dist/index.js
CHANGED