@hadoku/resume-bot 3.15.103 → 3.15.104
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/{index-CbtTCqGm.js → index-D_yx_ElR.js} +11 -11
- package/dist/{node.browser-DOuaJAld.js → node.browser-CdiOmtfD.js} +1 -1
- package/dist/{node.browser-DG9r94Yf.js → node.browser-DSzcmXp_.js} +2 -2
- package/dist/worker/claude-pool.d.ts.map +1 -1
- package/dist/worker/constants.d.ts +9 -2
- package/dist/worker/constants.d.ts.map +1 -1
- package/dist/worker.js +1 -1
- package/package.json +2 -2
|
@@ -15061,7 +15061,7 @@ const LLM_PROVIDERS = [
|
|
|
15061
15061
|
}
|
|
15062
15062
|
];
|
|
15063
15063
|
const CLAUDE_POOL = {
|
|
15064
|
-
MODEL: "claude-
|
|
15064
|
+
MODEL: "claude-sonnet-5-5",
|
|
15065
15065
|
EFFORT: "low",
|
|
15066
15066
|
// Thinking spends output tokens too, so this is not the free providers' cap.
|
|
15067
15067
|
MAX_TOKENS: 16e3,
|
|
@@ -48514,7 +48514,7 @@ var EnvironmentWorker = /* @__PURE__ */ (() => {
|
|
|
48514
48514
|
const ctrl = new AbortController();
|
|
48515
48515
|
const detachExternal = linkAbort(externalSignal, ctrl);
|
|
48516
48516
|
const lease = new Lease(ctrl);
|
|
48517
|
-
const agentToolset = await import("./node.browser-
|
|
48517
|
+
const agentToolset = await import("./node.browser-DSzcmXp_.js");
|
|
48518
48518
|
let leaseTtlMs;
|
|
48519
48519
|
let runner;
|
|
48520
48520
|
const heartbeatPromise = heartbeatLoop(sessionClient, work, lease, log, this.requestOptions, (ttlMs) => {
|
|
@@ -65143,7 +65143,7 @@ function redactSensitive(body) {
|
|
|
65143
65143
|
async function checkCredentialsFileSafety(path2, onWarn = (m) => console.warn(`anthropic-sdk: ${m}`)) {
|
|
65144
65144
|
if (typeof process === "undefined" || process.platform === "win32")
|
|
65145
65145
|
return;
|
|
65146
|
-
const { fs } = await import("./node.browser-
|
|
65146
|
+
const { fs } = await import("./node.browser-CdiOmtfD.js");
|
|
65147
65147
|
let resolved = path2;
|
|
65148
65148
|
let st;
|
|
65149
65149
|
try {
|
|
@@ -65164,7 +65164,7 @@ async function checkCredentialsFileSafety(path2, onWarn = (m) => console.warn(`a
|
|
|
65164
65164
|
}
|
|
65165
65165
|
}
|
|
65166
65166
|
async function writeCredentialsFileAtomic(targetPath, data) {
|
|
65167
|
-
const { fs, path: path2 } = await import("./node.browser-
|
|
65167
|
+
const { fs, path: path2 } = await import("./node.browser-CdiOmtfD.js");
|
|
65168
65168
|
const dir = path2.dirname(targetPath);
|
|
65169
65169
|
await fs.promises.mkdir(dir, { recursive: true, mode: 448 });
|
|
65170
65170
|
const tmpPath = `${targetPath}.${process.pid}.${Math.random().toString(36).slice(2)}.tmp`;
|
|
@@ -65383,7 +65383,7 @@ const loadConfigWithSource = async (profile) => {
|
|
|
65383
65383
|
return null;
|
|
65384
65384
|
}
|
|
65385
65385
|
validateProfileName(profileName);
|
|
65386
|
-
const { fs, path: path2 } = await import("./node.browser-
|
|
65386
|
+
const { fs, path: path2 } = await import("./node.browser-CdiOmtfD.js");
|
|
65387
65387
|
const configPath = path2.join(rootConfigPath, "configs", `${profileName}.json`);
|
|
65388
65388
|
let configRaw;
|
|
65389
65389
|
try {
|
|
@@ -65444,14 +65444,14 @@ const getCredentialsPath = async (config2, profile) => {
|
|
|
65444
65444
|
return null;
|
|
65445
65445
|
}
|
|
65446
65446
|
validateProfileName(profileName);
|
|
65447
|
-
const { path: path2 } = await import("./node.browser-
|
|
65447
|
+
const { path: path2 } = await import("./node.browser-CdiOmtfD.js");
|
|
65448
65448
|
return path2.join(rootConfigPath, "credentials", `${profileName}.json`);
|
|
65449
65449
|
};
|
|
65450
65450
|
const getRootConfigPath = async () => {
|
|
65451
65451
|
if (!supportsLocalConfigFiles()) {
|
|
65452
65452
|
return null;
|
|
65453
65453
|
}
|
|
65454
|
-
const { path: path2 } = await import("./node.browser-
|
|
65454
|
+
const { path: path2 } = await import("./node.browser-CdiOmtfD.js");
|
|
65455
65455
|
const configDir = readEnv("ANTHROPIC_CONFIG_DIR");
|
|
65456
65456
|
if (configDir) {
|
|
65457
65457
|
return configDir;
|
|
@@ -65491,7 +65491,7 @@ const getActiveProfileName = async () => {
|
|
|
65491
65491
|
if (profileName) {
|
|
65492
65492
|
return profileName;
|
|
65493
65493
|
}
|
|
65494
|
-
const { fs, path: path2 } = await import("./node.browser-
|
|
65494
|
+
const { fs, path: path2 } = await import("./node.browser-CdiOmtfD.js");
|
|
65495
65495
|
const filePath = path2.join(rootConfigPath, "active_config");
|
|
65496
65496
|
try {
|
|
65497
65497
|
return (await fs.promises.readFile(filePath, "utf-8")).trim() || "default";
|
|
@@ -65507,7 +65507,7 @@ function identityTokenFromFile(path2) {
|
|
|
65507
65507
|
throw new AnthropicError("Identity token file path is empty");
|
|
65508
65508
|
}
|
|
65509
65509
|
return async () => {
|
|
65510
|
-
const { fs } = await import("./node.browser-
|
|
65510
|
+
const { fs } = await import("./node.browser-CdiOmtfD.js");
|
|
65511
65511
|
let content;
|
|
65512
65512
|
try {
|
|
65513
65513
|
content = await fs.promises.readFile(path2, "utf-8");
|
|
@@ -65586,7 +65586,7 @@ function oidcFederationProvider(config2) {
|
|
|
65586
65586
|
}
|
|
65587
65587
|
function userOAuthProvider(config2) {
|
|
65588
65588
|
return async (opts) => {
|
|
65589
|
-
const { fs } = await import("./node.browser-
|
|
65589
|
+
const { fs } = await import("./node.browser-CdiOmtfD.js");
|
|
65590
65590
|
await checkCredentialsFileSafety(config2.credentialsPath, config2.onSafetyWarning);
|
|
65591
65591
|
let raw;
|
|
65592
65592
|
try {
|
|
@@ -65753,7 +65753,7 @@ function resolveIdentityTokenProvider(auth) {
|
|
|
65753
65753
|
}
|
|
65754
65754
|
function cachedExchangeProvider(exchange, credentialsPath, onCacheWriteError, onSafetyWarning) {
|
|
65755
65755
|
return async (opts) => {
|
|
65756
|
-
const { fs } = await import("./node.browser-
|
|
65756
|
+
const { fs } = await import("./node.browser-CdiOmtfD.js");
|
|
65757
65757
|
await checkCredentialsFileSafety(credentialsPath, onSafetyWarning);
|
|
65758
65758
|
let existing;
|
|
65759
65759
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AnthropicError } from "./index-
|
|
2
|
-
import { D, M } from "./index-
|
|
1
|
+
import { A as AnthropicError } from "./index-D_yx_ElR.js";
|
|
2
|
+
import { D, M } from "./index-D_yx_ElR.js";
|
|
3
3
|
function nodeOnly(name) {
|
|
4
4
|
throw new AnthropicError(`${name} requires Node.js or a Node-compatible runtime`);
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claude-pool.d.ts","sourceRoot":"","sources":["../../worker/src/claude-pool.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgD,WAAW,EAAE,MAAM,UAAU,CAAA;AAgDzF,MAAM,WAAW,aAAa;IAC5B,oFAAoF;IACpF,IAAI,CAAC,EAAE;QAAE,KAAK,EAAE,OAAO,KAAK,CAAA;KAAE,CAAA;IAC9B,+DAA+D;IAC/D,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,4FAA4F;AAC5F,MAAM,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;AAEpD,oFAAoF;AACpF,qBAAa,gBAAiB,SAAQ,KAAK;gBAC7B,OAAO,EAAE,MAAM;CAI5B;AAuCD,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,GAAG,WAAW,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"claude-pool.d.ts","sourceRoot":"","sources":["../../worker/src/claude-pool.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgD,WAAW,EAAE,MAAM,UAAU,CAAA;AAgDzF,MAAM,WAAW,aAAa;IAC5B,oFAAoF;IACpF,IAAI,CAAC,EAAE;QAAE,KAAK,EAAE,OAAO,KAAK,CAAA;KAAE,CAAA;IAC9B,+DAA+D;IAC/D,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED,4FAA4F;AAC5F,MAAM,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;AAEpD,oFAAoF;AACpF,qBAAa,gBAAiB,SAAQ,KAAK;gBAC7B,OAAO,EAAE,MAAM;CAI5B;AAuCD,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,GAAG,WAAW,GAAG,IAAI,CAmIvF"}
|
|
@@ -29,13 +29,20 @@ export declare const LLM_PROVIDERS: {
|
|
|
29
29
|
* claude-opus-5-5 effort medium 33.9s 2,963 out
|
|
30
30
|
* claude-sonnet-5-5 effort low 13.5s 1,676 out
|
|
31
31
|
*
|
|
32
|
-
* All three returned valid JSON.
|
|
32
|
+
* All three returned valid JSON. Re-measured 2026-11-22 on the real extras
|
|
33
|
+
* prompt (5k in): Opus low 22-25s at ~90 tok/s, Sonnet low 15-17s at ~118
|
|
34
|
+
* tok/s, and thinking off saves Sonnet nothing. The time is spent WRITING the
|
|
35
|
+
* ~2.2k-token kit, not thinking, so the faster writer wins: Sonnet took a
|
|
36
|
+
* full packet (résumé + kit) from ~45s on Opus down. Opus is a quality
|
|
37
|
+
* choice, not a fix, and it accepts no way to turn thinking off.
|
|
38
|
+
*
|
|
39
|
+
* `low` keeps one attempt well inside
|
|
33
40
|
* OPERATION_BUDGET_MS, two passes of a tailored résumé included, which is why
|
|
34
41
|
* the attempt ceiling is 60s here and 20s for the free providers: a Claude call
|
|
35
42
|
* cut at 20s would fail every extras request it was given.
|
|
36
43
|
*/
|
|
37
44
|
export declare const CLAUDE_POOL: {
|
|
38
|
-
readonly MODEL: "claude-
|
|
45
|
+
readonly MODEL: "claude-sonnet-5-5";
|
|
39
46
|
readonly EFFORT: "low";
|
|
40
47
|
readonly MAX_TOKENS: 16000;
|
|
41
48
|
readonly ATTEMPT_TIMEOUT_MS: 60000;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../worker/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;CAGb,CAAA;AA0DV;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GACtB,cAAc,GACd,gBAAgB,GAChB,kBAAkB,GAClB,qBAAqB,GACrB,iBAAiB,CAAA;AAErB,eAAO,MAAM,aAAa,EAAE;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,cAAc,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,EA4ES,CAAA;AAEV
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../worker/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;CAGb,CAAA;AA0DV;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GACtB,cAAc,GACd,gBAAgB,GAChB,kBAAkB,GAClB,qBAAqB,GACrB,iBAAiB,CAAA;AAErB,eAAO,MAAM,aAAa,EAAE;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,cAAc,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,EA4ES,CAAA;AAEV;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,WAAW;;;;;;;CAQd,CAAA;AAEV,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAA;AAEV,eAAO,MAAM,sBAAsB;;;CASzB,CAAA;AAUV,eAAO,MAAM,gBAAgB;;;;CAanB,CAAA;AAEV,eAAO,MAAM,mBAAmB,OAAO,CAAA;AAMvC,eAAO,MAAM,yBAAyB,OAAO,CAAA;AAwB7C,eAAO,MAAM,mBAAmB,SAAU,CAAA;AAM1C,eAAO,MAAM,cAAc,OAAQ,CAAA"}
|
package/dist/worker.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hadoku/resume-bot",
|
|
3
|
-
"version": "3.15.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "3.15.104",
|
|
4
|
+
"gitHead": "10fabb5a276498c045dcfcea8fbb6fb14c151f9f",
|
|
5
5
|
"description": "AI-powered conversational interface for interactive resume exploration",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|