@akasecurity/ai-tc-codex 0.9.22 → 0.9.24
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/.codex-plugin/plugin.json +1 -1
- package/package.json +1 -1
- package/scripts/apply-suppressions.js +148 -31
- package/scripts/backfill.js +186 -40
- package/scripts/content-retention.js +97 -19
- package/scripts/filescan.js +242 -85
- package/scripts/firstrun.js +174 -47
- package/scripts/history-sync.js +160 -34
- package/scripts/intro.js +32 -6
- package/scripts/onboard.js +122 -24
- package/scripts/post-tool-use.js +200 -54
- package/scripts/pre-tool-use.js +200 -54
- package/scripts/query.js +173 -46
- package/scripts/reconcile.js +196 -51
- package/scripts/remediate.js +190 -40
- package/scripts/scan-worker.js +74 -14
- package/scripts/session-start.js +280 -120
- package/scripts/start-light.js +32 -6
- package/scripts/stop.js +178 -51
- package/scripts/sync.js +244 -87
- package/scripts/user-prompt-submit.js +206 -60
package/scripts/start-light.js
CHANGED
|
@@ -8326,7 +8326,11 @@ var ListFindingTypesQuery = object({
|
|
|
8326
8326
|
// and so is not bounded by what any page happens to hold.
|
|
8327
8327
|
includeId: string2().optional(),
|
|
8328
8328
|
limit: coerce_exports.number().int().min(1).max(MAX_FINDING_TYPES_LIMIT).optional(),
|
|
8329
|
-
cursor: string2().optional()
|
|
8329
|
+
cursor: string2().optional(),
|
|
8330
|
+
// A row position to read from, for jumping to a page instead of stepping to
|
|
8331
|
+
// it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
|
|
8332
|
+
// from wherever it lands.
|
|
8333
|
+
offset: coerce_exports.number().int().min(0).optional()
|
|
8330
8334
|
});
|
|
8331
8335
|
var ListFindingTypesResponse = object({
|
|
8332
8336
|
totals: object({
|
|
@@ -8406,7 +8410,11 @@ var ListFindingInstancesQuery = object({
|
|
|
8406
8410
|
sessionId: string2().optional(),
|
|
8407
8411
|
from: iso_exports.datetime().optional(),
|
|
8408
8412
|
limit: coerce_exports.number().int().min(1).max(MAX_FLAT_FINDINGS_LIMIT).optional(),
|
|
8409
|
-
cursor: string2().optional()
|
|
8413
|
+
cursor: string2().optional(),
|
|
8414
|
+
// A row position to read from, for jumping to a page instead of stepping to
|
|
8415
|
+
// it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
|
|
8416
|
+
// from wherever it lands.
|
|
8417
|
+
offset: coerce_exports.number().int().min(0).optional()
|
|
8410
8418
|
});
|
|
8411
8419
|
var ListFindingInstancesResponse = object({
|
|
8412
8420
|
// Instances matching the filters across the whole scope, not just this
|
|
@@ -8477,7 +8485,11 @@ var ListFindingLocationsQuery = object({
|
|
|
8477
8485
|
// rather than a deep-link corner. Never affects totals, facets or the cursor.
|
|
8478
8486
|
includeId: string2().optional(),
|
|
8479
8487
|
limit: coerce_exports.number().int().min(1).max(MAX_FINDING_LOCATIONS_LIMIT).optional(),
|
|
8480
|
-
cursor: string2().optional()
|
|
8488
|
+
cursor: string2().optional(),
|
|
8489
|
+
// A row position to read from, for jumping to a page instead of stepping to
|
|
8490
|
+
// it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
|
|
8491
|
+
// from wherever it lands.
|
|
8492
|
+
offset: coerce_exports.number().int().min(0).optional()
|
|
8481
8493
|
});
|
|
8482
8494
|
var ListFindingLocationsResponse = object({
|
|
8483
8495
|
totals: object({
|
|
@@ -10879,7 +10891,11 @@ var MAX_VAULT_PAGE_LIMIT = 200;
|
|
|
10879
10891
|
var ListVaultInventoryQuery = object({
|
|
10880
10892
|
limit: coerce_exports.number().int().min(1).max(MAX_VAULT_PAGE_LIMIT).optional(),
|
|
10881
10893
|
// Opaque; names the last row of the page just served.
|
|
10882
|
-
cursor: string2().optional()
|
|
10894
|
+
cursor: string2().optional(),
|
|
10895
|
+
// A row position to read from, for jumping to a page instead of stepping to
|
|
10896
|
+
// it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
|
|
10897
|
+
// from wherever it lands.
|
|
10898
|
+
offset: coerce_exports.number().int().min(0).optional()
|
|
10883
10899
|
});
|
|
10884
10900
|
var ListVaultInventoryResponse = object({
|
|
10885
10901
|
// Vaulted values across the whole store, not just this page — cursor-
|
|
@@ -10891,7 +10907,11 @@ var ListVaultInventoryResponse = object({
|
|
|
10891
10907
|
});
|
|
10892
10908
|
var ListVaultReuseQuery = object({
|
|
10893
10909
|
limit: coerce_exports.number().int().min(1).max(MAX_VAULT_PAGE_LIMIT).optional(),
|
|
10894
|
-
cursor: string2().optional()
|
|
10910
|
+
cursor: string2().optional(),
|
|
10911
|
+
// A row position to read from, for jumping to a page instead of stepping to
|
|
10912
|
+
// it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
|
|
10913
|
+
// from wherever it lands.
|
|
10914
|
+
offset: coerce_exports.number().int().min(0).optional()
|
|
10895
10915
|
});
|
|
10896
10916
|
var ListVaultReuseResponse = object({
|
|
10897
10917
|
// Reused values across the whole store — the number the section's claim
|
|
@@ -10907,9 +10927,15 @@ var ListVaultDerefsQuery = object({
|
|
|
10907
10927
|
// over a Server Action, which preserves the type, never as a URL param.
|
|
10908
10928
|
includeBatched: boolean2().optional(),
|
|
10909
10929
|
limit: coerce_exports.number().int().min(1).max(MAX_VAULT_PAGE_LIMIT).optional(),
|
|
10910
|
-
cursor: string2().optional()
|
|
10930
|
+
cursor: string2().optional(),
|
|
10931
|
+
// A row position to read from, for jumping to a page instead of stepping to
|
|
10932
|
+
// it. Takes precedence over `cursor`, and the page's `nextCursor` carries on
|
|
10933
|
+
// from wherever it lands.
|
|
10934
|
+
offset: coerce_exports.number().int().min(0).optional()
|
|
10911
10935
|
});
|
|
10912
10936
|
var ListVaultDerefsResponse = object({
|
|
10937
|
+
// Rows this filter selects across the whole trail, not just this page.
|
|
10938
|
+
totals: object({ derefs: number2().int().nonnegative() }),
|
|
10913
10939
|
items: array(VaultDeref),
|
|
10914
10940
|
nextCursor: string2().nullable(),
|
|
10915
10941
|
// Display/view-render rows the query hid, over the WHOLE trail rather than
|