@synap-core/workspace-templates 0.37.0 → 0.38.1
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/README.md +1 -1
- package/capabilities/media-download.capability.json +16 -17
- package/capabilities/media-ffmpeg.capability.json +68 -1
- package/capabilities/media-transcribe.capability.json +2 -2
- package/capabilities/unipile-linkedin.capability.json +3 -3
- package/dist/index.js +26 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/content-os.template.test.ts +8 -7
- package/src/content-os.yaml +10 -11
- package/src/crm-messages-cadence.template.test.ts +10 -7
- package/src/crm.yaml +28 -25
- package/src/templates.ts +9 -9
- package/src/unipile-linkedin-find-profile.test.ts +21 -5
package/package.json
CHANGED
|
@@ -322,8 +322,9 @@ describe("Content OS Repurpose proposes once per original, never for a copy", ()
|
|
|
322
322
|
});
|
|
323
323
|
|
|
324
324
|
// "Write the caption" (founder, 5 Nov): Content Studio's "Write it for me" runs it on ONE post. It drafts, never
|
|
325
|
-
// decides: it writes the script's "## Caption draft" section, never the "## Caption"
|
|
326
|
-
//
|
|
325
|
+
// decides: it writes the script's "## Caption draft" section, never the "## Caption"; the person's "Use this draft" and
|
|
326
|
+
// Save in the app make it the caption. It raises no ask and closes nothing: a run has no session tools (founder, 9 Nov:
|
|
327
|
+
// the tools win; schema/run-tools.guard.test.ts holds every playbook to that). It binds no stage and moves no status.
|
|
327
328
|
describe("Content OS Write the caption drafts one post's caption, never the person's", () => {
|
|
328
329
|
const playbooks = (template.playbooks ?? []) as TemplatePlaybook[];
|
|
329
330
|
const caption = playbooks.find((p) => p.name === "Write the caption");
|
|
@@ -337,11 +338,11 @@ describe("Content OS Write the caption drafts one post's caption, never the pers
|
|
|
337
338
|
|
|
338
339
|
it("writes the draft section only, never the saved caption, and never moves the status", () => {
|
|
339
340
|
expect(caption?.goalTemplate).toMatch(/"## Caption draft" section/);
|
|
340
|
-
expect(caption?.goalTemplate).toMatch(/Never write or change the "## Caption" section
|
|
341
|
-
// The person
|
|
342
|
-
expect(caption?.goalTemplate).toMatch(/
|
|
343
|
-
expect(caption?.goalTemplate).toMatch(
|
|
344
|
-
expect(caption?.goalTemplate).toMatch(/Never
|
|
341
|
+
expect(caption?.goalTemplate).toMatch(/Never write or change the "## Caption" section:\s+it\s+is the person's/);
|
|
342
|
+
// The person approves in Content Studio ("Use this draft" + Save); the run itself asks nothing and closes nothing.
|
|
343
|
+
expect(caption?.goalTemplate).toMatch(/"Use this draft" and their Save make it the caption/);
|
|
344
|
+
expect(caption?.goalTemplate).not.toMatch(/\bask\b|\bclose\b|\bOn yes\b/i);
|
|
345
|
+
expect(caption?.goalTemplate).toMatch(/Never\s+move the post's status/);
|
|
345
346
|
expect(caption?.stages ?? []).toEqual([]);
|
|
346
347
|
expect(caption?.activators ?? []).toEqual([]);
|
|
347
348
|
expect(caption?.expectedOutputs).toEqual([expect.objectContaining({ kind: "document", label: "Caption draft", relationToSubject: "none" })]);
|
package/src/content-os.yaml
CHANGED
|
@@ -2409,8 +2409,11 @@ playbooks:
|
|
|
2409
2409
|
# caption so I don't have to"). Content Studio's "Write it for me" on a post's
|
|
2410
2410
|
# Caption box runs it for that post. It writes a DRAFT, the script document's
|
|
2411
2411
|
# "## Caption draft" section, never the "## Caption" the person saved; the
|
|
2412
|
-
# person approves it
|
|
2413
|
-
#
|
|
2412
|
+
# person approves it in the app's Caption box ("Use this draft", then Save).
|
|
2413
|
+
# It raises no ask and closes nothing: a run has no session tools (founder,
|
|
2414
|
+
# 9 Nov: when a playbook's text and its run's tools disagree, the tools win;
|
|
2415
|
+
# the pod, not the agent, raises a person's approval at a run's end;
|
|
2416
|
+
# schema/run-tools.guard.test.ts keeps every playbook to that). It works
|
|
2414
2417
|
# one post but binds no stage and never moves the status.
|
|
2415
2418
|
- name: Write the caption
|
|
2416
2419
|
description: Draft the caption of one post from its brief and its script, as a draft in its script document that the person edits and saves.
|
|
@@ -2428,15 +2431,11 @@ playbooks:
|
|
|
2428
2431
|
and no line that starts with "##". Put it in the script document as its
|
|
2429
2432
|
"## Caption draft" section: replace that section if it is there, else add
|
|
2430
2433
|
it at the end, and change no other line (synap_update_document with the
|
|
2431
|
-
revision you read). Never write or change the "## Caption" section
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
"## Caption draft" section, nothing else. On no, leave the draft where it
|
|
2437
|
-
is (they may edit it and save it on the post's page in Content Studio,
|
|
2438
|
-
which also makes it the caption). Never move the post's status. Close
|
|
2439
|
-
this session once the person answered.
|
|
2434
|
+
revision you read). Never write or change the "## Caption" section: it
|
|
2435
|
+
is the person's. They approve your draft on the post's page in Content
|
|
2436
|
+
Studio, where "Use this draft" and their Save make it the caption. Never
|
|
2437
|
+
move the post's status. Stop once the draft is in the document: your
|
|
2438
|
+
answer is the caption draft itself.
|
|
2440
2439
|
subjectProfile:
|
|
2441
2440
|
profileSlug: post
|
|
2442
2441
|
# Typed output: the draft lives in the post's own script document (a
|
|
@@ -256,18 +256,21 @@ describe("CRM messages and cadence — catalog contract", () => {
|
|
|
256
256
|
expect(slugs).not.toContain("linkedinInvitedAt");
|
|
257
257
|
});
|
|
258
258
|
|
|
259
|
-
it("'Find their LinkedIn': one lead, linkedin_find_profile, a proposal or up to
|
|
259
|
+
it("'Find their LinkedIn': one person (a lead or not), linkedin_find_profile, a proposal or up to 5 candidates, nothing sent", () => {
|
|
260
260
|
const name = "Find their LinkedIn";
|
|
261
261
|
const pb = playbookOf(name);
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
expect(pb.params?.find((p) => p.name === "
|
|
265
|
-
expect(pb.params?.find((p) => p.name === "lead")).
|
|
262
|
+
// A lookup on a PERSON, never on a lead (founder, 9 Nov 2026: a company is the lead, its contact is who is looked up).
|
|
263
|
+
expect(pb.subjectProfile?.profileSlug).toBe("person");
|
|
264
|
+
expect(pb.params?.find((p) => p.name === "person")).toMatchObject({ type: "entity", required: true });
|
|
265
|
+
expect(pb.params?.find((p) => p.name === "lead")).toBeUndefined();
|
|
266
|
+
expect(goalOf(name)).not.toContain("{lead}");
|
|
266
267
|
expect(pb.requiredIntents).toEqual(["enrich_entity"]);
|
|
267
268
|
const goal = goalOf(name);
|
|
268
|
-
expect(goal).toContain("run linkedin_find_profile with their full name, their
|
|
269
|
+
expect(goal).toContain("run linkedin_find_profile with their full name, their");
|
|
270
|
+
expect(goal).toContain("company when known");
|
|
271
|
+
expect(goal).toContain("search by their name alone");
|
|
269
272
|
expect(goal).toContain("propose its linkedinUrl and linkedinProviderId on the person");
|
|
270
|
-
expect(goal).toContain("at most
|
|
273
|
+
expect(goal).toContain("at most 5");
|
|
271
274
|
expect(goal).toContain("never set linkedinConnection or linkedinInvitedAt");
|
|
272
275
|
// A reader: it never asks to connect nor drafts (those are the other steps).
|
|
273
276
|
const named = [...goal.matchAll(/\b((?:linkedin|unipile)_[a-z_]+)\b/g)].map((m) => m[1]);
|
package/src/crm.yaml
CHANGED
|
@@ -1623,37 +1623,40 @@ playbooks:
|
|
|
1623
1623
|
# CRM Messages contract (decision b603d75e, build map ca310f27): the first of
|
|
1624
1624
|
# the steps a LinkedIn lead walks (Find their LinkedIn, Ask to connect,
|
|
1625
1625
|
# Waiting, Send). The CRM app runs linkedin_find_profile itself through the
|
|
1626
|
-
# actions door (enrich_entity, input { name, company }; founder 7 Nov 2026:
|
|
1626
|
+
# actions door (enrich_entity, input { name, company? }; founder 7 Nov 2026:
|
|
1627
1627
|
# "no need for ai" for a tool with a parameter), and offers this process
|
|
1628
1628
|
# only as "Ask Synap AI to search" when the lookup finds nothing, for one
|
|
1629
|
-
#
|
|
1630
|
-
#
|
|
1631
|
-
#
|
|
1629
|
+
# person (`params.person`: a contact of a company lead is looked up as
|
|
1630
|
+
# themselves, no lead role needed). On a strict match it PROPOSES
|
|
1631
|
+
# linkedinUrl and linkedinProviderId on the person; on none, several or a
|
|
1632
|
+
# name-only search it hands the person up to 5 candidates. The reach fields stay the
|
|
1632
1633
|
# pod's (backend#786). A lifecycle READER of leadStage: no stage moves.
|
|
1633
1634
|
- name: Find their LinkedIn
|
|
1634
|
-
description: Find one
|
|
1635
|
+
description: Find one person's LinkedIn profile by their full name and, when known, their company, and propose its URL and member id on the person for a person to approve, or offer up to 5 candidates to choose from; nothing is sent. The person need not be a lead.
|
|
1635
1636
|
goalTemplate: >-
|
|
1636
|
-
Find the LinkedIn profile of
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1637
|
+
Find the LinkedIn profile of {person}. WHO: the person themselves,
|
|
1638
|
+
whether or not they are a lead (a contact of a company lead is looked up
|
|
1639
|
+
as themselves). When they already have a linkedinUrl, say so and stop.
|
|
1640
|
+
COMPANY: use where they work when it is known (their own company field,
|
|
1641
|
+
else the company they work at); when none is known, search by their name
|
|
1642
|
+
alone. FIND: run linkedin_find_profile with their full name, their
|
|
1643
|
+
company when known, and the LinkedIn account unipile_list_accounts lists
|
|
1644
|
+
(when several are connected, ask the person which one reads). On a
|
|
1645
|
+
strict match, propose its linkedinUrl and linkedinProviderId on the
|
|
1646
|
+
person through the entity door, for a person to approve; never write
|
|
1647
|
+
them directly, and never set linkedinConnection or linkedinInvitedAt,
|
|
1648
|
+
which only the pod writes. On none, several, more results than it read,
|
|
1649
|
+
or a name-only search, ask the person to choose among its candidates (at
|
|
1650
|
+
most 5, each with its name, headline, location and profile URL) or to
|
|
1651
|
+
give the URL themselves, then propose the one chosen the same way. Never
|
|
1652
|
+
send a message or a connection request, never draft one, and never move
|
|
1653
|
+
a lead's stage.
|
|
1651
1654
|
subjectProfile:
|
|
1652
|
-
profileSlug:
|
|
1655
|
+
profileSlug: person
|
|
1653
1656
|
activators:
|
|
1654
1657
|
- { on: manual, mode: propose }
|
|
1655
1658
|
params:
|
|
1656
|
-
- { name:
|
|
1659
|
+
- { name: person, type: entity, label: Person, required: true }
|
|
1657
1660
|
executor: is-agent
|
|
1658
1661
|
status: active
|
|
1659
1662
|
requiredIntents: [enrich_entity]
|
|
@@ -1661,13 +1664,13 @@ playbooks:
|
|
|
1661
1664
|
- key: find
|
|
1662
1665
|
name: Find the profile
|
|
1663
1666
|
category: started
|
|
1664
|
-
goal: Run linkedin_find_profile for the
|
|
1667
|
+
goal: Run linkedin_find_profile for the person with their full name and company when known; on a strict match propose linkedinUrl and linkedinProviderId on the person, otherwise ask the person to choose among up to 5 candidates or give the URL.
|
|
1665
1668
|
criteria:
|
|
1666
1669
|
- key: find-linkedin-proposed
|
|
1667
|
-
statement: The person's linkedinUrl and linkedinProviderId are proposed on them for a person to approve (a strict match, or the candidate the person chose), or the person was asked to choose among at most
|
|
1670
|
+
statement: The person's linkedinUrl and linkedinProviderId are proposed on them for a person to approve (a strict match, or the candidate the person chose), or the person was asked to choose among at most 5 candidates; nothing was written directly.
|
|
1668
1671
|
check: { kind: judge }
|
|
1669
1672
|
- key: find-linkedin-reader-only
|
|
1670
|
-
statement: No message or connection request was sent or drafted, linkedinConnection and linkedinInvitedAt were not set, and
|
|
1673
|
+
statement: No message or connection request was sent or drafted, linkedinConnection and linkedinInvitedAt were not set, and no lead's stage was moved.
|
|
1671
1674
|
check: { kind: judge }
|
|
1672
1675
|
- key: confirm
|
|
1673
1676
|
name: Person confirms
|
package/src/templates.ts
CHANGED
|
@@ -12534,7 +12534,7 @@ const DATA = {
|
|
|
12534
12534
|
{
|
|
12535
12535
|
"name": "Write the caption",
|
|
12536
12536
|
"description": "Draft the caption of one post from its brief and its script, as a draft in its script document that the person edits and saves.",
|
|
12537
|
-
"goalTemplate": "Draft the caption of this post ({post}). Read the post: its hook (post-hook), its call to action (post-cta), its pillar, its journey stage, its platform (post-platform) and its format. Read its script, the post's own document: its slides (the S1, S2 lines or the slide table) and any caption already written under \"## Caption\". Write ONE caption in the brand voice (the pod's brand kit) that says what the slides leave out: a first line that stands on its own before the platform cuts it (Instagram shows about 125 characters before \"more\", LinkedIn about 210 before \"see more\"), then two or three short lines, and the call to action last. No hashtag wall, no emoji run, no claim the script does not make, and no line that starts with \"##\". Put it in the script document as its \"## Caption draft\" section: replace that section if it is there, else add it at the end, and change no other line (synap_update_document with the revision you read). Never write or change the \"## Caption\" section
|
|
12537
|
+
"goalTemplate": "Draft the caption of this post ({post}). Read the post: its hook (post-hook), its call to action (post-cta), its pillar, its journey stage, its platform (post-platform) and its format. Read its script, the post's own document: its slides (the S1, S2 lines or the slide table) and any caption already written under \"## Caption\". Write ONE caption in the brand voice (the pod's brand kit) that says what the slides leave out: a first line that stands on its own before the platform cuts it (Instagram shows about 125 characters before \"more\", LinkedIn about 210 before \"see more\"), then two or three short lines, and the call to action last. No hashtag wall, no emoji run, no claim the script does not make, and no line that starts with \"##\". Put it in the script document as its \"## Caption draft\" section: replace that section if it is there, else add it at the end, and change no other line (synap_update_document with the revision you read). Never write or change the \"## Caption\" section: it is the person's. They approve your draft on the post's page in Content Studio, where \"Use this draft\" and their Save make it the caption. Never move the post's status. Stop once the draft is in the document: your answer is the caption draft itself.",
|
|
12538
12538
|
"subjectProfile": {
|
|
12539
12539
|
"profileSlug": "post"
|
|
12540
12540
|
},
|
|
@@ -15248,10 +15248,10 @@ const DATA = {
|
|
|
15248
15248
|
},
|
|
15249
15249
|
{
|
|
15250
15250
|
"name": "Find their LinkedIn",
|
|
15251
|
-
"description": "Find one
|
|
15252
|
-
"goalTemplate": "Find the LinkedIn profile of
|
|
15251
|
+
"description": "Find one person's LinkedIn profile by their full name and, when known, their company, and propose its URL and member id on the person for a person to approve, or offer up to 5 candidates to choose from; nothing is sent. The person need not be a lead.",
|
|
15252
|
+
"goalTemplate": "Find the LinkedIn profile of {person}. WHO: the person themselves, whether or not they are a lead (a contact of a company lead is looked up as themselves). When they already have a linkedinUrl, say so and stop. COMPANY: use where they work when it is known (their own company field, else the company they work at); when none is known, search by their name alone. FIND: run linkedin_find_profile with their full name, their company when known, and the LinkedIn account unipile_list_accounts lists (when several are connected, ask the person which one reads). On a strict match, propose its linkedinUrl and linkedinProviderId on the person through the entity door, for a person to approve; never write them directly, and never set linkedinConnection or linkedinInvitedAt, which only the pod writes. On none, several, more results than it read, or a name-only search, ask the person to choose among its candidates (at most 5, each with its name, headline, location and profile URL) or to give the URL themselves, then propose the one chosen the same way. Never send a message or a connection request, never draft one, and never move a lead's stage.",
|
|
15253
15253
|
"subjectProfile": {
|
|
15254
|
-
"profileSlug": "
|
|
15254
|
+
"profileSlug": "person"
|
|
15255
15255
|
},
|
|
15256
15256
|
"activators": [
|
|
15257
15257
|
{
|
|
@@ -15261,9 +15261,9 @@ const DATA = {
|
|
|
15261
15261
|
],
|
|
15262
15262
|
"params": [
|
|
15263
15263
|
{
|
|
15264
|
-
"name": "
|
|
15264
|
+
"name": "person",
|
|
15265
15265
|
"type": "entity",
|
|
15266
|
-
"label": "
|
|
15266
|
+
"label": "Person",
|
|
15267
15267
|
"required": true
|
|
15268
15268
|
}
|
|
15269
15269
|
],
|
|
@@ -15277,18 +15277,18 @@ const DATA = {
|
|
|
15277
15277
|
"key": "find",
|
|
15278
15278
|
"name": "Find the profile",
|
|
15279
15279
|
"category": "started",
|
|
15280
|
-
"goal": "Run linkedin_find_profile for the
|
|
15280
|
+
"goal": "Run linkedin_find_profile for the person with their full name and company when known; on a strict match propose linkedinUrl and linkedinProviderId on the person, otherwise ask the person to choose among up to 5 candidates or give the URL.",
|
|
15281
15281
|
"criteria": [
|
|
15282
15282
|
{
|
|
15283
15283
|
"key": "find-linkedin-proposed",
|
|
15284
|
-
"statement": "The person's linkedinUrl and linkedinProviderId are proposed on them for a person to approve (a strict match, or the candidate the person chose), or the person was asked to choose among at most
|
|
15284
|
+
"statement": "The person's linkedinUrl and linkedinProviderId are proposed on them for a person to approve (a strict match, or the candidate the person chose), or the person was asked to choose among at most 5 candidates; nothing was written directly.",
|
|
15285
15285
|
"check": {
|
|
15286
15286
|
"kind": "judge"
|
|
15287
15287
|
}
|
|
15288
15288
|
},
|
|
15289
15289
|
{
|
|
15290
15290
|
"key": "find-linkedin-reader-only",
|
|
15291
|
-
"statement": "No message or connection request was sent or drafted, linkedinConnection and linkedinInvitedAt were not set, and
|
|
15291
|
+
"statement": "No message or connection request was sent or drafted, linkedinConnection and linkedinInvitedAt were not set, and no lead's stage was moved.",
|
|
15292
15292
|
"check": {
|
|
15293
15293
|
"kind": "judge"
|
|
15294
15294
|
}
|
|
@@ -72,7 +72,7 @@ describe("linkedin_find_profile — a strict match or none", () => {
|
|
|
72
72
|
expect(verb.intent).toBe("enrich_entity");
|
|
73
73
|
// Declared read-only: the pod runs it with no review (plan 87088d2d W3c).
|
|
74
74
|
expect(verb.metadata).toEqual({ verbType: "read", readOnly: true });
|
|
75
|
-
expect(verb.parameters).toEqual({ fullName: "string", company: "string", accountId: "string" });
|
|
75
|
+
expect(verb.parameters).toEqual({ fullName: "string", company: "string?", accountId: "string" });
|
|
76
76
|
expect(verb.requires).toEqual(["unipile_linkedin"]);
|
|
77
77
|
expect(verb.code).not.toMatch(/\{\{\w+\}\}/);
|
|
78
78
|
// It writes nothing: the match is the caller's proposal (decision 7).
|
|
@@ -132,7 +132,7 @@ describe("linkedin_find_profile — a strict match or none", () => {
|
|
|
132
132
|
]);
|
|
133
133
|
});
|
|
134
134
|
|
|
135
|
-
it("a different name with the right company is never a match, and
|
|
135
|
+
it("a different name with the right company is never a match, and the closest candidates come back first, at most 5", async () => {
|
|
136
136
|
const rows = [
|
|
137
137
|
row("a", "Ada Lovelace", "CEO at Analytical Engines"),
|
|
138
138
|
row("b", "Bob Smith", "Sales"),
|
|
@@ -141,7 +141,24 @@ describe("linkedin_find_profile — a strict match or none", () => {
|
|
|
141
141
|
];
|
|
142
142
|
const { result } = await run("linkedin_find_profile", ARGS, [{ data: rows }]);
|
|
143
143
|
expect(result).toMatchObject({ matched: false, reason: "none" });
|
|
144
|
-
expect(result.candidates.map((c: any) => c.providerId)).toEqual(["c", "a", "d"]);
|
|
144
|
+
expect(result.candidates.map((c: any) => c.providerId)).toEqual(["c", "a", "d", "b"]);
|
|
145
|
+
const many = Array.from({ length: 8 }, (_, i) => row(`m${i}`, `Person ${i}`, "Analytical Engines"));
|
|
146
|
+
const capped = await run("linkedin_find_profile", ARGS, [{ data: many }]);
|
|
147
|
+
expect(capped.result.candidates).toHaveLength(5);
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
// The company is optional (CRM, founder 9 Nov 2026: "if you just have the name then you send the name, and if the tool
|
|
151
|
+
// answers with a list then the UI shows the list"): a name alone is never a strict match, so the answer is always the
|
|
152
|
+
// closest candidates, even when one result carries the exact name; the search sends no company filter.
|
|
153
|
+
it("no company: the search carries the name only, and the answer is candidates (name_only), never a match", async () => {
|
|
154
|
+
const { company: _omit, ...NO_COMPANY } = ARGS;
|
|
155
|
+
for (const args of [NO_COMPANY, { ...NO_COMPANY, company: " " }, { ...NO_COMPANY, company: undefined }]) {
|
|
156
|
+
const { result, calls } = await run("linkedin_find_profile", args, [{ data: [ADA, row("u-bob", "Bob Smith", "Sales")] }]);
|
|
157
|
+
expect(calls[0].body).toEqual({ keywords: "adele LOVELACE" });
|
|
158
|
+
expect(result).toMatchObject({ matched: false, reason: "name_only" });
|
|
159
|
+
expect(result.candidates.map((c: any) => c.providerId)).toEqual(["u-ada", "u-bob"]);
|
|
160
|
+
expect(result.searched.company).toBeNull();
|
|
161
|
+
}
|
|
145
162
|
});
|
|
146
163
|
|
|
147
164
|
it("pages by cursor: a match on page 2 with no page after it is the match", async () => {
|
|
@@ -168,9 +185,8 @@ describe("linkedin_find_profile — a strict match or none", () => {
|
|
|
168
185
|
expect(result).toEqual({ matched: false, reason: "proposed", proposed: true, proposalId: "p-1", candidates: [] });
|
|
169
186
|
});
|
|
170
187
|
|
|
171
|
-
it("a failed search throws; a missing
|
|
188
|
+
it("a failed search throws; a missing name is refused before any call (a missing company is not)", async () => {
|
|
172
189
|
await expect(run("linkedin_find_profile", ARGS, [{ proposed: false, status: 429 } as any])).rejects.toThrow(/status 429/);
|
|
173
|
-
await expect(run("linkedin_find_profile", { ...ARGS, company: " " }, [{ data: [] }])).rejects.toThrow(/company is required/);
|
|
174
190
|
await expect(run("linkedin_find_profile", { ...ARGS, fullName: "" }, [{ data: [] }])).rejects.toThrow(/fullName/);
|
|
175
191
|
});
|
|
176
192
|
});
|