@wirecat/hubspot-cli 0.3.0 → 0.3.2
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/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/{app-server-FFYKM37G.js → app-server-EQZUP4H4.js} +6 -6
- package/dist/bundle/{chunk-OPVNUI4M.js → chunk-5PPG73G6.js} +2 -2
- package/dist/bundle/{chunk-DQP2GAAO.js → chunk-5ZV7REBE.js} +3 -3
- package/dist/bundle/{chunk-AFL2C4JR.js → chunk-6MFP47XC.js} +5 -5
- package/dist/bundle/{chunk-QFZD6MTF.js → chunk-BHZUPOQY.js} +3 -3
- package/dist/bundle/{chunk-CYADK744.js → chunk-DJ2GJ77D.js} +17 -15
- package/dist/bundle/{chunk-JG7YMHNB.js → chunk-E4FAMU2S.js} +1 -0
- package/dist/bundle/{chunk-SMTTIKZ5.js → chunk-GZZR5U3K.js} +1 -1
- package/dist/bundle/{chunk-3WIVJJNB.js → chunk-K4X5ZHI2.js} +1 -1
- package/dist/bundle/{chunk-M7XLG6AN.js → chunk-ODPU3II6.js} +1 -1
- package/dist/bundle/{chunk-5HD64ETI.js → chunk-OJIJVOOA.js} +1 -1
- package/dist/bundle/{chunk-77CUE3VX.js → chunk-QBEDVMLZ.js} +1 -1
- package/dist/bundle/{chunk-TDQJS3JG.js → chunk-TKK3ECDS.js} +1 -1
- package/dist/bundle/{chunk-J6C2QWL5.js → chunk-YIF5M5R6.js} +1 -1
- package/dist/bundle/{first-run-MAUI6QJ7.js → first-run-KCZVNFJ7.js} +1 -1
- package/dist/bundle/hubspot.js +2 -2
- package/dist/bundle/{program-2D5D32HK.js → program-VKYZXANH.js} +16 -16
- package/dist/bundle/{server-OJPCTV77.js → server-DUKWJUKD.js} +3 -3
- package/dist/bundle/{server-CN6VQNNF.js → server-UQVV2PPX.js} +6 -6
- package/dist/bundle/{source-VHDK74YS.js → source-LJG4BWRU.js} +270 -21
- package/dist/bundle/{store-HXA2MRWI.js → store-7DQGZH64.js} +2 -2
- package/dist/bundle/{store-maintenance-command-AC7GGLYC.js → store-maintenance-command-DQUBBWMD.js} +4 -4
- package/dist/bundle/{surface-ZZNG3OW2.js → surface-IGBQUYE5.js} +2 -2
- package/dist/bundle/{writer-CZYA657G.js → writer-QOEJONAD.js} +9 -9
- package/dist/commands/session.js +2 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/crm/activities.d.ts.map +1 -1
- package/dist/crm/activities.js +3 -13
- package/dist/crm/activities.js.map +1 -1
- package/dist/crm/records.d.ts +6 -0
- package/dist/crm/records.d.ts.map +1 -1
- package/dist/crm/records.js +6 -0
- package/dist/crm/records.js.map +1 -1
- package/dist/crm/source.d.ts +0 -6
- package/dist/crm/source.d.ts.map +1 -1
- package/dist/crm/source.js +1 -7
- package/dist/crm/source.js.map +1 -1
- package/dist/hubspot/transport.js +1 -1
- package/dist/hubspot/transport.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/hubspot-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.3.2 — 19.11.2026
|
|
6
|
+
|
|
7
|
+
## 0.3.1 — 19.11.2026
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **Notes, meetings and tasks read as clean text.** HTML codes such as `’` and `—` become the characters
|
|
12
|
+
they stand for, and style blocks are left out, so search finds the words. Before, only six codes were decoded.
|
|
13
|
+
- **HubSpot's daily limit says "do not retry" on every path.** The CRM commands called it retryable while `api` did
|
|
14
|
+
not, so an agent could retry for hours.
|
|
15
|
+
- **`session start --help` no longer says hubspot changes nothing.** Writes shipped in 0.2.0.
|
|
16
|
+
|
|
5
17
|
## 0.3.0 — 18.11.2026
|
|
6
18
|
|
|
7
19
|
### Changed — may break callers
|
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ computer, and the writes to HubSpot, which only a key with write scopes can make
|
|
|
107
107
|
agent marked as untrusted, so the agent reads it as data, never as instructions. The sign-in commands are not offered
|
|
108
108
|
over MCP.
|
|
109
109
|
|
|
110
|
-
More: [agents and MCP](docs/
|
|
110
|
+
More: [agents and MCP](docs/mcp.md)
|
|
111
111
|
|
|
112
112
|
## Why hubspot
|
|
113
113
|
|
|
@@ -219,7 +219,7 @@ Over MCP nobody is there to answer, so `ask` lets the command run. Set a key to
|
|
|
219
219
|
agent. `hubspot work mcp serve --permission people.list=deny` makes a key stricter for one server only, never looser.
|
|
220
220
|
`WCHUBSPOT_READ_ONLY=1` refuses every write.
|
|
221
221
|
|
|
222
|
-
More: [settings and permissions](docs/
|
|
222
|
+
More: [settings and permissions](docs/permissions.md)
|
|
223
223
|
|
|
224
224
|
## Limits
|
|
225
225
|
|
package/dist/bin/hubspot.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.3.
|
|
12
|
+
process.stdout.write("0.3.2\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/agent-A7ARC3QB.js","../bundle/all-profiles-6452VSJB.js","../bundle/anthropic-VQUOVYOW.js","../bundle/app-server-
|
|
31
|
+
const chunks = ["../bundle/agent-A7ARC3QB.js","../bundle/all-profiles-6452VSJB.js","../bundle/anthropic-VQUOVYOW.js","../bundle/app-server-EQZUP4H4.js","../bundle/bun-AJPJ4ZUN.js","../bundle/bun-sqlite-AGXGSF6D.js","../bundle/decode-6PLXHVHW.js","../bundle/definitions-MVPICAWV.js","../bundle/dispatch-TAQ7635E.js","../bundle/dist-7TGU56B2.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-UZ7QLRE2.js","../bundle/embed-AWLL4EBF.js","../bundle/embedder-MM225YJ6.js","../bundle/failure-MR2XVHFP.js","../bundle/first-screen-SCDV7TXT.js","../bundle/instructions-ZJ7U3QUE.js","../bundle/mcp-CNV7F2XZ.js","../bundle/node-HGCZGZ4R.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-RKYSRKEB.js","../bundle/oauth-PYDCAQ7Y.js","../bundle/open-UCDSQUN2.js","../bundle/openai-Y4F5ZC7O.js","../bundle/process-P7FB7YO7.js","../bundle/program-VKYZXANH.js","../bundle/prompt-E5TKZ37Q.js","../bundle/recognize-5NYPTSLT.js","../bundle/remote-U4LUAHF2.js","../bundle/rerank-AJAVKK5L.js","../bundle/schemas-QLQ2K6DL.js","../bundle/serve-4UJ3R5IP.js","../bundle/server-DUKWJUKD.js","../bundle/server-UQVV2PPX.js","../bundle/source-LJG4BWRU.js","../bundle/sqlite-runtime-KLEA4XAU.js","../bundle/state-COGSYMVH.js","../bundle/store-7DQGZH64.js","../bundle/store-BJXCSP26.js","../bundle/store-V5UMSWK4.js","../bundle/store-maintenance-command-DQUBBWMD.js","../bundle/surface-IGBQUYE5.js","../bundle/writer-QOEJONAD.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6MFP47XC.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BHZUPOQY.js";
|
|
10
10
|
import {
|
|
11
11
|
skillResources
|
|
12
12
|
} from "./chunk-PLRUUXK7.js";
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
serveStdio
|
|
17
17
|
} from "./chunk-AF7DANIR.js";
|
|
18
18
|
import "./chunk-HPZRUY6S.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-K4X5ZHI2.js";
|
|
20
|
+
import "./chunk-ODPU3II6.js";
|
|
21
21
|
import {
|
|
22
22
|
runCommandForAgent,
|
|
23
23
|
toolsFromCommands
|
|
@@ -31,11 +31,11 @@ import {
|
|
|
31
31
|
answered,
|
|
32
32
|
failed,
|
|
33
33
|
registerCommands
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OJIJVOOA.js";
|
|
35
35
|
import {
|
|
36
36
|
agentJson
|
|
37
37
|
} from "./chunk-AVUMH42T.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-E4FAMU2S.js";
|
|
39
39
|
import "./chunk-RVWGFD32.js";
|
|
40
40
|
import "./chunk-LA3YU4K7.js";
|
|
41
41
|
import "./chunk-ABXVU5O4.js";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
OBJECTS,
|
|
5
5
|
SERVICE,
|
|
6
6
|
segment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DJ2GJ77D.js";
|
|
8
8
|
import {
|
|
9
9
|
foldFieldName,
|
|
10
10
|
values_exports
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-E4FAMU2S.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError,
|
|
14
14
|
isCliError
|
|
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answerOf,
|
|
5
5
|
messengerContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K4X5ZHI2.js";
|
|
7
7
|
import {
|
|
8
8
|
chatEventAnswer,
|
|
9
9
|
memberAnswer,
|
|
10
10
|
pollVoteAnswer
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ODPU3II6.js";
|
|
12
12
|
import {
|
|
13
13
|
serveRelay
|
|
14
14
|
} from "./chunk-B2W3C4N6.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
servicesFor,
|
|
29
29
|
syncsOneChat,
|
|
30
30
|
withTimeLimit
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-E4FAMU2S.js";
|
|
32
32
|
import {
|
|
33
33
|
capability,
|
|
34
34
|
queryTerms,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
refuseWriteBeforeConnecting,
|
|
13
13
|
registerPrompts,
|
|
14
14
|
syncsFirst
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BHZUPOQY.js";
|
|
16
16
|
import {
|
|
17
17
|
skillResources
|
|
18
18
|
} from "./chunk-PLRUUXK7.js";
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
} from "./chunk-HPZRUY6S.js";
|
|
27
27
|
import {
|
|
28
28
|
connectedFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-K4X5ZHI2.js";
|
|
30
30
|
import {
|
|
31
31
|
wholeList
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ODPU3II6.js";
|
|
33
33
|
import {
|
|
34
34
|
runCommandForAgent,
|
|
35
35
|
toolsFromCommands
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
tierOf,
|
|
56
56
|
tool,
|
|
57
57
|
toolKey
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-OJIJVOOA.js";
|
|
59
59
|
import {
|
|
60
60
|
agentJson
|
|
61
61
|
} from "./chunk-AVUMH42T.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
lackedNeed,
|
|
66
66
|
servicesFor,
|
|
67
67
|
storedDeps
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-E4FAMU2S.js";
|
|
69
69
|
import {
|
|
70
70
|
callerOf,
|
|
71
71
|
callingAgent
|
|
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
refuseLocalWrite,
|
|
5
5
|
refuseUnknownPermissionKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K4X5ZHI2.js";
|
|
7
7
|
import {
|
|
8
8
|
chatRef,
|
|
9
9
|
contactRef,
|
|
10
10
|
positiveCount
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ODPU3II6.js";
|
|
12
12
|
import {
|
|
13
13
|
MAX_SEARCH_OFFSET,
|
|
14
14
|
SendJournal,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
senderIsMe,
|
|
21
21
|
sendsPathFor,
|
|
22
22
|
taskAccount
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E4FAMU2S.js";
|
|
24
24
|
import {
|
|
25
25
|
momentOf
|
|
26
26
|
} from "./chunk-M763RNWP.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
syncsFirst,
|
|
48
48
|
taskStatsAnswer,
|
|
49
49
|
waitingAnswer
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-BHZUPOQY.js";
|
|
51
51
|
import {
|
|
52
52
|
hermesCopyPath,
|
|
53
53
|
installSkill,
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
writeRepliesFile,
|
|
115
115
|
writeRepliesState,
|
|
116
116
|
writeReplyConsent
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-5ZV7REBE.js";
|
|
118
118
|
import {
|
|
119
119
|
answerOf,
|
|
120
120
|
fill,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
refuseUnknownPermissionKeys,
|
|
126
126
|
terminalAsker,
|
|
127
127
|
unknownPermissionIssues
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-K4X5ZHI2.js";
|
|
129
129
|
import {
|
|
130
130
|
accountAnswer,
|
|
131
131
|
auditAnswer,
|
|
@@ -155,14 +155,14 @@ import {
|
|
|
155
155
|
window,
|
|
156
156
|
withPage,
|
|
157
157
|
withPaging
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-ODPU3II6.js";
|
|
159
159
|
import {
|
|
160
160
|
installHelp
|
|
161
161
|
} from "./chunk-VQEAZXTV.js";
|
|
162
162
|
import {
|
|
163
163
|
setupAtStart,
|
|
164
164
|
systemLanguage
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-GZZR5U3K.js";
|
|
166
166
|
import {
|
|
167
167
|
commandAvailability
|
|
168
168
|
} from "./chunk-NTQBS2JL.js";
|
|
@@ -344,7 +344,7 @@ import {
|
|
|
344
344
|
writeHarderSetting,
|
|
345
345
|
writeHarderTimeout,
|
|
346
346
|
writePictureReading
|
|
347
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-E4FAMU2S.js";
|
|
348
348
|
import {
|
|
349
349
|
acquireLock,
|
|
350
350
|
readBoundedUtf8File,
|
|
@@ -737,7 +737,7 @@ import {
|
|
|
737
737
|
linkConfigOf,
|
|
738
738
|
linkFor,
|
|
739
739
|
refsForLink
|
|
740
|
-
} from "./chunk-
|
|
740
|
+
} from "./chunk-TKK3ECDS.js";
|
|
741
741
|
import {
|
|
742
742
|
renderMessages
|
|
743
743
|
} from "./chunk-TIHDBKA7.js";
|
|
@@ -5061,11 +5061,11 @@ var messengerHost = /* @__PURE__ */ __name((messenger) => ({
|
|
|
5061
5061
|
context: /* @__PURE__ */ __name((self, options) => messengerContext(self, messenger, options), "context"),
|
|
5062
5062
|
permissionExample: "messages.send=deny",
|
|
5063
5063
|
serveStdio: /* @__PURE__ */ __name(async (self, context) => {
|
|
5064
|
-
const { serveOverStdio } = await import("./server-
|
|
5064
|
+
const { serveOverStdio } = await import("./server-UQVV2PPX.js");
|
|
5065
5065
|
await serveOverStdio(self, context, messenger, {});
|
|
5066
5066
|
}, "serveStdio"),
|
|
5067
5067
|
serveHttp: /* @__PURE__ */ __name(async (self, context, http) => {
|
|
5068
|
-
const { serveOverHttpUntilStopped } = await import("./server-
|
|
5068
|
+
const { serveOverHttpUntilStopped } = await import("./server-UQVV2PPX.js");
|
|
5069
5069
|
await serveOverHttpUntilStopped(self, context, messenger, {}, http);
|
|
5070
5070
|
}, "serveHttp"),
|
|
5071
5071
|
instructions: /* @__PURE__ */ __name(async (profiles) => {
|
|
@@ -5348,7 +5348,7 @@ var firstProfileCommand = /* @__PURE__ */ __name((self, app) => {
|
|
|
5348
5348
|
var catalogueOf = /* @__PURE__ */ __name(async (self, app) => {
|
|
5349
5349
|
const [{ McpServer }, { registerCommands }, { toolsFromCommands }, { listedTools }] = await Promise.all([
|
|
5350
5350
|
import("./dist-PAKDDIBT.js"),
|
|
5351
|
-
import("./surface-
|
|
5351
|
+
import("./surface-IGBQUYE5.js"),
|
|
5352
5352
|
import("./agent-A7ARC3QB.js"),
|
|
5353
5353
|
import("./all-profiles-6452VSJB.js")
|
|
5354
5354
|
]);
|
|
@@ -5464,12 +5464,12 @@ var appMcpCommand = /* @__PURE__ */ __name((app, configuration, options) => {
|
|
|
5464
5464
|
permissionExample: options.permissionExample,
|
|
5465
5465
|
serveStdio: /* @__PURE__ */ __name(async (self, context) => {
|
|
5466
5466
|
checked3(self, context);
|
|
5467
|
-
const { serveAppOverStdio } = await import("./app-server-
|
|
5467
|
+
const { serveAppOverStdio } = await import("./app-server-EQZUP4H4.js");
|
|
5468
5468
|
await serveAppOverStdio(self, context, server());
|
|
5469
5469
|
}, "serveStdio"),
|
|
5470
5470
|
serveHttp: /* @__PURE__ */ __name(async (self, context, http) => {
|
|
5471
5471
|
checked3(self, context);
|
|
5472
|
-
const { serveAppOverHttp } = await import("./app-server-
|
|
5472
|
+
const { serveAppOverHttp } = await import("./app-server-EQZUP4H4.js");
|
|
5473
5473
|
await serveAppOverHttp(self, context, server(), http);
|
|
5474
5474
|
}, "serveHttp"),
|
|
5475
5475
|
instructions: /* @__PURE__ */ __name(async (profiles) => {
|
|
@@ -6687,7 +6687,7 @@ var botMcpCommand = /* @__PURE__ */ __name((bot) => {
|
|
|
6687
6687
|
const mcp = bot.mcp;
|
|
6688
6688
|
if (!mcp)
|
|
6689
6689
|
throw new Error("bot mcp is mounted only with BotMessenger.mcp");
|
|
6690
|
-
const [{ serveBotOverStdio }, run2] = await Promise.all([import("./server-
|
|
6690
|
+
const [{ serveBotOverStdio }, run2] = await Promise.all([import("./server-DUKWJUKD.js"), mcp.program()]);
|
|
6691
6691
|
await serveBotOverStdio({
|
|
6692
6692
|
bot,
|
|
6693
6693
|
program: { run: run2, commands: describeProgram(rootOf2(this)) },
|
|
@@ -25346,7 +25346,7 @@ var failureOf2 = /* @__PURE__ */ __name(({ status, writes: writes2, body, header
|
|
|
25346
25346
|
return new CliError("rate_limited", `${spent}; ${back}`, {
|
|
25347
25347
|
...details,
|
|
25348
25348
|
reason: "hubspot.daily-limit",
|
|
25349
|
-
retryable:
|
|
25349
|
+
retryable: false,
|
|
25350
25350
|
retry_after_ms: wait2
|
|
25351
25351
|
});
|
|
25352
25352
|
}
|
|
@@ -25797,6 +25797,7 @@ var toField = /* @__PURE__ */ __name((raw) => {
|
|
|
25797
25797
|
...fieldType === "phonenumber" ? { holds: "phone" } : {}
|
|
25798
25798
|
};
|
|
25799
25799
|
}, "toField");
|
|
25800
|
+
var OVERLAP_MS = 10 * 6e4;
|
|
25800
25801
|
|
|
25801
25802
|
export {
|
|
25802
25803
|
REPORT_FORMAT,
|
|
@@ -25841,5 +25842,6 @@ export {
|
|
|
25841
25842
|
toLead,
|
|
25842
25843
|
toPipeline,
|
|
25843
25844
|
toUser,
|
|
25844
|
-
toField
|
|
25845
|
+
toField,
|
|
25846
|
+
OVERLAP_MS
|
|
25845
25847
|
};
|
|
@@ -40914,6 +40914,7 @@ export {
|
|
|
40914
40914
|
readUpload,
|
|
40915
40915
|
readAttachments,
|
|
40916
40916
|
readStickerFile,
|
|
40917
|
+
decodeEntities,
|
|
40917
40918
|
importEngine,
|
|
40918
40919
|
extractText,
|
|
40919
40920
|
engineHint,
|
|
@@ -114,7 +114,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
116
|
import("./open-UCDSQUN2.js"),
|
|
117
|
-
import("./store-maintenance-command-
|
|
117
|
+
import("./store-maintenance-command-DQUBBWMD.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -1803,7 +1803,7 @@ var REASONS2 = defineReasons(OWN.filter(([reason]) => !CORE.has(reason)).map(([r
|
|
|
1803
1803
|
var DETAILS2 = ["account", "profile", "profiles", "status", "scope"];
|
|
1804
1804
|
|
|
1805
1805
|
// dist/version.js
|
|
1806
|
-
var VERSION = "0.3.
|
|
1806
|
+
var VERSION = "0.3.2";
|
|
1807
1807
|
|
|
1808
1808
|
// dist/identity.js
|
|
1809
1809
|
var PACKAGE = "@wirecat/hubspot-cli";
|
package/dist/bundle/hubspot.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
DESKTOP
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TKK3ECDS.js";
|
|
7
7
|
import "./chunk-TIHDBKA7.js";
|
|
8
8
|
import "./chunk-EH6ZEJGT.js";
|
|
9
9
|
import "./chunk-WGBVRDY3.js";
|
|
@@ -192,7 +192,7 @@ var wcat = await wcatStart(DESKTOP);
|
|
|
192
192
|
if (wcat.code !== void 0) {
|
|
193
193
|
process.exitCode = wcat.code;
|
|
194
194
|
} else {
|
|
195
|
-
const { run } = await import("./program-
|
|
195
|
+
const { run } = await import("./program-VKYZXANH.js");
|
|
196
196
|
process.exitCode = await run(process.argv.slice(2));
|
|
197
197
|
}
|
|
198
198
|
stopCatching();
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
HUBSPOT_WRITES
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5PPG73G6.js";
|
|
6
6
|
import {
|
|
7
7
|
accountDetails
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QBEDVMLZ.js";
|
|
9
9
|
import {
|
|
10
10
|
LONGEST_PACE_WAIT_MS,
|
|
11
11
|
PACE,
|
|
@@ -37,11 +37,11 @@ import {
|
|
|
37
37
|
skillCommand,
|
|
38
38
|
upgradeCommand,
|
|
39
39
|
writeCsv
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-DJ2GJ77D.js";
|
|
41
41
|
import "./chunk-O3VM5PTJ.js";
|
|
42
42
|
import {
|
|
43
43
|
PROVIDER
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YIF5M5R6.js";
|
|
45
45
|
import "./chunk-7NZT7Y55.js";
|
|
46
46
|
import {
|
|
47
47
|
SOURCE_SEARCHED,
|
|
@@ -49,21 +49,21 @@ import {
|
|
|
49
49
|
historySkipsOf,
|
|
50
50
|
offsetOf,
|
|
51
51
|
refuseOffline
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-BHZUPOQY.js";
|
|
53
53
|
import "./chunk-PLRUUXK7.js";
|
|
54
54
|
import "./chunk-3R4KRNUZ.js";
|
|
55
55
|
import "./chunk-HPZRUY6S.js";
|
|
56
56
|
import {
|
|
57
57
|
addStoreMaintenanceCommands
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-5ZV7REBE.js";
|
|
59
59
|
import {
|
|
60
60
|
commandPathKey,
|
|
61
61
|
commandPermissions,
|
|
62
62
|
terminalAsker
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-K4X5ZHI2.js";
|
|
64
|
+
import "./chunk-ODPU3II6.js";
|
|
65
65
|
import "./chunk-VQEAZXTV.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-GZZR5U3K.js";
|
|
67
67
|
import "./chunk-BN22EKQQ.js";
|
|
68
68
|
import "./chunk-NTQBS2JL.js";
|
|
69
69
|
import "./chunk-B2W3C4N6.js";
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
wantedCodes,
|
|
113
113
|
withCustomFields,
|
|
114
114
|
withReadableDeal
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-E4FAMU2S.js";
|
|
116
116
|
import {
|
|
117
117
|
safeName
|
|
118
118
|
} from "./chunk-RVWGFD32.js";
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
IDENTITY,
|
|
231
231
|
PACKAGE,
|
|
232
232
|
SKILL
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-TKK3ECDS.js";
|
|
234
234
|
import "./chunk-TIHDBKA7.js";
|
|
235
235
|
import "./chunk-EH6ZEJGT.js";
|
|
236
236
|
import "./chunk-WGBVRDY3.js";
|
|
@@ -7045,7 +7045,7 @@ var startCommand = /* @__PURE__ */ __name(() => logsInOrOut(annotate(new Command
|
|
|
7045
7045
|
`${HUBSPOT} work session start --json`,
|
|
7046
7046
|
`${HUBSPOT} work session start --credential-storage file`
|
|
7047
7047
|
]
|
|
7048
|
-
})).summary(`sign in to ${SERVICE} with a service key or a private app token`).description("sign this profile in: a service key (Development \u2192 Keys \u2192 Service keys) or a legacy private app's access token is asked hidden or read from stdin, never taken as an argument, checked against the account, and only then kept in the keyring with the account's id, or in a private file. The key reads what its scopes allow
|
|
7048
|
+
})).summary(`sign in to ${SERVICE} with a service key or a private app token`).description("sign this profile in: a service key (Development \u2192 Keys \u2192 Service keys) or a legacy private app's access token is asked hidden or read from stdin, never taken as an argument, checked against the account, and only then kept in the keyring with the account's id, or in a private file. The key reads and writes what its scopes allow").option("--credential-storage <storage>", "where the key is kept: keyring, which falls back to a private file by itself, or file", storageOf, "keyring").action(async function(args) {
|
|
7049
7049
|
const { env, profile, tokens } = contextOf(this);
|
|
7050
7050
|
refuseCommandName(profile, commandWords(rootOf(this)), HUBSPOT);
|
|
7051
7051
|
refuseOffline(this, SERVICE);
|
|
@@ -9503,7 +9503,7 @@ var addCrmCommands = honoursDryRun(sharedCommand(addCrmCommandsDefinition));
|
|
|
9503
9503
|
|
|
9504
9504
|
// dist/commands/crm-shared.js
|
|
9505
9505
|
var savedAccount = /* @__PURE__ */ __name(async (env, profile) => {
|
|
9506
|
-
const { openHubspotStore } = await import("./store-
|
|
9506
|
+
const { openHubspotStore } = await import("./store-7DQGZH64.js");
|
|
9507
9507
|
const store = await openHubspotStore(env, { readOnly: true }).catch(() => void 0);
|
|
9508
9508
|
if (!store)
|
|
9509
9509
|
return void 0;
|
|
@@ -9518,9 +9518,9 @@ var savedAccount = /* @__PURE__ */ __name(async (env, profile) => {
|
|
|
9518
9518
|
var openProfile = /* @__PURE__ */ __name(async (command, { readOnly }) => {
|
|
9519
9519
|
const { env, profile, environment } = contextOf(command);
|
|
9520
9520
|
const [{ openHubspotStore, PROVIDER: PROVIDER2 }, { hubspotCrmSource }, { hubspotCrmWriter }] = await Promise.all([
|
|
9521
|
-
import("./store-
|
|
9522
|
-
import("./source-
|
|
9523
|
-
import("./writer-
|
|
9521
|
+
import("./store-7DQGZH64.js"),
|
|
9522
|
+
import("./source-LJG4BWRU.js"),
|
|
9523
|
+
import("./writer-QOEJONAD.js")
|
|
9524
9524
|
]);
|
|
9525
9525
|
const fromToken = fromEnvironment(command);
|
|
9526
9526
|
const online = metaOf(command).effects?.remote !== "none";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-AF7DANIR.js";
|
|
14
14
|
import {
|
|
15
15
|
wholeList
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ODPU3II6.js";
|
|
17
17
|
import {
|
|
18
18
|
runCommandForAgent,
|
|
19
19
|
toolsFromCommands
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
answered,
|
|
25
25
|
normal,
|
|
26
26
|
registerCommands
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OJIJVOOA.js";
|
|
28
28
|
import {
|
|
29
29
|
agentJson
|
|
30
30
|
} from "./chunk-AVUMH42T.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-E4FAMU2S.js";
|
|
32
32
|
import "./chunk-RVWGFD32.js";
|
|
33
33
|
import "./chunk-LA3YU4K7.js";
|
|
34
34
|
import "./chunk-ABXVU5O4.js";
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
envelope,
|
|
7
7
|
serveOverHttpUntilStopped,
|
|
8
8
|
serveOverStdio
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-6MFP47XC.js";
|
|
10
|
+
import "./chunk-BHZUPOQY.js";
|
|
11
11
|
import "./chunk-PLRUUXK7.js";
|
|
12
12
|
import "./chunk-AF7DANIR.js";
|
|
13
13
|
import "./chunk-HPZRUY6S.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-K4X5ZHI2.js";
|
|
15
|
+
import "./chunk-ODPU3II6.js";
|
|
16
16
|
import "./chunk-2HYGCLKN.js";
|
|
17
17
|
import "./chunk-NTQBS2JL.js";
|
|
18
18
|
import "./chunk-B2W3C4N6.js";
|
|
19
19
|
import "./chunk-B3EH22CO.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-OJIJVOOA.js";
|
|
21
21
|
import "./chunk-AVUMH42T.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-E4FAMU2S.js";
|
|
23
23
|
import "./chunk-RVWGFD32.js";
|
|
24
24
|
import "./chunk-LA3YU4K7.js";
|
|
25
25
|
import "./chunk-ABXVU5O4.js";
|