@sourcegraph/amp 0.0.1750708943-g7223b6 → 0.0.1750738028-g847a86

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.
Files changed (2) hide show
  1. package/dist/amp.js +8 -6
  2. package/package.json +1 -1
package/dist/amp.js CHANGED
@@ -2364,7 +2364,9 @@ function iE(t) {
2364
2364
  return ["done", "error", "rejected-by-user", "cancelled"].includes(t.status);
2365
2365
  }
2366
2366
  function aE() {
2367
- const t = kCe.getMeter("tool_service"), e = t.createCounter("tool_service.invocation_count"), r = t.createHistogram(
2367
+ const t = kCe.getMeter("tool_service"), e = t.createCounter("tool_service.invocation_count", {
2368
+ description: "Number of tool invocations"
2369
+ }), r = t.createHistogram(
2368
2370
  "tool_service.invocation_latency",
2369
2371
  {
2370
2372
  description: "Latency of tool invocations",
@@ -119933,7 +119935,7 @@ async function ySr({
119933
119935
  }
119934
119936
  async function vSr(t) {
119935
119937
  try {
119936
- const e = await fSr("0.0.1750708943-g7223b6");
119938
+ const e = await fSr("0.0.1750738028-g847a86");
119937
119939
  e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
119938
119940
  try {
119939
119941
  await _Sr(e.latestVersion), t.next({
@@ -122504,7 +122506,7 @@ async function lg(t, e) {
122504
122506
  cI({
122505
122507
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
122506
122508
  logFile: e.logFile || process.env.AMP_LOG_FILE
122507
- }), rht("0.0.1750708943-g7223b6");
122509
+ }), rht("0.0.1750738028-g847a86");
122508
122510
  const r = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
122509
122511
  Be.info("Using settings file", { settingsFile: r });
122510
122512
  const n = m4(), i = A7e({ settingsFile: r }), a = process.env.AMP_API_KEY;
@@ -122617,11 +122619,11 @@ function XSr(t) {
122617
122619
  const o = s.originalError ?? s;
122618
122620
  eh(t, o);
122619
122621
  }), e.option("-V, --version", "output the version number", () => {
122620
- const o = "(released 2025-06-23T20:10:51.269Z)";
122622
+ const o = "(released 2025-06-24T04:15:18.012Z)";
122621
122623
  t.isTTY ? xi.write(
122622
- `0.0.1750708943-g7223b6 ${t.printer.print(o, { foreground: "gray" })}
122624
+ `0.0.1750738028-g847a86 ${t.printer.print(o, { foreground: "gray" })}
122623
122625
  `
122624
- ) : xi.write(`0.0.1750708943-g7223b6 ${o}
122626
+ ) : xi.write(`0.0.1750738028-g847a86 ${o}
122625
122627
  `), process.exit(0);
122626
122628
  }), e.addHelpText(
122627
122629
  "after",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcegraph/amp",
3
- "version": "0.0.1750708943-g7223b6",
3
+ "version": "0.0.1750738028-g847a86",
4
4
  "description": "CLI for Amp, an agentic coding tool in research preview from Sourcegraph.",
5
5
  "homepage": "https://ampcode.com/",
6
6
  "author": {