opencode-windows-scheduler 1.3.0 → 1.5.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 (85) hide show
  1. package/CHANGELOG.md +47 -1
  2. package/README.md +11 -5
  3. package/ROADMAP-STRATEGY.md +45 -26
  4. package/ROADMAP.md +279 -35
  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/dry-run.d.ts +31 -0
  9. package/dist/core/dry-run.d.ts.map +1 -1
  10. package/dist/core/dry-run.js +129 -1
  11. package/dist/core/file-watcher.d.ts.map +1 -1
  12. package/dist/core/file-watcher.js +53 -10
  13. package/dist/core/git-trigger.d.ts +80 -0
  14. package/dist/core/git-trigger.d.ts.map +1 -0
  15. package/dist/core/git-trigger.js +288 -0
  16. package/dist/core/glob.d.ts +38 -0
  17. package/dist/core/glob.d.ts.map +1 -0
  18. package/dist/core/glob.js +233 -0
  19. package/dist/core/ps-wrapper.d.ts.map +1 -1
  20. package/dist/core/ps-wrapper.js +7 -0
  21. package/dist/core/schedule-gate.js +55 -30
  22. package/dist/core/schedule-v2.d.ts +29 -1
  23. package/dist/core/schedule-v2.d.ts.map +1 -1
  24. package/dist/core/schedule-v2.js +81 -3
  25. package/dist/core/scheduler/types.d.ts +1 -1
  26. package/dist/core/scheduler/types.d.ts.map +1 -1
  27. package/dist/core/secrets.d.ts +57 -0
  28. package/dist/core/secrets.d.ts.map +1 -0
  29. package/dist/core/secrets.js +331 -0
  30. package/dist/core/structured-log.d.ts.map +1 -1
  31. package/dist/core/structured-log.js +9 -0
  32. package/dist/core/wrappers/bash.d.ts.map +1 -1
  33. package/dist/core/wrappers/bash.js +4 -0
  34. package/dist/db/git-state-repo.d.ts +16 -0
  35. package/dist/db/git-state-repo.d.ts.map +1 -0
  36. package/dist/db/git-state-repo.js +38 -0
  37. package/dist/db/schema.d.ts +1 -1
  38. package/dist/db/schema.d.ts.map +1 -1
  39. package/dist/db/schema.js +23 -0
  40. package/dist/index.d.ts +68 -4
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/index.js +589 -45
  43. package/dist/rpc.d.ts +623 -0
  44. package/dist/rpc.d.ts.map +1 -1
  45. package/dist/rpc.js +219 -0
  46. package/dist/server.d.ts.map +1 -1
  47. package/dist/server.js +67 -0
  48. package/dist/settings.d.ts +16 -0
  49. package/dist/settings.d.ts.map +1 -1
  50. package/dist/settings.js +29 -0
  51. package/dist/task-transfer.d.ts +30 -3
  52. package/dist/task-transfer.d.ts.map +1 -1
  53. package/dist/task-transfer.js +83 -6
  54. package/dist/templates.d.ts +1 -1
  55. package/dist/templates.d.ts.map +1 -1
  56. package/dist/workspaces.d.ts +8 -2
  57. package/dist/workspaces.d.ts.map +1 -1
  58. package/dist/workspaces.js +21 -4
  59. package/docs/ARCHITECTURE.md +14 -5
  60. package/docs/FEATURES.md +80 -1
  61. package/docs/README.ru.md +15 -5
  62. package/gui-experimental.cjs +9 -4
  63. package/package.json +8 -3
  64. package/src/core/audit.ts +291 -0
  65. package/src/core/dry-run.ts +188 -1
  66. package/src/core/file-watcher.ts +65 -10
  67. package/src/core/git-trigger.ts +367 -0
  68. package/src/core/glob.ts +226 -0
  69. package/src/core/ps-wrapper.ts +7 -0
  70. package/src/core/schedule-gate.ts +67 -33
  71. package/src/core/schedule-v2.ts +108 -3
  72. package/src/core/scheduler/types.ts +1 -1
  73. package/src/core/secrets.ts +385 -0
  74. package/src/core/structured-log.ts +9 -0
  75. package/src/core/wrappers/bash.ts +4 -0
  76. package/src/db/git-state-repo.ts +62 -0
  77. package/src/db/schema.ts +23 -0
  78. package/src/gui.tsx +548 -4
  79. package/src/index.ts +790 -47
  80. package/src/rpc.ts +230 -0
  81. package/src/server.ts +67 -0
  82. package/src/settings.ts +51 -0
  83. package/src/task-transfer.ts +124 -5
  84. package/src/templates.ts +1 -1
  85. package/src/workspaces.ts +22 -4
