@synap-core/workspace-templates 0.6.2 → 0.6.4
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/index.d.ts +114 -10
- package/dist/index.js +178 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/catalog.test.ts +99 -1
- package/src/catalog.ts +181 -0
- package/src/content-os.yaml +23 -2
- package/src/crm.yaml +67 -1
- package/src/define.ts +24 -16
- package/src/ecosystem.yaml +35 -0
- package/src/index.ts +11 -2
- package/src/templates.ts +116 -2
- package/src/types.ts +0 -16
package/src/templates.ts
CHANGED
|
@@ -8472,6 +8472,16 @@ const DATA = {
|
|
|
8472
8472
|
"groupBy": "post-status",
|
|
8473
8473
|
"description": "Content posts by status."
|
|
8474
8474
|
},
|
|
8475
|
+
{
|
|
8476
|
+
"name": "Content Calendar",
|
|
8477
|
+
"slug": "content-calendar",
|
|
8478
|
+
"type": "calendar",
|
|
8479
|
+
"scopeProfileSlug": "post",
|
|
8480
|
+
"description": "Your editorial calendar — every post on the day it publishes.",
|
|
8481
|
+
"config": {
|
|
8482
|
+
"dateField": "properties.publish-date"
|
|
8483
|
+
}
|
|
8484
|
+
},
|
|
8475
8485
|
{
|
|
8476
8486
|
"name": "Pillars",
|
|
8477
8487
|
"slug": "content-pillars",
|
|
@@ -8513,6 +8523,12 @@ const DATA = {
|
|
|
8513
8523
|
"label": "Posts",
|
|
8514
8524
|
"icon": "file-edit"
|
|
8515
8525
|
},
|
|
8526
|
+
{
|
|
8527
|
+
"kind": "view",
|
|
8528
|
+
"viewName": "Content Calendar",
|
|
8529
|
+
"label": "Calendar",
|
|
8530
|
+
"icon": "calendar"
|
|
8531
|
+
},
|
|
8516
8532
|
{
|
|
8517
8533
|
"kind": "view",
|
|
8518
8534
|
"viewName": "Pillars",
|
|
@@ -8538,10 +8554,20 @@ const DATA = {
|
|
|
8538
8554
|
"blocks": [
|
|
8539
8555
|
{
|
|
8540
8556
|
"kind": "view",
|
|
8541
|
-
"viewName": "
|
|
8557
|
+
"viewName": "Content Calendar",
|
|
8542
8558
|
"pos": {
|
|
8543
8559
|
"x": 0,
|
|
8544
8560
|
"y": 0,
|
|
8561
|
+
"w": 12,
|
|
8562
|
+
"h": 6
|
|
8563
|
+
}
|
|
8564
|
+
},
|
|
8565
|
+
{
|
|
8566
|
+
"kind": "view",
|
|
8567
|
+
"viewName": "Pillars",
|
|
8568
|
+
"pos": {
|
|
8569
|
+
"x": 0,
|
|
8570
|
+
"y": 6,
|
|
8545
8571
|
"w": 6,
|
|
8546
8572
|
"h": 5
|
|
8547
8573
|
}
|
|
@@ -8551,7 +8577,7 @@ const DATA = {
|
|
|
8551
8577
|
"viewName": "Newsletters",
|
|
8552
8578
|
"pos": {
|
|
8553
8579
|
"x": 6,
|
|
8554
|
-
"y":
|
|
8580
|
+
"y": 6,
|
|
8555
8581
|
"w": 6,
|
|
8556
8582
|
"h": 5
|
|
8557
8583
|
}
|
|
@@ -9729,6 +9755,62 @@ const DATA = {
|
|
|
9729
9755
|
"targetProfileSlug": "deal",
|
|
9730
9756
|
"type": "linked_to_deal"
|
|
9731
9757
|
}
|
|
9758
|
+
],
|
|
9759
|
+
"playbooks": [
|
|
9760
|
+
{
|
|
9761
|
+
"name": "Enrich this lead",
|
|
9762
|
+
"description": "Take a thin, freshly-captured lead and fill it out — company, title, LinkedIn, and the relationships around it.",
|
|
9763
|
+
"goalTemplate": "Enrich this lead ({lead}). Starting from whatever is known, fill out the missing detail — company, job title, LinkedIn URL, location, and the people and companies around them — and record it on the lead. Draw on whatever enrichment capability this workspace has connected (e.g. an Apify or Unipile/LinkedIn tool); if none is available, enrich from the public web and what is already in the pod. Link the lead to its company and any related contacts, and note where information is still missing.",
|
|
9764
|
+
"subjectProfile": {
|
|
9765
|
+
"profileSlug": "lead"
|
|
9766
|
+
},
|
|
9767
|
+
"params": [
|
|
9768
|
+
{
|
|
9769
|
+
"name": "lead",
|
|
9770
|
+
"type": "entity",
|
|
9771
|
+
"label": "Lead",
|
|
9772
|
+
"required": true
|
|
9773
|
+
}
|
|
9774
|
+
],
|
|
9775
|
+
"executor": "is-agent",
|
|
9776
|
+
"status": "active"
|
|
9777
|
+
},
|
|
9778
|
+
{
|
|
9779
|
+
"name": "Qualify this lead",
|
|
9780
|
+
"description": "Assess a lead against the ICP, score the fit, and decide the next step — advance, nurture, or disqualify.",
|
|
9781
|
+
"goalTemplate": "Qualify this lead ({lead}). Assess how well they fit our ideal customer profile — company, role, industry, size, and the signals of intent or need — and set an ICP score. Decide the next step: advance them toward a deal, keep nurturing, or disqualify. Write the reasoning and the decision back onto the lead (its stage, score, and next step) so the call is auditable.",
|
|
9782
|
+
"subjectProfile": {
|
|
9783
|
+
"profileSlug": "lead"
|
|
9784
|
+
},
|
|
9785
|
+
"params": [
|
|
9786
|
+
{
|
|
9787
|
+
"name": "lead",
|
|
9788
|
+
"type": "entity",
|
|
9789
|
+
"label": "Lead",
|
|
9790
|
+
"required": true
|
|
9791
|
+
}
|
|
9792
|
+
],
|
|
9793
|
+
"executor": "is-agent",
|
|
9794
|
+
"status": "active"
|
|
9795
|
+
},
|
|
9796
|
+
{
|
|
9797
|
+
"name": "Work this deal",
|
|
9798
|
+
"description": "Move a deal toward Won — read the current stage, find the blocker, and propose the next step and owner.",
|
|
9799
|
+
"goalTemplate": "Work this deal ({deal}) toward Won. Assess where it stands — its current stage, value, and close date — and identify the single thing blocking it from advancing. Propose the concrete next step, who owns it, and by when, and update the deal's next step accordingly. If the stage should change, say so and why.",
|
|
9800
|
+
"subjectProfile": {
|
|
9801
|
+
"profileSlug": "deal"
|
|
9802
|
+
},
|
|
9803
|
+
"params": [
|
|
9804
|
+
{
|
|
9805
|
+
"name": "deal",
|
|
9806
|
+
"type": "entity",
|
|
9807
|
+
"label": "Deal",
|
|
9808
|
+
"required": true
|
|
9809
|
+
}
|
|
9810
|
+
],
|
|
9811
|
+
"executor": "is-agent",
|
|
9812
|
+
"status": "active"
|
|
9813
|
+
}
|
|
9732
9814
|
]
|
|
9733
9815
|
},
|
|
9734
9816
|
"dev-dashboard": {
|
|
@@ -12010,11 +12092,43 @@ const DATA = {
|
|
|
12010
12092
|
}
|
|
12011
12093
|
],
|
|
12012
12094
|
"executor": "is-agent",
|
|
12095
|
+
"schedule": {
|
|
12096
|
+
"cron": "0 9 * * 1",
|
|
12097
|
+
"enabled": false
|
|
12098
|
+
},
|
|
12013
12099
|
"grants": [
|
|
12014
12100
|
"Web Search",
|
|
12015
12101
|
"Entity Creator"
|
|
12016
12102
|
],
|
|
12017
12103
|
"status": "active"
|
|
12104
|
+
},
|
|
12105
|
+
{
|
|
12106
|
+
"name": "Discover Competitors",
|
|
12107
|
+
"description": "Scan the market for competitors we don't track yet and add them to the ecosystem — the self-generating half of the radar.",
|
|
12108
|
+
"goalTemplate": "Find companies that compete with us in {ourSpace}. Use neural web search (the exa_search skill with category \"company\") to surface real, named companies — direct competitors, adjacent tools that solve the same job a different way, and emerging players. For each genuinely NEW one (not already a competitor in our ecosystem), propose it as a `competitor` entity and ALWAYS include its `website` (its canonical URL) so it de-duplicates against what we already track — never create a company that already exists. Skip anything already known. Report what you added and why each one matters.",
|
|
12109
|
+
"schedule": {
|
|
12110
|
+
"cron": "0 9 * * 1",
|
|
12111
|
+
"enabled": false
|
|
12112
|
+
},
|
|
12113
|
+
"params": [
|
|
12114
|
+
{
|
|
12115
|
+
"name": "ourSpace",
|
|
12116
|
+
"type": "text",
|
|
12117
|
+
"label": "Our market / category",
|
|
12118
|
+
"required": true
|
|
12119
|
+
}
|
|
12120
|
+
],
|
|
12121
|
+
"executor": "is-agent",
|
|
12122
|
+
"grants": [
|
|
12123
|
+
"exa_search",
|
|
12124
|
+
"Entity Creator"
|
|
12125
|
+
],
|
|
12126
|
+
"status": "active"
|
|
12127
|
+
}
|
|
12128
|
+
],
|
|
12129
|
+
"integrations": [
|
|
12130
|
+
{
|
|
12131
|
+
"templateKey": "exa"
|
|
12018
12132
|
}
|
|
12019
12133
|
],
|
|
12020
12134
|
"onboarding": {
|
package/src/types.ts
CHANGED
|
@@ -176,18 +176,6 @@ export interface TemplateProfileEntityBentoTemplates {
|
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
// ============================================================================
|
|
180
|
-
// Automations
|
|
181
|
-
// ============================================================================
|
|
182
|
-
|
|
183
|
-
export interface TemplateAutomation {
|
|
184
|
-
name: string;
|
|
185
|
-
description?: string;
|
|
186
|
-
trigger: string;
|
|
187
|
-
action: string;
|
|
188
|
-
config?: Record<string, unknown>;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
179
|
// ============================================================================
|
|
192
180
|
// Cross-workspace source pinning
|
|
193
181
|
// ============================================================================
|
|
@@ -515,9 +503,6 @@ export interface WorkspaceYaml {
|
|
|
515
503
|
/** Per-profile entity bento layouts */
|
|
516
504
|
profileEntityBentoTemplates?: TemplateProfileEntityBentoTemplates;
|
|
517
505
|
|
|
518
|
-
/** Automations to install on workspace creation */
|
|
519
|
-
automations?: TemplateAutomation[];
|
|
520
|
-
|
|
521
506
|
/** Playbooks (session templates) seeded with the workspace */
|
|
522
507
|
playbooks?: TemplatePlaybook[];
|
|
523
508
|
|
|
@@ -559,7 +544,6 @@ export interface ResolvedWorkspaceTemplate {
|
|
|
559
544
|
bentoViewName?: string;
|
|
560
545
|
bentoViewBlocks?: TemplateBentoBlock[];
|
|
561
546
|
profileEntityBentoTemplates?: TemplateProfileEntityBentoTemplates;
|
|
562
|
-
automations: TemplateAutomation[];
|
|
563
547
|
extends?: TemplateExtendsRef[];
|
|
564
548
|
};
|
|
565
549
|
}
|