@anvil-works/anvil-cli 0.8.0-canary.4 → 0.8.0-canary.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"SavePathRouter.d.ts","sourceRoot":"","sources":["../src/SavePathRouter.ts"],"names":[],"mappings":"AAMA,OAAO,EAGH,KAAK,uBAAuB,EAE/B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAmB,MAAM,cAAc,CAAC;AAMlE,KAAK,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;AAG3B,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,MAAM,QAAQ,GAAG,uBAAuB,CAAC;AAE/C,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB;AASD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEhE,MAAM,MAAM,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,GAAG,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjH,MAAM,WAAW,YAAY;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,UAAU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E,CAAC,CAqBpC;AAq1BD;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CACrC,QAAQ,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAC1C,OAAO,CAAC,KAAK,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,GAAG,CAAA;CAAE,CAAC,CAAC,CAiE7C"}
package/dist/cli.js CHANGED
@@ -14996,15 +14996,11 @@ Promise.resolve(executeGitCredentialOperation(process.argv[2] || "get", {
14996
14996
  }
14997
14997
  }
14998
14998
  async mergeFastForward(ref) {
14999
- try {
15000
- await this.git.raw([
14999
+ await this.runGitCommandWithIndexLockRetry("merge --ff-only", ()=>this.git.raw([
15001
15000
  "merge",
15002
15001
  "--ff-only",
15003
15002
  ref
15004
- ]);
15005
- } catch (e) {
15006
- throw errors_createGitError.commandFailed("merge --ff-only", e.message);
15007
- }
15003
+ ]));
15008
15004
  }
15009
15005
  async deleteRef(ref) {
15010
15006
  try {
@@ -17897,7 +17893,7 @@ print(json.dumps({"issues": issues}))
17897
17893
  ]
17898
17894
  });
17899
17895
  }
17900
- async function buildFormTemplateData(relativePath, templateInfo, context) {
17896
+ async function buildFormTemplateData(relativePath, templateInfo, context, missingCodeBehavior = "error") {
17901
17897
  const { repoPath, stagedOnly = false } = context;
17902
17898
  const { kind } = templateInfo;
17903
17899
  const loadResult = await loadFormTemplateData(relativePath, templateInfo, context);
@@ -17911,15 +17907,28 @@ print(json.dumps({"issues": issues}))
17911
17907
  };
17912
17908
  const codeRelativePath = "package" === kind ? relativePath.replace(/form_template\.(yaml|html)$/i, "__init__.py") : relativePath.replace(/\.(yaml|html)$/i, ".py");
17913
17909
  const className = extractPythonName(codeRelativePath);
17914
- const codeContent = await readFileContent(repoPath, codeRelativePath, stagedOnly);
17915
- if (!codeContent) return {
17916
- formData: {},
17917
- className: "",
17918
- ignoreResult: {
17919
- type: "ignore",
17920
- reason: "package" === kind ? "Form __init__.py file not found - cannot save template without code" : "Form .py file not found - cannot save template without code"
17910
+ let codeContent;
17911
+ try {
17912
+ codeContent = await readFileContent(repoPath, codeRelativePath, stagedOnly);
17913
+ } catch (error) {
17914
+ if (stagedOnly || !isFileNotFoundError(error) || "error" === missingCodeBehavior) throw error;
17915
+ const missingCodeReason = `Form code file ${codeRelativePath} is not present yet`;
17916
+ const knownForm = context.editorYaml.hasId("forms", className);
17917
+ if ("defer" === missingCodeBehavior || knownForm) {
17918
+ const action = knownForm ? `not saving existing form ${className}` : `deferring form ${className}`;
17919
+ logger_logger.warn(external_chalk_default().yellow(`Form template ${relativePath} has no code file ${codeRelativePath} yet; ${action}.`));
17920
+ return {
17921
+ formData: {},
17922
+ className: "",
17923
+ ignoreResult: {
17924
+ type: "ignore",
17925
+ reason: missingCodeReason
17926
+ }
17927
+ };
17921
17928
  }
17922
- };
17929
+ codeContent = "";
17930
+ logger_logger.warn(external_chalk_default().yellow(`Form template ${relativePath} has no code file ${codeRelativePath} yet; creating ${className} with empty code.`));
17931
+ }
17923
17932
  const formData = (0, form_template_parser_namespaceObject.buildFormTemplateSavePayload)(loadResult.source, {
17924
17933
  className,
17925
17934
  code: codeContent,
@@ -17931,6 +17940,9 @@ print(json.dumps({"issues": issues}))
17931
17940
  ignoreResult: null
17932
17941
  };
17933
17942
  }
17943
+ function isFileNotFoundError(error) {
17944
+ return "object" == typeof error && null !== error && "ENOENT" === error.code;
17945
+ }
17934
17946
  async function handleFormTemplateChange(change, context) {
17935
17947
  const { editorYaml } = context;
17936
17948
  const { relativePath, changeType } = change;
@@ -17941,10 +17953,11 @@ print(json.dumps({"issues": issues}))
17941
17953
  };
17942
17954
  const kind = templateInfo.kind;
17943
17955
  const format = templateInfo.format;
17956
+ const missingCodeBehavior = "add" === changeType ? "create-new-form-if-unknown" : "defer";
17944
17957
  const result = await buildFormTemplateData(relativePath, {
17945
17958
  kind,
17946
17959
  format
17947
- }, context);
17960
+ }, context, missingCodeBehavior);
17948
17961
  if (result.ignoreResult) return result.ignoreResult;
