@synap-core/workspace-templates 0.6.1 → 0.6.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/dist/index.d.ts CHANGED
@@ -238,6 +238,16 @@ interface TemplatePlaybook {
238
238
  } | null;
239
239
  /** tool/skill keys this playbook grants. */
240
240
  grants?: string[];
241
+ /**
242
+ * The entity kind this playbook operates over, persisted to
243
+ * `playbooks.subject_profile`. Makes the playbook matchable by
244
+ * `playbooks.matchForEntity` (filters `subject_profile->>'profileSlug'`), so a
245
+ * captured entity of this kind can auto-launch the playbook as a session.
246
+ */
247
+ subjectProfile?: {
248
+ profileSlug: string;
249
+ filter?: Record<string, unknown>;
250
+ };
241
251
  status?: 'draft' | 'active' | 'paused';
242
252
  }
243
253
  interface TemplateIntegration {
package/dist/index.js CHANGED
@@ -6518,6 +6518,26 @@ var DATA = {
6518
6518
  "label": "Depends on"
6519
6519
  }
6520
6520
  ],
6521
+ "playbooks": [
6522
+ {
6523
+ "name": "Evaluate Feature",
6524
+ "description": "Assess a feature \u2014 its current state, whether it's worth building, and how it fits the rest of the system.",
6525
+ "goalTemplate": "Evaluate this feature ({feature}): where it stands today (its status, progress, and any blockers), whether it is actually useful (the problem it solves and for whom), and how it integrates with the existing apps, packages, services, and environments in this workspace. Finish with a clear recommendation \u2014 continue, cut, or reshape \u2014 and the reasoning behind it.",
6526
+ "subjectProfile": {
6527
+ "profileSlug": "devplane_feature"
6528
+ },
6529
+ "params": [
6530
+ {
6531
+ "name": "feature",
6532
+ "type": "entity",
6533
+ "label": "Feature",
6534
+ "required": true
6535
+ }
6536
+ ],
6537
+ "executor": "is-agent",
6538
+ "status": "active"
6539
+ }
6540
+ ],
6521
6541
  "onboarding": {
6522
6542
  "goal": "Capture the real engineering surface \u2014 the apps that are shipped, where their code lives, what runs behind them, where they deploy, and what's in flight \u2014 so the workspace mirrors what the team actually builds and runs, not a generic template.",
6523
6543
  "framing": "THE STAFF ENGINEER: Act as a pragmatic, precise staff/platform engineer standing up a developer command center. Tease out what's actually shipped vs. planned, where the code lives (repos + local paths), what runs behind each app, where it deploys, and what's on the bench right now. Prefer concrete over aspirational \u2014 a repo URL beats a wish. Tie the roadmap back to the Foundation's mission and audiences: the surface exists to serve them.\n",
@@ -8571,6 +8591,37 @@ var DATA = {
8571
8591
  "label": "Sponsor"
8572
8592
  }
8573
8593
  ],
