From e781d40408dcf213b640e7d7a83507d764df2023 Mon Sep 17 00:00:00 2001 From: xuelin Date: Mon, 16 Mar 2026 18:12:46 +0800 Subject: [PATCH] feat(boss): add security_id to search output Expose securityId in search results so users can pipe it to `boss detail` for full job information. Co-Authored-By: Claude Opus 4.6 --- src/clis/boss/search.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clis/boss/search.ts b/src/clis/boss/search.ts index 984ee89..8db70ed 100644 --- a/src/clis/boss/search.ts +++ b/src/clis/boss/search.ts @@ -81,7 +81,7 @@ cli({ { name: 'page', type: 'int', default: 1, help: 'Page number' }, { name: 'limit', type: 'int', default: 15, help: 'Number of results' }, ], - columns: ['name', 'salary', 'company', 'area', 'experience', 'degree', 'skills', 'boss', 'url'], + columns: ['name', 'salary', 'company', 'area', 'experience', 'degree', 'skills', 'boss', 'security_id', 'url'], func: async (page: IPage | null, kwargs) => { if (!page) throw new Error('Browser page required'); @@ -191,6 +191,7 @@ cli({ degree: j.jobDegree, skills: (j.skills || []).join(','), boss: j.bossName + ' ยท ' + j.bossTitle, + security_id: j.securityId || '', url: 'https://www.zhipin.com/job_detail/' + j.encryptJobId + '.html', }); addedInBatch++;