@mondaydotcomorg/atp-compiler 0.19.3 → 0.19.5
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/dist/index.d.ts.map +1 -0
- package/dist/index.js.map +1 -0
- package/dist/plugin-system/create-default-compiler.d.ts.map +1 -0
- package/dist/plugin-system/create-default-compiler.js.map +1 -0
- package/dist/plugin-system/default-plugins/array-transformer-plugin.d.ts.map +1 -0
- package/dist/plugin-system/default-plugins/array-transformer-plugin.js.map +1 -0
- package/dist/plugin-system/default-plugins/detection-plugin.d.ts.map +1 -0
- package/dist/plugin-system/default-plugins/detection-plugin.js.map +1 -0
- package/dist/plugin-system/default-plugins/index.d.ts.map +1 -0
- package/dist/plugin-system/default-plugins/index.js.map +1 -0
- package/dist/plugin-system/default-plugins/loop-transformer-plugin.d.ts.map +1 -0
- package/dist/plugin-system/default-plugins/loop-transformer-plugin.js.map +1 -0
- package/dist/plugin-system/default-plugins/promise-transformer-plugin.d.ts.map +1 -0
- package/dist/plugin-system/default-plugins/promise-transformer-plugin.js.map +1 -0
- package/dist/plugin-system/examples/loop-transformer-plugin.d.ts.map +1 -0
- package/dist/plugin-system/examples/loop-transformer-plugin.js.map +1 -0
- package/dist/plugin-system/examples/security-validator-plugin.d.ts.map +1 -0
- package/dist/plugin-system/examples/security-validator-plugin.js.map +1 -0
- package/dist/plugin-system/examples/timeout-plugin.d.ts.map +1 -0
- package/dist/plugin-system/examples/timeout-plugin.js.map +1 -0
- package/dist/plugin-system/index.d.ts.map +1 -0
- package/dist/plugin-system/index.js.map +1 -0
- package/dist/plugin-system/pluggable-compiler.d.ts.map +1 -0
- package/dist/plugin-system/pluggable-compiler.js.map +1 -0
- package/dist/plugin-system/plugin-api.d.ts.map +1 -0
- package/dist/plugin-system/plugin-api.js.map +1 -0
- package/dist/runtime/batch-parallel.d.ts.map +1 -0
- package/dist/runtime/batch-parallel.js.map +1 -0
- package/dist/runtime/checkpoint-manager.d.ts.map +1 -0
- package/dist/runtime/checkpoint-manager.js.map +1 -0
- package/dist/runtime/context.d.ts.map +1 -0
- package/dist/runtime/context.js.map +1 -0
- package/dist/runtime/errors.d.ts.map +1 -0
- package/dist/runtime/errors.js.map +1 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/resumable-arrays.d.ts.map +1 -0
- package/dist/runtime/resumable-arrays.js.map +1 -0
- package/dist/runtime/resumable-loops.d.ts.map +1 -0
- package/dist/runtime/resumable-loops.js.map +1 -0
- package/dist/runtime/resumable-parallel.d.ts.map +1 -0
- package/dist/runtime/resumable-parallel.js.map +1 -0
- package/dist/transformer/array-transformer-batch.d.ts.map +1 -0
- package/dist/transformer/array-transformer-batch.js.map +1 -0
- package/dist/transformer/array-transformer-sequential.d.ts.map +1 -0
- package/dist/transformer/array-transformer-sequential.js.map +1 -0
- package/dist/transformer/array-transformer-utils.d.ts.map +1 -0
- package/dist/transformer/array-transformer-utils.js.map +1 -0
- package/dist/transformer/array-transformer-wrappers.d.ts.map +1 -0
- package/dist/transformer/array-transformer-wrappers.js.map +1 -0
- package/dist/transformer/array-transformer.d.ts.map +1 -0
- package/dist/transformer/array-transformer.js.map +1 -0
- package/dist/transformer/batch-detector.d.ts.map +1 -0
- package/dist/transformer/batch-detector.js.map +1 -0
- package/dist/transformer/batch-optimizer.d.ts.map +1 -0
- package/dist/transformer/batch-optimizer.js.map +1 -0
- package/dist/transformer/detector.d.ts.map +1 -0
- package/dist/transformer/detector.js.map +1 -0
- package/dist/transformer/index.d.ts.map +1 -0
- package/dist/transformer/index.js.map +1 -0
- package/dist/transformer/loop-transformer.d.ts.map +1 -0
- package/dist/transformer/loop-transformer.js.map +1 -0
- package/dist/transformer/promise-transformer.d.ts.map +1 -0
- package/dist/transformer/promise-transformer.js.map +1 -0
- package/dist/transformer/utils.d.ts.map +1 -0
- package/dist/transformer/utils.js.map +1 -0
- package/dist/types/compiler-interface.d.ts.map +1 -0
- package/dist/types/compiler-interface.js.map +1 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js.map +1 -0
- package/package.json +5 -5
- package/tsconfig.json +10 -3
- package/tsconfig.tsbuildinfo +1 -0
- package/dist/atp-compiler/src/index.d.ts.map +0 -1
- package/dist/atp-compiler/src/index.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/create-default-compiler.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/create-default-compiler.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/array-transformer-plugin.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/array-transformer-plugin.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/detection-plugin.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/detection-plugin.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/index.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/index.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/loop-transformer-plugin.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/loop-transformer-plugin.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/promise-transformer-plugin.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/default-plugins/promise-transformer-plugin.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/examples/loop-transformer-plugin.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/examples/loop-transformer-plugin.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/examples/security-validator-plugin.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/examples/security-validator-plugin.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/examples/timeout-plugin.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/examples/timeout-plugin.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/index.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/index.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/pluggable-compiler.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/pluggable-compiler.js.map +0 -1
- package/dist/atp-compiler/src/plugin-system/plugin-api.d.ts.map +0 -1
- package/dist/atp-compiler/src/plugin-system/plugin-api.js.map +0 -1
- package/dist/atp-compiler/src/runtime/batch-parallel.d.ts.map +0 -1
- package/dist/atp-compiler/src/runtime/batch-parallel.js.map +0 -1
- package/dist/atp-compiler/src/runtime/checkpoint-manager.d.ts.map +0 -1
- package/dist/atp-compiler/src/runtime/checkpoint-manager.js.map +0 -1
- package/dist/atp-compiler/src/runtime/context.d.ts.map +0 -1
- package/dist/atp-compiler/src/runtime/context.js.map +0 -1
- package/dist/atp-compiler/src/runtime/errors.d.ts.map +0 -1
- package/dist/atp-compiler/src/runtime/errors.js.map +0 -1
- package/dist/atp-compiler/src/runtime/index.d.ts.map +0 -1
- package/dist/atp-compiler/src/runtime/index.js.map +0 -1
- package/dist/atp-compiler/src/runtime/resumable-arrays.d.ts.map +0 -1
- package/dist/atp-compiler/src/runtime/resumable-arrays.js.map +0 -1
- package/dist/atp-compiler/src/runtime/resumable-loops.d.ts.map +0 -1
- package/dist/atp-compiler/src/runtime/resumable-loops.js.map +0 -1
- package/dist/atp-compiler/src/runtime/resumable-parallel.d.ts.map +0 -1
- package/dist/atp-compiler/src/runtime/resumable-parallel.js.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer-batch.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer-batch.js.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer-sequential.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer-sequential.js.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer-utils.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer-utils.js.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer-wrappers.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer-wrappers.js.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/array-transformer.js.map +0 -1
- package/dist/atp-compiler/src/transformer/batch-detector.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/batch-detector.js.map +0 -1
- package/dist/atp-compiler/src/transformer/batch-optimizer.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/batch-optimizer.js.map +0 -1
- package/dist/atp-compiler/src/transformer/detector.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/detector.js.map +0 -1
- package/dist/atp-compiler/src/transformer/index.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/index.js.map +0 -1
- package/dist/atp-compiler/src/transformer/loop-transformer.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/loop-transformer.js.map +0 -1
- package/dist/atp-compiler/src/transformer/promise-transformer.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/promise-transformer.js.map +0 -1
- package/dist/atp-compiler/src/transformer/utils.d.ts.map +0 -1
- package/dist/atp-compiler/src/transformer/utils.js.map +0 -1
- package/dist/atp-compiler/src/types/compiler-interface.d.ts.map +0 -1
- package/dist/atp-compiler/src/types/compiler-interface.js.map +0 -1
- package/dist/atp-compiler/src/types.d.ts.map +0 -1
- package/dist/atp-compiler/src/types.js.map +0 -1
- package/dist/protocol/src/auth.d.ts +0 -173
- package/dist/protocol/src/auth.d.ts.map +0 -1
- package/dist/protocol/src/auth.js +0 -202
- package/dist/protocol/src/auth.js.map +0 -1
- package/dist/protocol/src/index.d.ts +0 -7
- package/dist/protocol/src/index.d.ts.map +0 -1
- package/dist/protocol/src/index.js +0 -7
- package/dist/protocol/src/index.js.map +0 -1
- package/dist/protocol/src/oauth.d.ts +0 -63
- package/dist/protocol/src/oauth.d.ts.map +0 -1
- package/dist/protocol/src/oauth.js +0 -5
- package/dist/protocol/src/oauth.js.map +0 -1
- package/dist/protocol/src/providers.d.ts +0 -167
- package/dist/protocol/src/providers.d.ts.map +0 -1
- package/dist/protocol/src/providers.js +0 -33
- package/dist/protocol/src/providers.js.map +0 -1
- package/dist/protocol/src/schemas.d.ts +0 -6
- package/dist/protocol/src/schemas.d.ts.map +0 -1
- package/dist/protocol/src/schemas.js +0 -51
- package/dist/protocol/src/schemas.js.map +0 -1
- package/dist/protocol/src/types.d.ts +0 -514
- package/dist/protocol/src/types.d.ts.map +0 -1
- package/dist/protocol/src/types.js +0 -88
- package/dist/protocol/src/types.js.map +0 -1
- package/dist/protocol/src/validation.d.ts +0 -76
- package/dist/protocol/src/validation.d.ts.map +0 -1
- package/dist/protocol/src/validation.js +0 -129
- package/dist/protocol/src/validation.js.map +0 -1
- package/dist/provenance/src/ast/instrumentor.d.ts +0 -37
- package/dist/provenance/src/ast/instrumentor.d.ts.map +0 -1
- package/dist/provenance/src/ast/instrumentor.js +0 -299
- package/dist/provenance/src/ast/instrumentor.js.map +0 -1
- package/dist/provenance/src/index.d.ts +0 -12
- package/dist/provenance/src/index.d.ts.map +0 -1
- package/dist/provenance/src/index.js +0 -12
- package/dist/provenance/src/index.js.map +0 -1
- package/dist/provenance/src/policies/builder.d.ts +0 -36
- package/dist/provenance/src/policies/builder.d.ts.map +0 -1
- package/dist/provenance/src/policies/builder.js +0 -77
- package/dist/provenance/src/policies/builder.js.map +0 -1
- package/dist/provenance/src/policies/declarative.d.ts +0 -47
- package/dist/provenance/src/policies/declarative.d.ts.map +0 -1
- package/dist/provenance/src/policies/declarative.js +0 -170
- package/dist/provenance/src/policies/declarative.js.map +0 -1
- package/dist/provenance/src/policies/dynamic.d.ts +0 -39
- package/dist/provenance/src/policies/dynamic.d.ts.map +0 -1
- package/dist/provenance/src/policies/dynamic.js +0 -75
- package/dist/provenance/src/policies/dynamic.js.map +0 -1
- package/dist/provenance/src/policies/engine.d.ts +0 -71
- package/dist/provenance/src/policies/engine.d.ts.map +0 -1
- package/dist/provenance/src/policies/engine.js +0 -433
- package/dist/provenance/src/policies/engine.js.map +0 -1
- package/dist/provenance/src/policies/schema.d.ts +0 -270
- package/dist/provenance/src/policies/schema.d.ts.map +0 -1
- package/dist/provenance/src/policies/schema.js +0 -42
- package/dist/provenance/src/policies/schema.js.map +0 -1
- package/dist/provenance/src/registry.d.ts +0 -109
- package/dist/provenance/src/registry.d.ts.map +0 -1
- package/dist/provenance/src/registry.js +0 -518
- package/dist/provenance/src/registry.js.map +0 -1
- package/dist/provenance/src/store.d.ts +0 -53
- package/dist/provenance/src/store.d.ts.map +0 -1
- package/dist/provenance/src/store.js +0 -78
- package/dist/provenance/src/store.js.map +0 -1
- package/dist/provenance/src/tokens.d.ts +0 -49
- package/dist/provenance/src/tokens.d.ts.map +0 -1
- package/dist/provenance/src/tokens.js +0 -239
- package/dist/provenance/src/tokens.js.map +0 -1
- package/dist/provenance/src/types.d.ts +0 -150
- package/dist/provenance/src/types.d.ts.map +0 -1
- package/dist/provenance/src/types.js +0 -47
- package/dist/provenance/src/types.js.map +0 -1
- package/dist/runtime/src/approval/handler.d.ts +0 -12
- package/dist/runtime/src/approval/handler.d.ts.map +0 -1
- package/dist/runtime/src/approval/handler.js +0 -17
- package/dist/runtime/src/approval/handler.js.map +0 -1
- package/dist/runtime/src/approval/index.d.ts +0 -17
- package/dist/runtime/src/approval/index.d.ts.map +0 -1
- package/dist/runtime/src/approval/index.js +0 -95
- package/dist/runtime/src/approval/index.js.map +0 -1
- package/dist/runtime/src/approval/types.d.ts +0 -21
- package/dist/runtime/src/approval/types.d.ts.map +0 -1
- package/dist/runtime/src/approval/types.js +0 -5
- package/dist/runtime/src/approval/types.js.map +0 -1
- package/dist/runtime/src/cache/backends.d.ts +0 -39
- package/dist/runtime/src/cache/backends.d.ts.map +0 -1
- package/dist/runtime/src/cache/backends.js +0 -167
- package/dist/runtime/src/cache/backends.js.map +0 -1
- package/dist/runtime/src/cache/index.d.ts +0 -32
- package/dist/runtime/src/cache/index.d.ts.map +0 -1
- package/dist/runtime/src/cache/index.js +0 -103
- package/dist/runtime/src/cache/index.js.map +0 -1
- package/dist/runtime/src/cache/types.d.ts +0 -20
- package/dist/runtime/src/cache/types.d.ts.map +0 -1
- package/dist/runtime/src/cache/types.js +0 -2
- package/dist/runtime/src/cache/types.js.map +0 -1
- package/dist/runtime/src/embedding/index.d.ts +0 -39
- package/dist/runtime/src/embedding/index.d.ts.map +0 -1
- package/dist/runtime/src/embedding/index.js +0 -162
- package/dist/runtime/src/embedding/index.js.map +0 -1
- package/dist/runtime/src/embedding/types.d.ts +0 -28
- package/dist/runtime/src/embedding/types.d.ts.map +0 -1
- package/dist/runtime/src/embedding/types.js +0 -5
- package/dist/runtime/src/embedding/types.js.map +0 -1
- package/dist/runtime/src/embedding/utils.d.ts +0 -11
- package/dist/runtime/src/embedding/utils.d.ts.map +0 -1
- package/dist/runtime/src/embedding/utils.js +0 -30
- package/dist/runtime/src/embedding/utils.js.map +0 -1
- package/dist/runtime/src/embedding/vector-store.d.ts +0 -64
- package/dist/runtime/src/embedding/vector-store.d.ts.map +0 -1
- package/dist/runtime/src/embedding/vector-store.js +0 -142
- package/dist/runtime/src/embedding/vector-store.js.map +0 -1
- package/dist/runtime/src/index.d.ts +0 -18
- package/dist/runtime/src/index.d.ts.map +0 -1
- package/dist/runtime/src/index.js +0 -17
- package/dist/runtime/src/index.js.map +0 -1
- package/dist/runtime/src/llm/callback.d.ts +0 -13
- package/dist/runtime/src/llm/callback.d.ts.map +0 -1
- package/dist/runtime/src/llm/callback.js +0 -19
- package/dist/runtime/src/llm/callback.js.map +0 -1
- package/dist/runtime/src/llm/index.d.ts +0 -29
- package/dist/runtime/src/llm/index.d.ts.map +0 -1
- package/dist/runtime/src/llm/index.js +0 -118
- package/dist/runtime/src/llm/index.js.map +0 -1
- package/dist/runtime/src/llm/replay.d.ts +0 -122
- package/dist/runtime/src/llm/replay.d.ts.map +0 -1
- package/dist/runtime/src/llm/replay.js +0 -308
- package/dist/runtime/src/llm/replay.js.map +0 -1
- package/dist/runtime/src/llm/types.d.ts +0 -24
- package/dist/runtime/src/llm/types.d.ts.map +0 -1
- package/dist/runtime/src/llm/types.js +0 -2
- package/dist/runtime/src/llm/types.js.map +0 -1
- package/dist/runtime/src/log/index.d.ts +0 -12
- package/dist/runtime/src/log/index.d.ts.map +0 -1
- package/dist/runtime/src/log/index.js +0 -166
- package/dist/runtime/src/log/index.js.map +0 -1
- package/dist/runtime/src/log/types.d.ts +0 -19
- package/dist/runtime/src/log/types.d.ts.map +0 -1
- package/dist/runtime/src/log/types.js +0 -5
- package/dist/runtime/src/log/types.js.map +0 -1
- package/dist/runtime/src/metadata/decorators.d.ts +0 -27
- package/dist/runtime/src/metadata/decorators.d.ts.map +0 -1
- package/dist/runtime/src/metadata/decorators.js +0 -38
- package/dist/runtime/src/metadata/decorators.js.map +0 -1
- package/dist/runtime/src/metadata/generated.d.ts +0 -22
- package/dist/runtime/src/metadata/generated.d.ts.map +0 -1
- package/dist/runtime/src/metadata/generated.js +0 -290
- package/dist/runtime/src/metadata/generated.js.map +0 -1
- package/dist/runtime/src/metadata/index.d.ts +0 -24
- package/dist/runtime/src/metadata/index.d.ts.map +0 -1
- package/dist/runtime/src/metadata/index.js +0 -87
- package/dist/runtime/src/metadata/index.js.map +0 -1
- package/dist/runtime/src/metadata/types.d.ts +0 -23
- package/dist/runtime/src/metadata/types.d.ts.map +0 -1
- package/dist/runtime/src/metadata/types.js +0 -6
- package/dist/runtime/src/metadata/types.js.map +0 -1
- package/dist/runtime/src/pause/index.d.ts +0 -11
- package/dist/runtime/src/pause/index.d.ts.map +0 -1
- package/dist/runtime/src/pause/index.js +0 -15
- package/dist/runtime/src/pause/index.js.map +0 -1
- package/dist/runtime/src/pause/types.d.ts +0 -46
- package/dist/runtime/src/pause/types.d.ts.map +0 -1
- package/dist/runtime/src/pause/types.js +0 -57
- package/dist/runtime/src/pause/types.js.map +0 -1
- package/dist/runtime/src/progress/index.d.ts +0 -19
- package/dist/runtime/src/progress/index.d.ts.map +0 -1
- package/dist/runtime/src/progress/index.js +0 -61
- package/dist/runtime/src/progress/index.js.map +0 -1
- package/dist/runtime/src/progress/types.d.ts +0 -7
- package/dist/runtime/src/progress/types.d.ts.map +0 -1
- package/dist/runtime/src/progress/types.js +0 -2
- package/dist/runtime/src/progress/types.js.map +0 -1
- package/dist/runtime/src/registry.d.ts +0 -16
- package/dist/runtime/src/registry.d.ts.map +0 -1
- package/dist/runtime/src/registry.js +0 -16
- package/dist/runtime/src/registry.js.map +0 -1
- package/dist/runtime/src/utils.d.ts +0 -11
- package/dist/runtime/src/utils.d.ts.map +0 -1
- package/dist/runtime/src/utils.js +0 -31
- package/dist/runtime/src/utils.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- /package/dist/{atp-compiler/src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{atp-compiler/src/index.js → index.js} +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/create-default-compiler.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/create-default-compiler.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/array-transformer-plugin.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/array-transformer-plugin.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/detection-plugin.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/detection-plugin.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/index.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/index.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/loop-transformer-plugin.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/loop-transformer-plugin.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/promise-transformer-plugin.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/default-plugins/promise-transformer-plugin.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/examples/loop-transformer-plugin.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/examples/loop-transformer-plugin.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/examples/security-validator-plugin.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/examples/security-validator-plugin.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/examples/timeout-plugin.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/examples/timeout-plugin.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/index.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/index.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/pluggable-compiler.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/pluggable-compiler.js +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/plugin-api.d.ts +0 -0
- /package/dist/{atp-compiler/src/plugin-system → plugin-system}/plugin-api.js +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/batch-parallel.d.ts +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/batch-parallel.js +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/checkpoint-manager.d.ts +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/checkpoint-manager.js +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/context.d.ts +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/context.js +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/errors.d.ts +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/errors.js +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/index.d.ts +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/index.js +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/resumable-arrays.d.ts +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/resumable-arrays.js +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/resumable-loops.d.ts +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/resumable-loops.js +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/resumable-parallel.d.ts +0 -0
- /package/dist/{atp-compiler/src/runtime → runtime}/resumable-parallel.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer-batch.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer-batch.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer-sequential.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer-sequential.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer-utils.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer-utils.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer-wrappers.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer-wrappers.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/array-transformer.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/batch-detector.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/batch-detector.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/batch-optimizer.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/batch-optimizer.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/detector.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/detector.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/index.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/index.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/loop-transformer.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/loop-transformer.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/promise-transformer.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/promise-transformer.js +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/utils.d.ts +0 -0
- /package/dist/{atp-compiler/src/transformer → transformer}/utils.js +0 -0
- /package/dist/{atp-compiler/src/types → types}/compiler-interface.d.ts +0 -0
- /package/dist/{atp-compiler/src/types → types}/compiler-interface.js +0 -0
- /package/dist/{atp-compiler/src/types.d.ts → types.d.ts} +0 -0
- /package/dist/{atp-compiler/src/types.js → types.js} +0 -0
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const OperatorSchema: z.ZodEnum<["equals", "notEquals", "contains", "notContains", "startsWith", "notStartsWith", "endsWith", "notEndsWith", "matches", "in", "notIn"]>;
|
|
3
|
-
export type Operator = z.infer<typeof OperatorSchema>;
|
|
4
|
-
export declare const ConditionSchema: z.ZodObject<{
|
|
5
|
-
field: z.ZodString;
|
|
6
|
-
operator: z.ZodEnum<["equals", "notEquals", "contains", "notContains", "startsWith", "notStartsWith", "endsWith", "notEndsWith", "matches", "in", "notIn"]>;
|
|
7
|
-
value: z.ZodAny;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
field: string;
|
|
10
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
11
|
-
value?: any;
|
|
12
|
-
}, {
|
|
13
|
-
field: string;
|
|
14
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
15
|
-
value?: any;
|
|
16
|
-
}>;
|
|
17
|
-
export type Condition = z.infer<typeof ConditionSchema>;
|
|
18
|
-
export declare const PolicyActionSchema: z.ZodEnum<["log", "approve", "block"]>;
|
|
19
|
-
export type PolicyAction = z.infer<typeof PolicyActionSchema>;
|
|
20
|
-
export declare const PolicyRuleSchema: z.ZodObject<{
|
|
21
|
-
id: z.ZodOptional<z.ZodString>;
|
|
22
|
-
action: z.ZodEnum<["log", "approve", "block"]>;
|
|
23
|
-
conditions: z.ZodArray<z.ZodObject<{
|
|
24
|
-
field: z.ZodString;
|
|
25
|
-
operator: z.ZodEnum<["equals", "notEquals", "contains", "notContains", "startsWith", "notStartsWith", "endsWith", "notEndsWith", "matches", "in", "notIn"]>;
|
|
26
|
-
value: z.ZodAny;
|
|
27
|
-
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
field: string;
|
|
29
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
30
|
-
value?: any;
|
|
31
|
-
}, {
|
|
32
|
-
field: string;
|
|
33
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
34
|
-
value?: any;
|
|
35
|
-
}>, "many">;
|
|
36
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
action: "log" | "approve" | "block";
|
|
39
|
-
conditions: {
|
|
40
|
-
field: string;
|
|
41
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
42
|
-
value?: any;
|
|
43
|
-
}[];
|
|
44
|
-
id?: string | undefined;
|
|
45
|
-
reason?: string | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
action: "log" | "approve" | "block";
|
|
48
|
-
conditions: {
|
|
49
|
-
field: string;
|
|
50
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
51
|
-
value?: any;
|
|
52
|
-
}[];
|
|
53
|
-
id?: string | undefined;
|
|
54
|
-
reason?: string | undefined;
|
|
55
|
-
}>;
|
|
56
|
-
export type PolicyRule = z.infer<typeof PolicyRuleSchema>;
|
|
57
|
-
export declare const DeclarativePolicyConfigSchema: z.ZodObject<{
|
|
58
|
-
id: z.ZodString;
|
|
59
|
-
description: z.ZodOptional<z.ZodString>;
|
|
60
|
-
scope: z.ZodObject<{
|
|
61
|
-
toolName: z.ZodOptional<z.ZodString>;
|
|
62
|
-
apiGroup: z.ZodOptional<z.ZodString>;
|
|
63
|
-
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
apiGroup?: string | undefined;
|
|
65
|
-
toolName?: string | undefined;
|
|
66
|
-
}, {
|
|
67
|
-
apiGroup?: string | undefined;
|
|
68
|
-
toolName?: string | undefined;
|
|
69
|
-
}>;
|
|
70
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
71
|
-
id: z.ZodOptional<z.ZodString>;
|
|
72
|
-
action: z.ZodEnum<["log", "approve", "block"]>;
|
|
73
|
-
conditions: z.ZodArray<z.ZodObject<{
|
|
74
|
-
field: z.ZodString;
|
|
75
|
-
operator: z.ZodEnum<["equals", "notEquals", "contains", "notContains", "startsWith", "notStartsWith", "endsWith", "notEndsWith", "matches", "in", "notIn"]>;
|
|
76
|
-
value: z.ZodAny;
|
|
77
|
-
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
field: string;
|
|
79
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
80
|
-
value?: any;
|
|
81
|
-
}, {
|
|
82
|
-
field: string;
|
|
83
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
84
|
-
value?: any;
|
|
85
|
-
}>, "many">;
|
|
86
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
87
|
-
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
action: "log" | "approve" | "block";
|
|
89
|
-
conditions: {
|
|
90
|
-
field: string;
|
|
91
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
92
|
-
value?: any;
|
|
93
|
-
}[];
|
|
94
|
-
id?: string | undefined;
|
|
95
|
-
reason?: string | undefined;
|
|
96
|
-
}, {
|
|
97
|
-
action: "log" | "approve" | "block";
|
|
98
|
-
conditions: {
|
|
99
|
-
field: string;
|
|
100
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
101
|
-
value?: any;
|
|
102
|
-
}[];
|
|
103
|
-
id?: string | undefined;
|
|
104
|
-
reason?: string | undefined;
|
|
105
|
-
}>, "many">;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
id: string;
|
|
108
|
-
scope: {
|
|
109
|
-
apiGroup?: string | undefined;
|
|
110
|
-
toolName?: string | undefined;
|
|
111
|
-
};
|
|
112
|
-
rules: {
|
|
113
|
-
action: "log" | "approve" | "block";
|
|
114
|
-
conditions: {
|
|
115
|
-
field: string;
|
|
116
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
117
|
-
value?: any;
|
|
118
|
-
}[];
|
|
119
|
-
id?: string | undefined;
|
|
120
|
-
reason?: string | undefined;
|
|
121
|
-
}[];
|
|
122
|
-
description?: string | undefined;
|
|
123
|
-
}, {
|
|
124
|
-
id: string;
|
|
125
|
-
scope: {
|
|
126
|
-
apiGroup?: string | undefined;
|
|
127
|
-
toolName?: string | undefined;
|
|
128
|
-
};
|
|
129
|
-
rules: {
|
|
130
|
-
action: "log" | "approve" | "block";
|
|
131
|
-
conditions: {
|
|
132
|
-
field: string;
|
|
133
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
134
|
-
value?: any;
|
|
135
|
-
}[];
|
|
136
|
-
id?: string | undefined;
|
|
137
|
-
reason?: string | undefined;
|
|
138
|
-
}[];
|
|
139
|
-
description?: string | undefined;
|
|
140
|
-
}>;
|
|
141
|
-
export type DeclarativePolicyConfig = z.infer<typeof DeclarativePolicyConfigSchema>;
|
|
142
|
-
export declare const PolicyConfigurationSchema: z.ZodObject<{
|
|
143
|
-
version: z.ZodString;
|
|
144
|
-
policies: z.ZodArray<z.ZodObject<{
|
|
145
|
-
id: z.ZodString;
|
|
146
|
-
description: z.ZodOptional<z.ZodString>;
|
|
147
|
-
scope: z.ZodObject<{
|
|
148
|
-
toolName: z.ZodOptional<z.ZodString>;
|
|
149
|
-
apiGroup: z.ZodOptional<z.ZodString>;
|
|
150
|
-
}, "strip", z.ZodTypeAny, {
|
|
151
|
-
apiGroup?: string | undefined;
|
|
152
|
-
toolName?: string | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
apiGroup?: string | undefined;
|
|
155
|
-
toolName?: string | undefined;
|
|
156
|
-
}>;
|
|
157
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
158
|
-
id: z.ZodOptional<z.ZodString>;
|
|
159
|
-
action: z.ZodEnum<["log", "approve", "block"]>;
|
|
160
|
-
conditions: z.ZodArray<z.ZodObject<{
|
|
161
|
-
field: z.ZodString;
|
|
162
|
-
operator: z.ZodEnum<["equals", "notEquals", "contains", "notContains", "startsWith", "notStartsWith", "endsWith", "notEndsWith", "matches", "in", "notIn"]>;
|
|
163
|
-
value: z.ZodAny;
|
|
164
|
-
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
field: string;
|
|
166
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
167
|
-
value?: any;
|
|
168
|
-
}, {
|
|
169
|
-
field: string;
|
|
170
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
171
|
-
value?: any;
|
|
172
|
-
}>, "many">;
|
|
173
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
174
|
-
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
action: "log" | "approve" | "block";
|
|
176
|
-
conditions: {
|
|
177
|
-
field: string;
|
|
178
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
179
|
-
value?: any;
|
|
180
|
-
}[];
|
|
181
|
-
id?: string | undefined;
|
|
182
|
-
reason?: string | undefined;
|
|
183
|
-
}, {
|
|
184
|
-
action: "log" | "approve" | "block";
|
|
185
|
-
conditions: {
|
|
186
|
-
field: string;
|
|
187
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
188
|
-
value?: any;
|
|
189
|
-
}[];
|
|
190
|
-
id?: string | undefined;
|
|
191
|
-
reason?: string | undefined;
|
|
192
|
-
}>, "many">;
|
|
193
|
-
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
id: string;
|
|
195
|
-
scope: {
|
|
196
|
-
apiGroup?: string | undefined;
|
|
197
|
-
toolName?: string | undefined;
|
|
198
|
-
};
|
|
199
|
-
rules: {
|
|
200
|
-
action: "log" | "approve" | "block";
|
|
201
|
-
conditions: {
|
|
202
|
-
field: string;
|
|
203
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
204
|
-
value?: any;
|
|
205
|
-
}[];
|
|
206
|
-
id?: string | undefined;
|
|
207
|
-
reason?: string | undefined;
|
|
208
|
-
}[];
|
|
209
|
-
description?: string | undefined;
|
|
210
|
-
}, {
|
|
211
|
-
id: string;
|
|
212
|
-
scope: {
|
|
213
|
-
apiGroup?: string | undefined;
|
|
214
|
-
toolName?: string | undefined;
|
|
215
|
-
};
|
|
216
|
-
rules: {
|
|
217
|
-
action: "log" | "approve" | "block";
|
|
218
|
-
conditions: {
|
|
219
|
-
field: string;
|
|
220
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
221
|
-
value?: any;
|
|
222
|
-
}[];
|
|
223
|
-
id?: string | undefined;
|
|
224
|
-
reason?: string | undefined;
|
|
225
|
-
}[];
|
|
226
|
-
description?: string | undefined;
|
|
227
|
-
}>, "many">;
|
|
228
|
-
}, "strip", z.ZodTypeAny, {
|
|
229
|
-
version: string;
|
|
230
|
-
policies: {
|
|
231
|
-
id: string;
|
|
232
|
-
scope: {
|
|
233
|
-
apiGroup?: string | undefined;
|
|
234
|
-
toolName?: string | undefined;
|
|
235
|
-
};
|
|
236
|
-
rules: {
|
|
237
|
-
action: "log" | "approve" | "block";
|
|
238
|
-
conditions: {
|
|
239
|
-
field: string;
|
|
240
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
241
|
-
value?: any;
|
|
242
|
-
}[];
|
|
243
|
-
id?: string | undefined;
|
|
244
|
-
reason?: string | undefined;
|
|
245
|
-
}[];
|
|
246
|
-
description?: string | undefined;
|
|
247
|
-
}[];
|
|
248
|
-
}, {
|
|
249
|
-
version: string;
|
|
250
|
-
policies: {
|
|
251
|
-
id: string;
|
|
252
|
-
scope: {
|
|
253
|
-
apiGroup?: string | undefined;
|
|
254
|
-
toolName?: string | undefined;
|
|
255
|
-
};
|
|
256
|
-
rules: {
|
|
257
|
-
action: "log" | "approve" | "block";
|
|
258
|
-
conditions: {
|
|
259
|
-
field: string;
|
|
260
|
-
operator: "equals" | "notEquals" | "contains" | "notContains" | "startsWith" | "notStartsWith" | "endsWith" | "notEndsWith" | "matches" | "in" | "notIn";
|
|
261
|
-
value?: any;
|
|
262
|
-
}[];
|
|
263
|
-
id?: string | undefined;
|
|
264
|
-
reason?: string | undefined;
|
|
265
|
-
}[];
|
|
266
|
-
description?: string | undefined;
|
|
267
|
-
}[];
|
|
268
|
-
}>;
|
|
269
|
-
export type PolicyConfiguration = z.infer<typeof PolicyConfigurationSchema>;
|
|
270
|
-
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../provenance/src/policies/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc,mJAYzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,eAAe;;;;;;;;;;;;EAM1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,kBAAkB,wCAAsC,CAAC;AAEtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export const OperatorSchema = z.enum([
|
|
3
|
-
'equals',
|
|
4
|
-
'notEquals',
|
|
5
|
-
'contains',
|
|
6
|
-
'notContains',
|
|
7
|
-
'startsWith',
|
|
8
|
-
'notStartsWith',
|
|
9
|
-
'endsWith',
|
|
10
|
-
'notEndsWith',
|
|
11
|
-
'matches',
|
|
12
|
-
'in',
|
|
13
|
-
'notIn',
|
|
14
|
-
]);
|
|
15
|
-
export const ConditionSchema = z.object({
|
|
16
|
-
field: z
|
|
17
|
-
.string()
|
|
18
|
-
.describe('Field to check (e.g. args.paramName, provenance.args.param.source.type)'),
|
|
19
|
-
operator: OperatorSchema,
|
|
20
|
-
value: z.any().describe('Value to compare against'),
|
|
21
|
-
});
|
|
22
|
-
export const PolicyActionSchema = z.enum(['log', 'approve', 'block']);
|
|
23
|
-
export const PolicyRuleSchema = z.object({
|
|
24
|
-
id: z.string().optional(),
|
|
25
|
-
action: PolicyActionSchema,
|
|
26
|
-
conditions: z.array(ConditionSchema).describe('All conditions must match (implicit AND)'),
|
|
27
|
-
reason: z.string().optional(),
|
|
28
|
-
});
|
|
29
|
-
export const DeclarativePolicyConfigSchema = z.object({
|
|
30
|
-
id: z.string(),
|
|
31
|
-
description: z.string().optional(),
|
|
32
|
-
scope: z.object({
|
|
33
|
-
toolName: z.string().optional().describe('Regex pattern or exact match for tool name'),
|
|
34
|
-
apiGroup: z.string().optional().describe('Regex pattern or exact match for API group'),
|
|
35
|
-
}),
|
|
36
|
-
rules: z.array(PolicyRuleSchema).describe('Rules are evaluated in order. First match wins.'),
|
|
37
|
-
});
|
|
38
|
-
export const PolicyConfigurationSchema = z.object({
|
|
39
|
-
version: z.string(),
|
|
40
|
-
policies: z.array(DeclarativePolicyConfigSchema),
|
|
41
|
-
});
|
|
42
|
-
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../provenance/src/policies/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC;IACpC,QAAQ;IACR,WAAW;IACX,UAAU;IACV,aAAa;IACb,YAAY;IACZ,eAAe;IACf,UAAU;IACV,aAAa;IACb,SAAS;IACT,IAAI;IACJ,OAAO;CACP,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,KAAK,EAAE,CAAC;SACN,MAAM,EAAE;SACR,QAAQ,CAAC,yEAAyE,CAAC;IACrF,QAAQ,EAAE,cAAc;IACxB,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;CACnD,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;AAItE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,MAAM,EAAE,kBAAkB;IAC1B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IACzF,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4CAA4C,CAAC;QACtF,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4CAA4C,CAAC;KACtF,CAAC;IACF,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,iDAAiD,CAAC;CAC5F,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;CAChD,CAAC,CAAC"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import type { ProvenanceMetadata, SourceMetadata, ReaderPermissions } from './types.js';
|
|
2
|
-
import { type ProvenanceStore } from './store.js';
|
|
3
|
-
/**
|
|
4
|
-
* Set the global provenance store implementation
|
|
5
|
-
*/
|
|
6
|
-
export declare function setGlobalProvenanceStore(store: ProvenanceStore): void;
|
|
7
|
-
/**
|
|
8
|
-
* Mark a primitive value as tainted (derived from tool data)
|
|
9
|
-
* Used by AST mode to track derived values
|
|
10
|
-
*/
|
|
11
|
-
export declare function markPrimitiveTainted(value: unknown, sourceMetadata: ProvenanceMetadata): void;
|
|
12
|
-
/**
|
|
13
|
-
* Check if a primitive is tainted (derived from tool data)
|
|
14
|
-
*/
|
|
15
|
-
export declare function isPrimitiveTainted(value: unknown): boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Set the current execution ID for provenance tracking
|
|
18
|
-
* MUST be called at start of each execution to prevent memory leaks
|
|
19
|
-
*/
|
|
20
|
-
export declare function setProvenanceExecutionId(executionId: string): void;
|
|
21
|
-
/**
|
|
22
|
-
* Clear the current execution ID
|
|
23
|
-
*/
|
|
24
|
-
export declare function clearProvenanceExecutionId(): void;
|
|
25
|
-
/**
|
|
26
|
-
* Hydrate provenance metadata for an execution (Multi-pod support)
|
|
27
|
-
* Call this when resuming an execution on a new pod to warm up the local cache
|
|
28
|
-
*/
|
|
29
|
-
export declare function hydrateProvenance(ids: string[]): Promise<void>;
|
|
30
|
-
/**
|
|
31
|
-
* Hydrate all provenance for a specific execution ID (if store supports tracking by execution)
|
|
32
|
-
* Note: Standard InMemoryProvenanceStore tracks execution IDs, but Redis implementations might need explicit sets
|
|
33
|
-
*/
|
|
34
|
-
export declare function hydrateExecutionProvenance(executionId: string): Promise<void>;
|
|
35
|
-
/**
|
|
36
|
-
* Register provenance metadata directly (for AST tracking in isolated-vm)
|
|
37
|
-
*/
|
|
38
|
-
export declare function registerProvenanceMetadata(id: string, metadata: ProvenanceMetadata, executionId?: string): void;
|
|
39
|
-
/**
|
|
40
|
-
* Cleanup provenance for a specific execution to prevent memory leaks
|
|
41
|
-
* MUST be called after execution completes or fails
|
|
42
|
-
*/
|
|
43
|
-
export declare function cleanupProvenanceForExecution(executionId: string): void;
|
|
44
|
-
/**
|
|
45
|
-
* Check if a primitive value was extracted from a provenance-tracked object
|
|
46
|
-
* This catches: const ssn = user.ssn; await send({ body: ssn })
|
|
47
|
-
* Also checks if value is marked as tainted (AST mode)
|
|
48
|
-
*/
|
|
49
|
-
export declare function getProvenanceForPrimitive(value: unknown): ProvenanceMetadata | null;
|
|
50
|
-
/**
|
|
51
|
-
* Capture provenance state for pause/resume
|
|
52
|
-
*/
|
|
53
|
-
export declare function captureProvenanceState(executionId: string): Map<string, ProvenanceMetadata>;
|
|
54
|
-
/**
|
|
55
|
-
* Capture provenance snapshot including primitive taints for multi-step token persistence
|
|
56
|
-
*/
|
|
57
|
-
export declare function captureProvenanceSnapshot(executionId: string): {
|
|
58
|
-
registry: Array<[string, ProvenanceMetadata]>;
|
|
59
|
-
primitives: Array<[string, ProvenanceMetadata]>;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Restore provenance state after resume
|
|
63
|
-
*/
|
|
64
|
-
export declare function restoreProvenanceState(executionId: string, state: Map<string, ProvenanceMetadata>): void;
|
|
65
|
-
/**
|
|
66
|
-
* Restore provenance snapshot including primitive taints for multi-step token persistence
|
|
67
|
-
*/
|
|
68
|
-
export declare function restoreProvenanceSnapshot(executionId: string, snapshot: {
|
|
69
|
-
registry: Array<[string, ProvenanceMetadata]>;
|
|
70
|
-
primitives: Array<[string, ProvenanceMetadata]>;
|
|
71
|
-
}): void;
|
|
72
|
-
/**
|
|
73
|
-
* Create a provenance-tracked value
|
|
74
|
-
* SOLUTION: Store metadata in global registry, attach only ID to object
|
|
75
|
-
* The ID (simple string) SURVIVES isolated-vm cloning
|
|
76
|
-
*
|
|
77
|
-
* For objects, also wraps in Proxy to track primitive extractions
|
|
78
|
-
*/
|
|
79
|
-
export declare function createProvenanceProxy<T>(value: T, source: SourceMetadata, readers?: ReaderPermissions, dependencies?: string[]): T;
|
|
80
|
-
/**
|
|
81
|
-
* Get provenance metadata from a value
|
|
82
|
-
* Looks up by ID from global registry (survives isolated-vm cloning)
|
|
83
|
-
*/
|
|
84
|
-
export declare function getProvenance(value: unknown): ProvenanceMetadata | null;
|
|
85
|
-
/**
|
|
86
|
-
* Check if a value has provenance tracking
|
|
87
|
-
*/
|
|
88
|
-
export declare function hasProvenance(value: unknown): boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Get all provenance metadata in an object recursively
|
|
91
|
-
*/
|
|
92
|
-
export declare function getAllProvenance(value: unknown, visited?: Set<any>): ProvenanceMetadata[];
|
|
93
|
-
/**
|
|
94
|
-
* Merge reader permissions (intersection for security)
|
|
95
|
-
*/
|
|
96
|
-
export declare function mergeReaders(readers1: ReaderPermissions, readers2: ReaderPermissions): ReaderPermissions;
|
|
97
|
-
/**
|
|
98
|
-
* Check if a reader can access data with given permissions
|
|
99
|
-
*/
|
|
100
|
-
export declare function canRead(reader: string, permissions: ReaderPermissions): boolean;
|
|
101
|
-
/**
|
|
102
|
-
* Extract provenance for serialization (pause/resume)
|
|
103
|
-
*/
|
|
104
|
-
export declare function extractProvenanceMap(sandbox: Record<string, unknown>): Map<string, ProvenanceMetadata>;
|
|
105
|
-
/**
|
|
106
|
-
* Restore provenance from serialized state
|
|
107
|
-
*/
|
|
108
|
-
export declare function restoreProvenanceMap(provenanceMap: Map<string, ProvenanceMetadata>, sandbox: Record<string, unknown>): void;
|
|
109
|
-
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../provenance/src/registry.ts"],"names":[],"mappings":"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"}
|