@frockbot/plugin-audit 0.3.5 → 0.3.6
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/package.json +6 -6
- package/src/client/AuditSection.vue +9 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/plugin-audit",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"typecheck": "vue-tsc --noEmit -p tsconfig.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@frockbot/client-core": "0.3.
|
|
29
|
-
"@frockbot/client-ui": "0.3.
|
|
30
|
-
"@frockbot/kernel-contracts": "0.3.
|
|
31
|
-
"@frockbot/plugin-shell": "0.3.
|
|
32
|
-
"@frockbot/secret-shapes": "0.3.
|
|
28
|
+
"@frockbot/client-core": "0.3.6",
|
|
29
|
+
"@frockbot/client-ui": "0.3.6",
|
|
30
|
+
"@frockbot/kernel-contracts": "0.3.6",
|
|
31
|
+
"@frockbot/plugin-shell": "0.3.6",
|
|
32
|
+
"@frockbot/secret-shapes": "0.3.6",
|
|
33
33
|
"cordis": "4.0.0-rc.8",
|
|
34
34
|
"vue": "3.5.41"
|
|
35
35
|
},
|
|
@@ -83,9 +83,8 @@ function when(entry: AuditEntryV1): string {
|
|
|
83
83
|
<span class="audit__intro">
|
|
84
84
|
<strong>Audit log</strong>
|
|
85
85
|
<small>
|
|
86
|
-
Every shell command, browser action, remote tool call and
|
|
87
|
-
|
|
88
|
-
a redacted preview.
|
|
86
|
+
Every shell command, browser action, remote tool call and file write
|
|
87
|
+
this Bot has made. Command details aren't stored.
|
|
89
88
|
</small>
|
|
90
89
|
</span>
|
|
91
90
|
<UiButton
|
|
@@ -106,17 +105,15 @@ function when(entry: AuditEntryV1): string {
|
|
|
106
105
|
class="audit__banner"
|
|
107
106
|
role="status"
|
|
108
107
|
>
|
|
109
|
-
Older activity has been trimmed to
|
|
110
|
-
|
|
111
|
-
still hold.
|
|
108
|
+
Older activity has been trimmed. Rebuild to restore what's still
|
|
109
|
+
available.
|
|
112
110
|
</p>
|
|
113
111
|
<p
|
|
114
112
|
v-else-if="audit.indexState === 'rebuilding'"
|
|
115
113
|
class="audit__banner"
|
|
116
114
|
role="status"
|
|
117
115
|
>
|
|
118
|
-
|
|
119
|
-
finishes.
|
|
116
|
+
Rebuilding. What's shown may be incomplete until it finishes.
|
|
120
117
|
</p>
|
|
121
118
|
|
|
122
119
|
<div v-if="audit.receipt" class="audit-receipt">
|
|
@@ -125,10 +122,9 @@ function when(entry: AuditEntryV1): string {
|
|
|
125
122
|
{{ audit.receipt.bots }} Bots
|
|
126
123
|
</strong>
|
|
127
124
|
<small>
|
|
128
|
-
{{ audit.receipt.unknownOutcomes }} with an outcome
|
|
129
|
-
explain, and {{ audit.receipt.hostJournalDiscrepancies }}
|
|
130
|
-
|
|
131
|
-
counted here, never written in as if a turn had recorded it.
|
|
125
|
+
{{ audit.receipt.unknownOutcomes }} with an outcome this log can't
|
|
126
|
+
explain, and {{ audit.receipt.hostJournalDiscrepancies }} action(s) the
|
|
127
|
+
computer reported that this log can't match to anything the Bot did.
|
|
132
128
|
</small>
|
|
133
129
|
<div class="audit-receipt__actions">
|
|
134
130
|
<UiButton type="button" @click="audit.dismissReceipt()">
|
|
@@ -159,7 +155,7 @@ function when(entry: AuditEntryV1): string {
|
|
|
159
155
|
</div>
|
|
160
156
|
|
|
161
157
|
<p v-if="audit.loaded && audit.entries.length === 0" class="audit__empty">
|
|
162
|
-
|
|
158
|
+
Nothing here yet. Only actions get logged, not conversation.
|
|
163
159
|
</p>
|
|
164
160
|
|
|
165
161
|
<ol v-else class="audit__rows">
|