package/dist/rpc.d.ts CHANGED
@@ -126,6 +126,53 @@ export declare const SchedulerRpc: {
126
126
  readonly notAfter: {
127
127
  readonly type: readonly ["string", "null"];
128
128
  };
129
+ /** Спринт 27: разрешённые дни недели 0=Вс..6=Сб (null — все дни). */
130
+ readonly activeDays: {
131
+ readonly type: readonly ["array", "null"];
132
+ readonly items: {
133
+ readonly type: "number";
134
+ };
135
+ };
136
+ /** Поведение вне окна: skip, postpone или run (null — postpone). */
137
+ readonly windowPolicy: {
138
+ readonly type: readonly ["string", "null"];
139
+ };
140
+ /** Glob-маски файлового триггера (null — без ограничения). */
141
+ readonly watchGlobs: {
142
+ readonly type: readonly ["array", "null"];
143
+ readonly items: {
144
+ readonly type: "string";
145
+ };
146
+ };
147
+ /** Glob-маски исключений файлового триггера. */
148
+ readonly watchIgnore: {
149
+ readonly type: readonly ["array", "null"];
150
+ readonly items: {
151
+ readonly type: "string";
152
+ };
153
+ };
154
+ /** Git-триггер: фильтр ветки (glob, через запятую). */
155
+ readonly gitBranch: {
156
+ readonly type: readonly ["string", "null"];
157
+ };
158
+ /** Git-триггер: маски путей, изменения в которых запускают задачу. */
159
+ readonly gitPaths: {
160
+ readonly type: readonly ["array", "null"];
161
+ readonly items: {
162
+ readonly type: "string";
163
+ };
164
+ };
165
+ /** Git-триггер: маски игнорируемых путей. */
166
+ readonly gitIgnore: {
167
+ readonly type: readonly ["array", "null"];
168
+ readonly items: {
169
+ readonly type: "string";
170
+ };
171
+ };
172
+ /** Git-триггер: период опроса в секундах (null — 60). */
173
+ readonly gitPollSeconds: {
174
+ readonly type: readonly ["number", "null"];
175
+ };
129
176
  /** Пауза до даты в ISO (null — автопродолжение не запланировано). */
130
177
  readonly pausedUntil: {
131
178
  readonly type: readonly ["string", "null"];
@@ -460,6 +507,53 @@ export declare const SchedulerRpc: {
460
507
  readonly notAfter: {
461
508
  readonly type: "string";
462
509
  };
510
+ /** Спринт 27: разрешённые дни недели 0=Вс..6=Сб. Пусто — все дни. */
511
+ readonly activeDays: {
512
+ readonly type: "array";
513
+ readonly items: {
514
+ readonly type: "number";
515
+ };
516
+ };
517
+ /** Поведение вне окна/дня: postpone (по умолчанию), skip или run. */
518
+ readonly windowPolicy: {
519
+ readonly type: "string";
520
+ };
521
+ /** Glob-маски файлового триггера (например, src/** и *.md). */
522
+ readonly watchGlobs: {
523
+ readonly type: "array";
524
+ readonly items: {
525
+ readonly type: "string";
526
+ };
527
+ };
528
+ /** Glob-маски исключений файлового триггера. */
529
+ readonly watchIgnore: {
530
+ readonly type: "array";
531
+ readonly items: {
532
+ readonly type: "string";
533
+ };
534
+ };
535
+ /** Git-триггер: ветка или glob (main, release/*), через запятую. */
536
+ readonly gitBranch: {
537
+ readonly type: "string";
538
+ };
539
+ /** Git-триггер: маски изменённых файлов, при которых задача запускается. */
540
+ readonly gitPaths: {
541
+ readonly type: "array";
542
+ readonly items: {
543
+ readonly type: "string";
544
+ };
545
+ };
546
+ /** Git-триггер: маски изменённых файлов, которые игнорируются. */
547
+ readonly gitIgnore: {
548
+ readonly type: "array";
549
+ readonly items: {
550
+ readonly type: "string";
551
+ };
552
+ };
553
+ /** Git-триггер: период опроса в секундах (минимум 5, по умолчанию 60). */
554
+ readonly gitPollSeconds: {
555
+ readonly type: "number";
556
+ };
463
557
  };
464
558
  readonly required: readonly ["name", "prompt"];
465
559
  };
@@ -760,6 +854,53 @@ export declare const SchedulerRpc: {
760
854
  readonly notAfter: {
761
855
  readonly type: "string";
762
856
  };
857
+ /** Спринт 27: дни недели 0=Вс..6=Сб. Пустой массив — снять ограничение. */
858
+ readonly activeDays: {
859
+ readonly type: "array";
860
+ readonly items: {
861
+ readonly type: "number";
862
+ };
863
+ };
864
+ /** Поведение вне окна: postpone (по умолчанию), skip или run. */
865
+ readonly windowPolicy: {
866
+ readonly type: "string";
867
+ };
868
+ /** Glob-маски файлового триггера. Пустой массив — снять ограничение. */
869
+ readonly watchGlobs: {
870
+ readonly type: "array";
871
+ readonly items: {
872
+ readonly type: "string";
873
+ };
874
+ };
875
+ /** Glob-маски исключений файлового триггера. Пустой массив — очистить. */
876
+ readonly watchIgnore: {
877
+ readonly type: "array";
878
+ readonly items: {
879
+ readonly type: "string";
880
+ };
881
+ };
882
+ /** Git-триггер: фильтр ветки (glob, через запятую). Пустая строка — сбросить. */
883
+ readonly gitBranch: {
884
+ readonly type: "string";
885
+ };
886
+ /** Git-триггер: маски путей. Пустой массив — сбросить. */
887
+ readonly gitPaths: {
888
+ readonly type: "array";
889
+ readonly items: {
890
+ readonly type: "string";
891
+ };
892
+ };
893
+ /** Git-триггер: маски игнорируемых путей. Пустой массив — очистить. */
894
+ readonly gitIgnore: {
895
+ readonly type: "array";
896
+ readonly items: {
897
+ readonly type: "string";
898
+ };
899
+ };
900
+ /** Git-триггер: период опроса в секундах (минимум 5). */
901
+ readonly gitPollSeconds: {
902
+ readonly type: "number";
903
+ };
763
904
  };
764
905
  readonly required: readonly ["name"];
765
906
  };
