opencode-windows-scheduler 1.2.3 → 1.4.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +61 -2
  2. package/README.md +21 -4
  3. package/ROADMAP-STRATEGY.md +61 -159
  4. package/ROADMAP.md +60 -98
  5. package/dist/core/audit.d.ts +68 -0
  6. package/dist/core/audit.d.ts.map +1 -0
  7. package/dist/core/audit.js +206 -0
  8. package/dist/core/native-notify.d.ts +36 -0
  9. package/dist/core/native-notify.d.ts.map +1 -0
  10. package/dist/core/native-notify.js +110 -0
  11. package/dist/core/record-history.js +4 -4
  12. package/dist/core/secrets.d.ts +57 -0
  13. package/dist/core/secrets.d.ts.map +1 -0
  14. package/dist/core/secrets.js +331 -0
  15. package/dist/core/structured-log.d.ts.map +1 -1
  16. package/dist/core/structured-log.js +9 -0
  17. package/dist/core/telegram.d.ts +45 -0
  18. package/dist/core/telegram.d.ts.map +1 -0
  19. package/dist/core/telegram.js +160 -0
  20. package/dist/db/schema.d.ts +1 -1
  21. package/dist/db/schema.d.ts.map +1 -1
  22. package/dist/db/schema.js +15 -0
  23. package/dist/index.d.ts +30 -4
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +349 -22
  26. package/dist/notifications.d.ts +26 -6
  27. package/dist/notifications.d.ts.map +1 -1
  28. package/dist/notifications.js +191 -34
  29. package/dist/rpc.d.ts +400 -0
  30. package/dist/rpc.d.ts.map +1 -1
  31. package/dist/rpc.js +146 -0
  32. package/dist/server.d.ts.map +1 -1
  33. package/dist/server.js +67 -0
  34. package/dist/settings.d.ts +63 -2
  35. package/dist/settings.d.ts.map +1 -1
  36. package/dist/settings.js +126 -2
  37. package/dist/workspaces.d.ts +8 -2
  38. package/dist/workspaces.d.ts.map +1 -1
  39. package/dist/workspaces.js +21 -4
  40. package/docs/ARCHITECTURE.md +16 -6
  41. package/docs/FEATURES.md +57 -12
  42. package/docs/README.ru.md +23 -4
  43. package/gui-experimental.cjs +4 -4
  44. package/package.json +5 -2
  45. package/src/core/audit.ts +291 -0
  46. package/src/core/native-notify.ts +154 -0
  47. package/src/core/record-history.ts +6 -4
  48. package/src/core/secrets.ts +385 -0
  49. package/src/core/structured-log.ts +9 -0
  50. package/src/core/telegram.ts +219 -0
  51. package/src/db/schema.ts +15 -0
  52. package/src/gui.tsx +543 -6
  53. package/src/index.ts +459 -22
  54. package/src/notifications.ts +232 -40
  55. package/src/rpc.ts +157 -0
  56. package/src/server.ts +67 -0
  57. package/src/settings.ts +213 -4
  58. package/src/workspaces.ts +22 -4
package/dist/rpc.d.ts CHANGED
@@ -2019,6 +2019,67 @@ export declare const SchedulerRpc: {
2019
2019
  };
2020
2020
  readonly required: readonly ["include", "exclude"];
2021
2021
  };
