@quantiya/codevibe-claude-plugin 2.0.7 → 2.0.8
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/.claude-plugin/plugin.json +1 -1
- package/dist/server.js +11 -11
- package/node_modules/@quantiya/codevibe-core/dist/appsync/appsync-client.d.ts +170 -30
- package/node_modules/@quantiya/codevibe-core/dist/appsync/queries.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/auth/__tests__/keychain-cli.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/auth/keychain-cli.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/dist/companion-mode/index.d.ts +14 -0
- package/node_modules/@quantiya/codevibe-core/dist/credential-broker/oauth-account-lock.d.ts +47 -1
- package/node_modules/@quantiya/codevibe-core/dist/crypto/__tests__/open-prompt-id.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/crypto/index.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/crypto/open-prompt-id.d.ts +36 -0
- package/node_modules/@quantiya/codevibe-core/dist/e1/__tests__/prompt-raise.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/e1/index.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/e1/prompt-raise.d.ts +65 -0
- package/node_modules/@quantiya/codevibe-core/dist/index.d.ts +4 -1
- package/node_modules/@quantiya/codevibe-core/dist/index.js +4480 -252
- package/node_modules/@quantiya/codevibe-core/dist/keychain/__tests__/keychain-manager.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/keychain/__tests__/keychain-migrate.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/keychain/keychain-backend.d.ts +105 -0
- package/node_modules/@quantiya/codevibe-core/dist/keychain/keychain-manager.d.ts +17 -3
- package/node_modules/@quantiya/codevibe-core/dist/keychain/keychain-migrate.d.ts +46 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/anchored-fs.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/bounded-directory.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/bounded-output.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/durable-directory.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/hosted-class-a-sink.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/process-identity.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/process-tree.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/publication-authority-capability.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/snapshot-merge.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/workspace-authority-fixture.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/workspace-authority.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/workspace-materializer.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/agentic-disposable-repo.d.ts +23 -6
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/agentic-resolve.d.ts +16 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/anchored-fs.d.ts +243 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/bounded-directory.d.ts +64 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/bounded-helper.d.ts +22 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/bounded-output.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/class-a-emit.d.ts +13 -1
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/durable-directory.d.ts +25 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/durable-store.d.ts +217 -25
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/hosted-class-a-sink.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/index.d.ts +3 -2
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/local-executor-impl.d.ts +159 -69
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/process-identity.d.ts +16 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/process-tree.d.ts +123 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/revert-reconcile.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/revert-runner.d.ts +14 -1
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/snapshot-merge.d.ts +124 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/task-group-types.d.ts +7 -6
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/team-execution-flag.d.ts +2 -2
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/track-registry.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/types.d.ts +33 -2
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/build.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/deploy-preflight.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/diff-sanity.d.ts +12 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/hostile-grep.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/lint.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/shell-runner.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/source-traceability.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/tests.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-gates/typecheck.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/verification-runner.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/workspace-authority.d.ts +45 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/workspace-materializer.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/workspace-shadow.d.ts +378 -85
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/advisory-attachment-journal.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/planner-offer-e1.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/workspace-shutdown.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/advisory-attachment-journal.d.ts +165 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/attachments.d.ts +47 -58
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/bounded-shutdown.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +36938 -27120
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/declared-test-runner.d.ts +21 -2
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/emit-shell-event.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/explicit-tty-exit.d.ts +1 -2
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/gate-decision-submit.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/gate-prompts.d.ts +75 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/index.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/planner-offer-e1.d.ts +97 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/quorum-loop.d.ts +270 -60
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/reducer.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/task-progress.d.ts +15 -4
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/team-decompose.d.ts +10 -10
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/types.d.ts +32 -2
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/workspace-shutdown.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/output-parser.d.ts +19 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/types.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/verdict-classifier.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/session/session-rekey.d.ts +4 -3
- package/node_modules/@quantiya/codevibe-core/dist/substrate/command-runner.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate/docker.d.ts +7 -32
- package/node_modules/@quantiya/codevibe-core/dist/substrate/index.d.ts +0 -1
- package/node_modules/@quantiya/codevibe-core/dist/substrate/sandbox-exec.d.ts +0 -13
- package/node_modules/@quantiya/codevibe-core/dist/substrate/types.d.ts +7 -2
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/__tests__/reviewer-credential-preflight.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/engage-substrate.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/index.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/reviewer-credential-preflight.d.ts +50 -0
- package/node_modules/@quantiya/codevibe-core/dist/test-publication-authority-setup.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/tool-activity/replay-cursor.d.ts +42 -8
- package/node_modules/@quantiya/codevibe-core/dist/types/encryption.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/dist/types/events.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/package.json +3 -3
- package/node_modules/es-toolkit/CHANGELOG.md +46 -0
- package/node_modules/es-toolkit/dist/array/partition.d.mts +5 -4
- package/node_modules/es-toolkit/dist/array/partition.d.ts +5 -4
- package/node_modules/es-toolkit/dist/array/unzipWith.js +1 -1
- package/node_modules/es-toolkit/dist/array/unzipWith.mjs +1 -1
- package/node_modules/es-toolkit/dist/browser.global.js +3 -3
- package/node_modules/es-toolkit/dist/compat/_internal/ListIterateeCustom.d.mts +3 -2
- package/node_modules/es-toolkit/dist/compat/_internal/ListIterateeCustom.d.ts +3 -2
- package/node_modules/es-toolkit/dist/compat/_internal/assignValue.js +2 -3
- package/node_modules/es-toolkit/dist/compat/_internal/assignValue.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/_internal/createPadding.js +14 -0
- package/node_modules/es-toolkit/dist/compat/_internal/createPadding.mjs +13 -0
- package/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +14 -1
- package/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs +14 -1
- package/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +2 -3
- package/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/_internal/regexMultiByte.js +11 -0
- package/node_modules/es-toolkit/dist/compat/_internal/regexMultiByte.mjs +11 -0
- package/node_modules/es-toolkit/dist/compat/array/every.js +5 -24
- package/node_modules/es-toolkit/dist/compat/array/every.mjs +5 -24
- package/node_modules/es-toolkit/dist/compat/array/filter.d.mts +7 -3
- package/node_modules/es-toolkit/dist/compat/array/filter.d.ts +7 -3
- package/node_modules/es-toolkit/dist/compat/array/filter.js +11 -11
- package/node_modules/es-toolkit/dist/compat/array/filter.mjs +11 -11
- package/node_modules/es-toolkit/dist/compat/array/find.d.mts +10 -6
- package/node_modules/es-toolkit/dist/compat/array/find.d.ts +10 -6
- package/node_modules/es-toolkit/dist/compat/array/find.js +1 -1
- package/node_modules/es-toolkit/dist/compat/array/find.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/array/findIndex.d.mts +0 -1
- package/node_modules/es-toolkit/dist/compat/array/findIndex.d.ts +0 -1
- package/node_modules/es-toolkit/dist/compat/array/findIndex.js +2 -1
- package/node_modules/es-toolkit/dist/compat/array/findIndex.mjs +2 -1
- package/node_modules/es-toolkit/dist/compat/array/findLast.d.mts +1 -1
- package/node_modules/es-toolkit/dist/compat/array/findLast.d.ts +1 -1
- package/node_modules/es-toolkit/dist/compat/array/findLast.js +12 -12
- package/node_modules/es-toolkit/dist/compat/array/findLast.mjs +12 -12
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.js +1 -0
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.mjs +1 -0
- package/node_modules/es-toolkit/dist/compat/array/flatMap.js +3 -2
- package/node_modules/es-toolkit/dist/compat/array/flatMap.mjs +3 -2
- package/node_modules/es-toolkit/dist/compat/array/flatMapDepth.js +2 -2
- package/node_modules/es-toolkit/dist/compat/array/flatMapDepth.mjs +2 -2
- package/node_modules/es-toolkit/dist/compat/array/flatten.d.mts +4 -5
- package/node_modules/es-toolkit/dist/compat/array/flatten.d.ts +4 -5
- package/node_modules/es-toolkit/dist/compat/array/flatten.js +14 -15
- package/node_modules/es-toolkit/dist/compat/array/flatten.mjs +14 -15
- package/node_modules/es-toolkit/dist/compat/array/flattenDeep.d.mts +1 -1
- package/node_modules/es-toolkit/dist/compat/array/flattenDeep.d.ts +1 -1
- package/node_modules/es-toolkit/dist/compat/array/flattenDeep.js +2 -2
- package/node_modules/es-toolkit/dist/compat/array/flattenDeep.mjs +2 -2
- package/node_modules/es-toolkit/dist/compat/array/flattenDepth.js +18 -2
- package/node_modules/es-toolkit/dist/compat/array/flattenDepth.mjs +18 -2
- package/node_modules/es-toolkit/dist/compat/array/groupBy.js +5 -4
- package/node_modules/es-toolkit/dist/compat/array/groupBy.mjs +4 -3
- package/node_modules/es-toolkit/dist/compat/array/includes.js +8 -3
- package/node_modules/es-toolkit/dist/compat/array/includes.mjs +8 -3
- package/node_modules/es-toolkit/dist/compat/array/intersectionBy.js +12 -5
- package/node_modules/es-toolkit/dist/compat/array/intersectionBy.mjs +12 -5
- package/node_modules/es-toolkit/dist/compat/array/intersectionWith.js +2 -3
- package/node_modules/es-toolkit/dist/compat/array/intersectionWith.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/array/invokeMap.js +3 -7
- package/node_modules/es-toolkit/dist/compat/array/invokeMap.mjs +3 -4
- package/node_modules/es-toolkit/dist/compat/array/lastIndexOf.js +3 -2
- package/node_modules/es-toolkit/dist/compat/array/lastIndexOf.mjs +3 -2
- package/node_modules/es-toolkit/dist/compat/array/nth.js +2 -2
- package/node_modules/es-toolkit/dist/compat/array/nth.mjs +2 -2
- package/node_modules/es-toolkit/dist/compat/array/pullAllWith.js +2 -3
- package/node_modules/es-toolkit/dist/compat/array/pullAllWith.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/array/size.js +2 -0
- package/node_modules/es-toolkit/dist/compat/array/size.mjs +2 -0
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexOf.js +2 -3
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexOf.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexOf.js +2 -3
- package/node_modules/es-toolkit/dist/compat/array/sortedLastIndexOf.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/compat.d.mts +4 -3
- package/node_modules/es-toolkit/dist/compat/compat.d.ts +4 -3
- package/node_modules/es-toolkit/dist/compat/compat.js +10 -11
- package/node_modules/es-toolkit/dist/compat/compat.mjs +10 -11
- package/node_modules/es-toolkit/dist/compat/index.d.mts +4 -3
- package/node_modules/es-toolkit/dist/compat/index.d.ts +4 -3
- package/node_modules/es-toolkit/dist/compat/index.js +10 -9
- package/node_modules/es-toolkit/dist/compat/index.mjs +10 -9
- package/node_modules/es-toolkit/dist/compat/math/inRange.d.mts +5 -2
- package/node_modules/es-toolkit/dist/compat/math/inRange.d.ts +5 -2
- package/node_modules/es-toolkit/dist/compat/math/inRange.js +14 -11
- package/node_modules/es-toolkit/dist/compat/math/inRange.mjs +14 -11
- package/node_modules/es-toolkit/dist/compat/math/maxBy.d.mts +1 -1
- package/node_modules/es-toolkit/dist/compat/math/maxBy.d.ts +1 -1
- package/node_modules/es-toolkit/dist/compat/math/maxBy.js +18 -4
- package/node_modules/es-toolkit/dist/compat/math/maxBy.mjs +18 -4
- package/node_modules/es-toolkit/dist/compat/math/minBy.d.mts +1 -1
- package/node_modules/es-toolkit/dist/compat/math/minBy.d.ts +1 -1
- package/node_modules/es-toolkit/dist/compat/math/minBy.js +18 -4
- package/node_modules/es-toolkit/dist/compat/math/minBy.mjs +18 -4
- package/node_modules/es-toolkit/dist/compat/object/assign.js +2 -3
- package/node_modules/es-toolkit/dist/compat/object/assign.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/object/assignIn.js +2 -3
- package/node_modules/es-toolkit/dist/compat/object/assignIn.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/object/assignInWith.js +2 -3
- package/node_modules/es-toolkit/dist/compat/object/assignInWith.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/object/assignWith.js +2 -3
- package/node_modules/es-toolkit/dist/compat/object/assignWith.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/object/create.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/create.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/defaults.js +2 -3
- package/node_modules/es-toolkit/dist/compat/object/defaults.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/object/has.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/has.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/hasIn.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/hasIn.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/unset.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/unset.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/values.js +5 -1
- package/node_modules/es-toolkit/dist/compat/object/values.mjs +5 -1
- package/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +4 -5
- package/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs +4 -5
- package/node_modules/es-toolkit/dist/compat/string/camelCase.js +6 -2
- package/node_modules/es-toolkit/dist/compat/string/camelCase.mjs +6 -2
- package/node_modules/es-toolkit/dist/compat/string/kebabCase.js +2 -2
- package/node_modules/es-toolkit/dist/compat/string/kebabCase.mjs +2 -2
- package/node_modules/es-toolkit/dist/compat/string/lowerCase.js +2 -2
- package/node_modules/es-toolkit/dist/compat/string/lowerCase.mjs +2 -2
- package/node_modules/es-toolkit/dist/compat/string/pad.js +10 -3
- package/node_modules/es-toolkit/dist/compat/string/pad.mjs +10 -3
- package/node_modules/es-toolkit/dist/compat/string/padEnd.js +7 -1
- package/node_modules/es-toolkit/dist/compat/string/padEnd.mjs +7 -1
- package/node_modules/es-toolkit/dist/compat/string/padStart.js +7 -1
- package/node_modules/es-toolkit/dist/compat/string/padStart.mjs +7 -1
- package/node_modules/es-toolkit/dist/compat/string/snakeCase.js +2 -2
- package/node_modules/es-toolkit/dist/compat/string/snakeCase.mjs +2 -2
- package/node_modules/es-toolkit/dist/compat/string/startCase.js +1 -1
- package/node_modules/es-toolkit/dist/compat/string/startCase.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/string/template.d.mts +1 -1
- package/node_modules/es-toolkit/dist/compat/string/template.d.ts +1 -1
- package/node_modules/es-toolkit/dist/compat/string/templateSettings.d.mts +18 -1
- package/node_modules/es-toolkit/dist/compat/string/templateSettings.d.ts +18 -1
- package/node_modules/es-toolkit/dist/compat/string/templateSettings.js +4 -1
- package/node_modules/es-toolkit/dist/compat/string/templateSettings.mjs +5 -1
- package/node_modules/es-toolkit/dist/compat/string/truncate.js +2 -9
- package/node_modules/es-toolkit/dist/compat/string/truncate.mjs +1 -8
- package/node_modules/es-toolkit/dist/compat/string/upperCase.js +2 -2
- package/node_modules/es-toolkit/dist/compat/string/upperCase.mjs +2 -2
- package/node_modules/es-toolkit/dist/compat/util/eq.d.mts +17 -1
- package/node_modules/es-toolkit/dist/compat/util/eq.d.ts +17 -1
- package/node_modules/es-toolkit/dist/compat/util/eq.js +19 -1
- package/node_modules/es-toolkit/dist/compat/util/eq.mjs +19 -1
- package/node_modules/es-toolkit/dist/compat/util/toArray.js +2 -1
- package/node_modules/es-toolkit/dist/compat/util/toArray.mjs +2 -1
- package/node_modules/es-toolkit/dist/fp/flow.d.mts +213 -0
- package/node_modules/es-toolkit/dist/fp/flow.d.ts +213 -0
- package/node_modules/es-toolkit/dist/fp/flow.js +50 -0
- package/node_modules/es-toolkit/dist/fp/flow.mjs +50 -0
- package/node_modules/es-toolkit/dist/fp/index.d.mts +2 -1
- package/node_modules/es-toolkit/dist/fp/index.d.ts +2 -1
- package/node_modules/es-toolkit/dist/fp/index.js +3 -1
- package/node_modules/es-toolkit/dist/fp/index.mjs +3 -2
- package/node_modules/es-toolkit/dist/fp/pipe.js +8 -12
- package/node_modules/es-toolkit/dist/fp/pipe.mjs +8 -12
- package/node_modules/es-toolkit/dist/map/hasValue.js +2 -2
- package/node_modules/es-toolkit/dist/map/hasValue.mjs +2 -2
- package/node_modules/es-toolkit/dist/predicate/isEqualWith.js +2 -3
- package/node_modules/es-toolkit/dist/predicate/isEqualWith.mjs +2 -3
- package/node_modules/es-toolkit/dist/string/deburr.js +1 -1
- package/node_modules/es-toolkit/dist/string/deburr.mjs +1 -1
- package/node_modules/es-toolkit/dist/types/DeepPartial.d.mts +21 -0
- package/node_modules/es-toolkit/dist/types/DeepPartial.d.ts +21 -0
- package/node_modules/es-toolkit/dist/types/DeepReadonly.d.mts +22 -0
- package/node_modules/es-toolkit/dist/types/DeepReadonly.d.ts +22 -0
- package/node_modules/es-toolkit/dist/types/NonEmptyArray.d.mts +14 -0
- package/node_modules/es-toolkit/dist/types/NonEmptyArray.d.ts +14 -0
- package/node_modules/es-toolkit/dist/types/Simplify.d.mts +18 -0
- package/node_modules/es-toolkit/dist/types/Simplify.d.ts +18 -0
- package/node_modules/es-toolkit/dist/types/ValueOf.d.mts +14 -0
- package/node_modules/es-toolkit/dist/types/ValueOf.d.ts +14 -0
- package/node_modules/es-toolkit/dist/types/Writable.d.mts +15 -0
- package/node_modules/es-toolkit/dist/types/Writable.d.ts +15 -0
- package/node_modules/es-toolkit/dist/types/index.d.mts +7 -0
- package/node_modules/es-toolkit/dist/types/index.d.ts +7 -0
- package/node_modules/es-toolkit/package.json +23 -7
- package/node_modules/es-toolkit/types.d.ts +1 -0
- package/node_modules/fs-ext/build/Makefile +347 -0
- package/node_modules/fs-ext/build/Release/.deps/Release/fs_ext.node.d +1 -0
- package/node_modules/fs-ext/build/Release/.deps/Release/obj.target/fs_ext/fs-ext.o.d +165 -0
- package/node_modules/fs-ext/build/Release/fs_ext.node +0 -0
- package/node_modules/fs-ext/build/Release/obj.target/fs_ext/fs-ext.o +0 -0
- package/node_modules/fs-ext/build/binding.Makefile +6 -0
- package/node_modules/fs-ext/build/config.gypi +503 -0
- package/node_modules/fs-ext/build/fs_ext.target.mk +183 -0
- package/node_modules/fs-ext/build/gyp-mac-tool +768 -0
- package/node_modules/media-typer/README.md +15 -14
- package/node_modules/media-typer/index.js +0 -8
- package/node_modules/media-typer/package.json +16 -12
- package/package.json +2 -2
- package/node_modules/@quantiya/codevibe-core/dist/substrate/git-proxy.d.ts +0 -35
- package/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.d.mts +0 -17
- package/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.d.ts +0 -17
- package/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.js +0 -19
- package/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.mjs +0 -19
- /package/node_modules/@quantiya/codevibe-core/dist/{substrate/__tests__/git-proxy.test.d.ts → appsync/__tests__/refresh-open-prompt-ttl-chunk.test.d.ts} +0 -0
package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/declared-test-runner.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { Dirent, Stats } from 'node:fs';
|
|
2
2
|
import type { runShellCommand } from '../local-executor/verification-gates/shell-runner';
|
|
3
3
|
import type { ShadowDiffFile } from '../local-executor/workspace-shadow';
|
|
4
|
+
import type { ProcessCleanupOwner } from '../local-executor/process-tree';
|
|
5
|
+
import { type WorkspaceRootAuthority } from '../local-executor/workspace-authority';
|
|
4
6
|
/** Default per-file wall-clock budget for a declared-test `node` run. */
|
|
5
7
|
export declare const DECLARED_TEST_TIMEOUT_MS = 300000;
|
|
6
8
|
/**
|
|
@@ -20,6 +22,9 @@ export interface DeclaredTestResult {
|
|
|
20
22
|
ranCount: number;
|
|
21
23
|
/** Never-written declared file / empty-or-JS-less declared dir (§3.D, VISIBLE). */
|
|
22
24
|
skipped: string[];
|
|
25
|
+
/** False means the caller must retain the test cwd. */
|
|
26
|
+
workspaceCleanupSafe?: false;
|
|
27
|
+
workspaceCleanupOwner?: ProcessCleanupOwner;
|
|
23
28
|
}
|
|
24
29
|
export interface RunDeclaredTestSurfacesArgs {
|
|
25
30
|
/** cwd holding the agent's changes (the shadow root). */
|
|
@@ -37,8 +42,8 @@ export interface RunDeclaredTestSurfacesArgs {
|
|
|
37
42
|
realpath: (p: string) => Promise<string>;
|
|
38
43
|
/** Injected — file/dir discriminate on the resolved target. */
|
|
39
44
|
stat: (p: string) => Promise<Stats>;
|
|
40
|
-
/**
|
|
41
|
-
readdir
|
|
45
|
+
/** @internal test-only directory expansion seam; production streams via opendir. */
|
|
46
|
+
readdir?: (p: string) => Promise<Dirent[]>;
|
|
42
47
|
/**
|
|
43
48
|
* Injected (#609) — read a file's UTF-8 contents (nearest-`package.json` framework detection).
|
|
44
49
|
* A throw (ENOENT / EISDIR / unreadable) is TOTAL-handled by `detectFramework` (→ keep walking up,
|
|
@@ -47,6 +52,20 @@ export interface RunDeclaredTestSurfacesArgs {
|
|
|
47
52
|
readFile: (p: string) => Promise<string>;
|
|
48
53
|
/** Default `DECLARED_TEST_TIMEOUT_MS`. */
|
|
49
54
|
timeoutMs?: number;
|
|
55
|
+
/** Cooperative session-shutdown cancellation for spawned test processes. */
|
|
56
|
+
signal?: AbortSignal;
|
|
57
|
+
/** Exact snapshot incarnation selected before declared-test discovery. */
|
|
58
|
+
shadowRootAuthority?: WorkspaceRootAuthority;
|
|
59
|
+
/** @internal deterministic root-replacement seam after initial validation. */
|
|
60
|
+
afterAuthorityCheck?: () => Promise<void> | void;
|
|
61
|
+
/** @internal deterministic A→B→A restoration before the final check. */
|
|
62
|
+
beforeAuthorityCompletion?: () => Promise<void> | void;
|
|
63
|
+
/** @internal deterministic root replacement immediately before framework discovery. */
|
|
64
|
+
beforeFrameworkDiscovery?: () => Promise<void> | void;
|
|
65
|
+
/** @internal helper-held missing-intermediate authority seam. */
|
|
66
|
+
beforeClassificationMissing?: () => Promise<void> | void;
|
|
67
|
+
/** @internal helper-held missing-leaf completion seam. */
|
|
68
|
+
beforeClassificationCompletion?: () => Promise<void> | void;
|
|
50
69
|
}
|
|
51
70
|
/**
|
|
52
71
|
* Canonicalize a declared scope / diff path for comparison: collapse backslashes to
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AppSyncClient } from '../appsync';
|
|
2
2
|
import { type Session } from '../types';
|
|
3
|
+
import type { E1ProducerKind } from '../e1';
|
|
3
4
|
/**
|
|
4
5
|
* §3 LOCK lines 173-181. Names + per-type metadata shapes are part of
|
|
5
6
|
* the Stage A contract. CP-1.a ships the union; CP-1.b/c/d add call
|
|
@@ -34,6 +35,12 @@ export interface ShellEventEmit {
|
|
|
34
35
|
writerEventNonce?: string;
|
|
35
36
|
/** Proven local key mismatch: emit the safe legacy joined fallback. */
|
|
36
37
|
disableWriterAttestation?: boolean;
|
|
38
|
+
ownerToken?: string;
|
|
39
|
+
promptId?: string;
|
|
40
|
+
producerKind?: E1ProducerKind;
|
|
41
|
+
mobileActionable?: boolean;
|
|
42
|
+
resolvedPromptId?: string;
|
|
43
|
+
resolutionAt?: string;
|
|
37
44
|
}
|
|
38
45
|
/**
|
|
39
46
|
* Test seam — allows the unit tests to swap the AppSync client without
|
package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/gate-decision-submit.d.ts
CHANGED
|
@@ -152,6 +152,11 @@ export interface GroupDecisionSubmitDeps {
|
|
|
152
152
|
* after an accept-family COMMIT. ABSENT → no-op (tests).
|
|
153
153
|
*/
|
|
154
154
|
markAccepted?: (taskGroupId: string) => Promise<void>;
|
|
155
|
+
/**
|
|
156
|
+
* Accept-family finalizer: retire PREPARED/APPLIED authority by exact base or
|
|
157
|
+
* post-image proof before marking accepted or clearing reviewed bundles.
|
|
158
|
+
*/
|
|
159
|
+
finalizeAcceptedGroup: (taskGroupId: string) => Promise<void>;
|
|
155
160
|
/**
|
|
156
161
|
* HIGH-1 / LOCK #589-J — persist the CLAIMED-but-not-COMMITted decision to the
|
|
157
162
|
* durable record, called IMMEDIATELY after the CLAIM phase mints `claimToken`
|
|
@@ -170,6 +175,12 @@ export interface GroupDecisionSubmitDeps {
|
|
|
170
175
|
* (so a later reconcile never re-drives it). ABSENT → no-op (tests).
|
|
171
176
|
*/
|
|
172
177
|
clearPendingDecision?: (taskGroupId: string) => Promise<void>;
|
|
178
|
+
/**
|
|
179
|
+
* Reclaim terminal durable group bytes after COMMIT, convergence, lifecycle
|
|
180
|
+
* transition, reissue (when requested), and pending-decision removal. The
|
|
181
|
+
* durable store rechecks every crash-authority predicate before deleting.
|
|
182
|
+
*/
|
|
183
|
+
gcTerminalGroup?: (taskGroupId: string) => Promise<void>;
|
|
173
184
|
/**
|
|
174
185
|
* Drive the per-track render flip through the SAME `emitGroupConvergence`
|
|
175
186
|
* chokepoint (D2): accept-family → tracks stay/flip `Passed`; reject-family →
|
|
@@ -429,12 +429,51 @@ export interface ReviewSummaryRoundModel {
|
|
|
429
429
|
/** Aggregated REVISE seat findings (the auto-revision driver), or null. */
|
|
430
430
|
readonly reviseNotes: string | null;
|
|
431
431
|
}
|
|
432
|
+
export interface ReviewSummaryTerminalModel {
|
|
433
|
+
readonly schemaVersion: number;
|
|
434
|
+
readonly requirements: {
|
|
435
|
+
readonly problem: string;
|
|
436
|
+
readonly expectedOutputs: ReadonlyArray<string>;
|
|
437
|
+
};
|
|
438
|
+
readonly implementors: ReadonlyArray<{
|
|
439
|
+
readonly agent: string;
|
|
440
|
+
readonly trackIndex: number | null;
|
|
441
|
+
readonly taskId: string;
|
|
442
|
+
}>;
|
|
443
|
+
readonly reviewQuorum: {
|
|
444
|
+
readonly seats: ReadonlyArray<{
|
|
445
|
+
readonly seatId: number;
|
|
446
|
+
readonly role: string;
|
|
447
|
+
readonly agent: string;
|
|
448
|
+
}>;
|
|
449
|
+
readonly roundCount: number;
|
|
450
|
+
readonly revisionCount: number;
|
|
451
|
+
};
|
|
452
|
+
readonly mergeGate: {
|
|
453
|
+
readonly applicable: boolean;
|
|
454
|
+
readonly outcome: string;
|
|
455
|
+
readonly resolution: string | null;
|
|
456
|
+
};
|
|
457
|
+
readonly durations: {
|
|
458
|
+
readonly taskElapsedMs: number | null;
|
|
459
|
+
readonly reviewerElapsedMs: number | null;
|
|
460
|
+
readonly availability: string;
|
|
461
|
+
};
|
|
462
|
+
readonly tokenUsage: {
|
|
463
|
+
readonly knownTotal: number | null;
|
|
464
|
+
readonly availability: string;
|
|
465
|
+
readonly unavailableRoles: ReadonlyArray<string>;
|
|
466
|
+
};
|
|
467
|
+
readonly residualRisks: ReadonlyArray<string>;
|
|
468
|
+
}
|
|
432
469
|
/**
|
|
433
470
|
* The fully-extracted, render-ready per-round review summary model. PURE
|
|
434
471
|
* function of the decrypted summary. `null`-attached (entry has no
|
|
435
472
|
* `reviewSummary`) → the panel renders nothing extra (fail-open base prompt).
|
|
436
473
|
*/
|
|
437
474
|
export interface ReviewSummaryPanelModel {
|
|
475
|
+
/** Additive P15 schema-v2 terminal header; null for legacy schema v1. */
|
|
476
|
+
readonly terminal: ReviewSummaryTerminalModel | null;
|
|
438
477
|
readonly rounds: ReadonlyArray<ReviewSummaryRoundModel>;
|
|
439
478
|
/** finalOutcome display value (proceed | auto_revise | escalate). */
|
|
440
479
|
readonly finalOutcome: string;
|
|
@@ -448,6 +487,41 @@ export interface ReviewSummaryPanelModel {
|
|
|
448
487
|
* object degrades to an empty/safe model, never throws.
|
|
449
488
|
*/
|
|
450
489
|
export interface DecryptedReviewSummaryInput {
|
|
490
|
+
readonly schemaVersion?: number;
|
|
491
|
+
readonly requirements?: {
|
|
492
|
+
readonly problem?: string;
|
|
493
|
+
readonly expectedOutputs?: ReadonlyArray<string>;
|
|
494
|
+
};
|
|
495
|
+
readonly implementors?: ReadonlyArray<{
|
|
496
|
+
readonly agent?: string;
|
|
497
|
+
readonly trackIndex?: number;
|
|
498
|
+
readonly taskId?: string;
|
|
499
|
+
}>;
|
|
500
|
+
readonly reviewQuorum?: {
|
|
501
|
+
readonly seats?: ReadonlyArray<{
|
|
502
|
+
readonly seatId?: number;
|
|
503
|
+
readonly role?: string;
|
|
504
|
+
readonly agent?: string;
|
|
505
|
+
}>;
|
|
506
|
+
readonly roundCount?: number;
|
|
507
|
+
readonly revisionCount?: number;
|
|
508
|
+
};
|
|
509
|
+
readonly mergeGate?: {
|
|
510
|
+
readonly applicable?: boolean;
|
|
511
|
+
readonly outcome?: string;
|
|
512
|
+
readonly resolution?: string;
|
|
513
|
+
};
|
|
514
|
+
readonly durations?: {
|
|
515
|
+
readonly taskElapsedMs?: number;
|
|
516
|
+
readonly reviewerElapsedMs?: number;
|
|
517
|
+
readonly availability?: string;
|
|
518
|
+
};
|
|
519
|
+
readonly tokenUsage?: {
|
|
520
|
+
readonly knownTotal?: number;
|
|
521
|
+
readonly availability?: string;
|
|
522
|
+
readonly unavailableRoles?: ReadonlyArray<string>;
|
|
523
|
+
};
|
|
524
|
+
readonly residualRisks?: ReadonlyArray<string>;
|
|
451
525
|
readonly rounds?: ReadonlyArray<{
|
|
452
526
|
readonly round?: number;
|
|
453
527
|
readonly proposal?: string;
|
|
@@ -458,6 +532,7 @@ export interface DecryptedReviewSummaryInput {
|
|
|
458
532
|
readonly decision?: string;
|
|
459
533
|
readonly reasoning?: string;
|
|
460
534
|
readonly suggestedChanges?: ReadonlyArray<string>;
|
|
535
|
+
readonly residualObservations?: ReadonlyArray<string>;
|
|
461
536
|
}>;
|
|
462
537
|
readonly outcome?: string;
|
|
463
538
|
readonly reviseNotes?: string;
|
|
@@ -2,6 +2,7 @@ import { AsyncLocalStorage } from 'node:async_hooks';
|
|
|
2
2
|
import { AppSyncClient } from '../appsync';
|
|
3
3
|
import { Session } from '../types';
|
|
4
4
|
import { OrchestrationStore } from './store';
|
|
5
|
+
import { AdvisoryAttachmentJournal } from './advisory-attachment-journal';
|
|
5
6
|
import type { ImageAttachment } from './types';
|
|
6
7
|
import { type GroupDecisionSubmitDeps } from './gate-decision-submit';
|
|
7
8
|
import { type ContinuationCliResult, type ContinuationCliDeps } from './slash-routes/continuation';
|
|
@@ -43,6 +44,8 @@ export interface RunOrchestrationShellArgs {
|
|
|
43
44
|
* teardown `finally` is armed; until then the admitting CLI owns retirement.
|
|
44
45
|
*/
|
|
45
46
|
acceptSessionLifecycleOwnership?: () => void;
|
|
47
|
+
/** @internal isolated durable advisory-attachment authority for tests. */
|
|
48
|
+
advisoryAttachmentJournal?: AdvisoryAttachmentJournal;
|
|
46
49
|
/**
|
|
47
50
|
* CP-1.b IMPL r2 H-3 — Optional planner adapter. When supplied,
|
|
48
51
|
* `runOrchestrationShell` binds the active session via
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { ShellEventEmit, ShellEventEmitResult } from './emit-shell-event';
|
|
2
|
+
/** The run-scoped shell emitter (`createShellEventEmitter(...)`). */
|
|
3
|
+
export type ShellEmitter = (args: ShellEventEmit) => Promise<ShellEventEmitResult>;
|
|
4
|
+
/** The run-scoped `openPrompts` TTL co-refresh transport (§3.1). */
|
|
5
|
+
export type OpenPromptTtlRefresher = (promptIds: string[]) => Promise<string[]>;
|
|
6
|
+
/** Everything the ledger needs to (re-)emit an offer raise. */
|
|
7
|
+
export interface PlannerOfferRaiseContext {
|
|
8
|
+
sessionId: string;
|
|
9
|
+
/** The offer question — the INTERACTIVE_PROMPT content (re-raised verbatim). */
|
|
10
|
+
content: string;
|
|
11
|
+
/** The offer payload — the INTERACTIVE_PROMPT metadata (re-raised verbatim). */
|
|
12
|
+
metadata: Record<string, unknown>;
|
|
13
|
+
agentType?: string;
|
|
14
|
+
title?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The core CORE_OFFER producer ledger + durable-ledger refresh loop. A single
|
|
18
|
+
* instance lives per process (one orchestration shell per process); `beginRun`
|
|
19
|
+
* re-binds the transports + resets state for a fresh run.
|
|
20
|
+
*/
|
|
21
|
+
export declare class PlannerOfferE1Ledger {
|
|
22
|
+
/** Open offers, keyed by the offer's stable `conversationEntryId` (§6a-4). */
|
|
23
|
+
private readonly raises;
|
|
24
|
+
/** promptIds whose raise emit is un-acked → retry-until-ack (mirrors the plugins'
|
|
25
|
+
* `e1NeedsReRaise`). */
|
|
26
|
+
private readonly needsReRaise;
|
|
27
|
+
/** promptIds whose resolution emit is un-acked → retry-until-ack (F-C4). */
|
|
28
|
+
private readonly pendingResolutions;
|
|
29
|
+
private timer;
|
|
30
|
+
private emit;
|
|
31
|
+
private refreshTtl;
|
|
32
|
+
private readonly refreshMs;
|
|
33
|
+
private draining;
|
|
34
|
+
constructor(opts?: {
|
|
35
|
+
refreshMs?: number;
|
|
36
|
+
});
|
|
37
|
+
/**
|
|
38
|
+
* Install the run-scoped TTL-refresh transport and RESET all per-run state. Call
|
|
39
|
+
* once at shell start; a re-run (tests) gets a clean ledger + no stale timer.
|
|
40
|
+
*/
|
|
41
|
+
beginRun(refreshTtl: OpenPromptTtlRefresher): void;
|
|
42
|
+
/**
|
|
43
|
+
* F-C1 — raise (or re-present) a planner offer and INSPECT the emit result. On a
|
|
44
|
+
* transient failure (`{emitted:false}` or a throw) PARK the promptId for
|
|
45
|
+
* retry-until-ack. First presentation mints a fresh secret + committed promptId;
|
|
46
|
+
* a re-present across turns reuses it (stable id → the backend re-raises on the
|
|
47
|
+
* `ownerToken=:token` branch, no duplicate row). Never throws.
|
|
48
|
+
*/
|
|
49
|
+
raiseOffer(emit: ShellEmitter, conversationEntryId: string, ctx: PlannerOfferRaiseContext): Promise<void>;
|
|
50
|
+
/**
|
|
51
|
+
* F-C4 — resolve an offer: emit the SIGNED resolution NOTIFICATION so its
|
|
52
|
+
* `openPrompts` row exact-clears, retried-until-ack. The ledger identity is moved
|
|
53
|
+
* OUT of the open-offer set (stops refresh/re-raise) INTO the pending-resolution
|
|
54
|
+
* set and is NOT dropped until the clear is backend-acknowledged (or is proven
|
|
55
|
+
* un-attestable → over-nag to TTL). A no-op if the offer never raised a row (a
|
|
56
|
+
* pre-E1 in-flight offer). Never throws.
|
|
57
|
+
*/
|
|
58
|
+
resolveOffer(emit: ShellEmitter, conversationEntryId: string, sessionId: string): Promise<void>;
|
|
59
|
+
/** Stop the refresh timer (shell teardown). Idempotent. */
|
|
60
|
+
stopTimer(): void;
|
|
61
|
+
/** Is there a LIVE open-offer ledger entry for this entryId? (content-key floor) */
|
|
62
|
+
hasOpenOffer(conversationEntryId: string): boolean;
|
|
63
|
+
/** The committed promptId for an open offer (undefined once resolved/absent). */
|
|
64
|
+
promptIdFor(conversationEntryId: string): string | undefined;
|
|
65
|
+
isParkedForReRaise(promptId: string): boolean;
|
|
66
|
+
hasPendingResolution(promptId: string): boolean;
|
|
67
|
+
/** Run ONE refresh tick synchronously (the interval calls this; exposed for tests). */
|
|
68
|
+
runTick(): Promise<void>;
|
|
69
|
+
private getOrCreateEntry;
|
|
70
|
+
private buildRaiseEmit;
|
|
71
|
+
/**
|
|
72
|
+
* Emit ONE offer raise + park on failure (F-C1). ACK (`{emitted:true}`) clears any
|
|
73
|
+
* retry flag; `{emitted:false}` or a throw parks the promptId so a later tick
|
|
74
|
+
* re-emits until the backend writes the row.
|
|
75
|
+
*/
|
|
76
|
+
private emitRaise;
|
|
77
|
+
/**
|
|
78
|
+
* Emit ONE resolution + retry-until-ack (F-C4). ACK (`{emitted:true}`) drops the
|
|
79
|
+
* identity (the row exact-cleared, or the conditional Delete no-op'd for an
|
|
80
|
+
* already-gone row — both acknowledged). A transient `{emitted:false}` keeps the
|
|
81
|
+
* identity for the next tick; a terminal/un-attestable reason (or the retry cap)
|
|
82
|
+
* gives up → the row over-nags to its own TTL.
|
|
83
|
+
*/
|
|
84
|
+
private emitResolution;
|
|
85
|
+
/** Retry every parked raise whose ledger entry is still open (F-C1 drain). */
|
|
86
|
+
private drainReRaises;
|
|
87
|
+
/** Retry every un-acked resolution; give up past the attempt cap (F-C4 drain). */
|
|
88
|
+
private drainResolutions;
|
|
89
|
+
/**
|
|
90
|
+
* §3.1 — co-refresh the OPEN offers' `openPrompts` row TTLs; FULL-re-raise any
|
|
91
|
+
* promptId the backend reports as already aged-out (return-driven re-raise, §6a-4).
|
|
92
|
+
*/
|
|
93
|
+
private refreshOpenTtls;
|
|
94
|
+
private findOpenEntryByPromptId;
|
|
95
|
+
private ensureTimer;
|
|
96
|
+
private maybeStopTimer;
|
|
97
|
+
}
|