@@ -2019,6 +2160,67 @@ export declare const SchedulerRpc: {
2019
2160
  };
2020
2161
  readonly required: readonly ["include", "exclude"];
2021
2162
  };
2163
+ readonly telegram: {
2164
+ readonly type: "object";
2165
+ readonly properties: {
2166
+ readonly enabled: {
2167
+ readonly type: "boolean";
2168
+ };
2169
+ readonly botToken: {
2170
+ readonly type: "string";
2171
+ };
2172
+ readonly chatId: {
2173
+ readonly type: "string";
2174
+ };
2175
+ readonly parseMode: {
2176
+ readonly type: "string";
2177
+ readonly enum: readonly ["", "HTML", "Markdown", "MarkdownV2"];
2178
+ };
2179
+ readonly disableNotification: {
2180
+ readonly type: "boolean";
2181
+ };
2182
+ readonly messageThreadId: {
2183
+ readonly type: readonly ["number", "null"];
2184
+ };
2185
+ readonly includeDashboardLink: {
2186
+ readonly type: "boolean";
2187
+ };
2188
+ readonly apiBase: {
2189
+ readonly type: "string";
2190
+ };
2191
+ };
2192
+ readonly required: readonly ["enabled"];
2193
+ };
2194
+ readonly native: {
2195
+ readonly type: "object";
2196
+ readonly properties: {
2197
+ readonly enabled: {
2198
+ readonly type: "boolean";
2199
+ };
2200
+ readonly sound: {
2201
+ readonly type: "boolean";
2202
+ };
2203
+ };
2204
+ readonly required: readonly ["enabled"];
2205
+ };
2206
+ readonly quietHours: {
2207
+ readonly type: "object";
2208
+ readonly properties: {
2209
+ readonly enabled: {
2210
+ readonly type: "boolean";
2211
+ };
2212
+ readonly from: {
2213
+ readonly type: "string";
2214
+ };
2215
+ readonly to: {
2216
+ readonly type: "string";
2217
+ };
2218
+ };
2219
+ readonly required: readonly ["enabled", "from", "to"];
2220
+ };
2221
+ readonly dashboardUrl: {
2222
+ readonly type: "string";
2223
+ };
2022
2224
  readonly matrix: {
2023
2225
  readonly type: "object";
2024
2226
  readonly properties: {
@@ -2077,6 +2279,21 @@ export declare const SchedulerRpc: {
2077
2279
  };
2078
2280
  readonly required: readonly ["retentionDays", "maxRecords"];
2079
2281
  };
2282
+ readonly audit: {
2283
+ readonly type: "object";
2284
+ readonly properties: {
2285
+ readonly enabled: {
2286
+ readonly type: "boolean";
2287
+ };
2288
+ readonly retentionDays: {
2289
+ readonly type: "number";
2290
+ };
2291
+ readonly maxRecords: {
2292
+ readonly type: "number";
2293
+ };
2294
+ };
2295
+ readonly required: readonly ["enabled", "retentionDays", "maxRecords"];
2296
+ };
2080
2297
  };