2022
+ readonly telegram: {
2023
+ readonly type: "object";
2024
+ readonly properties: {
2025
+ readonly enabled: {
2026
+ readonly type: "boolean";
2027
+ };
2028
+ readonly botToken: {
2029
+ readonly type: "string";
2030
+ };
2031
+ readonly chatId: {
2032
+ readonly type: "string";
2033
+ };
2034
+ readonly parseMode: {
2035
+ readonly type: "string";
2036
+ readonly enum: readonly ["", "HTML", "Markdown", "MarkdownV2"];
2037
+ };
2038
+ readonly disableNotification: {
2039
+ readonly type: "boolean";
2040
+ };
2041
+ readonly messageThreadId: {
2042
+ readonly type: readonly ["number", "null"];
2043
+ };
2044
+ readonly includeDashboardLink: {
2045
+ readonly type: "boolean";
2046
+ };
2047
+ readonly apiBase: {
2048
+ readonly type: "string";
2049
+ };
2050
+ };
2051
+ readonly required: readonly ["enabled"];
2052
+ };
2053
+ readonly native: {
2054
+ readonly type: "object";
2055
+ readonly properties: {
2056
+ readonly enabled: {
2057
+ readonly type: "boolean";
2058
+ };
2059
+ readonly sound: {
2060
+ readonly type: "boolean";
2061
+ };
2062
+ };
2063
+ readonly required: readonly ["enabled"];
2064
+ };
2065
+ readonly quietHours: {
2066
+ readonly type: "object";
2067
+ readonly properties: {
2068
+ readonly enabled: {
2069
+ readonly type: "boolean";
2070
+ };
2071
+ readonly from: {
2072
+ readonly type: "string";
2073
+ };
2074
+ readonly to: {
2075
+ readonly type: "string";
2076
+ };
2077
+ };
2078
+ readonly required: readonly ["enabled", "from", "to"];
2079
+ };
2080
+ readonly dashboardUrl: {
2081
+ readonly type: "string";
2082
+ };
2022
2083
  readonly matrix: {
2023
2084
  readonly type: "object";
2024
2085
  readonly properties: {
@@ -2077,6 +2138,21 @@ export declare const SchedulerRpc: {
2077
2138
  };
2078
2139
  readonly required: readonly ["retentionDays", "maxRecords"];
2079
2140
  };
2141
+ readonly audit: {
2142
+ readonly type: "object";
2143
+ readonly properties: {
2144
+ readonly enabled: {
2145
+ readonly type: "boolean";
2146
+ };
2147
+ readonly retentionDays: {
2148
+ readonly type: "number";
2149
+ };
2150
+ readonly maxRecords: {
2151
+ readonly type: "number";
2152
+ };
2153
+ };
2154
+ readonly required: readonly ["enabled", "retentionDays", "maxRecords"];
2155
+ };
2080
2156
  };
2081
2157
  readonly required: readonly ["maxConcurrent", "winterMode", "notifications"];
2082
2158
  };
@@ -2151,6 +2227,67 @@ export declare const SchedulerRpc: {
2151
2227
  };
2152
2228
  readonly required: readonly ["include", "exclude"];
2153
2229
  };
2230
+ readonly telegram: {
2231
+ readonly type: "object";
2232
+ readonly properties: {
2233
+ readonly enabled: {
2234
+ readonly type: "boolean";
2235
+ };
2236
+ readonly botToken: {
2237
+ readonly type: "string";
2238
+ };
2239
+ readonly chatId: {
2240
+ readonly type: "string";
2241
+ };
2242
+ readonly parseMode: {
2243
+ readonly type: "string";
2244
+ readonly enum: readonly ["", "HTML", "Markdown", "MarkdownV2"];
2245
+ };
2246
+ readonly disableNotification: {
2247
+ readonly type: "boolean";
2248
+ };
2249
+ readonly messageThreadId: {
2250
+ readonly type: readonly ["number", "null"];
2251
+ };
2252
+ readonly includeDashboardLink: {
2253
+ readonly type: "boolean";
2254
+ };
2255
+ readonly apiBase: {
2256
+ readonly type: "string";
2257
+ };
2258
+ };
2259
+ readonly required: readonly ["enabled"];
2260
+ };
2261
+ readonly native: {
2262
+ readonly type: "object";
2263
+ readonly properties: {
2264
+ readonly enabled: {
2265
+ readonly type: "boolean";
2266
+ };
2267
+ readonly sound: {
2268
+ readonly type: "boolean";
2269
+ };
2270
+ };
2271
+ readonly required: readonly ["enabled"];
2272
+ };
2273
+ readonly quietHours: {
2274
+ readonly type: "object";
2275
+ readonly properties: {
2276
+ readonly enabled: {
2277
+ readonly type: "boolean";
2278
+ };
2279
+ readonly from: {
2280
+ readonly type: "string";
2281
+ };
2282
+ readonly to: {
2283
+ readonly type: "string";
2284
+ };
2285
+ };
2286
+ readonly required: readonly ["enabled", "from", "to"];
2287
+ };
2288
+ readonly dashboardUrl: {
2289
+ readonly type: "string";
2290
+ };
2154
2291
  readonly matrix: {
2155
2292
  readonly type: "object";
2156
2293
  readonly properties: {
@@ -2209,6 +2346,21 @@ export declare const SchedulerRpc: {
2209
2346
  };
2210
2347
  readonly required: readonly ["retentionDays", "maxRecords"];
2211
2348
  };
2349
+ readonly audit: {
2350
+ readonly type: "object";
2351
+ readonly properties: {
2352
+ readonly enabled: {
2353
+ readonly type: "boolean";
2354
+ };
2355
+ readonly retentionDays: {
2356
+ readonly type: "number";
2357
+ };
2358
+ readonly maxRecords: {
2359
+ readonly type: "number";
2360
+ };
2361
+ };
2362
+ readonly required: readonly ["enabled", "retentionDays", "maxRecords"];
2363
+ };
2212
2364
  };
