@quantiya/codevibe-claude-plugin 2.0.27 → 2.0.29
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/node_modules/@quantiya/codevibe-core/dist/appsync/appsync-client.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/queries.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/index.d.ts +5 -1
- package/node_modules/@quantiya/codevibe-core/dist/index.js +447 -415
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/__tests__/local-executor-teams-summary.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/hook-bridge.d.ts +2 -1
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/index.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/local-executor-impl.d.ts +16 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/team-summary.d.ts +151 -0
- package/node_modules/@quantiya/codevibe-core/dist/local-model/ollama.d.ts +3 -1
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/audit-buffer-join.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/audit-normalization.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/audit-summary.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/decision-map-lifecycle.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/planner-confirmation-routing.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/query_audit_tier_gate.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/quorum-loop-fail-safe.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/quorum-loop-summary.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/audit-runner.d.ts +25 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/audit-summary.d.ts +240 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.d.ts +11 -3
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +3693 -1315
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/context-compaction.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/gate-decision-submit.d.ts +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/index.d.ts +23 -17
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/quorum-loop.d.ts +96 -1
- package/node_modules/@quantiya/codevibe-core/dist/planner/local-gemma.d.ts +35 -7
- package/node_modules/@quantiya/codevibe-core/package.json +2 -2
- package/node_modules/es-toolkit/CHANGELOG.md +3 -38
- package/node_modules/es-toolkit/dist/browser.global.js +4 -4
- package/node_modules/es-toolkit/dist/compat/array/differenceWith.js +1 -2
- package/node_modules/es-toolkit/dist/compat/array/differenceWith.mjs +1 -2
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.js +3 -5
- package/node_modules/es-toolkit/dist/compat/array/findLastIndex.mjs +3 -5
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.js +1 -1
- package/node_modules/es-toolkit/dist/compat/array/sortedIndexBy.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/array/without.js +2 -8
- package/node_modules/es-toolkit/dist/compat/array/without.mjs +2 -8
- package/node_modules/es-toolkit/dist/compat/array/xorWith.js +6 -4
- package/node_modules/es-toolkit/dist/compat/array/xorWith.mjs +6 -4
- package/node_modules/es-toolkit/dist/compat/compat.js +1 -1
- package/node_modules/es-toolkit/dist/compat/compat.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/function/debounce.js +1 -1
- package/node_modules/es-toolkit/dist/compat/function/debounce.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/index.js +1 -1
- package/node_modules/es-toolkit/dist/compat/index.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/has.js +2 -3
- package/node_modules/es-toolkit/dist/compat/object/has.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/object/hasIn.js +2 -3
- package/node_modules/es-toolkit/dist/compat/object/hasIn.mjs +2 -3
- package/node_modules/es-toolkit/dist/compat/object/mergeWith.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/mergeWith.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/omitBy.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/omitBy.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/object/pickBy.js +1 -1
- package/node_modules/es-toolkit/dist/compat/object/pickBy.mjs +1 -1
- package/node_modules/es-toolkit/dist/compat/util/toString.js +1 -3
- package/node_modules/es-toolkit/dist/compat/util/toString.mjs +1 -3
- package/node_modules/es-toolkit/dist/fp/index.d.mts +1 -2
- package/node_modules/es-toolkit/dist/fp/index.d.ts +1 -2
- package/node_modules/es-toolkit/dist/fp/index.js +0 -2
- package/node_modules/es-toolkit/dist/fp/index.mjs +1 -2
- package/node_modules/es-toolkit/dist/index.d.mts +1 -3
- package/node_modules/es-toolkit/dist/index.d.ts +1 -3
- package/node_modules/es-toolkit/dist/index.js +0 -4
- package/node_modules/es-toolkit/dist/index.mjs +1 -3
- package/node_modules/es-toolkit/dist/object/merge.d.mts +1 -3
- package/node_modules/es-toolkit/dist/object/merge.d.ts +1 -3
- package/node_modules/es-toolkit/dist/object/merge.js +40 -0
- package/node_modules/es-toolkit/dist/object/merge.mjs +40 -0
- package/node_modules/es-toolkit/dist/object/omitBy.d.mts +2 -4
- package/node_modules/es-toolkit/dist/object/omitBy.d.ts +2 -4
- package/node_modules/es-toolkit/dist/object/omitBy.js +3 -4
- package/node_modules/es-toolkit/dist/object/omitBy.mjs +3 -4
- package/node_modules/es-toolkit/dist/object/pickBy.d.mts +2 -4
- package/node_modules/es-toolkit/dist/object/pickBy.d.ts +2 -4
- package/node_modules/es-toolkit/dist/object/pickBy.js +3 -4
- package/node_modules/es-toolkit/dist/object/pickBy.mjs +3 -4
- package/node_modules/es-toolkit/dist/types/index.d.mts +2 -11
- package/node_modules/es-toolkit/dist/types/index.d.ts +2 -11
- package/node_modules/es-toolkit/dist/util/attempt.d.mts +1 -1
- package/node_modules/es-toolkit/dist/util/attempt.d.ts +1 -1
- package/node_modules/es-toolkit/dist/util/attemptAsync.d.mts +1 -1
- package/node_modules/es-toolkit/dist/util/attemptAsync.d.ts +1 -1
- package/node_modules/es-toolkit/dist/util/index.d.mts +1 -3
- package/node_modules/es-toolkit/dist/util/index.d.ts +1 -3
- package/node_modules/es-toolkit/dist/util/index.js +0 -4
- package/node_modules/es-toolkit/dist/util/index.mjs +1 -3
- package/node_modules/es-toolkit/package.json +1 -44
- package/node_modules/node-abi/abi_registry.json +0 -7
- package/node_modules/node-abi/package.json +1 -1
- package/node_modules/qs/.github/THREAT_MODEL.md +3 -3
- package/node_modules/qs/CHANGELOG.md +0 -15
- package/node_modules/qs/README.md +1 -19
- package/node_modules/qs/dist/qs.js +21 -21
- package/node_modules/qs/eslint.config.mjs +1 -1
- package/node_modules/qs/lib/parse.js +4 -3
- package/node_modules/qs/lib/stringify.js +8 -23
- package/node_modules/qs/lib/utils.js +3 -10
- package/node_modules/qs/package.json +4 -4
- package/node_modules/qs/test/parse.js +3 -192
- package/node_modules/qs/test/stringify.js +0 -317
- package/node_modules/qs/test/utils.js +0 -12
- package/node_modules/type-fest/index.d.ts +7 -6
- package/node_modules/type-fest/package.json +1 -1
- package/node_modules/type-fest/readme.md +5 -6
- package/node_modules/type-fest/source/delimiter-case.d.ts +1 -1
- package/node_modules/type-fest/source/get.d.ts +1 -1
- package/node_modules/type-fest/source/internal/object.d.ts +1 -30
- package/node_modules/type-fest/source/is-literal.d.ts +269 -43
- package/node_modules/type-fest/source/jsonify.d.ts +5 -1
- package/node_modules/type-fest/source/remove-prefix.d.ts +1 -1
- package/node_modules/type-fest/source/remove-suffix.d.ts +1 -1
- package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +3 -4
- package/node_modules/type-fest/source/split.d.ts +1 -1
- package/node_modules/type-fest/source/string-repeat.d.ts +1 -1
- package/node_modules/type-fest/source/string-to-array.d.ts +1 -1
- package/node_modules/type-fest/source/tsconfig-json.d.ts +1 -1
- package/node_modules/type-fest/source/typed-array.d.ts +0 -1
- package/node_modules/type-fest/source/writable.d.ts +2 -2
- package/package.json +2 -2
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/direct-file-delete.d.ts +0 -22
- package/node_modules/es-toolkit/dist/fp/flowAsync.d.mts +0 -213
- package/node_modules/es-toolkit/dist/fp/flowAsync.d.ts +0 -213
- package/node_modules/es-toolkit/dist/fp/flowAsync.js +0 -37
- package/node_modules/es-toolkit/dist/fp/flowAsync.mjs +0 -37
- package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.mts +0 -23
- package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.d.ts +0 -23
- package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.js +0 -28
- package/node_modules/es-toolkit/dist/fp/iterator/cartesianProduct.mjs +0 -28
- package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.mts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/chunk.d.ts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/chunk.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/chunk.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/count.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/count.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/count.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/count.mjs +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/drop.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/drop.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/drop.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/drop.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.mts +0 -18
- package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.d.ts +0 -18
- package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.js +0 -23
- package/node_modules/es-toolkit/dist/fp/iterator/dropWhile.mjs +0 -23
- package/node_modules/es-toolkit/dist/fp/iterator/every.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/every.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/every.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/every.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/filter.d.mts +0 -37
- package/node_modules/es-toolkit/dist/fp/iterator/filter.d.ts +0 -37
- package/node_modules/es-toolkit/dist/fp/iterator/filter.js +0 -8
- package/node_modules/es-toolkit/dist/fp/iterator/filter.mjs +0 -8
- package/node_modules/es-toolkit/dist/fp/iterator/find.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/find.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/find.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/find.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/flatMap.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/flatMap.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/flatMap.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.mts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/forEach.d.ts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/forEach.js +0 -26
- package/node_modules/es-toolkit/dist/fp/iterator/forEach.mjs +0 -26
- package/node_modules/es-toolkit/dist/fp/iterator/head.d.mts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/head.d.ts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/head.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/head.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/index.d.mts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/index.d.ts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/index.js +0 -43
- package/node_modules/es-toolkit/dist/fp/iterator/index.mjs +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/map.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/map.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/map.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/map.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/partition.d.mts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/partition.d.ts +0 -22
- package/node_modules/es-toolkit/dist/fp/iterator/partition.js +0 -27
- package/node_modules/es-toolkit/dist/fp/iterator/partition.mjs +0 -27
- package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.mts +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/reduce.d.ts +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/reduce.js +0 -28
- package/node_modules/es-toolkit/dist/fp/iterator/reduce.mjs +0 -28
- package/node_modules/es-toolkit/dist/fp/iterator/scan.d.mts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/scan.d.ts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/scan.js +0 -26
- package/node_modules/es-toolkit/dist/fp/iterator/scan.mjs +0 -26
- package/node_modules/es-toolkit/dist/fp/iterator/some.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/some.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/some.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/some.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/take.d.mts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/take.d.ts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/take.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/take.mjs +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.mts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.d.ts +0 -19
- package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.js +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/takeWhile.mjs +0 -24
- package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.mts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/toArray.d.ts +0 -21
- package/node_modules/es-toolkit/dist/fp/iterator/toArray.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/toArray.mjs +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/uniqBy.mjs +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/zip.d.mts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/zip.d.ts +0 -20
- package/node_modules/es-toolkit/dist/fp/iterator/zip.js +0 -25
- package/node_modules/es-toolkit/dist/fp/iterator/zip.mjs +0 -25
- package/node_modules/es-toolkit/dist/iterator/_internal/iterator.js +0 -74
- package/node_modules/es-toolkit/dist/iterator/_internal/iterator.mjs +0 -74
- package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.mts +0 -33
- package/node_modules/es-toolkit/dist/iterator/cartesianProduct.d.ts +0 -33
- package/node_modules/es-toolkit/dist/iterator/cartesianProduct.js +0 -95
- package/node_modules/es-toolkit/dist/iterator/cartesianProduct.mjs +0 -95
- package/node_modules/es-toolkit/dist/iterator/chunk.d.mts +0 -21
- package/node_modules/es-toolkit/dist/iterator/chunk.d.ts +0 -21
- package/node_modules/es-toolkit/dist/iterator/chunk.js +0 -40
- package/node_modules/es-toolkit/dist/iterator/chunk.mjs +0 -40
- package/node_modules/es-toolkit/dist/iterator/count.d.mts +0 -18
- package/node_modules/es-toolkit/dist/iterator/count.d.ts +0 -18
- package/node_modules/es-toolkit/dist/iterator/count.js +0 -26
- package/node_modules/es-toolkit/dist/iterator/count.mjs +0 -26
- package/node_modules/es-toolkit/dist/iterator/dropWhile.d.mts +0 -20
- package/node_modules/es-toolkit/dist/iterator/dropWhile.d.ts +0 -20
- package/node_modules/es-toolkit/dist/iterator/dropWhile.js +0 -52
- package/node_modules/es-toolkit/dist/iterator/dropWhile.mjs +0 -52
- package/node_modules/es-toolkit/dist/iterator/head.d.mts +0 -21
- package/node_modules/es-toolkit/dist/iterator/head.d.ts +0 -21
- package/node_modules/es-toolkit/dist/iterator/head.js +0 -26
- package/node_modules/es-toolkit/dist/iterator/head.mjs +0 -26
- package/node_modules/es-toolkit/dist/iterator/index.d.mts +0 -13
- package/node_modules/es-toolkit/dist/iterator/index.d.ts +0 -13
- package/node_modules/es-toolkit/dist/iterator/index.js +0 -25
- package/node_modules/es-toolkit/dist/iterator/index.mjs +0 -13
- package/node_modules/es-toolkit/dist/iterator/iterate.d.mts +0 -20
- package/node_modules/es-toolkit/dist/iterator/iterate.d.ts +0 -20
- package/node_modules/es-toolkit/dist/iterator/iterate.js +0 -32
- package/node_modules/es-toolkit/dist/iterator/iterate.mjs +0 -32
- package/node_modules/es-toolkit/dist/iterator/partition.d.mts +0 -18
- package/node_modules/es-toolkit/dist/iterator/partition.d.ts +0 -18
- package/node_modules/es-toolkit/dist/iterator/partition.js +0 -36
- package/node_modules/es-toolkit/dist/iterator/partition.mjs +0 -36
- package/node_modules/es-toolkit/dist/iterator/range.d.mts +0 -42
- package/node_modules/es-toolkit/dist/iterator/range.d.ts +0 -42
- package/node_modules/es-toolkit/dist/iterator/range.js +0 -25
- package/node_modules/es-toolkit/dist/iterator/range.mjs +0 -25
- package/node_modules/es-toolkit/dist/iterator/scan.d.mts +0 -23
- package/node_modules/es-toolkit/dist/iterator/scan.d.ts +0 -23
- package/node_modules/es-toolkit/dist/iterator/scan.js +0 -47
- package/node_modules/es-toolkit/dist/iterator/scan.mjs +0 -47
- package/node_modules/es-toolkit/dist/iterator/takeWhile.d.mts +0 -20
- package/node_modules/es-toolkit/dist/iterator/takeWhile.d.ts +0 -20
- package/node_modules/es-toolkit/dist/iterator/takeWhile.js +0 -34
- package/node_modules/es-toolkit/dist/iterator/takeWhile.mjs +0 -34
- package/node_modules/es-toolkit/dist/iterator/uniqBy.d.mts +0 -22
- package/node_modules/es-toolkit/dist/iterator/uniqBy.d.ts +0 -22
- package/node_modules/es-toolkit/dist/iterator/uniqBy.js +0 -43
- package/node_modules/es-toolkit/dist/iterator/uniqBy.mjs +0 -43
- package/node_modules/es-toolkit/dist/iterator/zip.d.mts +0 -23
- package/node_modules/es-toolkit/dist/iterator/zip.d.ts +0 -23
- package/node_modules/es-toolkit/dist/iterator/zip.js +0 -45
- package/node_modules/es-toolkit/dist/iterator/zip.mjs +0 -45
- package/node_modules/es-toolkit/dist/types/EmptyObject.d.mts +0 -21
- package/node_modules/es-toolkit/dist/types/EmptyObject.d.ts +0 -21
- package/node_modules/es-toolkit/dist/types/IsEqual.d.mts +0 -18
- package/node_modules/es-toolkit/dist/types/IsEqual.d.ts +0 -18
- package/node_modules/es-toolkit/dist/types/JSONValue.d.mts +0 -24
- package/node_modules/es-toolkit/dist/types/JSONValue.d.ts +0 -24
- package/node_modules/es-toolkit/dist/types/Merge.d.mts +0 -37
- package/node_modules/es-toolkit/dist/types/Merge.d.ts +0 -37
- package/node_modules/es-toolkit/dist/types/ObjectKeys.d.mts +0 -19
- package/node_modules/es-toolkit/dist/types/ObjectKeys.d.ts +0 -19
- package/node_modules/es-toolkit/dist/types/Primitive.d.mts +0 -14
- package/node_modules/es-toolkit/dist/types/Primitive.d.ts +0 -14
- package/node_modules/es-toolkit/dist/types/SetOptional.d.mts +0 -20
- package/node_modules/es-toolkit/dist/types/SetOptional.d.ts +0 -20
- package/node_modules/es-toolkit/dist/types/SetRequired.d.mts +0 -20
- package/node_modules/es-toolkit/dist/types/SetRequired.d.ts +0 -20
- package/node_modules/es-toolkit/dist/types/UnknownRecord.d.mts +0 -24
- package/node_modules/es-toolkit/dist/types/UnknownRecord.d.ts +0 -24
- package/node_modules/es-toolkit/dist/util/defer.d.mts +0 -27
- package/node_modules/es-toolkit/dist/util/defer.d.ts +0 -27
- package/node_modules/es-toolkit/dist/util/defer.js +0 -31
- package/node_modules/es-toolkit/dist/util/defer.mjs +0 -31
- package/node_modules/es-toolkit/dist/util/deferAsync.d.mts +0 -30
- package/node_modules/es-toolkit/dist/util/deferAsync.d.ts +0 -30
- package/node_modules/es-toolkit/dist/util/deferAsync.js +0 -34
- package/node_modules/es-toolkit/dist/util/deferAsync.mjs +0 -34
- package/node_modules/es-toolkit/fp/iterator.d.ts +0 -1
- package/node_modules/es-toolkit/fp/iterator.js +0 -1
- package/node_modules/es-toolkit/iterator.d.ts +0 -1
- package/node_modules/es-toolkit/iterator.js +0 -1
- package/node_modules/fs-ext/build/Makefile +0 -347
- package/node_modules/fs-ext/build/Release/.deps/Release/fs_ext.node.d +0 -1
- package/node_modules/fs-ext/build/Release/.deps/Release/obj.target/fs_ext/fs-ext.o.d +0 -165
- 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 +0 -6
- package/node_modules/fs-ext/build/config.gypi +0 -503
- package/node_modules/fs-ext/build/fs_ext.target.mk +0 -183
- package/node_modules/fs-ext/build/gyp-mac-tool +0 -768
- package/node_modules/keytar/build/Release/keytar.node +0 -0
- package/node_modules/type-fest/source/is-boolean-literal.d.ts +0 -39
- package/node_modules/type-fest/source/is-numeric-literal.d.ts +0 -50
- package/node_modules/type-fest/source/is-string-literal.d.ts +0 -72
- package/node_modules/type-fest/source/is-symbol-literal.d.ts +0 -39
- package/node_modules/type-fest/source/rename-keys.d.ts +0 -163
- /package/node_modules/@quantiya/codevibe-core/dist/{orchestration-shell/__tests__/direct-file-delete.test.d.ts → appsync/__tests__/supervision-subscription.test.d.ts} +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/LICENSE.md +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/README.md +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/common.gypi +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/except.gypi +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/index.js +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.deprecated.h +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi-inl.h +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/napi.h +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/node_api.gyp +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/noexcept.gypi +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/nothing.c +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package-support.json +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/package.json +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/README.md +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/check-napi.js +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/clang-format.js +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/conversion.js +0 -0
- /package/node_modules/{keytar/node_modules/node-addon-api → node-addon-api}/tools/eslint-format.js +0 -0
|
@@ -1,14 +1,272 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {IsSymbolLiteral} from './is-symbol-literal.d.ts';
|
|
1
|
+
import type {Primitive} from './primitive.d.ts';
|
|
2
|
+
import type {_Numeric} from './numeric.d.ts';
|
|
3
|
+
import type {CollapseLiterals, IfNotAnyOrNever, IsNotFalse, IsPrimitive} from './internal/index.d.ts';
|
|
5
4
|
import type {IsNever} from './is-never.d.ts';
|
|
6
|
-
import type {
|
|
7
|
-
|
|
5
|
+
import type {TagContainer, UnwrapTagged} from './tagged.d.ts';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
Returns a boolean for whether the given type `T` is the specified `LiteralType`.
|
|
9
|
+
|
|
10
|
+
@link https://stackoverflow.com/a/52806744/10292952
|
|
11
|
+
|
|
12
|
+
@example
|
|
13
|
+
```
|
|
14
|
+
type A = LiteralCheck<1, number>;
|
|
15
|
+
//=> true
|
|
16
|
+
|
|
17
|
+
type B = LiteralCheck<number, number>;
|
|
18
|
+
//=> false
|
|
19
|
+
|
|
20
|
+
type C = LiteralCheck<1, string>;
|
|
21
|
+
//=> false
|
|
22
|
+
```
|
|
23
|
+
*/
|
|
24
|
+
type LiteralCheck<T, LiteralType extends Primitive> = (
|
|
25
|
+
IsNever<T> extends false // Must be wider than `never`
|
|
26
|
+
? [T] extends [LiteralType & infer U] // Remove any branding
|
|
27
|
+
? [U] extends [LiteralType] // Must be narrower than `LiteralType`
|
|
28
|
+
? [LiteralType] extends [U] // Cannot be wider than `LiteralType`
|
|
29
|
+
? false
|
|
30
|
+
: true
|
|
31
|
+
: false
|
|
32
|
+
: false
|
|
33
|
+
: false
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
Returns a boolean for whether the given type `T` is one of the specified literal types in `LiteralUnionType`.
|
|
38
|
+
|
|
39
|
+
@example
|
|
40
|
+
```
|
|
41
|
+
type A = LiteralChecks<1, Numeric>;
|
|
42
|
+
//=> true
|
|
43
|
+
|
|
44
|
+
type B = LiteralChecks<1n, Numeric>;
|
|
45
|
+
//=> true
|
|
46
|
+
|
|
47
|
+
type C = LiteralChecks<bigint, Numeric>;
|
|
48
|
+
//=> false
|
|
49
|
+
```
|
|
50
|
+
*/
|
|
51
|
+
type LiteralChecks<T, LiteralUnionType> = (
|
|
52
|
+
// Conditional type to force union distribution.
|
|
53
|
+
// If `T` is none of the literal types in the union `LiteralUnionType`, then `LiteralCheck<T, LiteralType>` will evaluate to `false` for the whole union.
|
|
54
|
+
// If `T` is one of the literal types in the union, it will evaluate to `boolean` (i.e. `true | false`)
|
|
55
|
+
IsNotFalse<LiteralUnionType extends Primitive
|
|
56
|
+
? LiteralCheck<T, LiteralUnionType>
|
|
57
|
+
: never
|
|
58
|
+
>
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
Returns a boolean for whether the given type is a `string` [literal type](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types).
|
|
63
|
+
|
|
64
|
+
Useful for:
|
|
65
|
+
- providing strongly-typed string manipulation functions
|
|
66
|
+
- constraining strings to be a string literal
|
|
67
|
+
- type utilities, such as when constructing parsers and ASTs
|
|
68
|
+
|
|
69
|
+
The implementation of this type is inspired by the trick mentioned in this [StackOverflow answer](https://stackoverflow.com/a/68261113/420747).
|
|
70
|
+
|
|
71
|
+
@example
|
|
72
|
+
```
|
|
73
|
+
import type {IsStringLiteral} from 'type-fest';
|
|
74
|
+
|
|
75
|
+
type CapitalizedString<T extends string> = IsStringLiteral<T> extends true ? Capitalize<T> : string;
|
|
76
|
+
|
|
77
|
+
// https://github.com/yankeeinlondon/native-dash/blob/master/src/capitalize.ts
|
|
78
|
+
function capitalize<T extends Readonly<string>>(input: T): CapitalizedString<T> {
|
|
79
|
+
return (input.slice(0, 1).toUpperCase() + input.slice(1)) as CapitalizedString<T>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
const output = capitalize('hello, world!');
|
|
83
|
+
//=> 'Hello, world!'
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
@example
|
|
87
|
+
```
|
|
88
|
+
// String types with infinite set of possible values return `false`.
|
|
89
|
+
|
|
90
|
+
import type {IsStringLiteral} from 'type-fest';
|
|
91
|
+
|
|
92
|
+
type AllUppercaseStrings = IsStringLiteral<Uppercase<string>>;
|
|
93
|
+
//=> false
|
|
94
|
+
|
|
95
|
+
type StringsStartingWithOn = IsStringLiteral<`on${string}`>;
|
|
96
|
+
//=> false
|
|
97
|
+
|
|
98
|
+
// This behaviour is particularly useful in string manipulation utilities, as infinite string types often require separate handling.
|
|
99
|
+
|
|
100
|
+
type Length<S extends string, Counter extends never[] = []> =
|
|
101
|
+
IsStringLiteral<S> extends false
|
|
102
|
+
? number // return `number` for infinite string types
|
|
103
|
+
: S extends `${string}${infer Tail}`
|
|
104
|
+
? Length<Tail, [...Counter, never]>
|
|
105
|
+
: Counter['length'];
|
|
106
|
+
|
|
107
|
+
type L1 = Length<Lowercase<string>>;
|
|
108
|
+
//=> number
|
|
109
|
+
|
|
110
|
+
type L2 = Length<`${number}`>;
|
|
111
|
+
//=> number
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
@category Type Guard
|
|
115
|
+
@category Utilities
|
|
116
|
+
*/
|
|
117
|
+
export type IsStringLiteral<S> = IfNotAnyOrNever<S, {
|
|
118
|
+
ifNot: _IsStringLiteral<CollapseLiterals<S extends TagContainer<any> ? UnwrapTagged<S> : S>>;
|
|
119
|
+
ifAny: false;
|
|
120
|
+
ifNever: false;
|
|
121
|
+
}>;
|
|
122
|
+
|
|
123
|
+
export type _IsStringLiteral<S> =
|
|
124
|
+
// If `T` is an infinite string type (e.g., `on${string}`), `Record<T, never>` produces an index signature,
|
|
125
|
+
// and since `{}` extends index signatures, the result becomes `false`.
|
|
126
|
+
S extends string
|
|
127
|
+
? {} extends Record<S, never>
|
|
128
|
+
? false
|
|
129
|
+
: true
|
|
130
|
+
: false;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
Returns a boolean for whether the given type is a `number` or `bigint` [literal type](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types).
|
|
134
|
+
|
|
135
|
+
Useful for:
|
|
136
|
+
- providing strongly-typed functions when given literal arguments
|
|
137
|
+
- type utilities, such as when constructing parsers and ASTs
|
|
138
|
+
|
|
139
|
+
@example
|
|
140
|
+
```
|
|
141
|
+
import type {IsNumericLiteral, IsStringLiteral} from 'type-fest';
|
|
142
|
+
|
|
143
|
+
// https://github.com/inocan-group/inferred-types/blob/master/modules/types/src/boolean-logic/operators/EndsWith.ts
|
|
144
|
+
type EndsWith<TValue, TEndsWith extends string> =
|
|
145
|
+
TValue extends string
|
|
146
|
+
? IsStringLiteral<TEndsWith> extends true
|
|
147
|
+
? IsStringLiteral<TValue> extends true
|
|
148
|
+
? TValue extends `${string}${TEndsWith}`
|
|
149
|
+
? true
|
|
150
|
+
: false
|
|
151
|
+
: boolean
|
|
152
|
+
: boolean
|
|
153
|
+
: TValue extends number
|
|
154
|
+
? IsNumericLiteral<TValue> extends true
|
|
155
|
+
? EndsWith<`${TValue}`, TEndsWith>
|
|
156
|
+
: false
|
|
157
|
+
: false;
|
|
158
|
+
|
|
159
|
+
function endsWith<Input extends string | number, End extends string>(input: Input, end: End) {
|
|
160
|
+
return `${input}`.endsWith(end) as EndsWith<Input, End>;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
endsWith('abc', 'c');
|
|
164
|
+
//=> true
|
|
165
|
+
|
|
166
|
+
endsWith(123_456, '456');
|
|
167
|
+
//=> true
|
|
168
|
+
|
|
169
|
+
const end = '123' as string;
|
|
170
|
+
|
|
171
|
+
endsWith('abc123', end);
|
|
172
|
+
//=> boolean
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
@category Type Guard
|
|
176
|
+
@category Utilities
|
|
177
|
+
*/
|
|
178
|
+
export type IsNumericLiteral<T> = LiteralChecks<T, _Numeric>;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
Returns a boolean for whether the given type is a `true` or `false` [literal type](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types).
|
|
182
|
+
|
|
183
|
+
Useful for:
|
|
184
|
+
- providing strongly-typed functions when given literal arguments
|
|
185
|
+
- type utilities, such as when constructing parsers and ASTs
|
|
186
|
+
|
|
187
|
+
@example
|
|
188
|
+
```
|
|
189
|
+
import type {IsBooleanLiteral} from 'type-fest';
|
|
190
|
+
|
|
191
|
+
const id = 123;
|
|
192
|
+
|
|
193
|
+
type GetId<AsString extends boolean> =
|
|
194
|
+
IsBooleanLiteral<AsString> extends true
|
|
195
|
+
? AsString extends true
|
|
196
|
+
? `${typeof id}`
|
|
197
|
+
: typeof id
|
|
198
|
+
: number | string;
|
|
199
|
+
|
|
200
|
+
function getId<AsString extends boolean = false>(options?: {asString: AsString}) {
|
|
201
|
+
return (options?.asString ? `${id}` : id) as GetId<AsString>;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
const numberId = getId();
|
|
205
|
+
//=> 123
|
|
206
|
+
|
|
207
|
+
const stringId = getId({asString: true});
|
|
208
|
+
//=> '123'
|
|
209
|
+
|
|
210
|
+
declare const runtimeBoolean: boolean;
|
|
211
|
+
const eitherId = getId({asString: runtimeBoolean});
|
|
212
|
+
//=> string | number
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
@category Type Guard
|
|
216
|
+
@category Utilities
|
|
217
|
+
*/
|
|
218
|
+
export type IsBooleanLiteral<T> = LiteralCheck<T, boolean>;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
Returns a boolean for whether the given type is a `symbol` [literal type](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types).
|
|
222
|
+
|
|
223
|
+
Useful for:
|
|
224
|
+
- providing strongly-typed functions when given literal arguments
|
|
225
|
+
- type utilities, such as when constructing parsers and ASTs
|
|
226
|
+
|
|
227
|
+
@example
|
|
228
|
+
```
|
|
229
|
+
import type {IsSymbolLiteral} from 'type-fest';
|
|
230
|
+
|
|
231
|
+
type Get<Object_ extends Record<symbol, number>, Key extends keyof Object_> =
|
|
232
|
+
IsSymbolLiteral<Key> extends true
|
|
233
|
+
? Object_[Key]
|
|
234
|
+
: number;
|
|
235
|
+
|
|
236
|
+
function get<Object_ extends Record<symbol, number>, Key extends keyof Object_>(o: Object_, key: Key) {
|
|
237
|
+
return o[key] as Get<Object_, Key>;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
const symbolLiteral = Symbol('literal');
|
|
241
|
+
let symbolValue = Symbol('value1');
|
|
242
|
+
symbolValue = Symbol('value2');
|
|
243
|
+
|
|
244
|
+
get({[symbolLiteral]: 1} as const, symbolLiteral);
|
|
245
|
+
//=> 1
|
|
246
|
+
|
|
247
|
+
get({[symbolValue]: 1} as const, symbolValue);
|
|
248
|
+
//=> number
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
@category Type Guard
|
|
252
|
+
@category Utilities
|
|
253
|
+
*/
|
|
254
|
+
export type IsSymbolLiteral<T> = LiteralCheck<T, symbol>;
|
|
255
|
+
|
|
256
|
+
/** Helper type for `IsLiteral`. */
|
|
257
|
+
type IsLiteralUnion<T> =
|
|
258
|
+
| IsStringLiteral<T>
|
|
259
|
+
| IsNumericLiteral<T>
|
|
260
|
+
| IsBooleanLiteral<T>
|
|
261
|
+
| IsSymbolLiteral<T>;
|
|
8
262
|
|
|
9
263
|
/**
|
|
10
264
|
Returns a boolean for whether the given type is a [literal type](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types).
|
|
11
265
|
|
|
266
|
+
Useful for:
|
|
267
|
+
- providing strongly-typed functions when given literal arguments
|
|
268
|
+
- type utilities, such as when constructing parsers and ASTs
|
|
269
|
+
|
|
12
270
|
@example
|
|
13
271
|
```
|
|
14
272
|
import type {IsLiteral} from 'type-fest';
|
|
@@ -44,48 +302,16 @@ type I = IsLiteral<symbol>;
|
|
|
44
302
|
type J = IsLiteral<true>;
|
|
45
303
|
//=> true
|
|
46
304
|
|
|
47
|
-
type K = IsLiteral<
|
|
48
|
-
//=> true
|
|
49
|
-
|
|
50
|
-
type L = IsLiteral<boolean>;
|
|
305
|
+
type K = IsLiteral<boolean>;
|
|
51
306
|
//=> false
|
|
52
|
-
|
|
53
|
-
type M = IsLiteral<1 | 'foo' | false>;
|
|
54
|
-
//=> true
|
|
55
|
-
|
|
56
|
-
type N = IsLiteral<string | number | symbol>;
|
|
57
|
-
//=> false
|
|
58
|
-
|
|
59
|
-
type O = IsLiteral<1000n | string | true>;
|
|
60
|
-
//=> boolean
|
|
61
307
|
```
|
|
62
308
|
|
|
63
309
|
@category Type Guard
|
|
64
310
|
@category Utilities
|
|
65
311
|
*/
|
|
66
|
-
export type IsLiteral<T> =
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}>;
|
|
71
|
-
|
|
72
|
-
type _IsLiteral<T> =
|
|
73
|
-
| (Extract<T, boolean> extends infer Bools
|
|
74
|
-
// We can't instantiate `IsBooleanLiteral` with `never`,
|
|
75
|
-
// because that will add an extraneous `false` to the result if there are no booleans.
|
|
76
|
-
? IsNever<Bools> extends true
|
|
77
|
-
? never
|
|
78
|
-
: IsBooleanLiteral<Bools>
|
|
79
|
-
: never)
|
|
80
|
-
| (IsLiteralNonBools<Exclude<T, boolean>>);
|
|
81
|
-
|
|
82
|
-
type IsLiteralNonBools<T> =
|
|
83
|
-
T extends number | bigint
|
|
84
|
-
? IsNumericLiteral<T>
|
|
85
|
-
: T extends string
|
|
86
|
-
? IsStringLiteral<T>
|
|
87
|
-
: T extends symbol
|
|
88
|
-
? IsSymbolLiteral<T>
|
|
89
|
-
: false;
|
|
312
|
+
export type IsLiteral<T> =
|
|
313
|
+
IsPrimitive<T> extends true
|
|
314
|
+
? IsNotFalse<IsLiteralUnion<T>>
|
|
315
|
+
: false;
|
|
90
316
|
|
|
91
317
|
export {};
|
|
@@ -25,11 +25,15 @@ type JsonifyList<T extends UnknownArray> = T extends readonly []
|
|
|
25
25
|
? JsonValue[]
|
|
26
26
|
: Array<T[number] extends NotJsonable ? null : Jsonify<UndefinedToNull<T[number]>>>;
|
|
27
27
|
|
|
28
|
+
type FilterJsonableKeys<T extends object> = {
|
|
29
|
+
[Key in keyof T]: T[Key] extends NotJsonable ? never : Key;
|
|
30
|
+
}[keyof T];
|
|
31
|
+
|
|
28
32
|
/**
|
|
29
33
|
JSON serialize objects (not including arrays) and classes.
|
|
30
34
|
*/
|
|
31
35
|
type JsonifyObject<T extends object> = {
|
|
32
|
-
[Key in keyof T
|
|
36
|
+
[Key in keyof Pick<T, FilterJsonableKeys<T>>]: Jsonify<T[Key]>;
|
|
33
37
|
};
|
|
34
38
|
|
|
35
39
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type {ApplyDefaultOptions} from './internal/object.d.ts';
|
|
2
2
|
import type {IfNotAnyOrNever, Not} from './internal/type.d.ts';
|
|
3
|
-
import type {IsStringLiteral} from './is-
|
|
3
|
+
import type {IsStringLiteral} from './is-literal.d.ts';
|
|
4
4
|
import type {IsNever} from './is-never.d.ts';
|
|
5
5
|
import type {Or} from './or.d.ts';
|
|
6
6
|
import type {If} from './if.d.ts';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type {ApplyDefaultOptions} from './internal/object.d.ts';
|
|
2
2
|
import type {IfNotAnyOrNever, Not} from './internal/type.d.ts';
|
|
3
|
-
import type {IsStringLiteral} from './is-
|
|
3
|
+
import type {IsStringLiteral} from './is-literal.d.ts';
|
|
4
4
|
import type {IsNever} from './is-never.d.ts';
|
|
5
5
|
import type {Or} from './or.d.ts';
|
|
6
6
|
import type {If} from './if.d.ts';
|
|
@@ -106,12 +106,11 @@ export type SharedUnionFieldsDeep<Union, Options extends SharedUnionFieldsDeepOp
|
|
|
106
106
|
Same as `SharedUnionFieldsDeep`, but accepts only `object`s and as inputs. Internal helper for `SharedUnionFieldsDeep`.
|
|
107
107
|
*/
|
|
108
108
|
type SharedObjectUnionFieldsDeep<Union, Options extends Required<SharedUnionFieldsDeepOptions>> =
|
|
109
|
-
//
|
|
110
|
-
|
|
111
|
-
keyof Union extends infer Keys extends keyof Union
|
|
109
|
+
// `keyof Union` can extract the same key in union type, if there is no same key, return never.
|
|
110
|
+
keyof Union extends infer Keys
|
|
112
111
|
? IsNever<Keys> extends false
|
|
113
112
|
? {
|
|
114
|
-
[Key in
|
|
113
|
+
[Key in keyof Union]:
|
|
115
114
|
Union[Key] extends NonRecursiveType
|
|
116
115
|
? Union[Key]
|
|
117
116
|
// Remove `undefined` from the union to support optional
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type {And} from './and.d.ts';
|
|
2
2
|
import type {ApplyDefaultOptions, Not} from './internal/index.d.ts';
|
|
3
|
-
import type {IsStringLiteral} from './is-
|
|
3
|
+
import type {IsStringLiteral} from './is-literal.d.ts';
|
|
4
4
|
import type {Or} from './or.d.ts';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type {ApplyDefaultOptions} from './internal/object.d.ts';
|
|
2
2
|
import type {IfNotAnyOrNever} from './internal/type.d.ts';
|
|
3
|
-
import type {IsStringLiteral} from './is-
|
|
3
|
+
import type {IsStringLiteral} from './is-literal.d.ts';
|
|
4
4
|
import type {Or} from './or.d.ts';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1266,7 +1266,7 @@ export namespace TsConfigJson {
|
|
|
1266
1266
|
exclude?: string[];
|
|
1267
1267
|
|
|
1268
1268
|
/**
|
|
1269
|
-
Disable
|
|
1269
|
+
Disable infering what types should be added based on filenames in a project.
|
|
1270
1270
|
*/
|
|
1271
1271
|
disableFilenameBasedTypeAcquisition?: boolean;
|
|
1272
1272
|
};
|
|
@@ -61,8 +61,8 @@ export type Writable<BaseType, Keys extends keyof BaseType = keyof BaseType> =
|
|
|
61
61
|
: Simplify<
|
|
62
62
|
// Pick just the keys that are not writable from the base type.
|
|
63
63
|
Except<BaseType, Keys>
|
|
64
|
-
//
|
|
65
|
-
& {-readonly [KeyType in keyof BaseType
|
|
64
|
+
// Pick the keys that should be writable from the base type and make them writable by removing the `readonly` modifier from the key.
|
|
65
|
+
& {-readonly [KeyType in keyof Pick<BaseType, Keys>]: Pick<BaseType, Keys>[KeyType]}
|
|
66
66
|
>;
|
|
67
67
|
|
|
68
68
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantiya/codevibe-claude-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.29",
|
|
4
4
|
"description": "Control Claude Code from your iPhone and Android — real-time sync, approve file edits, send prompts by voice. Part of CodeVibe.",
|
|
5
5
|
"main": "dist/server.js",
|
|
6
6
|
"codevibe": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"node": ">=22.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@quantiya/codevibe-core": "^2.0.
|
|
51
|
+
"@quantiya/codevibe-core": "^2.0.25",
|
|
52
52
|
"@quantiya/quorum-core": "^1.0.1",
|
|
53
53
|
"dotenv": "^16.6.1",
|
|
54
54
|
"express": "^5.1.0",
|
package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/direct-file-delete.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface DirectFileDeleteRequest {
|
|
2
|
-
paths: string[];
|
|
3
|
-
}
|
|
4
|
-
export interface DirectFileDeleteResult {
|
|
5
|
-
deleted: string[];
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Recognize only a closed, deterministic delete request. Anything ambiguous
|
|
9
|
-
* remains on the ordinary planner/implementor path.
|
|
10
|
-
*
|
|
11
|
-
* Supported examples:
|
|
12
|
-
* Delete only a.txt.
|
|
13
|
-
* Please delete only `a file.txt` and `b.txt`.
|
|
14
|
-
* Delete only a.txt. Do not create, modify, or delete any other file.
|
|
15
|
-
*/
|
|
16
|
-
export declare function parseDirectFileDeleteRequest(text: string): DirectFileDeleteRequest | null;
|
|
17
|
-
/**
|
|
18
|
-
* Delete only the explicitly named regular files. All targets are validated
|
|
19
|
-
* before the first mutation; each unlink is bound to the captured parent and
|
|
20
|
-
* file incarnation and directory-fsynced by the anchored helper.
|
|
21
|
-
*/
|
|
22
|
-
export declare function executeDirectFileDelete(cwd: string, request: DirectFileDeleteRequest): Promise<DirectFileDeleteResult>;
|