@synap-core/workspace-templates 0.41.0 → 0.43.0
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/capabilities/agency-skills.capability.json +12 -0
- package/capabilities/client-comms-report.capability.json +9 -0
- package/capabilities/datagouv.capability.json +23 -40
- package/capabilities/jev.capability.json +3 -16
- package/capabilities/proton.capability.json +5 -0
- package/dist/{define-C0Iizc2r.d.ts → define-CRNRmaqi.d.ts} +33 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +138 -55
- package/dist/index.js.map +1 -1
- package/dist/wire.d.ts +1 -1
- package/package.json +1 -1
- package/src/agency-os.yaml +1 -0
- package/src/brand-library.yaml +1 -1
- package/src/builder.yaml +11 -8
- package/src/content-os.template.test.ts +26 -11
- package/src/content-os.yaml +40 -32
- package/src/crm-find-contact.template.test.ts +1 -2
- package/src/crm-lists.template.test.ts +1 -1
- package/src/crm-messages-cadence.template.test.ts +3 -3
- package/src/crm-rules-guidance.template.test.ts +1 -1
- package/src/crm.yaml +24 -26
- package/src/ecosystem.yaml +2 -7
- package/src/finance.yaml +3 -3
- package/src/marketing.yaml +1 -1
- package/src/meetings-knowledge.yaml +1 -5
- package/src/operations.yaml +5 -5
- package/src/postiz-contract.test.ts +2 -2
- package/src/research-base.yaml +2 -7
- package/src/research-decision.yaml +1 -5
- package/src/templates.ts +138 -55
- package/src/types.ts +31 -1
package/src/marketing.yaml
CHANGED
|
@@ -408,7 +408,7 @@ playbooks:
|
|
|
408
408
|
- { name: campaign, type: entity, label: Campaign, required: true }
|
|
409
409
|
executor: is-agent
|
|
410
410
|
status: active
|
|
411
|
-
|
|
411
|
+
tools: [publish_post, send_message, list_records]
|
|
412
412
|
expectedOutputs:
|
|
413
413
|
- { kind: post, label: Campaign pieces, relationToSubject: relates_to }
|
|
414
414
|
- { kind: person, label: Leads from the campaign, relationToSubject: relates_to }
|
|
@@ -214,11 +214,7 @@ playbooks:
|
|
|
214
214
|
defaultValue: "a summary note, action-item tasks, and updated attendee records",
|
|
215
215
|
}
|
|
216
216
|
executor: is-agent
|
|
217
|
-
|
|
218
|
-
- fireflies_import_last_meeting
|
|
219
|
-
- fireflies_search
|
|
220
|
-
- calendar_list
|
|
221
|
-
- entity.create
|
|
217
|
+
tools: [update_entity, resolve_identity, fireflies_import_last_meeting, fireflies_search, calendar_list, entity.create]
|
|
222
218
|
status: active
|
|
223
219
|
|
|
224
220
|
# Transcript import via Fireflies, calendar/attendee context via Google
|
package/src/operations.yaml
CHANGED
|
@@ -936,8 +936,8 @@ playbooks:
|
|
|
936
936
|
contract only when none is linked.
|
|
937
937
|
START: a person confirms the contract is signed and the work may start.
|
|
938
938
|
DELIVER: track every deliverable to accepted (or cancelled by a person),
|
|
939
|
-
|
|
940
|
-
|
|
939
|
+
flag any deliverable past its due date, and end with your answer: a
|
|
940
|
+
short status of what moved and what is late.
|
|
941
941
|
CLOSE: once every deliverable is accepted or cancelled, write the closing review
|
|
942
942
|
(what was delivered, what slipped, what the client said), create the
|
|
943
943
|
closing invoice in Finance at the draft status for the engagement value
|
|
@@ -954,7 +954,7 @@ playbooks:
|
|
|
954
954
|
- { name: engagement, type: entity, label: Engagement, required: true }
|
|
955
955
|
executor: is-agent
|
|
956
956
|
status: active
|
|
957
|
-
|
|
957
|
+
tools: [list_records, send_message]
|
|
958
958
|
expectedOutputs:
|
|
959
959
|
- { kind: deliverable, label: Deliverables, relationToSubject: relates_to }
|
|
960
960
|
- { kind: contract, label: Contract, relationToSubject: contract_for_engagement }
|
|
@@ -988,14 +988,14 @@ playbooks:
|
|
|
988
988
|
- key: deliver
|
|
989
989
|
name: Deliver
|
|
990
990
|
category: started
|
|
991
|
-
goal: Track every deliverable to accepted or cancelled and
|
|
991
|
+
goal: Track every deliverable to accepted or cancelled, and end with a short status of what moved and what is late as your answer.
|
|
992
992
|
indefinite: true
|
|
993
993
|
criteria:
|
|
994
994
|
- key: deliver-all-accepted
|
|
995
995
|
statement: Every deliverable of the engagement is accepted or cancelled.
|
|
996
996
|
check: { kind: judge }
|
|
997
997
|
- key: deliver-weekly-status
|
|
998
|
-
statement:
|
|
998
|
+
statement: Each turn of this stage ended with a short status of what moved and what is late.
|
|
999
999
|
check: { kind: judge }
|
|
1000
1000
|
- key: close
|
|
1001
1001
|
name: Close
|
|
@@ -85,9 +85,9 @@ describe("Postiz contract — the keys the webhook and the capability share", ()
|
|
|
85
85
|
|
|
86
86
|
it("Produce Content requires publish_post and queues at Scheduled", () => {
|
|
87
87
|
const pb = (contentOs?.playbooks ?? []).find((p: { name?: string }) => p.name === "Produce Content") as
|
|
88
|
-
| {
|
|
88
|
+
| { tools?: string[]; stages?: Array<{ key: string; subjectStatus?: string; goal?: string }> }
|
|
89
89
|
| undefined;
|
|
90
|
-
expect(pb?.
|
|
90
|
+
expect(pb?.tools).toContain("publish_post");
|
|
91
91
|
const schedule = pb?.stages?.find((s) => s.key === "schedule");
|
|
92
92
|
expect(schedule?.subjectStatus).toBe("Scheduled");
|
|
93
93
|
expect(schedule?.goal).toContain("postiz_schedule_post");
|
package/src/research-base.yaml
CHANGED
|
@@ -435,14 +435,8 @@ playbooks:
|
|
|
435
435
|
params:
|
|
436
436
|
- { name: question, type: entity, label: Question, required: true }
|
|
437
437
|
executor: is-agent
|
|
438
|
-
|
|
439
|
-
- source-triage
|
|
440
|
-
- evidence-synthesis
|
|
441
|
-
- concept-cartography
|
|
442
|
-
- exa_search
|
|
443
|
-
- entity.create
|
|
438
|
+
tools: [search_external, source-triage, evidence-synthesis, concept-cartography, exa_search, entity.create]
|
|
444
439
|
status: active
|
|
445
|
-
requiredIntents: [search_external]
|
|
446
440
|
expectedOutputs:
|
|
447
441
|
- { kind: research, label: Research record, relationToSubject: investigates }
|
|
448
442
|
- { kind: hypothesis, label: Candidate answers, relationToSubject: answers }
|
|
@@ -500,6 +494,7 @@ playbooks:
|
|
|
500
494
|
params:
|
|
501
495
|
- { name: finding, type: entity, label: Finding, required: true }
|
|
502
496
|
executor: is-agent
|
|
497
|
+
tools: [create_entity, create_relation]
|
|
503
498
|
status: active
|
|
504
499
|
expectedOutputs:
|
|
505
500
|
- { kind: post, label: Post idea, relationToSubject: derived_from }
|
|
@@ -167,11 +167,7 @@ playbooks:
|
|
|
167
167
|
params:
|
|
168
168
|
- { name: question, type: entity, label: Question, required: true }
|
|
169
169
|
executor: is-agent
|
|
170
|
-
|
|
171
|
-
- ibis-decision-analysis
|
|
172
|
-
- source-triage
|
|
173
|
-
- exa_search
|
|
174
|
-
- entity.create
|
|
170
|
+
tools: [create_relation, ibis-decision-analysis, source-triage, exa_search, entity.create]
|
|
175
171
|
status: active
|
|
176
172
|
expectedOutputs:
|
|
177
173
|
- { kind: decision, label: Recommended decision, relationToSubject: resolves }
|