@sweny-ai/core 0.1.209 → 0.1.211
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/cli/main.js +4 -0
- package/dist/cli/packs.d.ts +1 -0
- package/dist/cli/packs.js +8 -3
- package/dist/cli/templates.js +148 -21
- package/dist/cli/workflow-upgrade.d.ts +7 -1
- package/dist/cli/workflow-upgrade.js +28 -2
- package/dist/executor.d.ts +16 -1
- package/dist/executor.js +88 -4
- package/dist/harness/claude-code.d.ts +39 -4
- package/dist/harness/claude-code.js +98 -11
- package/dist/harness/types.d.ts +8 -0
- package/dist/journal.d.ts +2 -1
- package/dist/journal.js +4 -3
- package/dist/loader.js +5 -0
- package/dist/migrations.d.ts +33 -2
- package/dist/migrations.js +106 -4
- package/dist/node-policy.d.ts +27 -4
- package/dist/node-policy.js +59 -4
- package/dist/safe-outputs.d.ts +3 -1
- package/dist/safe-outputs.js +22 -4
- package/dist/schema.d.ts +31 -11
- package/dist/schema.js +30 -7
- package/dist/types.d.ts +15 -4
- package/dist/workflow-builder.d.ts +1 -1
- package/dist/workflow-builder.js +11 -4
- package/dist/workflows/browser.js +3 -3
- package/dist/workflows/implement.yml +7 -0
- package/dist/workflows/seed-content.yml +17 -0
- package/dist/workflows/triage.yml +7 -0
- package/package.json +1 -1
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
spec_version: "2"
|
|
1
2
|
id: seed-content
|
|
2
3
|
name: Content Generation Pipeline
|
|
3
4
|
workflow_type: content_generation
|
|
4
5
|
description: Audit content gaps, generate educational content, validate quality, and publish to Supabase
|
|
5
6
|
entry: audit
|
|
7
|
+
# Safe by default (spec_version 2): a node is read-only unless it declares
|
|
8
|
+
# permissions. generate inserts and validate updates rows, each through its
|
|
9
|
+
# Supabase tools only.
|
|
6
10
|
nodes:
|
|
7
11
|
audit:
|
|
8
12
|
name: Audit Content Gaps
|
|
@@ -125,6 +129,12 @@ nodes:
|
|
|
125
129
|
Return a summary of what was generated and inserted.
|
|
126
130
|
skills:
|
|
127
131
|
- supabase
|
|
132
|
+
permissions:
|
|
133
|
+
access: write
|
|
134
|
+
deny: [shell, write, edit, net, subagent]
|
|
135
|
+
tools:
|
|
136
|
+
allow:
|
|
137
|
+
- supabase_insert
|
|
128
138
|
output:
|
|
129
139
|
type: object
|
|
130
140
|
properties:
|
|
@@ -179,6 +189,13 @@ nodes:
|
|
|
179
189
|
Return a quality report.
|
|
180
190
|
skills:
|
|
181
191
|
- supabase
|
|
192
|
+
permissions:
|
|
193
|
+
access: write
|
|
194
|
+
deny: [shell, write, edit, net, subagent]
|
|
195
|
+
tools:
|
|
196
|
+
allow:
|
|
197
|
+
- supabase_query
|
|
198
|
+
- supabase_update
|
|
182
199
|
output:
|
|
183
200
|
type: object
|
|
184
201
|
properties:
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
spec_version: "2"
|
|
1
2
|
id: triage
|
|
2
3
|
name: Alert Triage
|
|
3
4
|
workflow_type: monitor
|
|
@@ -807,6 +808,12 @@ nodes:
|
|
|
807
808
|
skills:
|
|
808
809
|
- slack
|
|
809
810
|
- notification
|
|
811
|
+
# #598: write only for the notification. The slack and notification skills
|
|
812
|
+
# hold nothing but notification tools; no shell, network or subagents.
|
|
813
|
+
# File writes stay for a notification written to a file.
|
|
814
|
+
permissions:
|
|
815
|
+
access: write
|
|
816
|
+
deny: [shell, net, subagent]
|
|
810
817
|
edges:
|
|
811
818
|
- from: gather
|
|
812
819
|
to: investigate
|