@sourcegraph/amp 0.0.1749109595-g4e65be → 0.0.1749112146-gfc2ab3

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/amp.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import "./console-9ChYTAuP.js";
3
- import "./main-B4ln85Rg.js";
3
+ import "./main-lhjhYkYV.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
@@ -4994,7 +4994,7 @@ async function qv(i, e, t) {
4994
4994
  const { loadProfileEnvironmentVariables: r } = await import("./load-profile-DpyLbaYS.js"), o = t.loadProfile === "never" || !t.workingDirectory ? process.env : await Ge(
4995
4995
  r(t.workingDirectory, t.loadProfile)
4996
4996
  );
4997
- n = await import("./stdio-mZBGUxws.js").then(
4997
+ n = await import("./stdio-D7rFJRhY.js").then(
4998
4998
  ({ StdioClientTransport: u }) => new u({
4999
4999
  ...i,
5000
5000
  stderr: "pipe",
@@ -5755,7 +5755,7 @@ IMPORTANT: The result of this tool (if any) should be displayed directly to the
5755
5755
  },
5756
5756
  source: "builtin"
5757
5757
  },
5758
- fn: import("./node-D6m-7fmx.js").then(({ runRoutine: i }) => i)
5758
+ fn: import("./node-B5iGlnbs.js").then(({ runRoutine: i }) => i)
5759
5759
  };
5760
5760
  let pl = !1;
5761
5761
  async function td(i, e = !1) {
@@ -17103,7 +17103,7 @@ const qd = {
17103
17103
  },
17104
17104
  "commands.strict": {
17105
17105
  value: !1,
17106
- visible: !1,
17106
+ visible: !0,
17107
17107
  description: "Enable strict command validation. When disabled, certain commands like Bazel get relaxed path validation."
17108
17108
  },
17109
17109
  submitOnEnter: {
@@ -17141,6 +17141,11 @@ const qd = {
17141
17141
  visible: !1,
17142
17142
  description: "List of language IDs for which tab completion is disabled"
17143
17143
  },
17144
+ "tab.disableOnComment": {
17145
+ value: !1,
17146
+ visible: !1,
17147
+ description: "Dsiable tab completion on comment lines"
17148
+ },
17144
17149
  "tab.autoImport.enabled": {
17145
17150
  value: !1,
17146
17151
  visible: !1,
@@ -18614,7 +18619,7 @@ async function Ew({
18614
18619
  }
18615
18620
  async function Pw(i) {
18616
18621
  try {
18617
- const e = await yw("0.0.1749109595-g4e65be");
18622
+ const e = await yw("0.0.1749112146-gfc2ab3");
18618
18623
  e.hasUpdate && e.latestVersion ? (i.next({ type: "update-start-updating" }), setTimeout(async () => {
18619
18624
  try {
18620
18625
  await Sw(e.latestVersion), i.next({
@@ -20234,7 +20239,7 @@ async function Hn(i, e) {
20234
20239
  Jn({
20235
20240
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
20236
20241
  logFile: e.logFile || process.env.AMP_LOG_FILE
20237
- }), Bp("0.0.1749109595-g4e65be");
20242
+ }), Bp("0.0.1749112146-gfc2ab3");
20238
20243
  const t = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
20239
20244
  K.info("Using settings file", { settingsFile: t });
20240
20245
  const n = Nn(), r = sd({ settingsFile: t }), o = process.env.AMP_API_KEY;
@@ -20334,7 +20339,7 @@ function Jw(i) {
20334
20339
  const e = new Sl().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
20335
20340
  e.option("-V, --version", "output the version number", () => {
20336
20341
  if (i.isTTY) {
20337
- const o = "0.0.1749109595-g4e65be".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20342
+ const o = "0.0.1749112146-gfc2ab3".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20338
20343
  if (o) {
20339
20344
  const [, , u] = o;
20340
20345
  try {
@@ -20345,21 +20350,21 @@ function Jw(i) {
20345
20350
  day: "numeric"
20346
20351
  });
20347
20352
  $e.write(
20348
- `0.0.1749109595-g4e65be ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
20353
+ `0.0.1749112146-gfc2ab3 ${i.printer.print(`(released ${a})`, { foreground: "gray" })}
20349
20354
  `
20350
20355
  );
20351
20356
  } else
20352
- $e.write(`0.0.1749109595-g4e65be
20357
+ $e.write(`0.0.1749112146-gfc2ab3
20353
20358
  `);
20354
20359
  } catch {
20355
- $e.write(`0.0.1749109595-g4e65be
20360
+ $e.write(`0.0.1749112146-gfc2ab3
20356
20361
  `);
20357
20362
  }
20358
20363
  } else
20359
- $e.write(`0.0.1749109595-g4e65be
20364
+ $e.write(`0.0.1749112146-gfc2ab3
20360
20365
  `);
20361
20366
  } else
20362
- $e.write(`0.0.1749109595-g4e65be
20367
+ $e.write(`0.0.1749112146-gfc2ab3
20363
20368
  `);
20364
20369
  process.exit(0);
20365
20370
  }), e.addHelpText(
@@ -20807,4 +20812,4 @@ export {
20807
20812
  Tm as J,
20808
20813
  Xv as r
20809
20814
  };
20810
- //# sourceMappingURL=main-B4ln85Rg.js.map
20815
+ //# sourceMappingURL=main-lhjhYkYV.js.map