trackly-cli 0.2.6 → 0.2.7

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/mcp/server.js CHANGED
@@ -128,7 +128,15 @@ function createServer() {
128
128
  },
129
129
  wrapTool(async (params) => {
130
130
  const qs = new URLSearchParams();
131
- if (params.function !== undefined) qs.set('jobFunction', params.function);
131
+ // When `function` isn't specified, request ALL canonical functions so the
132
+ // backend takes the all-roles short-circuit (granola-followup-app
133
+ // src/routes/jobscout.ts:3461, isAllJobFunctionsSelection). Otherwise the
134
+ // backend's legacy fallback (jobscout.ts:3478) defaults to
135
+ // `is_pm_role = TRUE`, returning 0 for companies with zero PM roles.
136
+ // Surfaced 2026-05-20 on freshly-activated Cahoot (id=3349) and Iterative
137
+ // Health (id=3350) — both had non-PM-only job sets and search_jobs
138
+ // returned total=0 without an explicit function filter.
139
+ qs.set('jobFunction', params.function !== undefined ? params.function : JOB_FUNCTIONS.join(','));
132
140
  if (params.companyId !== undefined) qs.set('companyId', String(params.companyId));
133
141
  if (params.locationFilter !== undefined) {
134
142
  const value = Array.isArray(params.locationFilter)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trackly-cli",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "mcpName": "io.github.trackly-app/trackly",
5
5
  "description": "AI job search CLI + hosted MCP server with OAuth. 128K+ jobs, 1,900+ companies, 40+ ATS. Works with Claude, ChatGPT, Cursor, Windsurf, Codex via hosted streamable-http or local stdio.",
6
6
  "bin": {
package/server.json CHANGED
@@ -17,12 +17,12 @@
17
17
  ]
18
18
  }
19
19
  ],
20
- "version": "0.2.6",
20
+ "version": "0.2.7",
21
21
  "packages": [
22
22
  {
23
23
  "registryType": "npm",
24
24
  "identifier": "trackly-cli",
25
- "version": "0.2.6",
25
+ "version": "0.2.7",
26
26
  "runtimeHint": "npx",
27
27
  "runtimeArguments": [
28
28
  {