2213
2365
  readonly additionalProperties: false;
2214
2366
  };
@@ -2284,6 +2436,67 @@ export declare const SchedulerRpc: {
2284
2436
  };
2285
2437
  readonly required: readonly ["include", "exclude"];
2286
2438
  };
2439
+ readonly telegram: {
2440
+ readonly type: "object";
2441
+ readonly properties: {
2442
+ readonly enabled: {
2443
+ readonly type: "boolean";
2444
+ };
2445
+ readonly botToken: {
2446
+ readonly type: "string";
2447
+ };
2448
+ readonly chatId: {
2449
+ readonly type: "string";
2450
+ };
2451
+ readonly parseMode: {
2452
+ readonly type: "string";
2453
+ readonly enum: readonly ["", "HTML", "Markdown", "MarkdownV2"];
2454
+ };
2455
+ readonly disableNotification: {
2456
+ readonly type: "boolean";
2457
+ };
2458
+ readonly messageThreadId: {
2459
+ readonly type: readonly ["number", "null"];
2460
+ };
2461
+ readonly includeDashboardLink: {
2462
+ readonly type: "boolean";
2463
+ };
2464
+ readonly apiBase: {
2465
+ readonly type: "string";
2466
+ };
2467
+ };
2468
+ readonly required: readonly ["enabled"];
2469
+ };
2470
+ readonly native: {
2471
+ readonly type: "object";
2472
+ readonly properties: {
2473
+ readonly enabled: {
2474
+ readonly type: "boolean";
2475
+ };
2476
+ readonly sound: {
2477
+ readonly type: "boolean";
2478
+ };
2479
+ };
2480
+ readonly required: readonly ["enabled"];
2481
+ };
2482
+ readonly quietHours: {
2483
+ readonly type: "object";
2484
+ readonly properties: {
2485
+ readonly enabled: {
2486
+ readonly type: "boolean";
2487
+ };
2488
+ readonly from: {
2489
+ readonly type: "string";
2490
+ };
2491
+ readonly to: {
2492
+ readonly type: "string";
2493
+ };
2494
+ };
2495
+ readonly required: readonly ["enabled", "from", "to"];
2496
+ };
2497
+ readonly dashboardUrl: {
2498
+ readonly type: "string";
2499
+ };
2287
2500
  readonly matrix: {
2288
2501
  readonly type: "object";
2289
2502
  readonly properties: {
@@ -2342,6 +2555,21 @@ export declare const SchedulerRpc: {
2342
2555
  };
2343
2556
  readonly required: readonly ["retentionDays", "maxRecords"];
2344
2557
  };
2558
+ readonly audit: {
2559
+ readonly type: "object";
2560
+ readonly properties: {
2561
+ readonly enabled: {
2562
+ readonly type: "boolean";
2563
+ };
2564
+ readonly retentionDays: {
2565
+ readonly type: "number";
2566
+ };
2567
+ readonly maxRecords: {
2568
+ readonly type: "number";
2569
+ };
2570
+ };
2571
+ readonly required: readonly ["enabled", "retentionDays", "maxRecords"];
2572
+ };
2345
2573
  };