8594
+ "playbooks": [
8595
+ {
8596
+ "name": "Produce Content",
8597
+ "description": "Take a captured post idea and carry it from spark to a scheduled, platform-ready draft.",
8598
+ "goalTemplate": "Produce content for {platform} from this idea ({post}). Take the raw idea, shape it into a {format} draft with a scroll-stopping hook and a clear CTA, keep it aligned to the post's pillar and the operator's brand voice, then move it to Scheduled with a publish date.",
8599
+ "subjectProfile": {
8600
+ "profileSlug": "post"
8601
+ },
8602
+ "params": [
8603
+ {
8604
+ "name": "post",
8605
+ "type": "entity",
8606
+ "label": "Post",
8607
+ "required": true
8608
+ },
8609
+ {
8610
+ "name": "platform",
8611
+ "type": "text",
8612
+ "label": "Platform",
8613
+ "required": true
8614
+ },
8615
+ {
8616
+ "name": "format",
8617
+ "type": "text",
8618
+ "label": "Format"
8619
+ }
8620
+ ],
8621
+ "executor": "is-agent",
8622
+ "status": "active"
8623
+ }
8624
+ ],
8574
8625
  "onboarding": {
8575
8626
  "goal": "Stand up the editorial engine \u2014 the pillars you're known for, the platforms you publish on, the cadence you can actually sustain, and a first post placed in the system \u2014 so the workspace mirrors how you turn thinking into published content, not a blank calendar.\n",
8576
8627
  "framing": `THE EDITOR-IN-CHIEF: Act as a seasoned content strategist who has grown owned audiences from zero. Anchor everything on PILLARS \u2014 the two-to-four recurring themes an audience comes to you for \u2014 because pillars are what make a content engine compound instead of drift. Pull voice and identity from Brand and the target audience from Foundation so every piece lands on-strategy. Push for a cadence they can hold for a year, not a heroic month. Be concrete: real platforms, real formats, a real first post \u2014 a fuzzy "I'll post more" helps no one.
@@ -11941,6 +11992,47 @@ var DATA = {
11941
11992
  "label": "Involves"
11942
11993
  }
11943
11994
  ],
11995
+ "playbooks": [
11996
+ {
11997
+ "name": "Research Competitor",
11998
+ "description": "Deep-research a competitor and position it against us \u2014 strengths, weaknesses, pricing, and the gaps we can exploit.",
11999
+ "goalTemplate": "Research this competitor ({competitor}) and compare them to us. Investigate their {focus}: positioning, strengths, weaknesses, pricing, and recent moves. Use the provided company context where relevant: {companyContext}. Produce: {outputTypes}. Update the competitor entity with what you find and make clear where we win and where we are exposed.",
12000
+ "subjectProfile": {
12001
+ "profileSlug": "competitor"
12002
+ },
12003
+ "params": [
12004
+ {
12005
+ "name": "competitor",
12006
+ "type": "entity",
12007
+ "label": "Competitor",
12008
+ "required": true
12009
+ },
12010
+ {
12011
+ "name": "focus",
12012
+ "type": "text",
12013
+ "label": "Focus area",
12014
+ "defaultValue": "product, pricing, and positioning"
12015
+ },
12016
+ {
12017
+ "name": "companyContext",
12018
+ "type": "text",
12019
+ "label": "Our company context"
12020
+ },
12021
+ {
12022
+ "name": "outputTypes",
12023
+ "type": "text",
12024
+ "label": "Outputs",
12025
+ "defaultValue": "a head-to-head comparison summary and an updated competitor profile"
12026
+ }
12027
+ ],
12028
+ "executor": "is-agent",
12029
+ "grants": [
12030
+ "Web Search",
12031
+ "Entity Creator"
12032
+ ],
12033
+ "status": "active"
12034
+ }
12035
+ ],
11944
12036
  "onboarding": {
11945
12037
  "goal": 'Map the real ecosystem \u2014 the key players (companies and people), who partners and competes with whom, and the segments and trends that matter \u2014 so strategy is grounded in the actual market, not a vague "the market".\n',
11946
12038
  "framing": 'THE ECOSYSTEM LEAD: Act as a sharp ecosystem lead who maps the market\nlandscape AND the relationships inside it. Push for REAL named players \u2014 not\n"the incumbents", but the actual companies \u2014 and for the concrete edges\nbetween them: who partners with whom, who competes, who invested in whom.\nA map with no edges is just a list; the value is in the relationships.\n',
@@ -12116,6 +12208,12 @@ var DATA = {
12116
12208
  "kind": "workspace",
12117
12209
  "relation": "require",
12118
12210
  "reason": "The pipeline \u2014 contacts, leads, clients, and deals."
12211
+ },
12212
+ {
12213
+ "slug": "content-os",
12214
+ "kind": "workspace",
12215
+ "relation": "require",
12216
+ "reason": "The editorial engine \u2014 pillars, posts, platforms, and newsletters \u2014 so the company's content operation is part of the operating core."
12119
12217
  }
12120
12218
  ],
12121
12219
  "workspace": {