@cortexkit/opencode-antigravity-auth 3.1.1 → 3.1.4

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 (37) hide show
  1. package/dist/cli.js +21 -6
  2. package/dist/cli.js.map +4 -4
  3. package/dist/cli.meta.json +27 -14
  4. package/dist/index.js +276 -76
  5. package/dist/index.js.map +4 -4
  6. package/dist/index.meta.json +33 -20
  7. package/dist/server.js +276 -76
  8. package/dist/server.js.map +4 -4
  9. package/dist/server.meta.json +1 -1
  10. package/dist/src/common-auth-embedded/fs/canonical-file-path.js +6 -2
  11. package/dist/src/common-auth-embedded/source-output.json +22 -22
  12. package/dist/src/common-auth-embedded/store/index.d.ts +1 -1
  13. package/dist/src/common-auth-embedded/store/index.js +1 -1
  14. package/dist/src/common-auth-embedded/store/settings.d.ts +8 -0
  15. package/dist/src/common-auth-embedded/store/settings.js +14 -4
  16. package/dist/src/plugin/__fixtures__/verified-store.js +2 -2
  17. package/dist/src/plugin/request.d.ts.map +1 -1
  18. package/dist/src/plugin/request.js +3 -1
  19. package/dist/src/plugin/request.js.map +1 -1
  20. package/dist/src/plugin/shared/request-services.d.ts +2 -0
  21. package/dist/src/plugin/shared/request-services.d.ts.map +1 -1
  22. package/dist/src/plugin/shared/request-services.js +135 -24
  23. package/dist/src/plugin/shared/request-services.js.map +1 -1
  24. package/dist/tui-build-map.json +1 -1
  25. package/dist/tui-ga-build-map.json +1 -1
  26. package/dist/types/src/common-auth-embedded/store/index.d.ts +1 -1
  27. package/dist/types/src/common-auth-embedded/store/settings.d.ts +8 -0
  28. package/dist/types/src/plugin/request.d.ts.map +1 -1
  29. package/dist/types/src/plugin/shared/request-services.d.ts +2 -0
  30. package/dist/types/src/plugin/shared/request-services.d.ts.map +1 -1
  31. package/package.json +2 -2
  32. package/src/common-auth-embedded/fs/canonical-file-path.js +6 -2
  33. package/src/common-auth-embedded/source-output.json +22 -22
  34. package/src/common-auth-embedded/store/index.d.ts +1 -1
  35. package/src/common-auth-embedded/store/index.js +1 -1
  36. package/src/common-auth-embedded/store/settings.d.ts +8 -0
  37. package/src/common-auth-embedded/store/settings.js +14 -4
package/dist/cli.js CHANGED
@@ -13844,14 +13844,17 @@ function settingsRefusal(message) {
13844
13844
  message
13845
13845
  });
13846
13846
  }
13847
- async function readPoolSettings(rt) {
13848
- const read = async ([configPath = rt.ctx.configPath] = []) => {
13849
- const result2 = await readPoolConfig(configPath);
13847
+ function readPoolSettings(rt) {
13848
+ return readPoolSettingsAt(rt.ctx.configPath);
13849
+ }
13850
+ async function readPoolSettingsAt(configPath) {
13851
+ const read = async ([path2 = configPath] = []) => {
13852
+ const result2 = await readPoolConfig(path2);
13850
13853
  if (result2.status === "error")
13851
13854
  return { status: "error", file: "config", reason: result2.reason };
13852
13855
  return { status: result2.status, settings: settingsOf2(result2.config) };
13853
13856
  };
13854
- const result = windowsPrivateFiles ? await read() : await settingsCache.read([rt.ctx.configPath], read);
13857
+ const result = windowsPrivateFiles ? await read() : await settingsCache.read([configPath], read);
13855
13858
  return structuredClone(result);
13856
13859
  }
13857
13860
  async function updatePoolSettings(rt, mutator, options = {}) {
@@ -14064,6 +14067,7 @@ __export(store_exports, {
14064
14067
  countUnknownIdentityRows: () => countUnknownIdentityRows,
14065
14068
  fingerprintOf: () => fingerprintOf,
14066
14069
  openPoolStore: () => openPoolStore,
14070
+ readPoolSettingsAt: () => readPoolSettingsAt,
14067
14071
  rowLockKey: () => rowLockKey
14068
14072
  });
14069
14073
  var init_store = __esm({
@@ -14081,6 +14085,9 @@ var init_store = __esm({
14081
14085
 
14082
14086
  // ../core/dist/common-auth-embedded/fs/canonical-file-path.js
14083
14087
  import { basename as basename4, dirname as dirname9, join as join7, resolve as resolve7 } from "node:path";
14088
+ function symlinkLoop(file) {
14089
+ return Object.assign(new Error(`ELOOP: too many symbolic links encountered, realpath '${file}'`), { code: "ELOOP", syscall: "realpath", path: file });
14090
+ }
14084
14091
  async function canonicalFilePath(file, fs3) {
14085
14092
  let target = file;
14086
14093
  for (let hops = 0; ; hops++) {
@@ -14096,7 +14103,7 @@ async function canonicalFilePath(file, fs3) {
14096
14103
  if (!isSymlink)
14097
14104
  return target;
14098
14105
  if (hops >= maxSymlinkHops)
14099
- throw new Error("Too many file symlink hops");
14106
+ throw symlinkLoop(file);
14100
14107
  target = resolve7(dirname9(target), await fs3.readlink(target));
14101
14108
  }
14102
14109
  }
@@ -14115,7 +14122,7 @@ function canonicalFilePathSync(file, fs3) {
14115
14122
  if (!isSymlink)
14116
14123
  return target;
14117
14124
  if (hops >= maxSymlinkHops)
14118
- throw new Error("Too many file symlink hops");
14125
+ throw symlinkLoop(file);
14119
14126
  target = resolve7(dirname9(target), fs3.readlinkSync(target));
14120
14127
  }
14121
14128
  }
@@ -23137,6 +23144,13 @@ var init_credential_redaction = __esm({
23137
23144
  }
23138
23145
  });
23139
23146
 
23147
+ // ../core/dist/harness-identity.js
23148
+ var init_harness_identity = __esm({
23149
+ "../core/dist/harness-identity.js"() {
23150
+ "use strict";
23151
+ }
23152
+ });
23153
+
23140
23154
  // ../core/dist/model-types.js
23141
23155
  var init_model_types = __esm({
23142
23156
  "../core/dist/model-types.js"() {
@@ -24179,6 +24193,7 @@ var init_dist = __esm({
24179
24193
  init_fetch_timeout();
24180
24194
  init_file_lock();
24181
24195
  init_fingerprint();
24196
+ init_harness_identity();
24182
24197
  init_logger();
24183
24198
  init_model_registry();
24184
24199
  init_model_types();