2346
2574
  readonly required: readonly ["success", "maxConcurrent", "winterMode", "notifications"];
2347
2575
  };
@@ -2767,6 +2995,178 @@ export declare const SchedulerRpc: {
2767
2995
  readonly required: readonly ["success", "message"];
2768
2996
  };
2769
2997
  };
2998
+ readonly list_secrets: {
2999
+ readonly input: {
3000
+ readonly type: "object";
3001
+ readonly properties: {};
3002
+ readonly additionalProperties: false;
3003
+ };
3004
+ readonly output: {
3005
+ readonly type: "object";
3006
+ readonly properties: {
3007
+ readonly success: {
3008
+ readonly type: "boolean";
3009
+ };
3010
+ readonly secrets: {
3011
+ readonly type: "array";
3012
+ readonly items: {
3013
+ readonly type: "object";
3014
+ readonly properties: {
3015
+ readonly name: {
3016
+ readonly type: "string";
3017
+ };
3018
+ readonly preview: {
3019
+ readonly type: "string";
3020
+ };
3021
+ readonly updatedAt: {
3022
+ readonly type: "string";
3023
+ };
3024
+ };
3025
+ readonly required: readonly ["name", "preview"];
3026
+ };
3027
+ };
3028
+ };
3029
+ readonly required: readonly ["success", "secrets"];
3030
+ };
3031
+ };
3032
+ readonly save_secret: {
3033
+ readonly input: {
3034
+ readonly type: "object";
3035
+ readonly properties: {
3036
+ readonly name: {
3037
+ readonly type: "string";
3038
+ };
3039
+ readonly value: {
3040
+ readonly type: "string";
3041
+ };
3042
+ };
3043
+ readonly required: readonly ["name", "value"];
3044
+ readonly additionalProperties: false;
3045
+ };
3046
+ readonly output: {
3047
+ readonly type: "object";
3048
+ readonly properties: {
3049
+ readonly success: {
3050
+ readonly type: "boolean";
3051
+ };
3052
+ readonly message: {
3053
+ readonly type: "string";
3054
+ };
3055
+ readonly secret: {
3056
+ readonly type: "object";
3057
+ readonly properties: {
3058
+ readonly name: {
3059
+ readonly type: "string";
3060
+ };
3061
+ readonly preview: {
3062
+ readonly type: "string";
3063
+ };
3064
+ readonly updatedAt: {
3065
+ readonly type: "string";
3066
+ };
3067
+ };
3068
+ readonly required: readonly ["name", "preview"];
3069
+ };
3070
+ };
3071
+ readonly required: readonly ["success"];
3072
+ };
3073
+ };
3074
+ readonly delete_secret: {
3075
+ readonly input: {
3076
+ readonly type: "object";
3077
+ readonly properties: {
3078
+ readonly name: {
3079
+ readonly type: "string";
3080
+ };
3081
+ };
3082
+ readonly required: readonly ["name"];
3083
+ readonly additionalProperties: false;
3084
+ };
3085
+ readonly output: {
3086
+ readonly type: "object";
3087
+ readonly properties: {
3088
+ readonly success: {
3089
+ readonly type: "boolean";
3090
+ };
3091
+ readonly message: {
3092
+ readonly type: "string";
3093
+ };
3094
+ };
3095
+ readonly required: readonly ["success", "message"];
3096
+ };
3097
+ };
3098
+ readonly get_audit: {
3099
+ readonly input: {
3100
+ readonly type: "object";
3101
+ readonly properties: {
3102
+ readonly action: {
3103
+ readonly type: "string";
3104
+ };
3105
+ readonly target: {
3106
+ readonly type: "string";
3107
+ };
3108
+ readonly actor: {
3109
+ readonly type: "string";
3110
+ };
3111
+ readonly since: {
3112
+ readonly type: "string";
3113
+ };
3114
+ readonly until: {
3115
+ readonly type: "string";
3116
+ };
3117
+ readonly limit: {
3118
+ readonly type: "number";
3119
+ };
3120
+ };
3121
+ readonly additionalProperties: false;
3122
+ };
3123
+ readonly output: {
3124
+ readonly type: "object";
3125
+ readonly properties: {
3126
+ readonly success: {
3127
+ readonly type: "boolean";
3128
+ };
3129
+ readonly records: {
3130
+ readonly type: "array";
3131
+ readonly items: {
3132
+ readonly type: "object";
3133
+ readonly properties: {
3134
+ readonly id: {
3135
+ readonly type: "number";
3136
+ };
3137
+ readonly ts: {
3138
+ readonly type: "string";
3139
+ };
3140
+ readonly action: {
3141
+ readonly type: "string";
3142
+ };
3143
+ readonly targetType: {
3144
+ readonly type: readonly ["string", "null"];
3145
+ };
3146
+ readonly target: {
3147
+ readonly type: readonly ["string", "null"];
3148
+ };
3149
+ readonly actor: {
3150
+ readonly type: "string";
3151
+ };
3152
+ readonly source: {
3153
+ readonly type: readonly ["string", "null"];
3154
+ };
3155
+ readonly details: {};
3156
+ readonly remote: {
3157
+ readonly type: readonly ["string", "null"];
3158
+ };
3159
+ };
3160
+ readonly required: readonly ["id", "ts", "action", "actor"];
3161
+ };
3162
+ };
3163
+ readonly total: {
3164
+ readonly type: "number";
3165
+ };
3166
+ };
3167
+ readonly required: readonly ["success", "records", "total"];
3168
+ };
3169
+ };
2770
3170
  };