17949
17962
  const { formData, className } = result;
17950
17963
  return handleIdBasedOperation({
@@ -18230,10 +18243,13 @@ print(json.dumps({"issues": issues}))
18230
18243
  code: error.type,
18231
18244
  recoverability: "requires_user_action",
18232
18245
  requiresUserAction: true,
18233
- suggestedAction: "Inspect the repository state and resolve the Git error before retrying.",
18246
+ suggestedAction: isIndexLockFailure(error) ? "Confirm no Git process is running for this repository, then remove the stale .git/index.lock file and retry." : "Inspect the repository state and resolve the Git error before retrying.",
18234
18247
  gitCommand: "git_command_failed" === error.type ? error.command : void 0
18235
18248
  };
18236
18249
  }
18250
+ function isIndexLockFailure(error) {
18251
+ return "git_command_failed" === error.type && error.message.includes("Unable to create") && error.message.includes("index.lock") && error.message.includes("File exists");
18252
+ }
18237
18253
  function networkDiagnostic(error) {
18238
18254
  return {
18239
18255
  code: error.type,
package/dist/index.js CHANGED
@@ -15025,15 +15025,11 @@ Promise.resolve(executeGitCredentialOperation(process.argv[2] || "get", {
15025
15025
  }
15026
15026
  }
15027
15027
  async mergeFastForward(ref) {
15028
- try {
15029
- await this.git.raw([
15028
+ await this.runGitCommandWithIndexLockRetry("merge --ff-only", ()=>this.git.raw([
15030
15029
  "merge",
15031
15030
  "--ff-only",
15032
15031
  ref
15033
- ]);
15034
- } catch (e) {
15035
- throw errors_createGitError.commandFailed("merge --ff-only", e.message);
15036
- }
15032
+ ]));
15037
15033
  }
15038
15034
  async deleteRef(ref) {
15039
15035
  try {
@@ -17926,7 +17922,7 @@ print(json.dumps({"issues": issues}))
17926
17922
  ]
17927
17923
  });
17928
17924
  }
17929
- async function buildFormTemplateData(relativePath, templateInfo, context) {
17925
+ async function buildFormTemplateData(relativePath, templateInfo, context, missingCodeBehavior = "error") {
17930
17926
  const { repoPath, stagedOnly = false } = context;
17931
17927
  const { kind } = templateInfo;
17932
17928
  const loadResult = await loadFormTemplateData(relativePath, templateInfo, context);
@@ -17940,15 +17936,28 @@ print(json.dumps({"issues": issues}))
17940
17936
  };
17941
17937
  const codeRelativePath = "package" === kind ? relativePath.replace(/form_template\.(yaml|html)$/i, "__init__.py") : relativePath.replace(/\.(yaml|html)$/i, ".py");
17942
17938
  const className = extractPythonName(codeRelativePath);
17943
- const codeContent = await readFileContent(repoPath, codeRelativePath, stagedOnly);
17944
- if (!codeContent) return {
17945
- formData: {},
17946
- className: "",
17947
- ignoreResult: {
17948
- type: "ignore",
17949
- reason: "package" === kind ? "Form __init__.py file not found - cannot save template without code" : "Form .py file not found - cannot save template without code"
17939
+ let codeContent;
17940
+ try {
17941
+ codeContent = await readFileContent(repoPath, codeRelativePath, stagedOnly);
17942
+ } catch (error) {
17943
+ if (stagedOnly || !isFileNotFoundError(error) || "error" === missingCodeBehavior) throw error;
17944
+ const missingCodeReason = `Form code file ${codeRelativePath} is not present yet`;
17945
+ const knownForm = context.editorYaml.hasId("forms", className);
17946
+ if ("defer" === missingCodeBehavior || knownForm) {
17947
+ const action = knownForm ? `not saving existing form ${className}` : `deferring form ${className}`;
17948
+ logger_logger.warn(external_chalk_default().yellow(`Form template ${relativePath} has no code file ${codeRelativePath} yet; ${action}.`));
17949
+ return {
17950
+ formData: {},
17951
+ className: "",
17952
+ ignoreResult: {
17953
+ type: "ignore",
17954
+ reason: missingCodeReason
17955
+ }
17956
+ };
17950
17957
  }
17951
- };
17958
+ codeContent = "";
17959
+ logger_logger.warn(external_chalk_default().yellow(`Form template ${relativePath} has no code file ${codeRelativePath} yet; creating ${className} with empty code.`));
17960
+ }
17952
17961
  const formData = (0, form_template_parser_namespaceObject.buildFormTemplateSavePayload)(loadResult.source, {
17953
17962
  className,
17954
17963
  code: codeContent,
@@ -17960,6 +17969,9 @@ print(json.dumps({"issues": issues}))
17960
17969
  ignoreResult: null
17961
17970
  };
17962
17971
  }
17972
+ function isFileNotFoundError(error) {
17973
+ return "object" == typeof error && null !== error && "ENOENT" === error.code;
17974
+ }
17963
17975
  async function handleFormTemplateChange(change, context) {
17964
17976
  const { editorYaml } = context;
17965
17977
  const { relativePath, changeType } = change;
@@ -17970,10 +17982,11 @@ print(json.dumps({"issues": issues}))
17970
17982
  };
17971
17983
  const kind = templateInfo.kind;
17972
17984
  const format = templateInfo.format;
17985
+ const missingCodeBehavior = "add" === changeType ? "create-new-form-if-unknown" : "defer";
17973
17986
  const result = await buildFormTemplateData(relativePath, {
17974
17987
  kind,
17975
17988
  format
17976
- }, context);
17989
+ }, context, missingCodeBehavior);
17977
17990
  if (result.ignoreResult) return result.ignoreResult;
17978
17991
  const { formData, className } = result;
17979
17992
  return handleIdBasedOperation({
@@ -18259,10 +18272,13 @@ print(json.dumps({"issues": issues}))
18259
18272
  code: error.type,
18260
18273
  recoverability: "requires_user_action",
18261
18274
  requiresUserAction: true,
18262
- suggestedAction: "Inspect the repository state and resolve the Git error before retrying.",
18275
+ suggestedAction: isIndexLockFailure(error) ? "Confirm no Git process is running for this repository, then remove the stale .git/index.lock file and retry." : "Inspect the repository state and resolve the Git error before retrying.",
18263
18276
  gitCommand: "git_command_failed" === error.type ? error.command : void 0
18264
18277
  };
18265
18278
  }
18279
+ function isIndexLockFailure(error) {
18280
+ return "git_command_failed" === error.type && error.message.includes("Unable to create") && error.message.includes("index.lock") && error.message.includes("File exists");
18281
+ }
18266
18282
  function networkDiagnostic(error) {
18267
18283
  return {
18268
18284
  code: error.type,
@@ -1 +1 @@
1
- {"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/services/git.ts"],"names":[],"mappings":"AAOA,OAAkB,EAAgB,SAAS,EAAE,MAAM,YAAY,CAAC;AAEhE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAerC,MAAM,WAAW,gBAAgB;IAC7B,oFAAoF;IACpF,aAAa,EAAE;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,gFAAgF;IAChF,sBAAsB,EAAE;QACpB,QAAQ,EAAE,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,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAYvE;;OAEG;IACG,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC;IAK1C;;OAEG;IACG,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CA+BtE;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAoD/G;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAE7D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvil-works/anvil-cli",
3
- "version": "0.8.0-canary.4",
3
+ "version": "0.8.0-canary.5",
4
4
  "description": "CLI tool for developing Anvil apps locally",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/api.d.ts",