@sourcegraph/amp 0.0.1749367516-gcb962c → 0.0.1749369681-gcb962c

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-y67QVOnq.js";
3
- import "./main-CKyzkNHf.js";
3
+ import "./main-ZqwwFYVP.js";
4
4
  import "node:crypto";
5
5
  import "node:fs/promises";
6
6
  import "node:path";
@@ -4994,7 +4994,7 @@ async function Nv(t, e, n) {
4994
4994
  const { loadProfileEnvironmentVariables: r } = await import("./load-profile-ByMlljkK.js"), a = n.loadProfile === "never" || !n.workingDirectory ? process.env : await We(
4995
4995
  r(n.workingDirectory, n.loadProfile)
4996
4996
  );
4997
- i = await import("./stdio-DcmzvUF-.js").then(
4997
+ i = await import("./stdio-CWvuDeyJ.js").then(
4998
4998
  ({ StdioClientTransport: s }) => new s({
4999
4999
  ...t,
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-Bk5xda6B.js").then(({ runRoutine: t }) => t)
5758
+ fn: import("./node-Bhg3LIM_.js").then(({ runRoutine: t }) => t)
5759
5759
  };
5760
5760
  let hu = !1;
5761
5761
  async function ed(t, e = !1) {
@@ -17638,7 +17638,7 @@ async function Ur(t, e, { stdin: n, stdout: i } = { stdin: process.stdin, stdout
17638
17638
  n.on("data", u), n.once("error", o);
17639
17639
  });
17640
17640
  }
17641
- const Bd = import("./node-0bVpGlb9.js").then(
17641
+ const Bd = import("./node-CBVVO7Sa.js").then(
17642
17642
  ({ nodeFileSystem: t }) => t
17643
17643
  ), Qo = Ft(Zp.exec);
17644
17644
  async function cw(t) {
@@ -18792,7 +18792,7 @@ async function Rw({
18792
18792
  }
18793
18793
  async function xw(t) {
18794
18794
  try {
18795
- const e = await _w("0.0.1749367516-gcb962c");
18795
+ const e = await _w("0.0.1749369681-gcb962c");
18796
18796
  e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
18797
18797
  try {
18798
18798
  await Cw(e.latestVersion), t.next({
@@ -20550,7 +20550,7 @@ async function Un(t, e) {
20550
20550
  Yn({
20551
20551
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
20552
20552
  logFile: e.logFile || process.env.AMP_LOG_FILE
20553
- }), Vp("0.0.1749367516-gcb962c");
20553
+ }), Vp("0.0.1749369681-gcb962c");
20554
20554
  const n = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
20555
20555
  J.info("Using settings file", { settingsFile: n });
20556
20556
  const i = Hn(), r = ad({ settingsFile: n }), a = process.env.AMP_API_KEY;
@@ -20658,7 +20658,7 @@ function Zw(t) {
20658
20658
  const e = new wu().name("amp").description("AI-powered coding assistant").option("--thread-id [THREAD_ID]", "ID of the thread to continue running", void 0);
20659
20659
  e.option("-V, --version", "output the version number", () => {
20660
20660
  if (t.isTTY) {
20661
- const a = "0.0.1749367516-gcb962c".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20661
+ const a = "0.0.1749369681-gcb962c".match(/^(\d+\.\d+)\.(\d+)-(.+)$/);
20662
20662
  if (a) {
20663
20663
  const [, , s] = a;
20664
20664
  try {
@@ -20669,21 +20669,21 @@ function Zw(t) {
20669
20669
  day: "numeric"
20670
20670
  });
20671
20671
  Ie.write(
20672
- `0.0.1749367516-gcb962c ${t.printer.print(`(released ${o})`, { foreground: "gray" })}
20672
+ `0.0.1749369681-gcb962c ${t.printer.print(`(released ${o})`, { foreground: "gray" })}
20673
20673
  `
20674
20674
  );
20675
20675
  } else
20676
- Ie.write(`0.0.1749367516-gcb962c
20676
+ Ie.write(`0.0.1749369681-gcb962c
20677
20677
  `);
20678
20678
  } catch {
20679
- Ie.write(`0.0.1749367516-gcb962c
20679
+ Ie.write(`0.0.1749369681-gcb962c
20680
20680
  `);
20681
20681
  }
20682
20682
  } else
20683
- Ie.write(`0.0.1749367516-gcb962c
20683
+ Ie.write(`0.0.1749369681-gcb962c
20684
20684
  `);
20685
20685
  } else
20686
- Ie.write(`0.0.1749367516-gcb962c
20686
+ Ie.write(`0.0.1749369681-gcb962c
20687
20687
  `);
20688
20688
  process.exit(0);
20689
20689
  }), e.addHelpText(
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { q as x, o as A, n as g, y as B, r as j, l as h, x as I, u as J, w as V, A as k, aY as z, aZ as W, a_ as Z, a$ as C, b0 as L, b1 as _, b2 as D, ax as M, f as q, b3 as G, b4 as H, b5 as F, b6 as K, O as Q, b7 as N, _ as X, av as ee, C as te } from "./console-y67QVOnq.js";
3
- import { r as se } from "./main-CKyzkNHf.js";
3
+ import { r as se } from "./main-ZqwwFYVP.js";
4
4
  const v = A({
5
5
  context: V(["continue", "none"]).optional().default("continue"),
6
6
  tools: J([h("all"), x(g())]).optional(),
@@ -4,7 +4,7 @@ import * as i from "node:fs";
4
4
  import * as o from "node:path";
5
5
  import { join as p } from "node:path";
6
6
  import { promisify as w } from "node:util";
7
- import { U as h } from "./main-CKyzkNHf.js";
7
+ import { U as h } from "./main-ZqwwFYVP.js";
8
8
  import { N as y, C as n, aJ as c } from "./console-y67QVOnq.js";
9
9
  import { ripgrepFiles as d } from "./glob.node-0aiTM2uj.js";
10
10
  import { homedir as F } from "node:os";
@@ -5,7 +5,7 @@ import D from "node:path";
5
5
  import L from "node:fs";
6
6
  import R from "node:process";
7
7
  import { PassThrough as te } from "node:stream";
8
- import { J as se } from "./main-CKyzkNHf.js";
8
+ import { J as se } from "./main-ZqwwFYVP.js";
9
9
  var S = { exports: {} }, T, k;
10
10
  function oe() {
11
11
  if (k) return T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcegraph/amp",
3
- "version": "0.0.1749367516-gcb962c",
3
+ "version": "0.0.1749369681-gcb962c",
4
4
  "description": "CLI for Amp, an agentic coding tool in research preview from Sourcegraph.",
5
5
  "homepage": "https://ampcode.com/",
6
6
  "author": {