2771
3171
  readonly events: {};
2772
3172
  };
package/dist/rpc.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAwpCA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA3lCrB,+DAA+D;;;;gCAE/D,+CAA+C;;;;gCAE/C,oDAAoD;;;;gCAEpD,wDAAwD;;;;gCAExD,qDAAqD;;;;gCAErD,sCAAsC;;;;gCAEtC,qDAAqD;;;;gCAErD,+EAA+E;;;;;;;gCAE/E,2DAA2D;;;;gCAE3D,6CAA6C;;;;gCAE7C,8CAA8C;;;;gCAE9C,2EAA2E;;;;gCAE3E,qFAAqF;;;;gCAErF,yGAAyG;;;;gCAEzG,kGAAkG;;;;gCAElG,mFAAmF;;;;gCAEnF,qDAAqD;;;;;;;;;;;;;;;;gCAErD,iDAAiD;;;;gCAEjD,8DAA8D;;;;gCAE9D,qDAAqD;;;;gCAErD,oDAAoD;;;;gCAEpD,qEAAqE;;;;gCAErE,qEAAqE;;;;gCAErE,8DAA8D;;;;gCAE9D,4DAA4D;;;;gCAE5D,8BAA8B;;;;gCAE9B,8EAA8E;;;;;;;gCAE9E,sEAAsE;;;;;;;gCAEtE,yDAAyD;;;;;;;;;;;;;;;;;;;;;;wCApFzD,sDAAsD;;;;wCAEtD,yEAAyE;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAoFzE,yDAAyD;;;;gCAEzD,gDAAgD;;;;gCAEhD,sEAAsE;;;;gCAEtE,qEAAqE;;;;gCAErE,yCAAyC;;;;gCAEzC,qCAAqC;;;;gCAErC,sCAAsC;;;;gCAEtC,kDAAkD;;;;gCAElD,0DAA0D;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;oBAS/E,uDAAuD;;;;;;;oBAEvD,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAvE1C,0BAA0B;;;;4BAE1B,8BAA8B;;;;;;;;;;;;;;;;;;;4BAO9B,+EAA+E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAS/E,qEAAqE;;;;;;;4BAErE,sEAAsE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAwPtE,8CAA8C;;;;oBAE9C,mEAAmE;;;;;;;;;;;;;;;;oBAWnE,4DAA4D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoW9D,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC"}
package/dist/rpc.js CHANGED
@@ -411,6 +411,41 @@ const NotificationSettingsSchema = {
411
411
  },
