@synap-core/workspace-templates 0.41.0 → 0.44.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.
@@ -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
- requiredIntents: [publish_post, send_message, list_records]
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
- grants:
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
@@ -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
- post a short weekly status in this session's room, and flag any
940
- deliverable past its due date.
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
- requiredIntents: [list_records, send_message]
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 post a weekly status in the room.
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: A status was posted in the room for every week the engagement was active.
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
- | { requiredIntents?: string[]; stages?: Array<{ key: string; subjectStatus?: string; goal?: string }> }
88
+ | { tools?: string[]; stages?: Array<{ key: string; subjectStatus?: string; goal?: string }> }
89
89
  | undefined;
90
- expect(pb?.requiredIntents).toContain("publish_post");
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");
@@ -435,14 +435,8 @@ playbooks:
435
435
  params:
436
436
  - { name: question, type: entity, label: Question, required: true }
437
437
  executor: is-agent
438
- grants:
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
- grants:
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 }