@justjoshn/pi-pstack-v2 0.1.5 → 0.1.7
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/README.md +4 -4
- package/docs/guide/05-build-and-clean.md +1 -1
- package/docs/pi-mechanisms.md +1 -1
- package/package.json +12 -5
- package/skills/poteto-mode/scripts/bootstrap.ts +1 -2
- package/skills/poteto-mode/scripts/bun.lock +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/LICENSE +21 -0
- package/skills/poteto-mode/scripts/node_modules/zod/README.md +218 -0
- package/skills/poteto-mode/scripts/node_modules/zod/compile.cjs +96 -0
- package/skills/poteto-mode/scripts/node_modules/zod/compile.d.cts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/compile.d.ts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/compile.js +52 -0
- package/skills/poteto-mode/scripts/node_modules/zod/index.cjs +52 -0
- package/skills/poteto-mode/scripts/node_modules/zod/index.d.cts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/index.d.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/index.js +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/locales/index.cjs +36 -0
- package/skills/poteto-mode/scripts/node_modules/zod/locales/index.d.cts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/locales/index.d.ts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/locales/index.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/locales/package.json +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/mini/index.cjs +51 -0
- package/skills/poteto-mode/scripts/node_modules/zod/mini/index.d.cts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/mini/index.d.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/mini/index.js +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/mini/package.json +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/package.json +147 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/compile.ts +56 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/index.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/locales/index.ts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/mini/index.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/errors.ts +13 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/external.ts +6 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/index.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v3/types.ts +5138 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/array.test.ts +291 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/map.test.ts +349 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/set.test.ts +196 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/compile.ts +2322 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/core.ts +230 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/index.ts +19 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/schemas.ts +5226 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/util.ts +1293 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/index.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/skills/poteto-mode/scripts/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.cjs +167 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/ZodError.js +143 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.cjs +36 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/errors.js +9 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/external.cjs +41 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/external.d.cts +6 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/external.d.ts +6 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/external.js +6 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/helpers/util.js +133 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/index.cjs +52 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/index.d.cts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/index.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/index.js +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.cjs +112 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/locales/en.js +109 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/package.json +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/standard-schema.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/types.cjs +3798 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/types.d.cts +1034 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/types.d.ts +1034 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v3/types.js +3697 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/checks.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/coerce.js +17 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/compat.js +31 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/errors.js +57 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.cjs +97 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/external.js +17 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/in-out.js +36 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.cjs +52 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/index.js +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/iso.js +15 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/package.json +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/parse.js +16 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.cjs +1269 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.d.cts +335 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.d.ts +335 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/api.js +1107 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.cjs +561 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/checks.js +516 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.cjs +1916 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/compile.js +1866 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.cjs +167 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.d.cts +82 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.d.ts +82 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/core.js +141 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.cjs +61 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/doc.js +38 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.cjs +317 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/errors.js +267 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.cjs +70 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.d.cts +19 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.d.ts +19 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/index.js +19 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/json-schema.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/memoizer.js +311 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/package.json +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.cjs +233 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/parse.js +175 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/regexes.js +156 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.cjs +75 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/registries.js +51 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.cjs +2699 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.d.cts +1275 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.d.ts +1275 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/schemas.js +2636 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.cjs +964 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.d.cts +280 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.d.ts +280 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/util.js +873 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.cjs +27 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/versions.js +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.cjs +214 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/core/visit.js +169 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/index.cjs +51 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/index.d.cts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/index.d.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/index.js +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ar.js +111 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.cjs +137 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/az.js +110 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.cjs +195 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/be.js +168 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bg.js +125 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/bn.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ca.js +112 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ckb.js +133 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/cs.js +116 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.cjs +147 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/da.js +120 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/de.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.cjs +139 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/el.js +112 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.cjs +152 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/en.js +125 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/eo.js +114 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.cjs +163 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/es.js +136 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fa.js +119 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fi.js +117 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/fr.js +129 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/gu.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.cjs +248 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/he.js +221 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hi.js +111 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hr.js +126 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hu.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/hy.js +158 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.cjs +138 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/id.js +111 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.cjs +152 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/index.js +63 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.cjs +141 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/is.js +114 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/it.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ja.js +112 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ka.js +117 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kh.js +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.cjs +142 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/km.js +115 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/kn.js +116 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ko.js +116 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/lt.js +207 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/mk.js +114 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ms.js +112 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ne.js +111 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nl.js +115 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/nn.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/no.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ota.js +114 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/package.json +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pl.js +114 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ps.js +119 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/pt.js +142 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ro.js +122 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ru.js +168 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sk.js +116 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sl.js +114 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/sv.js +115 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ta.js +115 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tg.js +117 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.cjs +142 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/th.js +115 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tk.js +107 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/tr.js +110 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ua.js +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uk.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/ur.js +115 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/uz.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/vi.js +113 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/yo.js +112 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/checks.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/coerce.js +22 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.cjs +95 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/external.js +16 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/in-out.js +36 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.cjs +51 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/index.js +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/iso.js +34 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/package.json +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/parse.js +1 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4/package.json +7 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.cjs +51 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/index.js +3 -0
- package/skills/poteto-mode/scripts/node_modules/zod/v4-mini/package.json +7 -0
- package/skills/poteto-mode/scripts/package.json +2 -1
- package/skills/poteto-mode/scripts/watch-pr/classify.ts +144 -0
- package/skills/poteto-mode/scripts/watch-pr/cli.test.ts +68 -41
- package/skills/poteto-mode/scripts/watch-pr/cli.ts +95 -48
- package/skills/poteto-mode/scripts/watch-pr/fakes.test-helper.ts +26 -19
- package/skills/poteto-mode/scripts/watch-pr/github-checks.ts +91 -0
- package/skills/poteto-mode/scripts/watch-pr/github-json.ts +92 -0
- package/skills/poteto-mode/scripts/watch-pr/github-pr.ts +125 -0
- package/skills/poteto-mode/scripts/watch-pr/github-queries.ts +26 -0
- package/skills/poteto-mode/scripts/watch-pr/github-review.ts +112 -0
- package/skills/poteto-mode/scripts/watch-pr/github-stack.ts +67 -0
- package/skills/poteto-mode/scripts/watch-pr/github.test.ts +125 -104
- package/skills/poteto-mode/scripts/watch-pr/github.ts +158 -564
- package/skills/poteto-mode/scripts/watch-pr/policy.test.ts +210 -161
- package/skills/poteto-mode/scripts/watch-pr/policy.ts +23 -842
- package/skills/poteto-mode/scripts/watch-pr/poll.ts +121 -0
- package/skills/poteto-mode/scripts/watch-pr/queue.ts +190 -0
- package/skills/poteto-mode/scripts/watch-pr/recorder.test-helper.ts +16 -0
- package/skills/poteto-mode/scripts/watch-pr/render.ts +91 -63
- package/skills/poteto-mode/scripts/watch-pr/run-queued.ts +187 -0
- package/skills/poteto-mode/scripts/watch-pr/run-simple.ts +135 -0
- package/skills/poteto-mode/scripts/watch-pr/snapshot.ts +139 -0
- package/skills/poteto-mode/scripts/watch-pr/types.compile.ts +2 -1
- package/skills/poteto-mode/scripts/watch-pr/types.ts +27 -21
- package/skills/poteto-mode/scripts/watch-pr/verdict.ts +88 -0
- package/skills/pr-review-canvas/SKILL.md +1 -1
- package/skills/pr-review-canvas/renderer.js +169 -119
- package/skills/pr-review-canvas/template.html +1 -1
- package/skills/statechart/scripts/backends/cfg.ts +2 -6
- package/skills/statechart/scripts/backends/mermaid-escape.ts +91 -0
- package/skills/statechart/scripts/backends/mermaid.ts +190 -223
- package/skills/statechart/scripts/backends/report-notes.ts +137 -0
- package/skills/statechart/scripts/backends/report.ts +93 -146
- package/skills/statechart/scripts/frontends/config.ts +82 -260
- package/skills/statechart/scripts/frontends/configLex.ts +142 -0
- package/skills/statechart/scripts/frontends/configReader.ts +116 -0
- package/skills/statechart/scripts/frontends/configSections.ts +53 -0
- package/skills/statechart/scripts/frontends/dot.ts +44 -38
- package/skills/statechart/scripts/frontends/marks.ts +63 -52
- package/skills/statechart/scripts/frontends/messages.ts +69 -16
- package/skills/statechart/scripts/frontends/spec.ts +66 -49
- package/skills/statechart/scripts/frontends/trace.ts +33 -18
- package/skills/statechart/scripts/frontends/value.ts +180 -103
- package/skills/statechart/scripts/frontends/view.ts +81 -71
- package/skills/statechart/scripts/host-env.ts +8 -0
- package/skills/statechart/scripts/ir.ts +159 -226
- package/skills/statechart/scripts/passes/annotate.ts +106 -70
- package/skills/statechart/scripts/passes/label.ts +128 -150
- package/skills/statechart/scripts/passes/lift.ts +54 -67
- package/skills/statechart/scripts/passes/loop-check.ts +33 -40
- package/skills/statechart/scripts/passes/paths.ts +82 -45
- package/skills/statechart/scripts/passes/reach.ts +121 -106
- package/skills/statechart/scripts/passes/region-check.ts +71 -69
- package/skills/statechart/scripts/passes/regions.ts +355 -251
- package/skills/statechart/scripts/pipeline.ts +18 -13
- package/skills/statechart/scripts/run-io.ts +159 -0
- package/skills/statechart/scripts/run-judge.ts +131 -0
- package/skills/statechart/scripts/run-tlc.ts +133 -0
- package/skills/statechart/scripts/run.ts +209 -442
- package/skills/statechart/scripts/statechart.ts +150 -121
- package/skills/statechart/scripts/test/attempt.ts +11 -0
- package/skills/statechart/scripts/test/chart-labels.test.ts +262 -0
- package/skills/statechart/scripts/test/chart-loops.test.ts +109 -0
- package/skills/statechart/scripts/test/chart-marks.test.ts +136 -0
- package/skills/statechart/scripts/test/chart-paths.test.ts +166 -0
- package/skills/statechart/scripts/test/chart-support.ts +92 -0
- package/skills/statechart/scripts/test/chart-truth.test.ts +277 -0
- package/skills/statechart/scripts/test/chart-values.test.ts +98 -0
- package/skills/statechart/scripts/test/chart-view.test.ts +191 -0
- package/skills/statechart/scripts/test/check-child.ts +8 -0
- package/skills/statechart/scripts/test/cli-config.test.ts +142 -0
- package/skills/statechart/scripts/test/cli-corpus.test.ts +160 -0
- package/skills/statechart/scripts/test/cli-out.test.ts +108 -0
- package/skills/statechart/scripts/test/cli-process-support.ts +129 -0
- package/skills/statechart/scripts/test/cli-report.test.ts +223 -0
- package/skills/statechart/scripts/test/cli-signals.test.ts +198 -0
- package/skills/statechart/scripts/test/cli-support.ts +88 -0
- package/skills/statechart/scripts/test/cli-view-labels.test.ts +208 -0
- package/skills/statechart/scripts/test/cli-view.test.ts +177 -0
- package/skills/statechart/scripts/test/config-fuzz.test.ts +191 -116
- package/skills/statechart/scripts/test/corpus.test.ts +92 -95
- package/skills/statechart/scripts/test/differential.test.ts +202 -145
- package/skills/statechart/scripts/test/drawn.ts +37 -16
- package/skills/statechart/scripts/test/exit-status.ts +8 -0
- package/skills/statechart/scripts/test/host-env.ts +21 -0
- package/skills/statechart/scripts/test/java.ts +9 -6
- package/skills/statechart/scripts/test/labels-oracle.ts +357 -0
- package/skills/statechart/scripts/test/labels.ts +120 -349
- package/skills/statechart/scripts/test/messages.test.ts +148 -118
- package/skills/statechart/scripts/test/pipeline.test.ts +52 -45
- package/skills/statechart/scripts/test/plain-tlc.test.ts +40 -38
- package/skills/statechart/scripts/test/render.test.ts +94 -69
- package/skills/statechart/scripts/test/tail-text.test.ts +18 -0
- package/skills/statechart/scripts/test/tla-text.ts +2 -0
- package/skills/statechart/scripts/test/tlc-out.test.ts +62 -58
- package/skills/statechart/scripts/test/tlc.ts +90 -70
- package/skills/statechart/scripts/worker.ts +3 -1
- package/src/credentials.ts +49 -34
- package/src/git.ts +94 -0
- package/src/host-env.ts +6 -0
- package/src/index.ts +299 -578
- package/src/jobs.ts +105 -62
- package/src/object-schema.ts +8 -0
- package/src/paths.ts +16 -0
- package/src/requests.ts +182 -0
- package/src/sandbox.ts +137 -96
- package/src/subagent/README.md +181 -0
- package/src/subagent/agent-resolution.ts +31 -0
- package/{agents → src/subagent/agents}/ci-watcher.md +3 -1
- package/{agents → src/subagent/agents}/comment-sicko.md +2 -1
- package/src/subagent/agents/poteto-agent.md +10 -0
- package/src/subagent/agents/scout.md +49 -0
- package/src/subagent/agents/thermo-nuclear-code-quality-review.md +24 -0
- package/src/subagent/agents.ts +145 -0
- package/src/subagent/concurrency.ts +21 -0
- package/src/subagent/dispatch-chain.ts +39 -0
- package/src/subagent/dispatch-parallel.ts +51 -0
- package/src/subagent/dispatch.ts +59 -0
- package/src/subagent/format-tool-call.ts +60 -0
- package/src/subagent/format.ts +29 -0
- package/src/subagent/index.ts +52 -0
- package/src/subagent/pi-invocation.ts +43 -0
- package/src/subagent/render-call.ts +35 -0
- package/src/subagent/render-result.ts +109 -0
- package/src/subagent/render-shared.ts +87 -0
- package/src/subagent/result-stream.ts +105 -0
- package/src/subagent/results.ts +118 -0
- package/src/subagent/run-in-tmux.ts +184 -0
- package/src/subagent/run-single.ts +107 -0
- package/src/subagent/schema.ts +58 -0
- package/src/subagent/types.ts +62 -0
- package/src/sweep.ts +107 -67
- package/src/transcript.ts +61 -51
- package/agents/poteto-agent.md +0 -8
- package/agents/thermo-nuclear-code-quality-review.md +0 -23
- package/skills/statechart/scripts/test/chart.test.ts +0 -1253
- package/skills/statechart/scripts/test/cli.test.ts +0 -1315
package/src/sandbox.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { spawnSync } from 'node:child_process';
|
|
2
2
|
import { existsSync, lstatSync, mkdirSync, readdirSync, readFileSync, realpathSync, statSync, writeFileSync } from 'node:fs';
|
|
3
3
|
import { basename, dirname, join } from 'node:path';
|
|
4
4
|
|
|
5
|
+
import { hostEnv } from './host-env.ts';
|
|
6
|
+
import { passthroughObject } from './object-schema.ts';
|
|
5
7
|
import { EDITOR_CODE, HARNESS_DIRS, HARNESS_INSTRUCTIONS, WORKSPACE_SUFFIX } from './sweep.ts';
|
|
6
8
|
|
|
9
|
+
type Env = NodeJS.ProcessEnv;
|
|
10
|
+
type Arch = NodeJS.Architecture;
|
|
11
|
+
type Platform = NodeJS.Platform;
|
|
12
|
+
|
|
7
13
|
export const SANDBOX_ENV = 'PSTACK_V2_SANDBOXED';
|
|
8
14
|
/** The job directory of the sandboxed process. Jobs it asks the root to start are requested under its writable `nested/` directory. */
|
|
9
15
|
export const JOB_DIR_ENV = 'PSTACK_V2_JOB_DIR';
|
|
@@ -31,6 +37,9 @@ export interface SandboxPolicy {
|
|
|
31
37
|
jobDir: string;
|
|
32
38
|
}
|
|
33
39
|
|
|
40
|
+
/** A policy read back from a job's spec file, as written: its keys are not checked here, and requests.ts checks the lists it relies on. */
|
|
41
|
+
export const SandboxPolicySchema = passthroughObject<SandboxPolicy>();
|
|
42
|
+
|
|
34
43
|
const real = (path: string): string => (existsSync(path) ? realpathSync(path) : path);
|
|
35
44
|
/** A path as the kernel sees it when the entry itself is the target: the real parent plus the entry's own name, links unresolved. */
|
|
36
45
|
const entry = (path: string): string => join(real(dirname(path)), basename(path));
|
|
@@ -57,6 +66,47 @@ function placeholders(policy: SandboxPolicy): void {
|
|
|
57
66
|
}
|
|
58
67
|
}
|
|
59
68
|
|
|
69
|
+
/** Rules refusing a checkout's git entries, Pi code, and editor and harness configuration. */
|
|
70
|
+
function checkoutRules(policy: SandboxPolicy): string[] {
|
|
71
|
+
return [
|
|
72
|
+
// Any .git a checkout gains is a repository git would run hooks from, apart from the checkout's own git directory.
|
|
73
|
+
...policy.checkouts.map((root) => {
|
|
74
|
+
const git = existsSync(join(root, '.git')) && statSync(join(root, '.git')).isDirectory() ? '.+/\\.git' : '(.*/)?\\.git';
|
|
75
|
+
return `(deny file-write* (regex #"^${escapeRegex(real(root))}/(${git}|(.*/)?\\.pi/(extensions|settings\\.json|mcp\\.json|npm|git))(/|$)"))`;
|
|
76
|
+
}),
|
|
77
|
+
// Editor and agent-harness configuration runs unsandboxed when the checkout is opened, so it is refused at any depth,
|
|
78
|
+
// apart from the harnesses' instruction directories.
|
|
79
|
+
...policy.checkouts.map((root) => {
|
|
80
|
+
const under = `^${escapeRegex(real(root))}/(.*/)?`;
|
|
81
|
+
const alt = (names: readonly string[]): string => names.map(escapeRegex).join('|');
|
|
82
|
+
const harness = `${under}(${alt(HARNESS_DIRS)})`;
|
|
83
|
+
return `(deny file-write* (regex #"${under}(${alt(EDITOR_CODE)}|[^/]*${escapeRegex(WORKSPACE_SUFFIX)})(/|$)") (require-all (regex #"${harness}(/|$)") (require-not (regex #"${harness}/(${alt(HARNESS_INSTRUCTIONS)})(/|$)"))))`;
|
|
84
|
+
}),
|
|
85
|
+
];
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/** Rules that hold for every job: local sockets, launch services, signals, and preference writes. */
|
|
89
|
+
const SEATBELT_TAIL: string[] = [
|
|
90
|
+
// Any local service socket could start a process outside the sandbox, such as Docker's, so only DNS is reachable.
|
|
91
|
+
'(deny network-outbound (remote unix-socket))',
|
|
92
|
+
// biome-ignore lint/security/noSecrets: macOS DNS uses this fixed mDNSResponder Unix socket path.
|
|
93
|
+
'(allow network-outbound (remote unix-socket (path-literal "/private/var/run/mDNSResponder")))',
|
|
94
|
+
// Nor may it serve one, such as a tmux server of its own. Linux refuses the same through seccomp.
|
|
95
|
+
'(deny network-bind (local unix-socket))',
|
|
96
|
+
// Services that start processes on a caller's behalf would run them outside the sandbox: LaunchServices (`open`) and Apple Events.
|
|
97
|
+
// `open -a` on an app the job wrote launches it through launchd, so the lookup rules below cannot stop it, and lsopen does.
|
|
98
|
+
'(deny appleevent-send)',
|
|
99
|
+
'(deny lsopen)',
|
|
100
|
+
// A job may signal only processes in its own sandbox, never the wrapper that cleans up after it or the root Pi.
|
|
101
|
+
'(deny signal)',
|
|
102
|
+
'(allow signal (target same-sandbox))',
|
|
103
|
+
// launchservicesd stays reachable because Firefox checks in with it at startup and aborts without it. Opening goes through lsopen.
|
|
104
|
+
'(deny mach-lookup (global-name-regex #"^com\\.apple\\.lsd\\.") (global-name "com.apple.coreservices.appleevents"))',
|
|
105
|
+
// launchd would run a job it is handed outside the sandbox, and preference writes go through a daemon outside it.
|
|
106
|
+
'(deny mach-lookup (global-name-regex #"^com\\.apple\\.xpc\\.launchd\\."))',
|
|
107
|
+
'(deny user-preference-write)',
|
|
108
|
+
];
|
|
109
|
+
|
|
60
110
|
export function seatbeltProfile(policy: SandboxPolicy): string {
|
|
61
111
|
const subpaths = (paths: string[]): string => paths.map((path) => `(subpath ${quote(real(path))})`).join(' ');
|
|
62
112
|
// A protected path that is itself a symlink is guarded at the link as well as at its target, so it cannot be swapped.
|
|
@@ -79,128 +129,126 @@ export function seatbeltProfile(policy: SandboxPolicy): string {
|
|
|
79
129
|
...policy.gitDirs.map((common) => `(deny file-write* (subpath ${quote(real(join(common, 'worktrees')))}) (subpath ${quote(real(join(common, 'modules')))}))`),
|
|
80
130
|
...(ownWorktrees(policy).length ? [`(allow file-write* ${subpaths(ownWorktrees(policy))})`] : []),
|
|
81
131
|
`(deny file-write* (regex #"${TMUX_SOCKETS}") ${guarded.join(' ')} ${policy.gitDirs.map((common) => `(regex #"${gitRedirects(common)}")`).join(' ')})`,
|
|
82
|
-
|
|
83
|
-
...
|
|
84
|
-
const git = existsSync(join(root, '.git')) && statSync(join(root, '.git')).isDirectory() ? '.+/\\.git' : '(.*/)?\\.git';
|
|
85
|
-
return `(deny file-write* (regex #"^${escapeRegex(real(root))}/(${git}|(.*/)?\\.pi/(extensions|settings\\.json|mcp\\.json|npm|git))(/|$)"))`;
|
|
86
|
-
}),
|
|
87
|
-
// Editor and agent-harness configuration runs unsandboxed when the checkout is opened, so it is refused at any depth,
|
|
88
|
-
// apart from the harnesses' instruction directories.
|
|
89
|
-
...policy.checkouts.map((root) => {
|
|
90
|
-
const under = `^${escapeRegex(real(root))}/(.*/)?`;
|
|
91
|
-
const alt = (names: readonly string[]): string => names.map(escapeRegex).join('|');
|
|
92
|
-
const harness = `${under}(${alt(HARNESS_DIRS)})`;
|
|
93
|
-
return `(deny file-write* (regex #"${under}(${alt(EDITOR_CODE)}|[^/]*${escapeRegex(WORKSPACE_SUFFIX)})(/|$)") (require-all (regex #"${harness}(/|$)") (require-not (regex #"${harness}/(${alt(HARNESS_INSTRUCTIONS)})(/|$)"))))`;
|
|
94
|
-
}),
|
|
95
|
-
// Any local service socket could start a process outside the sandbox, such as Docker's, so only DNS is reachable.
|
|
96
|
-
'(deny network-outbound (remote unix-socket))',
|
|
97
|
-
// biome-ignore lint/security/noSecrets: macOS DNS uses this fixed mDNSResponder Unix socket path.
|
|
98
|
-
'(allow network-outbound (remote unix-socket (path-literal "/private/var/run/mDNSResponder")))',
|
|
99
|
-
// Nor may it serve one, such as a tmux server of its own. Linux refuses the same through seccomp.
|
|
100
|
-
'(deny network-bind (local unix-socket))',
|
|
101
|
-
// Services that start processes on a caller's behalf would run them outside the sandbox: LaunchServices (`open`) and Apple Events.
|
|
102
|
-
// `open -a` on an app the job wrote launches it through launchd, so the lookup rules below cannot stop it, and lsopen does.
|
|
103
|
-
'(deny appleevent-send)',
|
|
104
|
-
'(deny lsopen)',
|
|
105
|
-
// A job may signal only processes in its own sandbox, never the wrapper that cleans up after it or the root Pi.
|
|
106
|
-
'(deny signal)',
|
|
107
|
-
'(allow signal (target same-sandbox))',
|
|
108
|
-
// launchservicesd stays reachable because Firefox checks in with it at startup and aborts without it. Opening goes through lsopen.
|
|
109
|
-
'(deny mach-lookup (global-name-regex #"^com\\.apple\\.lsd\\.") (global-name "com.apple.coreservices.appleevents"))',
|
|
110
|
-
// launchd would run a job it is handed outside the sandbox, and preference writes go through a daemon outside it.
|
|
111
|
-
'(deny mach-lookup (global-name-regex #"^com\\.apple\\.xpc\\.launchd\\."))',
|
|
112
|
-
'(deny user-preference-write)',
|
|
132
|
+
...checkoutRules(policy),
|
|
133
|
+
...SEATBELT_TAIL,
|
|
113
134
|
];
|
|
114
135
|
return lines.join('\n');
|
|
115
136
|
}
|
|
116
137
|
|
|
138
|
+
const REDIRECT_FILES = ['commondir', 'gitdir', 'config.worktree'];
|
|
139
|
+
const MODULE_REDIRECTS = ['hooks', 'config', 'info', ...REDIRECT_FILES];
|
|
140
|
+
const MAX_MODULE_DEPTH = 6;
|
|
141
|
+
|
|
117
142
|
/** Existing worktree and submodule redirection files under a git common directory, for bubblewrap, which can only bind what exists. */
|
|
118
143
|
function existingRedirects(common: string): string[] {
|
|
119
|
-
const found: string[] = [];
|
|
120
144
|
const worktrees = join(common, 'worktrees');
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
for (const name of readdirSync(dir)) {
|
|
145
|
+
const linked = existsSync(worktrees) ? readdirSync(worktrees).flatMap((name) => REDIRECT_FILES.map((file) => join(worktrees, name, file))) : [];
|
|
146
|
+
const walk = (dir: string, depth: number): string[] => {
|
|
147
|
+
if (depth > MAX_MODULE_DEPTH || !existsSync(dir)) return [];
|
|
148
|
+
return readdirSync(dir).flatMap((name) => {
|
|
126
149
|
const path = join(dir, name);
|
|
127
|
-
if (
|
|
128
|
-
|
|
129
|
-
}
|
|
150
|
+
if (MODULE_REDIRECTS.includes(name)) return [path];
|
|
151
|
+
return statSync(path).isDirectory() ? walk(path, depth + 1) : [];
|
|
152
|
+
});
|
|
130
153
|
};
|
|
131
|
-
walk(join(common, 'modules'), 0);
|
|
132
|
-
return found.filter(existsSync);
|
|
154
|
+
return [join(common, 'config.worktree'), ...linked, ...walk(join(common, 'modules'), 0)].filter(existsSync);
|
|
133
155
|
}
|
|
134
156
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
157
|
+
const ROOT_DIR = '/';
|
|
158
|
+
const DEV_DIR = '/dev';
|
|
159
|
+
const PROC_DIR = '/proc';
|
|
160
|
+
const PRIVATE_TMP_DIR = '/tmp';
|
|
161
|
+
const RUN_DIR = '/run';
|
|
162
|
+
const VAR_RUN_DIR = '/var/run';
|
|
163
|
+
const SYSTEMD_RESOLVE_DIR = '/run/systemd/resolve';
|
|
164
|
+
const RESOLVCONF_DIR = '/run/resolvconf';
|
|
165
|
+
const RESOLVER_DIRS = [SYSTEMD_RESOLVE_DIR, RESOLVCONF_DIR];
|
|
166
|
+
const SHELL = '/bin/sh';
|
|
167
|
+
|
|
168
|
+
const bind = (flag: string, path: string): string[] => [flag, path, path];
|
|
169
|
+
|
|
170
|
+
/** The job's agent directory becomes a throwaway tmpfs holding its entries read-only, and only its credentials copy is bound writable. */
|
|
171
|
+
const credentialMounts = (credentials: string): string[] =>
|
|
172
|
+
credentials && existsSync(credentials) ? ['--tmpfs', credentials, ...readdirSync(credentials).flatMap((name) => bind(name === 'auth.json' ? '--bind' : '--ro-bind', join(credentials, name)))] : [];
|
|
173
|
+
|
|
174
|
+
export function bwrapArgs(policy: SandboxPolicy, env: Env = hostEnv(), uid: number = process.getuid?.() ?? 0): string[] {
|
|
144
175
|
// Service sockets live under /run, such as Docker's and the system bus, so it is hidden, except the DNS resolver's files.
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
176
|
+
const hidden = [...new Set([RUN_DIR, VAR_RUN_DIR, `/run/user/${uid}`, env['XDG_RUNTIME_DIR']])].filter((path): path is string => Boolean(path) && existsSync(path as string) && !lstatSync(path as string).isSymbolicLink());
|
|
177
|
+
const worktreeGitDirs = policy.gitDirs.flatMap((common) => ['worktrees', 'modules'].map((name) => join(common, name)).filter(existsSync));
|
|
178
|
+
return [
|
|
179
|
+
// Its own PID namespace means every process a job starts dies with it, and none can signal the wrapper outside.
|
|
180
|
+
// A private /tmp, since unsandboxed programs load code they cached in the shared one. It also hides outside tmux sockets.
|
|
181
|
+
...['--ro-bind', ROOT_DIR, ROOT_DIR, '--dev', DEV_DIR, '--proc', PROC_DIR, '--unshare-pid', '--tmpfs', PRIVATE_TMP_DIR],
|
|
182
|
+
// Pi's agent directory stays visible, read-only, even when it sits under the private /tmp.
|
|
183
|
+
...(existsSync(policy.agentDir) ? bind('--ro-bind', policy.agentDir) : []),
|
|
184
|
+
...policy.writable.filter(existsSync).flatMap((path) => bind('--bind', path)),
|
|
185
|
+
// Later mounts win, so everything below lands on top of the writable paths, even one that contains these.
|
|
186
|
+
...hidden.flatMap((path) => ['--tmpfs', path]),
|
|
187
|
+
...RESOLVER_DIRS.filter(existsSync).flatMap((path) => bind('--ro-bind', path)),
|
|
188
|
+
...credentialMounts(policy.credentials),
|
|
189
|
+
// A mount point cannot be renamed, so a locked directory is bound onto itself, still writable inside, and a locked file read-only.
|
|
190
|
+
...policy.lock.filter(existsSync).flatMap((path) => bind(statSync(path).isDirectory() ? '--bind' : '--ro-bind', path)),
|
|
191
|
+
...worktreeGitDirs.flatMap((path) => bind('--ro-bind', path)),
|
|
192
|
+
...ownWorktrees(policy).flatMap((path) => bind('--bind', path)),
|
|
193
|
+
...[...policy.protect, ...policy.gitDirs.flatMap(existingRedirects)].filter(existsSync).flatMap((path) => bind('--ro-bind', path)),
|
|
194
|
+
// Shared /tmp is read-only, as on macOS, once everything under it is mounted.
|
|
195
|
+
...['--remount-ro', PRIVATE_TMP_DIR, '--die-with-parent', '--'],
|
|
196
|
+
];
|
|
163
197
|
}
|
|
164
198
|
|
|
165
199
|
/** Linux syscall numbers and audit architecture for the seccomp filter, per Node architecture. */
|
|
166
|
-
const SYSCALLS: Partial<Record<
|
|
200
|
+
const SYSCALLS: Partial<Record<Arch, { audit: number; socket: number; ioUringSetup: number }>> = {
|
|
167
201
|
x64: { audit: 0xc000003e, socket: 41, ioUringSetup: 425 },
|
|
168
202
|
arm64: { audit: 0xc00000b7, socket: 198, ioUringSetup: 425 },
|
|
169
203
|
};
|
|
170
204
|
|
|
205
|
+
const ALLOW = 0x7fff0000;
|
|
206
|
+
const DENY = 0x00050001;
|
|
207
|
+
const SECCOMP_ARCH_OFFSET = 4;
|
|
208
|
+
const SECCOMP_FIRST_ARG_OFFSET = 16;
|
|
209
|
+
const SKIP_TO_DENY_FROM_ARCH = 7;
|
|
210
|
+
const SKIP_TO_DENY_FROM_X32 = 5;
|
|
211
|
+
const SKIP_TO_DENY_FROM_IO_URING = 4;
|
|
212
|
+
const SKIP_SOCKET_CHECK = 2;
|
|
213
|
+
const X32_SYSCALL_BIT = 0x40000000;
|
|
214
|
+
const AF_UNIX = 1;
|
|
215
|
+
const BPF_INSTRUCTION_BYTES = 8;
|
|
216
|
+
const BPF_JT_OFFSET = 2;
|
|
217
|
+
const BPF_JF_OFFSET = 3;
|
|
218
|
+
const BPF_K_OFFSET = 4;
|
|
219
|
+
|
|
171
220
|
/**
|
|
172
221
|
* A classic BPF program for bubblewrap's `--seccomp`: a job may not open a Unix socket, the way macOS denies binding or
|
|
173
222
|
* connecting one, so it reaches no local service, abstract socket, or tmux server. Socket pairs, which child processes
|
|
174
223
|
* use for pipes, stay allowed. io_uring could open a socket around the filter, and another architecture's syscall
|
|
175
224
|
* numbers around its checks, so both are refused.
|
|
176
225
|
*/
|
|
177
|
-
export function seccompFilter(arch:
|
|
226
|
+
export function seccompFilter(arch: Arch = process.arch): Buffer {
|
|
178
227
|
const nr = SYSCALLS[arch];
|
|
179
228
|
if (!nr) throw new Error(`pstack's Linux sandbox supports x64 and arm64, not ${arch}.`);
|
|
180
229
|
const LD = 0x20;
|
|
181
230
|
const JEQ = 0x15;
|
|
182
231
|
const JGE = 0x35;
|
|
183
232
|
const RET = 0x06;
|
|
184
|
-
const ALLOW = 0x7fff0000;
|
|
185
|
-
const DENY = 0x00050001;
|
|
186
233
|
const program: [number, number, number, number][] = [
|
|
187
|
-
[LD, 0, 0,
|
|
188
|
-
[JEQ, 0,
|
|
234
|
+
[LD, 0, 0, SECCOMP_ARCH_OFFSET],
|
|
235
|
+
[JEQ, 0, SKIP_TO_DENY_FROM_ARCH, nr.audit],
|
|
189
236
|
[LD, 0, 0, 0],
|
|
190
|
-
[JGE,
|
|
191
|
-
[JEQ,
|
|
192
|
-
[JEQ, 0,
|
|
193
|
-
[LD, 0, 0,
|
|
194
|
-
[JEQ, 1, 0,
|
|
237
|
+
[JGE, SKIP_TO_DENY_FROM_X32, 0, X32_SYSCALL_BIT],
|
|
238
|
+
[JEQ, SKIP_TO_DENY_FROM_IO_URING, 0, nr.ioUringSetup],
|
|
239
|
+
[JEQ, 0, SKIP_SOCKET_CHECK, nr.socket],
|
|
240
|
+
[LD, 0, 0, SECCOMP_FIRST_ARG_OFFSET],
|
|
241
|
+
[JEQ, 1, 0, AF_UNIX],
|
|
195
242
|
[RET, 0, 0, ALLOW],
|
|
196
243
|
[RET, 0, 0, DENY],
|
|
197
244
|
];
|
|
198
|
-
const bytes = Buffer.alloc(program.length *
|
|
245
|
+
const bytes = Buffer.alloc(program.length * BPF_INSTRUCTION_BYTES);
|
|
199
246
|
program.forEach(([code, jt, jf, k], index) => {
|
|
200
|
-
|
|
201
|
-
bytes.
|
|
202
|
-
bytes.writeUInt8(
|
|
203
|
-
bytes.
|
|
247
|
+
const at = index * BPF_INSTRUCTION_BYTES;
|
|
248
|
+
bytes.writeUInt16LE(code, at);
|
|
249
|
+
bytes.writeUInt8(jt, at + BPF_JT_OFFSET);
|
|
250
|
+
bytes.writeUInt8(jf, at + BPF_JF_OFFSET);
|
|
251
|
+
bytes.writeUInt32LE(k, at + BPF_K_OFFSET);
|
|
204
252
|
});
|
|
205
253
|
return bytes;
|
|
206
254
|
}
|
|
@@ -216,20 +264,13 @@ function seccompFile(agentDir: string): string {
|
|
|
216
264
|
return path;
|
|
217
265
|
}
|
|
218
266
|
|
|
219
|
-
|
|
220
|
-
try {
|
|
221
|
-
execFileSync('/bin/sh', ['-c', command], { stdio: 'ignore' });
|
|
222
|
-
return true;
|
|
223
|
-
} catch {
|
|
224
|
-
return false;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
267
|
+
const available = (command: string): boolean => spawnSync(SHELL, ['-c', command], { stdio: 'ignore' }).status === 0;
|
|
227
268
|
|
|
228
269
|
/**
|
|
229
270
|
* Wraps argv so it runs with writes limited to the policy. bubblewrap nests, so a Linux job inside a sandbox gets its own
|
|
230
271
|
* narrower one. macOS refuses a second Seatbelt profile, so a sandboxed macOS worker asks the root Pi to launch instead.
|
|
231
272
|
*/
|
|
232
|
-
export function sandboxed(argv: string[], policy: SandboxPolicy, platform:
|
|
273
|
+
export function sandboxed(argv: string[], policy: SandboxPolicy, platform: Platform = process.platform, env: Env = hostEnv()): string[] {
|
|
233
274
|
if (platform === 'darwin' && available('command -v sandbox-exec')) {
|
|
234
275
|
placeholders(policy);
|
|
235
276
|
return ['sandbox-exec', '-p', seatbeltProfile(policy), ...argv];
|
|
@@ -237,7 +278,7 @@ export function sandboxed(argv: string[], policy: SandboxPolicy, platform: NodeJ
|
|
|
237
278
|
if (platform === 'linux' && available('command -v bwrap')) {
|
|
238
279
|
placeholders(policy);
|
|
239
280
|
// bubblewrap reads the filter from a file descriptor, which the shell opens just before it becomes bwrap.
|
|
240
|
-
return [
|
|
281
|
+
return [SHELL, '-c', 'exec 9<"$1"; shift; exec bwrap --seccomp 9 "$@"', 'sh', seccompFile(policy.agentDir), ...bwrapArgs(policy, env), ...argv];
|
|
241
282
|
}
|
|
242
283
|
throw new Error(`pstack runs every job in a sandbox and found none on ${platform}. Install bubblewrap (bwrap) on Linux or WSL2, or use macOS, where Seatbelt (sandbox-exec) is built in.`);
|
|
243
284
|
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Subagent Example
|
|
2
|
+
|
|
3
|
+
Delegate tasks to specialized subagents with isolated context windows.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Isolated context**: Each subagent runs in a separate `pi` process
|
|
8
|
+
- **Streaming output**: See tool calls and progress as they happen
|
|
9
|
+
- **Parallel streaming**: All parallel tasks stream updates simultaneously
|
|
10
|
+
- **Markdown rendering**: Final output rendered with proper formatting (expanded view)
|
|
11
|
+
- **Usage display**: Shows turns, tokens, cost, and context usage inside each subagent result
|
|
12
|
+
- **Abort support**: Ctrl+C propagates to kill subagent processes
|
|
13
|
+
|
|
14
|
+
## Structure
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
subagent/
|
|
18
|
+
├── README.md # This file
|
|
19
|
+
├── index.ts # The extension (entry point)
|
|
20
|
+
├── agents.ts # Agent discovery logic
|
|
21
|
+
├── agents/ # Sample agent definitions
|
|
22
|
+
│ ├── scout.md # Fast recon, returns compressed context
|
|
23
|
+
│ ├── planner.md # Creates implementation plans
|
|
24
|
+
│ ├── reviewer.md # Code review
|
|
25
|
+
│ └── worker.md # General-purpose (full capabilities)
|
|
26
|
+
└── prompts/ # Workflow presets (prompt templates)
|
|
27
|
+
├── implement.md # scout -> planner -> worker
|
|
28
|
+
├── scout-and-plan.md # scout -> planner (no implementation)
|
|
29
|
+
└── implement-and-review.md # worker -> reviewer -> worker
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
From the repository root, symlink the files:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Symlink the extension (must be in a subdirectory with index.ts)
|
|
38
|
+
mkdir -p ~/.pi/agent/extensions/subagent
|
|
39
|
+
ln -sf "$(pwd)/packages/coding-agent/examples/extensions/subagent/index.ts" ~/.pi/agent/extensions/subagent/index.ts
|
|
40
|
+
ln -sf "$(pwd)/packages/coding-agent/examples/extensions/subagent/agents.ts" ~/.pi/agent/extensions/subagent/agents.ts
|
|
41
|
+
|
|
42
|
+
# Symlink agents
|
|
43
|
+
mkdir -p ~/.pi/agent/agents
|
|
44
|
+
for f in packages/coding-agent/examples/extensions/subagent/agents/*.md; do
|
|
45
|
+
ln -sf "$(pwd)/$f" ~/.pi/agent/agents/$(basename "$f")
|
|
46
|
+
done
|
|
47
|
+
|
|
48
|
+
# Symlink workflow prompts
|
|
49
|
+
mkdir -p ~/.pi/agent/prompts
|
|
50
|
+
for f in packages/coding-agent/examples/extensions/subagent/prompts/*.md; do
|
|
51
|
+
ln -sf "$(pwd)/$f" ~/.pi/agent/prompts/$(basename "$f")
|
|
52
|
+
done
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Security Model
|
|
56
|
+
|
|
57
|
+
This tool executes a separate `pi` subprocess with a delegated system prompt and tool/model configuration.
|
|
58
|
+
|
|
59
|
+
**Project-local agents** (`.pi/agents/*.md`) are repo-controlled prompts that can instruct the model to read files, run bash commands, etc.
|
|
60
|
+
|
|
61
|
+
**Default behavior:** Only loads **user-level agents** from `~/.pi/agent/agents`.
|
|
62
|
+
|
|
63
|
+
To enable project-local agents, pass `agentScope: "both"` (or `"project"`). Only do this for repositories you trust.
|
|
64
|
+
|
|
65
|
+
When running interactively, the tool prompts for confirmation before running project-local agents unless the session trust context reports trusted and the agents come from that session project's `.pi/agents` directory. Agents loaded from another task `cwd` still require confirmation. Set `confirmProjectAgents: false` to disable confirmation.
|
|
66
|
+
|
|
67
|
+
## Usage
|
|
68
|
+
|
|
69
|
+
### Single agent
|
|
70
|
+
```
|
|
71
|
+
Use scout to find all authentication code
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Parallel execution
|
|
75
|
+
```
|
|
76
|
+
Run 2 scouts in parallel: one to find models, one to find providers
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Chained workflow
|
|
80
|
+
```
|
|
81
|
+
Use a chain: first have scout find the read tool, then have planner suggest improvements
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Workflow prompts
|
|
85
|
+
```
|
|
86
|
+
/implement add Redis caching to the session store
|
|
87
|
+
/scout-and-plan refactor auth to support OAuth
|
|
88
|
+
/implement-and-review add input validation to API endpoints
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Tool Modes
|
|
92
|
+
|
|
93
|
+
| Mode | Parameter | Description |
|
|
94
|
+
|------|-----------|-------------|
|
|
95
|
+
| Single | `{ agent, task }` | One agent, one task |
|
|
96
|
+
| Parallel | `{ tasks: [...] }` | Multiple agents run concurrently (max 8, 4 concurrent) |
|
|
97
|
+
| Chain | `{ chain: [...] }` | Sequential with `{previous}` placeholder |
|
|
98
|
+
|
|
99
|
+
## Output Display
|
|
100
|
+
|
|
101
|
+
**Collapsed view** (default):
|
|
102
|
+
- Status icon (✓/✗/⏳) and agent name
|
|
103
|
+
- Last 5-10 items (tool calls and text)
|
|
104
|
+
- Usage stats: `3 turns ↑input ↓output RcacheRead WcacheWrite $cost ctx:contextTokens model`
|
|
105
|
+
|
|
106
|
+
**Expanded view** (Ctrl+O):
|
|
107
|
+
- Full task text
|
|
108
|
+
- All tool calls with formatted arguments
|
|
109
|
+
- Final output rendered as Markdown
|
|
110
|
+
- Per-task usage (for chain/parallel)
|
|
111
|
+
|
|
112
|
+
**Parallel mode streaming**:
|
|
113
|
+
- Shows all tasks with live status (⏳ running, ✓ done, ✗ failed)
|
|
114
|
+
- Updates as each task makes progress
|
|
115
|
+
- Distinguishes pending, running, completed, failed, and aborted tasks
|
|
116
|
+
- Returns each completed task summary to the parent model with its own 50 KB limit
|
|
117
|
+
- Returns failure diagnostics from stderr/error messages when a child exits before producing output
|
|
118
|
+
|
|
119
|
+
**Tool call formatting** (mimics built-in tools):
|
|
120
|
+
- `$ command` for bash
|
|
121
|
+
- `read ~/path:1-10` for read
|
|
122
|
+
- `grep /pattern/ in ~/path` for grep
|
|
123
|
+
- etc.
|
|
124
|
+
|
|
125
|
+
## Agent Definitions
|
|
126
|
+
|
|
127
|
+
Agents are markdown files with YAML frontmatter:
|
|
128
|
+
|
|
129
|
+
```markdown
|
|
130
|
+
---
|
|
131
|
+
name: my-agent
|
|
132
|
+
description: What this agent does
|
|
133
|
+
tools: read, grep, find, ls
|
|
134
|
+
model: claude-haiku-4-5
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
System prompt for the agent goes here.
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
When `model` is omitted, the subagent inherits the dispatching session's active model and thinking level.
|
|
141
|
+
|
|
142
|
+
**Locations:**
|
|
143
|
+
- `src/subagent/agents/*.md` - Bundled with this package (every scope)
|
|
144
|
+
- `~/.pi/agent/agents/*.md` - User-level (with `agentScope: "user"` or `"both"`)
|
|
145
|
+
- `.pi/agents/*.md` - Project-level (only with `agentScope: "project"` or `"both"`)
|
|
146
|
+
|
|
147
|
+
User agents override bundled agents with the same name, and project agents override both.
|
|
148
|
+
|
|
149
|
+
## Sample Agents
|
|
150
|
+
|
|
151
|
+
| Agent | Purpose | Model | Tools |
|
|
152
|
+
|-------|---------|-------|-------|
|
|
153
|
+
| `scout` | Fast codebase recon | Haiku | read, grep, find, ls, bash |
|
|
154
|
+
| `planner` | Implementation plans | Sonnet | read, grep, find, ls |
|
|
155
|
+
| `reviewer` | Code review | Sonnet | read, grep, find, ls, bash |
|
|
156
|
+
| `worker` | General-purpose | Sonnet | (all default) |
|
|
157
|
+
|
|
158
|
+
## Workflow Prompts
|
|
159
|
+
|
|
160
|
+
| Prompt | Flow |
|
|
161
|
+
|--------|------|
|
|
162
|
+
| `/implement <query>` | scout → planner → worker |
|
|
163
|
+
| `/scout-and-plan <query>` | scout → planner |
|
|
164
|
+
| `/implement-and-review <query>` | worker → reviewer → worker |
|
|
165
|
+
|
|
166
|
+
## Error Handling
|
|
167
|
+
|
|
168
|
+
- **Exit code != 0 or signal termination**: Tool returns an error with preserved stderr/output
|
|
169
|
+
- **Spawn errors**: Tool returns the spawn diagnostic
|
|
170
|
+
- **stopReason "error"**: LLM error is propagated with its error message
|
|
171
|
+
- **Abort**: Ctrl+C sends SIGTERM, escalates to SIGKILL after five seconds if needed, and preserves partial details/usage
|
|
172
|
+
- **Chain mode**: Stops at the first failing step and reports which step failed
|
|
173
|
+
|
|
174
|
+
## Limitations
|
|
175
|
+
|
|
176
|
+
- Output truncated to last 10 items in collapsed view (expand to see all)
|
|
177
|
+
- Single and chain output is capped at 50 KB/2,000 lines; full results remain in tool details
|
|
178
|
+
- Parallel output keeps a separate 50 KB budget per task, allowing up to roughly 400 KB across eight tasks
|
|
179
|
+
- Child usage is displayed in tool details but is not added to the calling session's usage totals
|
|
180
|
+
- Agents are snapshotted from each task's effective cwd when the tool invocation starts; relative task cwd values resolve from the session cwd
|
|
181
|
+
- Parallel mode limited to 8 tasks, 4 concurrent
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as fs from 'node:fs';
|
|
2
|
+
import * as path from 'node:path';
|
|
3
|
+
|
|
4
|
+
import type { ExtensionContext } from '@earendil-works/pi-coding-agent';
|
|
5
|
+
import { type AgentConfig, type AgentScope, discoverAgents } from './agents.ts';
|
|
6
|
+
import type { ResolvedAgent } from './types.ts';
|
|
7
|
+
|
|
8
|
+
export function resolveAgent(defaultCwd: string, scope: AgentScope, name: string, cwd?: string): ResolvedAgent {
|
|
9
|
+
const effectiveCwd = path.resolve(defaultCwd, cwd ?? '.');
|
|
10
|
+
const discovery = discoverAgents(effectiveCwd, scope);
|
|
11
|
+
return {
|
|
12
|
+
agent: discovery.agents.find((candidate) => candidate.name === name),
|
|
13
|
+
available: discovery.agents,
|
|
14
|
+
cwd: effectiveCwd,
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** Project agents that still need approval: those outside the trusted project agents directory. */
|
|
19
|
+
function untrustedProjectAgents(ctx: ExtensionContext, selected: ResolvedAgent[], projectAgentsDir: string | null): AgentConfig[] {
|
|
20
|
+
const byPath = new Map(selected.flatMap(({ agent }) => (agent?.source === 'project' ? [[agent.filePath, agent] as const] : [])));
|
|
21
|
+
const trustedDir = ctx.isProjectTrusted() && projectAgentsDir ? fs.realpathSync(projectAgentsDir) : undefined;
|
|
22
|
+
return [...byPath.values()].filter((agent) => !trustedDir || fs.realpathSync(path.dirname(agent.filePath)) !== trustedDir);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Resolves true when the run may proceed: nothing needs approval, or the user approved. */
|
|
26
|
+
export async function projectAgentsApproved(ctx: ExtensionContext, selected: ResolvedAgent[], projectAgentsDir: string | null): Promise<boolean> {
|
|
27
|
+
const requested = untrustedProjectAgents(ctx, selected, projectAgentsDir);
|
|
28
|
+
if (requested.length === 0) return true;
|
|
29
|
+
const sources = requested.map((agent) => `- ${agent.name}: ${agent.filePath}`).join('\n');
|
|
30
|
+
return ctx.ui.confirm('Run project-local agents?', `Sources:\n${sources}\n\nProject agents are repo-controlled. Only continue for trusted repositories.`);
|
|
31
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ci-watcher
|
|
3
3
|
description: Watch PR CI for the current branch and report pass/fail with relevant failure links. Use when waiting for CI results or CI has failed. Use proactively to monitor branch CI.
|
|
4
|
+
tools: read, bash
|
|
5
|
+
is_background: true
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
# CI watcher
|
|
@@ -16,7 +18,7 @@ Use when waiting for CI results, CI has failed, or when proactively monitoring b
|
|
|
16
18
|
1. Determine current branch: `git branch --show-current`
|
|
17
19
|
2. Resolve the PR: `gh pr view --json number,url,headRefName`
|
|
18
20
|
3. Inspect attached checks: `gh pr checks --json name,bucket,state,workflow,link`
|
|
19
|
-
4. If checks are pending, watch
|
|
21
|
+
4. If checks are pending, watch: `gh pr checks --watch --fail-fast`
|
|
20
22
|
5. If a GitHub Actions check failed, fetch logs with `gh run view <run-id> --log-failed`; otherwise, return the check link and concise next step.
|
|
21
23
|
|
|
22
24
|
## Output
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: comment-sicko
|
|
3
3
|
description: A deranged comment-hater that savors deletion and condemns workaround code.
|
|
4
|
+
tools: read, grep, find, ls, bash, edit
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Comment Sicko
|
|
@@ -23,7 +24,7 @@ That list is my only leash. When I am not sure a keep clause applies, the commen
|
|
|
23
24
|
|
|
24
25
|
`eslint-disable`, `@ts-ignore`, `@ts-expect-error`, and similar suppressions stink. Look up the rule. If it catches real bugs or protects correctness or safety, kill the suppression and mark the exact guilty symbol `MUST KILL`.
|
|
25
26
|
|
|
26
|
-
`IMPORTANT`, `do not remove`, `too risky`, `fine for now`, and long justifications are scent, not conviction. Before judging, I read nearby code. If its claim is not obvious there, I trace the named symbol or call, run `/
|
|
27
|
+
`IMPORTANT`, `do not remove`, `too risky`, `fine for now`, and long justifications are scent, not conviction. Before judging, I read nearby code. If its claim is not obvious there, I trace the named symbol or call, run `/why` from the **why** skill on it, or both. Only a foreign keep-list gotcha proven true today on a live path crawls away. Our-code surprises die with the reshape flag above. Doubt after the hunt is meat.
|
|
27
28
|
|
|
28
29
|
A long justification without a proven keep-list exception is a confession. Kill it. Never polish meat into a shorter alibi. Mark the exact guilty symbol `MUST KILL`. My kill ends there. I do not touch the code.
|
|
29
30
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: poteto-agent
|
|
3
|
+
description: Delegate subagent for code-writing and helper tasks spawned during a `/poteto-mode` run. Use for delegates, not as the runner for `/poteto-mode` itself. Spawn a fresh `poteto-agent` for each new task, and resume one only in the strict cases that poteto-mode's Subagents section names. Reads the `poteto-mode` skill's `SKILL.md` in full before any work, including its inline Principles index. Substituting `generalPurpose` skips that read and drifts.
|
|
4
|
+
tools: read, grep, find, ls, bash, edit, write
|
|
5
|
+
is_background: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Poteto subagent
|
|
9
|
+
|
|
10
|
+
You are operating as poteto-mode's full agent style. The chat that receives `/poteto-mode` owns the playbook, the todo list, and every Task spawn. You are one of its delegates. Read the `poteto-mode` skill's `SKILL.md` in full before doing any work, including its inline Principles index. Use the absolute path your parent gave you. With no path, before any other work, search `~/.cursor/plugins/` for a file whose path ends in `skills/poteto-mode/SKILL.md`. If more than one file matches, use the copy whose `.cursor-plugin/plugin.json` has the highest `version`. Your skill catalog hides this skill, so a missing catalog entry does not mean pstack is absent. If no such file exists, stop and tell your parent. Navigate to a leaf `principle-*` skill whenever you apply that principle.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: scout
|
|
3
|
+
description: Fast codebase recon that returns compressed context for handoff to other agents
|
|
4
|
+
tools: read, grep, find, ls, bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a scout. Quickly investigate a codebase and return structured findings that another agent can use without re-reading everything.
|
|
8
|
+
|
|
9
|
+
Your output will be passed to an agent who has NOT seen the files you explored.
|
|
10
|
+
|
|
11
|
+
Thoroughness (infer from task, default medium):
|
|
12
|
+
- Quick: Targeted lookups, key files only
|
|
13
|
+
- Medium: Follow imports, read critical sections
|
|
14
|
+
- Thorough: Trace all dependencies, check tests/types
|
|
15
|
+
|
|
16
|
+
Strategy:
|
|
17
|
+
1. grep/find to locate relevant code
|
|
18
|
+
2. Read key sections (not entire files)
|
|
19
|
+
3. Identify types, interfaces, key functions
|
|
20
|
+
4. Note dependencies between files
|
|
21
|
+
|
|
22
|
+
Output format:
|
|
23
|
+
|
|
24
|
+
## Files Retrieved
|
|
25
|
+
List with exact line ranges:
|
|
26
|
+
1. `path/to/file.ts` (lines 10-50) - Description of what's here
|
|
27
|
+
2. `path/to/other.ts` (lines 100-150) - Description
|
|
28
|
+
3. ...
|
|
29
|
+
|
|
30
|
+
## Key Code
|
|
31
|
+
Critical types, interfaces, or functions:
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
interface Example {
|
|
35
|
+
// actual code from the files
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
```typescript
|
|
40
|
+
function keyFunction() {
|
|
41
|
+
// actual implementation
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Architecture
|
|
46
|
+
Brief explanation of how the pieces connect.
|
|
47
|
+
|
|
48
|
+
## Start Here
|
|
49
|
+
Which file to look at first and why.
|