412
412
  required: ["include", "exclude"],
413
413
  },
414
+ telegram: {
415
+ type: "object",
416
+ properties: {
417
+ enabled: { type: "boolean" },
418
+ botToken: { type: "string" },
419
+ chatId: { type: "string" },
420
+ parseMode: {
421
+ type: "string",
422
+ enum: ["", "HTML", "Markdown", "MarkdownV2"],
423
+ },
424
+ disableNotification: { type: "boolean" },
425
+ messageThreadId: { type: ["number", "null"] },
426
+ includeDashboardLink: { type: "boolean" },
427
+ apiBase: { type: "string" },
428
+ },
429
+ required: ["enabled"],
430
+ },
431
+ native: {
432
+ type: "object",
433
+ properties: {
434
+ enabled: { type: "boolean" },
435
+ sound: { type: "boolean" },
436
+ },
437
+ required: ["enabled"],
438
+ },
439
+ quietHours: {
440
+ type: "object",
441
+ properties: {
442
+ enabled: { type: "boolean" },
443
+ from: { type: "string" },
444
+ to: { type: "string" },
445
+ },
446
+ required: ["enabled", "from", "to"],
447
+ },
448
+ dashboardUrl: { type: "string" },
414
449
  matrix: {
415
450
  type: "object",
416
451
  properties: {
@@ -445,6 +480,16 @@ const HistorySettingsSchema = {
445
480
  },
446
481
  required: ["retentionDays", "maxRecords"],
447
482
  };
483
+ /** Журнал аудита (Спринт 26). */
484
+ const AuditSettingsSchema = {
485
+ type: "object",
486
+ properties: {
487
+ enabled: { type: "boolean" },
488
+ retentionDays: { type: "number" },
489
+ maxRecords: { type: "number" },
490
+ },
491
+ required: ["enabled", "retentionDays", "maxRecords"],
492
+ };
448
493
  const GetSettingsOutput = {
449
494
  type: "object",
450
495
  properties: {
@@ -452,6 +497,7 @@ const GetSettingsOutput = {
452
497
  winterMode: { type: "boolean" },
453
498
  notifications: NotificationSettingsSchema,
454
499
  history: HistorySettingsSchema,
500
+ audit: AuditSettingsSchema,
455
501
  },
456
502
  required: ["maxConcurrent", "winterMode", "notifications"],
457
503
  };
@@ -462,6 +508,7 @@ const SaveSettingsInput = {
462
508
  winterMode: { type: "boolean" },
463
509
  notifications: NotificationSettingsSchema,
464
510
  history: HistorySettingsSchema,
511
+ audit: AuditSettingsSchema,
465
512
  },
466
513
  additionalProperties: false,
467
514
  };
@@ -473,6 +520,7 @@ const SaveSettingsOutput = {
473
520
  winterMode: { type: "boolean" },
474
521
  notifications: NotificationSettingsSchema,
475
522
  history: HistorySettingsSchema,
523
+ audit: AuditSettingsSchema,
476
524
  },
477
525
  required: ["success", "maxConcurrent", "winterMode", "notifications"],
478
526
  };
@@ -548,6 +596,100 @@ const SendDigestOutput = {
548
596
  },
549
597
  required: ["success", "message"],
550
598
  };