2081
2298
  readonly required: readonly ["maxConcurrent", "winterMode", "notifications"];
2082
2299
  };
@@ -2151,6 +2368,67 @@ export declare const SchedulerRpc: {
2151
2368
  };
2152
2369
  readonly required: readonly ["include", "exclude"];
2153
2370
  };
2371
+ readonly telegram: {
2372
+ readonly type: "object";
2373
+ readonly properties: {
2374
+ readonly enabled: {
2375
+ readonly type: "boolean";
2376
+ };
2377
+ readonly botToken: {
2378
+ readonly type: "string";
2379
+ };
2380
+ readonly chatId: {
2381
+ readonly type: "string";
2382
+ };
2383
+ readonly parseMode: {
2384
+ readonly type: "string";
2385
+ readonly enum: readonly ["", "HTML", "Markdown", "MarkdownV2"];
2386
+ };
2387
+ readonly disableNotification: {
2388
+ readonly type: "boolean";
2389
+ };
2390
+ readonly messageThreadId: {
2391
+ readonly type: readonly ["number", "null"];
2392
+ };
2393
+ readonly includeDashboardLink: {
2394
+ readonly type: "boolean";
2395
+ };
2396
+ readonly apiBase: {
2397
+ readonly type: "string";
2398
+ };
2399
+ };
2400
+ readonly required: readonly ["enabled"];
2401
+ };
2402
+ readonly native: {
2403
+ readonly type: "object";
2404
+ readonly properties: {
2405
+ readonly enabled: {
2406
+ readonly type: "boolean";
2407
+ };
2408
+ readonly sound: {
2409
+ readonly type: "boolean";
2410
+ };
2411
+ };
2412
+ readonly required: readonly ["enabled"];
2413
+ };
2414
+ readonly quietHours: {
2415
+ readonly type: "object";
2416
+ readonly properties: {
2417
+ readonly enabled: {
2418
+ readonly type: "boolean";
2419
+ };
2420
+ readonly from: {
2421
+ readonly type: "string";
2422
+ };
2423
+ readonly to: {
2424
+ readonly type: "string";
2425
+ };
2426
+ };
2427
+ readonly required: readonly ["enabled", "from", "to"];
2428
+ };
2429
+ readonly dashboardUrl: {
2430
+ readonly type: "string";
2431
+ };
2154
2432
  readonly matrix: {
2155
2433
  readonly type: "object";
2156
2434
  readonly properties: {
@@ -2209,6 +2487,21 @@ export declare const SchedulerRpc: {
2209
2487
  };
2210
2488
  readonly required: readonly ["retentionDays", "maxRecords"];
2211
2489
  };
2490
+ readonly audit: {
2491
+ readonly type: "object";
2492
+ readonly properties: {
2493
+ readonly enabled: {
2494
+ readonly type: "boolean";
2495
+ };
2496
+ readonly retentionDays: {
2497
+ readonly type: "number";
2498
+ };
2499
+ readonly maxRecords: {
2500
+ readonly type: "number";
2501
+ };
2502
+ };
2503
+ readonly required: readonly ["enabled", "retentionDays", "maxRecords"];
2504
+ };
2212
2505
  };
