@sourcegraph/amp 0.0.1751256582-gd9183f → 0.0.1751284886-gfbbf6d

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 (3) hide show
  1. package/README.md +3 -3
  2. package/dist/amp.js +16 -10
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -53,10 +53,10 @@ If you can't use the interactive flow, set your API key as an environment variab
53
53
  export AMP_API_KEY=your-api-key-here
54
54
  ```
55
55
 
56
- ## Corporate Networks
56
+ ## Proxies and Certificates
57
57
 
58
- The Amp CLI supports proxy servers and custom certificates for corporate environments. See the [Corporate Networks section](https://ampcode.com/manual#corporate-networks) in the Amp Owner's Manual for configuration details.
58
+ The Amp CLI supports proxy servers and custom certificates for corporate environments. See the [Proxies and Certificates section](https://ampcode.com/manual#proxies-and-certificates) in the Amp Owner's Manual for configuration details.
59
59
 
60
60
  ## Configuration
61
61
 
62
- For advanced settings and configuration file locations, see the [Configuration section](https://ampcode.com/manual#configuration) in the Amp Owner's Manual.
62
+ For detailed configuration options including all available settings, see the [Configuration Settings](https://ampcode.com/manual#configuration) section in the Owner's Manual.
package/dist/amp.js CHANGED
@@ -54616,7 +54616,7 @@ const Z9t = [
54616
54616
  id: "password",
54617
54617
  category: "unknown",
54618
54618
  title: "Unknown Password",
54619
- pattern: String.raw`(?:[a-z0-9_ .,-]{0,25}password[a-z0-9_ .,-]{0,25})\s*(?:=|>|:=|\|\|:|<=|=>|:)\s*['"]?([a-z0-9+/=_-]{6,128})['"]?(?=\s|$|[;,\]})'"])`,
54619
+ pattern: String.raw`(?:[a-z0-9_ .,-]{0,25}password(?!length|count|max|min|maxlength|_length|_count|_min|_maxlength)[a-z0-9_ .,-]{0,25})\s*(?:=|>|:=|\|\|:|<=|=>|:)\s*['"]?([a-z0-9+/=_-]{6,128})['"]?(?=\s|$|[;,\]})'"])`,
54620
54620
  keywords: ["password"],
54621
54621
  caseInsensitive: !0
54622
54622
  },
@@ -55531,7 +55531,7 @@ class ad {
55531
55531
  name: "tracking file mention",
55532
55532
  threadID: this.threadID
55533
55533
  }), this.trackFileMention(r);
55534
- this.runInferenceAndUpdateThread(), this.thread.queuedMessages?.length && this.handle({ type: "user:message-queue:discard" });
55534
+ this.runInferenceAndUpdateThread();
55535
55535
  break;
55536
55536
  }
55537
55537
  case "user:message-queue:dequeue": {
@@ -55616,10 +55616,8 @@ class ad {
55616
55616
  }
55617
55617
  break;
55618
55618
  }
55619
- case "cancelled": {
55620
- this.thread.queuedMessages?.length && this.handle({ type: "user:message-queue:discard" });
55619
+ case "cancelled":
55621
55620
  break;
55622
- }
55623
55621
  case "inference:completed": {
55624
55622
  const r = Eh(this.thread, "assistant");
55625
55623
  r && r.state.type === "complete" && r.state.stopReason === "end_turn" && this.handle({ type: "user:message-queue:dequeue" });
@@ -56841,6 +56839,10 @@ USAGE GUIDELINES:
56841
56839
  },
56842
56840
  required: ["query"]
56843
56841
  },
56842
+ meta: {
56843
+ // Subagents should not be subjected to the default timeout (300s as of right now)
56844
+ disableTimeout: !0
56845
+ },
56844
56846
  source: "builtin"
56845
56847
  },
56846
56848
  // If all of the tools that it can call are available in this environment, then make this tool
@@ -61908,6 +61910,10 @@ EXAMPLES:
61908
61910
  },
61909
61911
  required: ["task"]
61910
61912
  },
61913
+ meta: {
61914
+ // Oracles should not be subjected to the default timeout (300s as of right now)
61915
+ disableTimeout: !0
61916
+ },
61911
61917
  source: "builtin"
61912
61918
  },
61913
61919
  // If all of the tools that it can call are available in this environment, then make this tool
@@ -125485,7 +125491,7 @@ async function vwr({
125485
125491
  }
125486
125492
  async function bwr(t) {
125487
125493
  try {
125488
- const e = await pwr("0.0.1751256582-gd9183f");
125494
+ const e = await pwr("0.0.1751284886-gfbbf6d");
125489
125495
  e.hasUpdate && e.latestVersion ? (t.next({ type: "update-start-updating" }), setTimeout(async () => {
125490
125496
  try {
125491
125497
  await ywr(e.latestVersion), t.next({
@@ -128064,7 +128070,7 @@ async function lg(t, e) {
128064
128070
  SI({
128065
128071
  logLevel: e.logLevel || process.env.AMP_LOG_LEVEL,
128066
128072
  logFile: e.logFile || process.env.AMP_LOG_FILE
128067
- }), Mht("0.0.1751256582-gd9183f");
128073
+ }), Mht("0.0.1751284886-gfbbf6d");
128068
128074
  const r = e.settingsFile ?? process.env.AMP_SETTINGS_FILE;
128069
128075
  De.info("Using settings file", { settingsFile: r });
128070
128076
  const n = I4(), i = vBe({ settingsFile: r }), a = process.env.AMP_API_KEY;
@@ -128179,11 +128185,11 @@ function Qwr(t) {
128179
128185
  const o = s.originalError ?? s;
128180
128186
  nh(t, o);
128181
128187
  }), e.option("-V, --version", "output the version number", () => {
128182
- const o = "(released 2025-06-30T04:18:48.364Z)";
128188
+ const o = "(released 2025-06-30T12:10:57.016Z)";
128183
128189
  t.isTTY ? xi.write(
128184
- `0.0.1751256582-gd9183f ${t.printer.print(o, { foreground: "gray" })}
128190
+ `0.0.1751284886-gfbbf6d ${t.printer.print(o, { foreground: "gray" })}
128185
128191
  `
128186
- ) : xi.write(`0.0.1751256582-gd9183f ${o}
128192
+ ) : xi.write(`0.0.1751284886-gfbbf6d ${o}
128187
128193
  `), process.exit(0);
128188
128194
  }), e.addHelpText(
128189
128195
  "after",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sourcegraph/amp",
3
- "version": "0.0.1751256582-gd9183f",
3
+ "version": "0.0.1751284886-gfbbf6d",
4
4
  "description": "CLI for Amp, an agentic coding tool in research preview from Sourcegraph.",
5
5
  "homepage": "https://ampcode.com/",
6
6
  "author": {