599
+ /** Секрет: имя и маскированный превью, значение никогда не возвращается. */
600
+ const SecretItem = {
601
+ type: "object",
602
+ properties: {
603
+ name: { type: "string" },
604
+ preview: { type: "string" },
605
+ updatedAt: { type: "string" },
606
+ },
607
+ required: ["name", "preview"],
608
+ };
609
+ const ListSecretsInput = {
610
+ type: "object",
611
+ properties: {},
612
+ additionalProperties: false,
613
+ };
614
+ const ListSecretsOutput = {
615
+ type: "object",
616
+ properties: {
617
+ success: { type: "boolean" },
618
+ secrets: { type: "array", items: SecretItem },
619
+ },
620
+ required: ["success", "secrets"],
621
+ };
622
+ const SaveSecretInput = {
623
+ type: "object",
624
+ properties: {
625
+ name: { type: "string" },
626
+ value: { type: "string" },
627
+ },
628
+ required: ["name", "value"],
629
+ additionalProperties: false,
630
+ };
631
+ const SaveSecretOutput = {
632
+ type: "object",
633
+ properties: {
634
+ success: { type: "boolean" },
635
+ message: { type: "string" },
636
+ secret: SecretItem,
637
+ },
638
+ required: ["success"],
639
+ };
640
+ const DeleteSecretInput = {
641
+ type: "object",
642
+ properties: {
643
+ name: { type: "string" },
644
+ },
645
+ required: ["name"],
646
+ additionalProperties: false,
647
+ };
648
+ const DeleteSecretOutput = {
649
+ type: "object",
650
+ properties: {
651
+ success: { type: "boolean" },
652
+ message: { type: "string" },
653
+ },
654
+ required: ["success", "message"],
655
+ };
656
+ /** Запись журнала аудита (Спринт 26). */
657
+ const AuditRecordSchema = {
658
+ type: "object",
659
+ properties: {
660
+ id: { type: "number" },
661
+ ts: { type: "string" },
662
+ action: { type: "string" },
663
+ targetType: { type: ["string", "null"] },
664
+ target: { type: ["string", "null"] },
665
+ actor: { type: "string" },
666
+ source: { type: ["string", "null"] },
667
+ details: {},
668
+ remote: { type: ["string", "null"] },
669
+ },
670
+ required: ["id", "ts", "action", "actor"],
671
+ };
672
+ const GetAuditInput = {
673
+ type: "object",
674
+ properties: {
675
+ action: { type: "string" },
676
+ target: { type: "string" },
677
+ actor: { type: "string" },
678
+ since: { type: "string" },
679
+ until: { type: "string" },
680
+ limit: { type: "number" },
681
+ },
682
+ additionalProperties: false,
683
+ };
684
+ const GetAuditOutput = {
685
+ type: "object",
686
+ properties: {
687
+ success: { type: "boolean" },
688
+ records: { type: "array", items: AuditRecordSchema },
689
+ total: { type: "number" },
690
+ },
691
+ required: ["success", "records", "total"],
692
+ };
551
693
  const TemplateItem = {
552
694
  type: "object",
553
695
  properties: {
@@ -1146,6 +1288,10 @@ export const SchedulerRpc = Rpc.define({
1146
1288
  input: SendDigestInput,
1147
1289
  output: SendDigestOutput,
1148
1290
  },
1291
+ list_secrets: { input: ListSecretsInput, output: ListSecretsOutput },
1292
+ save_secret: { input: SaveSecretInput, output: SaveSecretOutput },
1293
+ delete_secret: { input: DeleteSecretInput, output: DeleteSecretOutput },
1294
+ get_audit: { input: GetAuditInput, output: GetAuditOutput },
1149
1295
  },
1150
1296
  events: {},
1151
1297
  });
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAqDA,8EAA8E;AAC9E,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,2EAA2E;AAC3E,MAAM,WAAW,aAAa;IAC5B,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,OAAO,CACrB,KAAK,CAAC;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,yEAAyE;QACzE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,+CAA+C;QAC/C,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,8CAA8C;QAC9C,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;QAC5B,oDAAoD;QACpD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,aAAa,CAAC,EAAE,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