@ricsam/r5d-api 0.0.4 → 0.0.6
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/cjs/index.cjs +0 -5
- package/dist/cjs/package.json +1 -1
- package/dist/mjs/index.mjs +0 -5
- package/dist/mjs/package.json +1 -1
- package/dist/types/index.d.ts +5 -10
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -165,11 +165,6 @@ class BinctlClient {
|
|
|
165
165
|
method: "GET",
|
|
166
166
|
path: "/api/binctl/projects"
|
|
167
167
|
}),
|
|
168
|
-
create: (input = {}) => this.request({
|
|
169
|
-
method: "POST",
|
|
170
|
-
path: "/api/binctl/projects",
|
|
171
|
-
body: input
|
|
172
|
-
}),
|
|
173
168
|
describe: (projectRef) => this.request({
|
|
174
169
|
method: "GET",
|
|
175
170
|
path: `/api/binctl/projects/${encodeURIComponent(projectRef)}`
|
package/dist/cjs/package.json
CHANGED
package/dist/mjs/index.mjs
CHANGED
|
@@ -141,11 +141,6 @@ class BinctlClient {
|
|
|
141
141
|
method: "GET",
|
|
142
142
|
path: "/api/binctl/projects"
|
|
143
143
|
}),
|
|
144
|
-
create: (input = {}) => this.request({
|
|
145
|
-
method: "POST",
|
|
146
|
-
path: "/api/binctl/projects",
|
|
147
|
-
body: input
|
|
148
|
-
}),
|
|
149
144
|
describe: (projectRef) => this.request({
|
|
150
145
|
method: "GET",
|
|
151
146
|
path: `/api/binctl/projects/${encodeURIComponent(projectRef)}`
|
package/dist/mjs/package.json
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ export type ChatMode = "ask" | "plan" | "build" | "agent" | "explore" | "review"
|
|
|
2
2
|
export type ModelTier = "low" | "medium" | "high" | "max";
|
|
3
3
|
export type BinctlProject = {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
6
|
-
name: string
|
|
5
|
+
namespace: string;
|
|
6
|
+
name: string;
|
|
7
|
+
path: string;
|
|
7
8
|
mode: "greenfield" | "prod";
|
|
8
9
|
createdAt: string;
|
|
9
10
|
updatedAt: string;
|
|
@@ -26,8 +27,8 @@ export type BinctlSessionSummary = {
|
|
|
26
27
|
export type BinctlSessionDescription = {
|
|
27
28
|
id: string;
|
|
28
29
|
projectId: string;
|
|
29
|
-
|
|
30
|
-
projectName: string
|
|
30
|
+
projectPath: string;
|
|
31
|
+
projectName: string;
|
|
31
32
|
branchName: string;
|
|
32
33
|
name: string | null;
|
|
33
34
|
fixedMode?: ChatMode | null;
|
|
@@ -93,12 +94,7 @@ export type BinctlApiKey = {
|
|
|
93
94
|
createdAt: string;
|
|
94
95
|
lastUsedAt: string | null;
|
|
95
96
|
};
|
|
96
|
-
export type BinctlProjectCreateInput = {
|
|
97
|
-
name?: string;
|
|
98
|
-
orgId?: string;
|
|
99
|
-
};
|
|
100
97
|
export type BinctlProjectUpdateInput = {
|
|
101
|
-
name?: string;
|
|
102
98
|
mode?: "greenfield" | "prod";
|
|
103
99
|
};
|
|
104
100
|
export type BinctlSessionCreateInput = {
|
|
@@ -168,7 +164,6 @@ export declare class BinctlClient {
|
|
|
168
164
|
};
|
|
169
165
|
readonly projects: {
|
|
170
166
|
list: () => Promise<BinctlProject[]>;
|
|
171
|
-
create: (input?: BinctlProjectCreateInput) => Promise<BinctlProjectDescription>;
|
|
172
167
|
describe: (projectRef: string) => Promise<BinctlProjectDescription>;
|
|
173
168
|
update: (projectRef: string, input: BinctlProjectUpdateInput) => Promise<BinctlProjectDescription>;
|
|
174
169
|
delete: (projectRef: string) => Promise<{
|