@happyvertical/smrt-personas 0.60.15 → 0.60.17
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/manifest.json
CHANGED
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-personas",
|
|
6
|
-
"packageVersion": "0.60.
|
|
6
|
+
"packageVersion": "0.60.17",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "f640744dccbbce7cf22502bb12859563351d062fc59a2c21cac1728751e470cd",
|
|
11
|
+
"packageJson": "35a753c7678188d50bf4a74504f5d3b0ac365b690baa871849f501cda2951864",
|
|
12
12
|
"agents": "7eaddcbe7c4ad3f9c7b0ff51159a292213235877e5874347cc2be7875111e0e2"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -46,18 +46,18 @@ function approve(proposal: DirectiveProposalView): void {
|
|
|
46
46
|
}
|
|
47
47
|
</script>
|
|
48
48
|
|
|
49
|
-
<section class="directive-review-
|
|
49
|
+
<section class="smrt-directive-review-queue__root" data-smrt-component="DirectiveReviewQueue">
|
|
50
50
|
{#if proposals.length === 0}
|
|
51
|
-
<p class="
|
|
51
|
+
<p class="smrt-directive-review-queue__empty" data-smrt-part="empty">No directive proposals awaiting review.</p>
|
|
52
52
|
{:else}
|
|
53
53
|
{#each proposals as proposal (proposal.id)}
|
|
54
54
|
{@const locked = busy || proposal.status !== 'pending'}
|
|
55
55
|
<Card variant="outlined">
|
|
56
|
-
<div class="
|
|
57
|
-
<span class="
|
|
56
|
+
<div class="smrt-directive-review-queue__header" data-smrt-part="header">
|
|
57
|
+
<span class="smrt-directive-review-queue__title" data-smrt-part="title">
|
|
58
58
|
{proposal.personaName ?? proposal.agentClass ?? 'Persona directive'}
|
|
59
59
|
</span>
|
|
60
|
-
<span class="
|
|
60
|
+
<span class="smrt-directive-review-queue__badges" data-smrt-part="meta">
|
|
61
61
|
{#if proposal.confidence != null}
|
|
62
62
|
<Badge variant="info" size="sm">
|
|
63
63
|
{confidencePercent(proposal.confidence)} confidence
|
|
@@ -69,15 +69,15 @@ function approve(proposal: DirectiveProposalView): void {
|
|
|
69
69
|
</span>
|
|
70
70
|
</div>
|
|
71
71
|
|
|
72
|
-
<p class="
|
|
72
|
+
<p class="smrt-directive-review-queue__rationale" data-smrt-part="meta">{proposal.rationale}</p>
|
|
73
73
|
|
|
74
|
-
<div class="
|
|
75
|
-
<div class="
|
|
76
|
-
<h4 class="
|
|
77
|
-
<pre class="
|
|
74
|
+
<div class="smrt-directive-review-queue__diff" data-smrt-part="body">
|
|
75
|
+
<div class="smrt-directive-review-queue__column" data-smrt-part="group">
|
|
76
|
+
<h4 class="smrt-directive-review-queue__column-title" data-smrt-part="title">Current</h4>
|
|
77
|
+
<pre class="smrt-directive-review-queue__pre" data-smrt-part="body">{proposal.currentInstructions || '(none)'}</pre>
|
|
78
78
|
</div>
|
|
79
|
-
<div class="
|
|
80
|
-
<h4 class="
|
|
79
|
+
<div class="smrt-directive-review-queue__column" data-smrt-part="group">
|
|
80
|
+
<h4 class="smrt-directive-review-queue__column-title" data-smrt-part="title">Proposed</h4>
|
|
81
81
|
<Textarea
|
|
82
82
|
value={draftFor(proposal)}
|
|
83
83
|
rows={5}
|
|
@@ -91,7 +91,7 @@ function approve(proposal: DirectiveProposalView): void {
|
|
|
91
91
|
</div>
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
|
-
<div class="
|
|
94
|
+
<div class="smrt-directive-review-queue__actions" data-smrt-part="actions">
|
|
95
95
|
<Button
|
|
96
96
|
variant="primary"
|
|
97
97
|
size="sm"
|
|
@@ -116,73 +116,71 @@ function approve(proposal: DirectiveProposalView): void {
|
|
|
116
116
|
|
|
117
117
|
<style>
|
|
118
118
|
@layer smrt.reset, smrt.structure, smrt.theme;
|
|
119
|
-
@layer smrt.
|
|
120
|
-
.directive-review-
|
|
119
|
+
@layer smrt.structure {
|
|
120
|
+
.smrt-directive-review-queue__root {
|
|
121
121
|
display: flex;
|
|
122
122
|
flex-direction: column;
|
|
123
123
|
gap: 1rem;
|
|
124
124
|
}
|
|
125
|
-
|
|
126
|
-
.dq-empty {
|
|
127
|
-
color: var(--smrt-color-on-surface-variant);
|
|
128
|
-
font-style: italic;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.dq-head {
|
|
125
|
+
.smrt-directive-review-queue__header {
|
|
132
126
|
display: flex;
|
|
133
127
|
align-items: center;
|
|
134
128
|
justify-content: space-between;
|
|
135
129
|
gap: 0.5rem;
|
|
136
130
|
margin-bottom: 0.5rem;
|
|
137
131
|
}
|
|
138
|
-
|
|
139
|
-
.dq-title {
|
|
140
|
-
font-weight: 600;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.dq-badges {
|
|
132
|
+
.smrt-directive-review-queue__badges {
|
|
144
133
|
display: inline-flex;
|
|
145
134
|
gap: 0.375rem;
|
|
146
135
|
}
|
|
147
|
-
|
|
148
|
-
.dq-rationale {
|
|
136
|
+
.smrt-directive-review-queue__rationale {
|
|
149
137
|
margin: 0 0 0.75rem;
|
|
150
138
|
}
|
|
151
|
-
|
|
152
|
-
.dq-diff {
|
|
139
|
+
.smrt-directive-review-queue__diff {
|
|
153
140
|
display: grid;
|
|
154
141
|
grid-template-columns: 1fr 1fr;
|
|
155
142
|
gap: 0.75rem;
|
|
156
143
|
}
|
|
157
|
-
|
|
158
144
|
@media (max-width: 640px) {
|
|
159
|
-
.
|
|
145
|
+
.smrt-directive-review-queue__diff {
|
|
160
146
|
grid-template-columns: 1fr;
|
|
161
147
|
}
|
|
162
148
|
}
|
|
163
|
-
|
|
164
|
-
.dq-col-title {
|
|
149
|
+
.smrt-directive-review-queue__column-title {
|
|
165
150
|
margin: 0 0 0.25rem;
|
|
166
|
-
font-size: 0.8125rem;
|
|
167
|
-
text-transform: uppercase;
|
|
168
|
-
letter-spacing: 0.04em;
|
|
169
|
-
color: var(--smrt-color-on-surface-variant);
|
|
170
151
|
}
|
|
171
|
-
|
|
172
|
-
.dq-pre {
|
|
152
|
+
.smrt-directive-review-queue__pre {
|
|
173
153
|
margin: 0;
|
|
174
154
|
padding: 0.5rem;
|
|
175
155
|
white-space: pre-wrap;
|
|
176
156
|
word-break: break-word;
|
|
177
|
-
background: var(--smrt-color-surface-variant);
|
|
178
|
-
border-radius: 0.375rem;
|
|
179
|
-
font-size: 0.875rem;
|
|
180
157
|
}
|
|
181
|
-
|
|
182
|
-
.dq-actions {
|
|
158
|
+
.smrt-directive-review-queue__actions {
|
|
183
159
|
display: flex;
|
|
184
160
|
gap: 0.5rem;
|
|
185
161
|
margin-top: 0.75rem;
|
|
186
162
|
}
|
|
187
163
|
}
|
|
164
|
+
|
|
165
|
+
@layer smrt.theme {
|
|
166
|
+
.smrt-directive-review-queue__empty {
|
|
167
|
+
color: var(--smrt-color-on-surface-variant);
|
|
168
|
+
font-style: italic;
|
|
169
|
+
}
|
|
170
|
+
.smrt-directive-review-queue__title {
|
|
171
|
+
font-weight: 600;
|
|
172
|
+
}
|
|
173
|
+
.smrt-directive-review-queue__column-title {
|
|
174
|
+
font-size: 0.8125rem;
|
|
175
|
+
text-transform: uppercase;
|
|
176
|
+
letter-spacing: 0.04em;
|
|
177
|
+
color: var(--smrt-color-on-surface-variant);
|
|
178
|
+
}
|
|
179
|
+
.smrt-directive-review-queue__pre {
|
|
180
|
+
background: var(--smrt-color-surface-variant);
|
|
181
|
+
border-radius: 0.375rem;
|
|
182
|
+
font-size: 0.875rem;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
188
186
|
</style>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-personas",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.17",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"description": "Tenant-owned, context-scoped agent personas and resolution for the SMRT framework",
|
|
6
6
|
"type": "module",
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"./manifest.json": "./dist/manifest.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@happyvertical/smrt-agents": "0.60.
|
|
29
|
-
"@happyvertical/smrt-core": "0.60.
|
|
30
|
-
"@happyvertical/smrt-messages": "0.60.
|
|
31
|
-
"@happyvertical/smrt-prompts": "0.60.
|
|
32
|
-
"@happyvertical/smrt-tenancy": "0.60.
|
|
33
|
-
"@happyvertical/smrt-ui": "0.60.
|
|
34
|
-
"@happyvertical/smrt-users": "0.60.
|
|
35
|
-
"@happyvertical/sql": "^0.
|
|
28
|
+
"@happyvertical/smrt-agents": "0.60.17",
|
|
29
|
+
"@happyvertical/smrt-core": "0.60.17",
|
|
30
|
+
"@happyvertical/smrt-messages": "0.60.17",
|
|
31
|
+
"@happyvertical/smrt-prompts": "0.60.17",
|
|
32
|
+
"@happyvertical/smrt-tenancy": "0.60.17",
|
|
33
|
+
"@happyvertical/smrt-ui": "0.60.17",
|
|
34
|
+
"@happyvertical/smrt-users": "0.60.17",
|
|
35
|
+
"@happyvertical/sql": "^0.112.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"svelte": "^5.57.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@happyvertical/smrt-vitest": "0.60.
|
|
41
|
+
"@happyvertical/smrt-vitest": "0.60.17",
|
|
42
42
|
"@sveltejs/package": "^2.5.8",
|
|
43
43
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
44
44
|
"@types/node": "24.13.6",
|