2213
2506
  readonly additionalProperties: false;
2214
2507
  };
@@ -2284,6 +2577,67 @@ export declare const SchedulerRpc: {
2284
2577
  };
2285
2578
  readonly required: readonly ["include", "exclude"];
2286
2579
  };
2580
+ readonly telegram: {
2581
+ readonly type: "object";
2582
+ readonly properties: {
2583
+ readonly enabled: {
2584
+ readonly type: "boolean";
2585
+ };
2586
+ readonly botToken: {
2587
+ readonly type: "string";
2588
+ };
2589
+ readonly chatId: {
2590
+ readonly type: "string";
2591
+ };
2592
+ readonly parseMode: {
2593
+ readonly type: "string";
2594
+ readonly enum: readonly ["", "HTML", "Markdown", "MarkdownV2"];
2595
+ };
2596
+ readonly disableNotification: {
2597
+ readonly type: "boolean";
2598
+ };
2599
+ readonly messageThreadId: {
2600
+ readonly type: readonly ["number", "null"];
2601
+ };
2602
+ readonly includeDashboardLink: {
2603
+ readonly type: "boolean";
2604
+ };
2605
+ readonly apiBase: {
2606
+ readonly type: "string";
2607
+ };
2608
+ };
2609
+ readonly required: readonly ["enabled"];
2610
+ };
2611
+ readonly native: {
2612
+ readonly type: "object";
2613
+ readonly properties: {
2614
+ readonly enabled: {
2615
+ readonly type: "boolean";
2616
+ };
2617
+ readonly sound: {
2618
+ readonly type: "boolean";
2619
+ };
2620
+ };
2621
+ readonly required: readonly ["enabled"];
2622
+ };
2623
+ readonly quietHours: {
2624
+ readonly type: "object";
2625
+ readonly properties: {
2626
+ readonly enabled: {
2627
+ readonly type: "boolean";
2628
+ };
2629
+ readonly from: {
2630
+ readonly type: "string";
2631
+ };
2632
+ readonly to: {
2633
+ readonly type: "string";
2634
+ };
2635
+ };
2636
+ readonly required: readonly ["enabled", "from", "to"];
2637
+ };
2638
+ readonly dashboardUrl: {
2639
+ readonly type: "string";
2640
+ };
2287
2641
  readonly matrix: {
2288
2642
  readonly type: "object";
2289
2643
  readonly properties: {
@@ -2342,6 +2696,21 @@ export declare const SchedulerRpc: {
2342
2696
  };
2343
2697
  readonly required: readonly ["retentionDays", "maxRecords"];
2344
2698
  };
2699
+ readonly audit: {
2700
+ readonly type: "object";
2701
+ readonly properties: {
2702
+ readonly enabled: {
2703
+ readonly type: "boolean";
2704
+ };
2705
+ readonly retentionDays: {
2706
+ readonly type: "number";
2707
+ };
2708
+ readonly maxRecords: {
2709
+ readonly type: "number";
2710
+ };
2711
+ };
2712
+ readonly required: readonly ["enabled", "retentionDays", "maxRecords"];
2713
+ };
2345
2714
  };
2346
2715
  readonly required: readonly ["success", "maxConcurrent", "winterMode", "notifications"];
2347
2716
  };
