@promptbook/cli 0.112.0-60 → 0.112.0-62

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/esm/index.es.js CHANGED
@@ -58,7 +58,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
58
58
  * @generated
59
59
  * @see https://github.com/webgptorg/promptbook
60
60
  */
61
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-60';
61
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-62';
62
62
  /**
63
63
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
64
64
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -52831,6 +52831,14 @@ function buildGitHubCopilotScript(options) {
52831
52831
  return spaceTrim((block) => `
52832
52832
  cd "${projectPath}"
52833
52833
 
52834
+ if [ -f .env ]; then
52835
+ set -a
52836
+ source .env
52837
+ set +a
52838
+ fi
52839
+
52840
+ unset GITHUB_TOKEN
52841
+
52834
52842
  copilot -p "$(cat <<'${delimiter}'
52835
52843
 
52836
52844
  ${block(options.prompt)}