orquesta-cli 0.2.116 → 0.2.117
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/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/orquesta/config-sync.js +3 -1
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export declare const DOCS_DIR: string;
|
|
|
5
5
|
export declare const BACKUPS_DIR: string;
|
|
6
6
|
export declare const PROJECTS_DIR: string;
|
|
7
7
|
export declare function cwdToProjectSegment(cwd?: string): string;
|
|
8
|
-
export declare const APP_VERSION = "0.2.
|
|
8
|
+
export declare const APP_VERSION = "0.2.117";
|
|
9
9
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.js
CHANGED
|
@@ -212,7 +212,9 @@ export async function submitPromptToOrquesta(prompt) {
|
|
|
212
212
|
return { success: false, error: 'Not connected to Orquesta' };
|
|
213
213
|
}
|
|
214
214
|
const cwd = prompt.context?.['cwd'] || process.cwd();
|
|
215
|
-
const effectiveProjectId = readHookConfig(cwd)?.projectId ||
|
|
215
|
+
const effectiveProjectId = readHookConfig(cwd)?.projectId ||
|
|
216
|
+
process.env['ORQUESTA_PROJECT_ID'] ||
|
|
217
|
+
orquestaConfig.projectId;
|
|
216
218
|
try {
|
|
217
219
|
const response = await fetch(`${ORQUESTA_API}/api/orquesta-cli/prompts`, {
|
|
218
220
|
method: 'POST',
|