@@ -2432,6 +2801,47 @@ export declare const SchedulerRpc: {
2432
2801
  readonly watchPath: {
2433
2802
  readonly type: "string";
2434
2803
  };
2804
+ /** Спринт 27: glob-маски и исключения файлового триггера. */
2805
+ readonly watchGlobs: {
2806
+ readonly type: "array";
2807
+ readonly items: {
2808
+ readonly type: "string";
2809
+ };
2810
+ };
2811
+ readonly watchIgnore: {
2812
+ readonly type: "array";
2813
+ readonly items: {
2814
+ readonly type: "string";
2815
+ };
2816
+ };
2817
+ /** Спринт 27: git-триггер и дни/политика окна. */
2818
+ readonly gitBranch: {
2819
+ readonly type: "string";
2820
+ };
2821
+ readonly gitPaths: {
2822
+ readonly type: "array";
2823
+ readonly items: {
2824
+ readonly type: "string";
2825
+ };
2826
+ };
2827
+ readonly gitIgnore: {
2828
+ readonly type: "array";
2829
+ readonly items: {
2830
+ readonly type: "string";
2831
+ };
2832
+ };
2833
+ readonly gitPollSeconds: {
2834
+ readonly type: "number";
2835
+ };
2836
+ readonly activeDays: {
2837
+ readonly type: "array";
2838
+ readonly items: {
2839
+ readonly type: "number";
2840
+ };
2841
+ };
2842
+ readonly windowPolicy: {
2843
+ readonly type: "string";
2844
+ };
2435
2845
  readonly workspaceId: {
2436
2846
  readonly type: "string";
2437
2847
  };
@@ -2641,6 +3051,47 @@ export declare const SchedulerRpc: {
2641
3051
  readonly watchPath: {
2642
3052
  readonly type: "string";
2643
3053
  };
3054
+ /** Спринт 27: glob-маски и исключения файлового триггера. */
3055
+ readonly watchGlobs: {
3056
+ readonly type: "array";
3057
+ readonly items: {
3058
+ readonly type: "string";
3059
+ };
3060
+ };
3061
+ readonly watchIgnore: {
3062
+ readonly type: "array";
3063
+ readonly items: {
3064
+ readonly type: "string";
3065
+ };
3066
+ };
3067
+ /** Спринт 27: git-триггер и дни/политика окна. */
3068
+ readonly gitBranch: {
3069
+ readonly type: "string";
3070
+ };
3071
+ readonly gitPaths: {
3072
+ readonly type: "array";
3073
+ readonly items: {
3074
+ readonly type: "string";
3075
+ };
3076
+ };
3077
+ readonly gitIgnore: {
3078
+ readonly type: "array";
3079
+ readonly items: {
3080
+ readonly type: "string";
3081
+ };
3082
+ };
3083
+ readonly gitPollSeconds: {
3084
+ readonly type: "number";
3085
+ };
3086
+ readonly activeDays: {
3087
+ readonly type: "array";
3088
+ readonly items: {
3089
+ readonly type: "number";
3090
+ };
3091
+ };
3092
+ readonly windowPolicy: {
3093
+ readonly type: "string";
3094
+ };
2644
3095
  readonly workspaceId: {
2645
3096
  readonly type: "string";
2646
3097
  };
@@ -2767,6 +3218,178 @@ export declare const SchedulerRpc: {
2767
3218
  readonly required: readonly ["success", "message"];
2768
3219
  };
2769
3220
  };
3221
+ readonly list_secrets: {
3222
+ readonly input: {
3223
+ readonly type: "object";
3224
+ readonly properties: {};
3225
+ readonly additionalProperties: false;
3226
+ };
3227
+ readonly output: {
3228
+ readonly type: "object";
3229
+ readonly properties: {
3230
+ readonly success: {
3231
+ readonly type: "boolean";
3232
+ };
3233
+ readonly secrets: {
3234
+ readonly type: "array";
3235
+ readonly items: {
3236
+ readonly type: "object";
3237
+ readonly properties: {
3238
+ readonly name: {
3239
+ readonly type: "string";
3240
+ };
3241
+ readonly preview: {
3242
+ readonly type: "string";
3243
+ };
3244
+ readonly updatedAt: {
3245
+ readonly type: "string";
3246
+ };
3247
+ };
3248
+ readonly required: readonly ["name", "preview"];
3249
+ };
3250
+ };
3251
+ };
3252
+ readonly required: readonly ["success", "secrets"];
3253
+ };
3254
+ };
3255
+ readonly save_secret: {
3256
+ readonly input: {
3257
+ readonly type: "object";
3258
+ readonly properties: {
3259
+ readonly name: {
3260
+ readonly type: "string";
3261
+ };
3262
+ readonly value: {
3263
+ readonly type: "string";
3264
+ };
3265
+ };
3266
+ readonly required: readonly ["name", "value"];
3267
+ readonly additionalProperties: false;
3268
+ };
3269
+ readonly output: {
3270
+ readonly type: "object";
3271
+ readonly properties: {
3272
+ readonly success: {
3273
+ readonly type: "boolean";
3274
+ };
3275
+ readonly message: {
3276
+ readonly type: "string";
3277
+ };
3278
+ readonly secret: {
3279
+ readonly type: "object";
3280
+ readonly properties: {
3281
+ readonly name: {
3282
+ readonly type: "string";
3283
+ };
3284
+ readonly preview: {
3285
+ readonly type: "string";
3286
+ };
3287
+ readonly updatedAt: {
3288
+ readonly type: "string";
3289
+ };
3290
+ };
3291
+ readonly required: readonly ["name", "preview"];
3292
+ };
3293
+ };
3294
+ readonly required: readonly ["success"];
3295
+ };
3296
+ };
3297
+ readonly delete_secret: {
3298
+ readonly input: {
3299
+ readonly type: "object";
3300
+ readonly properties: {
3301
+ readonly name: {
3302
+ readonly type: "string";
3303
+ };
3304
+ };
3305
+ readonly required: readonly ["name"];
3306
+ readonly additionalProperties: false;
3307
+ };
3308
+ readonly output: {
3309
+ readonly type: "object";
3310
+ readonly properties: {
3311
+ readonly success: {
3312
+ readonly type: "boolean";
3313
+ };
3314
+ readonly message: {
3315
+ readonly type: "string";
3316
+ };
3317
+ };
3318
+ readonly required: readonly ["success", "message"];
3319
+ };
3320
+ };
3321
+ readonly get_audit: {
3322
+ readonly input: {
3323
+ readonly type: "object";
3324
+ readonly properties: {
3325
+ readonly action: {
3326
+ readonly type: "string";
3327
+ };
3328
+ readonly target: {
3329
+ readonly type: "string";
3330
+ };
3331
+ readonly actor: {
3332
+ readonly type: "string";
3333
+ };
3334
+ readonly since: {
3335
+ readonly type: "string";
3336
+ };
3337
+ readonly until: {
3338
+ readonly type: "string";
3339
+ };
3340
+ readonly limit: {
3341
+ readonly type: "number";
3342
+ };
3343
+ };
3344
+ readonly additionalProperties: false;
3345
+ };
3346
+ readonly output: {
3347
+ readonly type: "object";
3348
+ readonly properties: {
3349
+ readonly success: {
3350
+ readonly type: "boolean";
3351
+ };
3352
+ readonly records: {
3353
+ readonly type: "array";
3354
+ readonly items: {
3355
+ readonly type: "object";
3356
+ readonly properties: {
3357
+ readonly id: {
3358
+ readonly type: "number";
3359
+ };
3360
+ readonly ts: {
3361
+ readonly type: "string";
3362
+ };
3363
+ readonly action: {
3364
+ readonly type: "string";
3365
+ };
3366
+ readonly targetType: {
3367
+ readonly type: readonly ["string", "null"];
3368
+ };
3369
+ readonly target: {
3370
+ readonly type: readonly ["string", "null"];
3371
+ };
3372
+ readonly actor: {
3373
+ readonly type: "string";
3374
+ };
3375
+ readonly source: {
3376
+ readonly type: readonly ["string", "null"];
3377
+ };
3378
+ readonly details: {};
3379
+ readonly remote: {
3380
+ readonly type: readonly ["string", "null"];
3381
+ };
3382
+ };
3383
+ readonly required: readonly ["id", "ts", "action", "actor"];
3384
+ };
3385
+ };
3386
+ readonly total: {
3387
+ readonly type: "number";
3388
+ };
3389
+ };
3390
+ readonly required: readonly ["success", "records", "total"];
3391
+ };
3392
+ };
2770
3393
  };
2771
3394
  readonly events: {};
2772
3395
  };