@feedmepos/mf-miniprogram-v2 0.1.0-dev.11 → 0.1.0-dev.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/dist/{ControlPlaneView-DzyTnzK9.js → ControlPlaneView-DzD3SfCY.js} +3104 -3534
- package/dist/app.js +1 -1
- package/dist/package.json +1 -1
- package/dist/src/api/controlPlane.d.ts +0 -1
- package/dist/src/composables/types.d.ts +0 -15
- package/dist/src/composables/useChat.d.ts +0 -1
- package/dist/src/composables/useProject.d.ts +8 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/AnnotationMessage.vue.d.ts +0 -7
- package/dist/src/components/ChatTextPart.vue.d.ts +0 -6
- package/dist/src/components/MarkdownContent.vue.d.ts +0 -6
- package/dist/src/components/StatusBadge.vue.d.ts +0 -21
- package/dist/src/composables/previewAnnotations.d.ts +0 -9
- package/dist/src/composables/status.d.ts +0 -10
package/dist/app.js
CHANGED
package/dist/package.json
CHANGED
|
@@ -16,7 +16,6 @@ export declare function currentBusinessLabel(): string;
|
|
|
16
16
|
export declare function currentBusinessSlug(): string | undefined;
|
|
17
17
|
export declare function currentBusinessName(): string;
|
|
18
18
|
export declare function currentBusinessCountry(): string | undefined;
|
|
19
|
-
export declare function currentBusinessLiveUrl(): string;
|
|
20
19
|
export declare function controlPlaneAuthorizationHeader(): Promise<string | null>;
|
|
21
20
|
export declare function authorizedFetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
22
21
|
export declare function controlPlaneFetch<T>(path: string, init?: RequestInit): Promise<T>;
|
|
@@ -28,7 +28,6 @@ export interface ChatMessage {
|
|
|
28
28
|
}
|
|
29
29
|
export type ConnectionStatus = 'idle' | 'starting' | 'ready' | 'error';
|
|
30
30
|
export type ProjectProvisioningStatus = 'not_started' | 'provisioning' | 'ready' | 'failed';
|
|
31
|
-
export type ArchiveCodeAction = 'save' | 'discard';
|
|
32
31
|
export interface ProjectSummary {
|
|
33
32
|
businessId: string;
|
|
34
33
|
businessSlug: string | null;
|
|
@@ -64,20 +63,6 @@ export interface AgentSessionSummary {
|
|
|
64
63
|
created_at: string;
|
|
65
64
|
updated_at: string;
|
|
66
65
|
}
|
|
67
|
-
export interface SessionChangesSummary {
|
|
68
|
-
businessId: string;
|
|
69
|
-
sessionId: string;
|
|
70
|
-
workspaceExists: boolean;
|
|
71
|
-
dirty: boolean;
|
|
72
|
-
hasUncommittedChanges: boolean;
|
|
73
|
-
hasUnpushedCommits: boolean;
|
|
74
|
-
headDiffersFromOrigin: boolean;
|
|
75
|
-
statusCount: number;
|
|
76
|
-
commitsAheadOrigin: number;
|
|
77
|
-
commitsBehindOrigin: number;
|
|
78
|
-
headSha: string | null;
|
|
79
|
-
originSha: string | null;
|
|
80
|
-
}
|
|
81
66
|
export interface ReleaseSummary {
|
|
82
67
|
id: string;
|
|
83
68
|
source_commit_sha: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProjectSummary, ReleaseSummary } from './types';
|
|
2
2
|
export declare function useProject(): {
|
|
3
3
|
businessId: string;
|
|
4
4
|
project: {
|
|
@@ -102,19 +102,21 @@ export declare function useProject(): {
|
|
|
102
102
|
releases: ReleaseSummary[];
|
|
103
103
|
}>;
|
|
104
104
|
selectRelease: (releaseId: string) => Promise<void>;
|
|
105
|
-
createSession: (
|
|
106
|
-
archiveCodeAction?: ArchiveCodeAction;
|
|
107
|
-
}) => Promise<{
|
|
105
|
+
createSession: () => Promise<{
|
|
108
106
|
sessionId: string;
|
|
109
107
|
previewUrl: string;
|
|
110
108
|
}>;
|
|
111
|
-
sessionChanges: (sessionId: string) => Promise<SessionChangesSummary>;
|
|
112
109
|
resumeSession: (sessionId: string) => Promise<{
|
|
113
110
|
sessionId: string;
|
|
114
111
|
previewUrl: string;
|
|
115
112
|
}>;
|
|
116
113
|
renameSession: (sessionId: string, title: string) => Promise<void>;
|
|
117
|
-
|
|
114
|
+
forkSession: (sessionId: string) => Promise<{
|
|
115
|
+
sessionId: string;
|
|
116
|
+
previewUrl: string;
|
|
117
|
+
forkedFrom: string;
|
|
118
|
+
}>;
|
|
119
|
+
archive: (sessionId: string) => Promise<void>;
|
|
118
120
|
commitSession: (sessionId: string) => Promise<{
|
|
119
121
|
sourceCommitSha: string;
|
|
120
122
|
}>;
|