@qlucent/fishi-core 0.14.2 → 0.14.4
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/index.js +31 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10206,31 +10206,56 @@ function getSettingsJsonTemplate() {
|
|
|
10206
10206
|
SessionStart: [
|
|
10207
10207
|
{
|
|
10208
10208
|
matcher: "",
|
|
10209
|
-
|
|
10209
|
+
hooks: [
|
|
10210
|
+
{
|
|
10211
|
+
type: "command",
|
|
10212
|
+
command: "node .fishi/scripts/session-start.mjs"
|
|
10213
|
+
}
|
|
10214
|
+
]
|
|
10210
10215
|
}
|
|
10211
10216
|
],
|
|
10212
10217
|
Stop: [
|
|
10213
10218
|
{
|
|
10214
10219
|
matcher: "",
|
|
10215
|
-
|
|
10220
|
+
hooks: [
|
|
10221
|
+
{
|
|
10222
|
+
type: "command",
|
|
10223
|
+
command: "node .fishi/scripts/auto-checkpoint.mjs"
|
|
10224
|
+
}
|
|
10225
|
+
]
|
|
10216
10226
|
}
|
|
10217
10227
|
],
|
|
10218
10228
|
SubagentStop: [
|
|
10219
10229
|
{
|
|
10220
10230
|
matcher: "",
|
|
10221
|
-
|
|
10231
|
+
hooks: [
|
|
10232
|
+
{
|
|
10233
|
+
type: "command",
|
|
10234
|
+
command: "node .fishi/scripts/auto-checkpoint.mjs"
|
|
10235
|
+
}
|
|
10236
|
+
]
|
|
10222
10237
|
}
|
|
10223
10238
|
],
|
|
10224
10239
|
PreToolUse: [
|
|
10225
10240
|
{
|
|
10226
10241
|
matcher: "Bash",
|
|
10227
|
-
|
|
10242
|
+
hooks: [
|
|
10243
|
+
{
|
|
10244
|
+
type: "command",
|
|
10245
|
+
command: "node .fishi/scripts/safety-check.mjs"
|
|
10246
|
+
}
|
|
10247
|
+
]
|
|
10228
10248
|
}
|
|
10229
10249
|
],
|
|
10230
10250
|
PostToolUse: [
|
|
10231
10251
|
{
|
|
10232
10252
|
matcher: "Write|Edit",
|
|
10233
|
-
|
|
10253
|
+
hooks: [
|
|
10254
|
+
{
|
|
10255
|
+
type: "command",
|
|
10256
|
+
command: "node .fishi/scripts/post-edit.mjs"
|
|
10257
|
+
}
|
|
10258
|
+
]
|
|
10234
10259
|
}
|
|
10235
10260
|
]
|
|
10236
10261
|
},
|
|
@@ -10331,9 +10356,7 @@ function getSettingsJsonTemplate() {
|
|
|
10331
10356
|
// Network attacks
|
|
10332
10357
|
"Bash(nmap *)",
|
|
10333
10358
|
"Bash(netcat *)",
|
|
10334
|
-
"Bash(nc -l *)"
|
|
10335
|
-
// Fork bombs and dangerous patterns
|
|
10336
|
-
"Bash(:(){ :|:& };:)"
|
|
10359
|
+
"Bash(nc -l *)"
|
|
10337
10360
|
]
|
|
10338
10361
|
}
|
|
10339
10362
|
};
|