hunter-mate 0.1.29 → 0.1.30
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/assets/extension/build-info.json +1 -1
- package/dist/assets/extension/manifest.json +3 -3
- package/dist/assets/server/main.mjs +919 -859
- package/dist/index.js +15 -3
- package/dist/web/dist/404.html +1 -1
- package/dist/web/dist/_next/static/chunks/{main-app-b6db448fc4a461ce.js → main-app-5e9b0602f99fef72.js} +1 -1
- package/dist/web/dist/_next/static/chunks/pages/{_app-e47eadf8db6101cf.js → _app-3fdd92eb97cdde60.js} +3 -3
- package/dist/web/dist/admin/data.html +1 -1
- package/dist/web/dist/admin/data.txt +1 -1
- package/dist/web/dist/auth/verify.html +1 -1
- package/dist/web/dist/auth/verify.txt +1 -1
- package/dist/web/dist/companies.html +1 -1
- package/dist/web/dist/companies.txt +1 -1
- package/dist/web/dist/company/admin.html +1 -1
- package/dist/web/dist/company/admin.txt +1 -1
- package/dist/web/dist/entity.html +1 -1
- package/dist/web/dist/entity.txt +1 -1
- package/dist/web/dist/index.html +1 -1
- package/dist/web/dist/index.txt +1 -1
- package/dist/web/dist/jobs.html +1 -1
- package/dist/web/dist/jobs.txt +1 -1
- package/dist/web/dist/logs.html +1 -1
- package/dist/web/dist/logs.txt +1 -1
- package/dist/web/dist/matching/jobs/placeholder/talents.html +1 -1
- package/dist/web/dist/matching/jobs/placeholder/talents.txt +1 -1
- package/dist/web/dist/matching/portraits/placeholder/jobs.html +1 -1
- package/dist/web/dist/matching/portraits/placeholder/jobs.txt +1 -1
- package/dist/web/dist/parselog.html +1 -1
- package/dist/web/dist/parselog.txt +1 -1
- package/dist/web/dist/recordings.html +1 -1
- package/dist/web/dist/recordings.txt +1 -1
- package/dist/web/dist/resource-usage.html +1 -1
- package/dist/web/dist/resource-usage.txt +1 -1
- package/dist/web/dist/shared/placeholder.html +1 -1
- package/dist/web/dist/shared/placeholder.txt +1 -1
- package/dist/web/dist/snapshots/placeholder/agent-prompt.html +1 -1
- package/dist/web/dist/snapshots/placeholder/agent-prompt.txt +1 -1
- package/dist/web/dist/talents.html +1 -1
- package/dist/web/dist/talents.txt +1 -1
- package/dist/web/dist/team/insights.html +1 -1
- package/dist/web/dist/team/insights.txt +1 -1
- package/package.json +1 -1
- /package/dist/assets/extension/background/{service-worker.20261024183014.js → service-worker.20261025015540.js} +0 -0
- /package/dist/web/dist/_next/static/{-DVDEKqCnUI6VNtYuEnWq → oL0Npvxb5lQa5gycVwoMf}/_buildManifest.js +0 -0
- /package/dist/web/dist/_next/static/{-DVDEKqCnUI6VNtYuEnWq → oL0Npvxb5lQa5gycVwoMf}/_ssgManifest.js +0 -0
package/dist/index.js
CHANGED
|
@@ -63805,6 +63805,14 @@ import * as fs8 from "fs";
|
|
|
63805
63805
|
import * as path10 from "path";
|
|
63806
63806
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
63807
63807
|
import { spawn } from "child_process";
|
|
63808
|
+
function cliReleaseVersion() {
|
|
63809
|
+
try {
|
|
63810
|
+
const pkg = JSON.parse(fs8.readFileSync(path10.join(__dirname3, "..", "..", "package.json"), "utf8"));
|
|
63811
|
+
return typeof pkg?.version === "string" && pkg.version ? pkg.version : "0.0.0";
|
|
63812
|
+
} catch {
|
|
63813
|
+
return "0.0.0";
|
|
63814
|
+
}
|
|
63815
|
+
}
|
|
63808
63816
|
function acquireStartLock() {
|
|
63809
63817
|
const write = () => {
|
|
63810
63818
|
try {
|
|
@@ -64167,7 +64175,9 @@ async function runStartLocked(opts, ctx) {
|
|
|
64167
64175
|
PORT: String(port),
|
|
64168
64176
|
HOST: host,
|
|
64169
64177
|
// FID-071: server 所有数据落点(db/备份/runtime.json/artifacts)由 CLI 的数据目录决定
|
|
64170
|
-
HM_DATA_DIR: resolveDataDir()
|
|
64178
|
+
HM_DATA_DIR: resolveDataDir(),
|
|
64179
|
+
// FID-137 iter4+: 发布版本随进程注入,server 据此判定更新后首次启动并自动上云迁移
|
|
64180
|
+
HM_RELEASE_VERSION: cliReleaseVersion()
|
|
64171
64181
|
};
|
|
64172
64182
|
const nodeArgs = [];
|
|
64173
64183
|
if (entry.endsWith(".ts")) {
|
|
@@ -64200,7 +64210,9 @@ async function runStartLocked(opts, ctx) {
|
|
|
64200
64210
|
HM_SERVER_NODE_ARGS: nodeArgs.join(","),
|
|
64201
64211
|
HM_DATA_DIR: resolveDataDir(),
|
|
64202
64212
|
PORT: String(port),
|
|
64203
|
-
HOST: host
|
|
64213
|
+
HOST: host,
|
|
64214
|
+
// FID-137 iter4+: 经 watchdog 透传给 server(自动上云迁移的版本判定)
|
|
64215
|
+
HM_RELEASE_VERSION: cliReleaseVersion()
|
|
64204
64216
|
};
|
|
64205
64217
|
const wd = spawn(process.execPath, [watchdogEntry], {
|
|
64206
64218
|
stdio: "ignore",
|
|
@@ -73823,7 +73835,7 @@ function installLocalProxyBypass() {
|
|
|
73823
73835
|
// package.json
|
|
73824
73836
|
var package_default = {
|
|
73825
73837
|
name: "hunter-mate",
|
|
73826
|
-
version: "0.1.
|
|
73838
|
+
version: "0.1.30",
|
|
73827
73839
|
type: "module",
|
|
73828
73840
|
description: "HiredChina \u730E\u5934 Agent \u6570\u636E\u52A9\u624B CLI:\u4EBA\u624D\u5E93/\u5BA2\u6237/\u804C\u4F4D\u6570\u636E\u8BBF\u95EE,\u6D4F\u89C8\u5668\u5F55\u5236\u89E3\u6790\u7B80\u5386,server/\u6269\u5C55\u4E00\u81F4\u6027\u81EA\u6108",
|
|
73829
73841
|
license: "MIT",
|
package/dist/web/dist/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/8f3c454cab3414d0.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9cebd25e322e2cd7.js"/><script src="/_next/static/chunks/a7067448-3f2b194cfadb91fb.js" async=""></script><script src="/_next/static/chunks/935-12f1084f0e18c962.js" async=""></script><script src="/_next/static/chunks/main-app-
|
|
1
|
+
<!DOCTYPE html><html lang="zh-CN"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/8f3c454cab3414d0.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9cebd25e322e2cd7.js"/><script src="/_next/static/chunks/a7067448-3f2b194cfadb91fb.js" async=""></script><script src="/_next/static/chunks/935-12f1084f0e18c962.js" async=""></script><script src="/_next/static/chunks/main-app-5e9b0602f99fef72.js" async=""></script><script src="/_next/static/chunks/603-765c4fa1ed757ca5.js" async=""></script><script src="/_next/static/chunks/589-5bb84ab8060e960b.js" async=""></script><script src="/_next/static/chunks/187-48dc1acca97c62ba.js" async=""></script><script src="/_next/static/chunks/app/layout-1e492ed8c639edf5.js" async=""></script><meta name="robots" content="noindex"/><title>HunterMate 采集仪表盘</title><meta name="description" content="HunterMate 采集/解析/入库仪表盘"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="flex h-screen overflow-hidden bg-gray-50 text-gray-900"><div class="flex h-screen w-screen flex-col items-center justify-center bg-gray-50"><span class="hm-spinner" aria-label="加载中"></span><div class="mt-4 text-sm text-gray-400">正在加载,请稍候…</div></div><script src="/_next/static/chunks/webpack-9cebd25e322e2cd7.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/8f3c454cab3414d0.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[76939,[],\"\"]\n4:I[74268,[],\"\"]\n5:I[81050,[],\"\"]\n6:I[15214,[\"603\",\"static/chunks/603-765c4fa1ed757ca5.js\",\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-48dc1acca97c62ba.js\",\"185\",\"static/chunks/app/layout-1e492ed8c639edf5.js\"],\"AuthGate\"]\n7:I[67188,[\"603\",\"static/chunks/603-765c4fa1ed757ca5.js\",\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-48dc1acca97c62ba.js\",\"185\",\"static/chunks/app/layout-1e492ed8c639edf5.js\"],\"AntdProvider\"]\n8:I[9424,[\"603\",\"static/chunks/603-765c4fa1ed757ca5.js\",\"589\",\"static/chunks/589-5bb84ab8060e960b.js\",\"187\",\"static/chunks/187-48dc1acca97c62ba.js\",\"185\",\"static/chunks/app/layout-1e492ed8c639edf5.js\"],\"SystemSidebar\"]\ne:I[62319,[],\"\"]\n9:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\na:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nb:{\"display\":\"inline-block\"}\nc:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"oL0Npvxb5lQa5gycVwoMf\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8f3c454cab3414d0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"zh-CN\",\"children\":[\"$\",\"body\",null,{\"className\":\"flex h-screen overflow-hidden bg-gray-50 text-gray-900\",\"children\":[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"children\":[[\"$\",\"$L8\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-hidden\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$a\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$b\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$c\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"HunterMate 采集仪表盘\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"HunterMate 采集/解析/入库仪表盘\"}]]\n3:null\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="063775fb-0e41-45c4-b0fd-d7e59bd5ee2f",e._sentryDebugIdIdentifier="sentry-dbid-063775fb-0e41-45c4-b0fd-d7e59bd5ee2f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{85746:function(){},47539:function(e,n,t){Promise.resolve().then(t.t.bind(t,76939,23)),Promise.resolve().then(t.t.bind(t,67360,23)),Promise.resolve().then(t.t.bind(t,62319,23)),Promise.resolve().then(t.t.bind(t,74268,23)),Promise.resolve().then(t.t.bind(t,90742,23)),Promise.resolve().then(t.t.bind(t,81050,23))},19531:function(e,n,t){"use strict";var r=t(60258),i=t(60529);globalThis._sentryRewritesTunnelPath=void 0,globalThis.SENTRY_RELEASE={id:"57c40c573b5c9020f7807ea96f35589d4154d13d"},globalThis._sentryBasePath=void 0,globalThis._sentryRewriteFramesAssetPrefixPath="";let s=i.env.NEXT_PUBLIC_HM_ERROR_TRACKING_DSN;"true"===i.env.NEXT_PUBLIC_HM_ERROR_TRACKING_ENABLED&&s&&r.S1({dsn:s,release:i.env.NEXT_PUBLIC_HM_RELEASE,environment:i.env.NEXT_PUBLIC_HM_ENVIRONMENT||"development",tracesSampleRate:0,sendClientReports:!1,beforeSend(e){var n;if(null===(n=e.request)||void 0===n?void 0:n.headers){let n=e.request.headers;n.authorization&&(n.authorization="***"),n.cookie&&(n.cookie="***")}return e}})}},function(e){var n=function(n){return e(e.s=n)};e.O(0,[400,935],function(){return n(19531),n(68063),n(47539)}),_N_E=e.O()}]);
|