@homeflare/alchemy 0.46.0 → 0.47.0
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 +10 -10
- package/dist/argocd/cluster.d.ts +5 -5
- package/dist/argocd/cluster.d.ts.map +1 -1
- package/dist/argocd/fake-argocd.d.ts +1 -1
- package/dist/argocd/fake-argocd.d.ts.map +1 -1
- package/dist/argocd/index.js.map +1 -1
- package/dist/argocd/providers.d.ts +1 -1
- package/dist/argocd/providers.d.ts.map +1 -1
- package/dist/argocd/repo-creds.d.ts +5 -5
- package/dist/argocd/repo-creds.d.ts.map +1 -1
- package/dist/argocd/repository.d.ts +5 -5
- package/dist/argocd/repository.d.ts.map +1 -1
- package/dist/argocd/resource.d.ts +1 -1
- package/dist/argocd/resource.d.ts.map +1 -1
- package/dist/caddy/admin.d.ts +1 -1
- package/dist/caddy/admin.d.ts.map +1 -1
- package/dist/caddy/caddy-http-client.d.ts +2 -2
- package/dist/caddy/caddy-http-client.d.ts.map +1 -1
- package/dist/caddy/format.d.ts +1 -1
- package/dist/caddy/format.d.ts.map +1 -1
- package/dist/caddy/index.js +6 -6
- package/dist/caddy/index.js.map +4 -4
- package/dist/ceph/auth-entity.d.ts +1 -1
- package/dist/ceph/auth-entity.d.ts.map +1 -1
- package/dist/ceph/ceph-auth-reconcile.d.ts +1 -1
- package/dist/ceph/ceph-auth-reconcile.d.ts.map +1 -1
- package/dist/ceph/index.js +5 -5
- package/dist/ceph/index.js.map +4 -4
- package/dist/cloudflare/fake-mesh.d.ts +2 -2
- package/dist/cloudflare/fake-mesh.d.ts.map +1 -1
- package/dist/cloudflare/fake-r2-lock.d.ts +1 -1
- package/dist/cloudflare/fake-r2-lock.d.ts.map +1 -1
- package/dist/cloudflare/index.js +3 -3
- package/dist/cloudflare/index.js.map +3 -3
- package/dist/cloudflare/mesh-node-token.d.ts +1 -1
- package/dist/cloudflare/mesh-node-token.d.ts.map +1 -1
- package/dist/cloudflare/mesh-node.d.ts +1 -1
- package/dist/cloudflare/mesh-node.d.ts.map +1 -1
- package/dist/cloudflare/providers.d.ts +1 -1
- package/dist/cloudflare/providers.d.ts.map +1 -1
- package/dist/cloudflare/r2-bucket-lock.d.ts +1 -1
- package/dist/cloudflare/r2-bucket-lock.d.ts.map +1 -1
- package/dist/discord/application-command.d.ts +6 -6
- package/dist/discord/application-command.d.ts.map +1 -1
- package/dist/discord/fake-discord.d.ts +1 -1
- package/dist/discord/fake-discord.d.ts.map +1 -1
- package/dist/discord/guild-application-command.d.ts +6 -6
- package/dist/discord/guild-application-command.d.ts.map +1 -1
- package/dist/discord/index.js.map +1 -1
- package/dist/discord/providers.d.ts +1 -1
- package/dist/discord/providers.d.ts.map +1 -1
- package/dist/discord/resource.d.ts +1 -1
- package/dist/discord/resource.d.ts.map +1 -1
- package/dist/forgejo/branch-protection.d.ts +5 -5
- package/dist/forgejo/branch-protection.d.ts.map +1 -1
- package/dist/forgejo/fake-forgejo.d.ts +1 -1
- package/dist/forgejo/fake-forgejo.d.ts.map +1 -1
- package/dist/forgejo/index.js.map +1 -1
- package/dist/forgejo/org-actions-secrets.d.ts +5 -5
- package/dist/forgejo/org-actions-secrets.d.ts.map +1 -1
- package/dist/forgejo/org-label.d.ts +5 -5
- package/dist/forgejo/org-label.d.ts.map +1 -1
- package/dist/forgejo/org-team.d.ts +5 -5
- package/dist/forgejo/org-team.d.ts.map +1 -1
- package/dist/forgejo/repo-webhook.d.ts +5 -5
- package/dist/forgejo/repo-webhook.d.ts.map +1 -1
- package/dist/forgejo/repository.d.ts +5 -5
- package/dist/forgejo/repository.d.ts.map +1 -1
- package/dist/forgejo/resource.d.ts +1 -1
- package/dist/forgejo/resource.d.ts.map +1 -1
- package/dist/forgejo/team-member.d.ts +5 -5
- package/dist/forgejo/team-member.d.ts.map +1 -1
- package/dist/github/repository-ruleset-providers.d.ts +1 -1
- package/dist/github/repository-ruleset-providers.d.ts.map +1 -1
- package/dist/google-workspace/domain-alias.d.ts +5 -5
- package/dist/google-workspace/domain-alias.d.ts.map +1 -1
- package/dist/google-workspace/fake-google-workspace.d.ts +1 -1
- package/dist/google-workspace/fake-google-workspace.d.ts.map +1 -1
- package/dist/google-workspace/group-member.d.ts +5 -5
- package/dist/google-workspace/group-member.d.ts.map +1 -1
- package/dist/google-workspace/group.d.ts +5 -5
- package/dist/google-workspace/group.d.ts.map +1 -1
- package/dist/google-workspace/index.js.map +1 -1
- package/dist/google-workspace/org-unit.d.ts +5 -5
- package/dist/google-workspace/org-unit.d.ts.map +1 -1
- package/dist/google-workspace/providers.d.ts +1 -1
- package/dist/google-workspace/providers.d.ts.map +1 -1
- package/dist/google-workspace/resource.d.ts +1 -1
- package/dist/google-workspace/resource.d.ts.map +1 -1
- package/dist/grafana/alert-rule-group.d.ts +4 -4
- package/dist/grafana/alert-rule-group.d.ts.map +1 -1
- package/dist/grafana/contact-point.d.ts +4 -4
- package/dist/grafana/dashboard.d.ts +4 -4
- package/dist/grafana/datasource.d.ts +4 -4
- package/dist/grafana/fake-grafana.d.ts +1 -1
- package/dist/grafana/fake-grafana.d.ts.map +1 -1
- package/dist/grafana/folder.d.ts +4 -4
- package/dist/grafana/message-template.d.ts +4 -4
- package/dist/grafana/mute-timing.d.ts +4 -4
- package/dist/grafana/notification-policy.d.ts +4 -4
- package/dist/grafana/notification-policy.d.ts.map +1 -1
- package/dist/grafana/providers.d.ts +1 -1
- package/dist/grafana/providers.d.ts.map +1 -1
- package/dist/litellm/access-group.d.ts +1 -1
- package/dist/litellm/budget-operations.d.ts +1 -1
- package/dist/litellm/budget-operations.d.ts.map +1 -1
- package/dist/litellm/budget.d.ts +2 -2
- package/dist/litellm/credential-errors.d.ts +1 -1
- package/dist/litellm/credential-errors.d.ts.map +1 -1
- package/dist/litellm/credential.d.ts +1 -1
- package/dist/litellm/index.js +26 -5
- package/dist/litellm/index.js.map +8 -8
- package/dist/litellm/key-errors.d.ts +1 -1
- package/dist/litellm/key-errors.d.ts.map +1 -1
- package/dist/litellm/key.d.ts +2 -2
- package/dist/litellm/mcp-server-locate.d.ts +1 -1
- package/dist/litellm/mcp-server-locate.d.ts.map +1 -1
- package/dist/litellm/mcp-server.d.ts +2 -2
- package/dist/litellm/model-operations.d.ts +1 -1
- package/dist/litellm/model-operations.d.ts.map +1 -1
- package/dist/litellm/model.d.ts +2 -2
- package/dist/litellm/operations.d.ts +1 -1
- package/dist/litellm/operations.d.ts.map +1 -1
- package/dist/litellm/policy-attachment.d.ts +1 -1
- package/dist/litellm/policy.d.ts +1 -1
- package/dist/litellm/providers.d.ts +1 -1
- package/dist/litellm/providers.d.ts.map +1 -1
- package/dist/litellm/team-operations.d.ts +1 -1
- package/dist/litellm/team-operations.d.ts.map +1 -1
- package/dist/litellm/team.d.ts +1 -1
- package/dist/litellm/tool-policy-operations.d.ts +1 -1
- package/dist/litellm/tool-policy-operations.d.ts.map +1 -1
- package/dist/litellm/tool-policy.d.ts +1 -1
- package/dist/litellm/toolset.d.ts +1 -1
- package/dist/netbox/fake-netbox.d.ts +1 -1
- package/dist/netbox/fake-netbox.d.ts.map +1 -1
- package/dist/netbox/index.js.map +1 -1
- package/dist/netbox/prefix.d.ts +5 -5
- package/dist/netbox/prefix.d.ts.map +1 -1
- package/dist/netbox/resource.d.ts +1 -1
- package/dist/netbox/resource.d.ts.map +1 -1
- package/dist/openbao/approle-login.d.ts +1 -1
- package/dist/openbao/approle-login.d.ts.map +1 -1
- package/dist/openbao/auth-method-reconcile.d.ts +1 -1
- package/dist/openbao/auth-method-reconcile.d.ts.map +1 -1
- package/dist/openbao/auth-method-wire.d.ts +4 -4
- package/dist/openbao/auth-method-wire.d.ts.map +1 -1
- package/dist/openbao/auth-method.d.ts +1 -1
- package/dist/openbao/auth-method.d.ts.map +1 -1
- package/dist/openbao/auth-role-identity.d.ts +1 -1
- package/dist/openbao/auth-role-identity.d.ts.map +1 -1
- package/dist/openbao/auth-role-wire.d.ts +4 -4
- package/dist/openbao/auth-role-wire.d.ts.map +1 -1
- package/dist/openbao/auth-role.d.ts +1 -1
- package/dist/openbao/auth-role.d.ts.map +1 -1
- package/dist/openbao/bao-http.d.ts +1 -1
- package/dist/openbao/bao-http.d.ts.map +1 -1
- package/dist/openbao/bao-identity.d.ts +1 -1
- package/dist/openbao/bao-identity.d.ts.map +1 -1
- package/dist/openbao/cloudflare-permission-groups.d.ts +1 -1
- package/dist/openbao/cloudflare-permission-groups.d.ts.map +1 -1
- package/dist/openbao/cloudflare-role-wire.d.ts +1 -1
- package/dist/openbao/cloudflare-role-wire.d.ts.map +1 -1
- package/dist/openbao/cloudflare-role.d.ts +1 -1
- package/dist/openbao/cloudflare-role.d.ts.map +1 -1
- package/dist/openbao/distilled.d.ts +1 -1
- package/dist/openbao/distilled.d.ts.map +1 -1
- package/dist/openbao/fake-bao.d.ts +1 -1
- package/dist/openbao/fake-bao.d.ts.map +1 -1
- package/dist/openbao/fake-core.d.ts +1 -1
- package/dist/openbao/fake-core.d.ts.map +1 -1
- package/dist/openbao/fake-engines.d.ts +1 -1
- package/dist/openbao/fake-engines.d.ts.map +1 -1
- package/dist/openbao/fake-families.d.ts +2 -2
- package/dist/openbao/fake-families.d.ts.map +1 -1
- package/dist/openbao/fake-stack.d.ts +5 -0
- package/dist/openbao/fake-stack.d.ts.map +1 -1
- package/dist/openbao/forgejo-bootstrap.d.ts +1 -1
- package/dist/openbao/forgejo-bootstrap.d.ts.map +1 -1
- package/dist/openbao/index.js +31 -10
- package/dist/openbao/index.js.map +31 -31
- package/dist/openbao/jwt-config.d.ts +1 -1
- package/dist/openbao/jwt-config.d.ts.map +1 -1
- package/dist/openbao/jwt-role.d.ts +1 -1
- package/dist/openbao/jwt-role.d.ts.map +1 -1
- package/dist/openbao/kubernetes-role.d.ts +1 -1
- package/dist/openbao/kubernetes-role.d.ts.map +1 -1
- package/dist/openbao/mfa-enforcement.d.ts +1 -1
- package/dist/openbao/mfa-enforcement.d.ts.map +1 -1
- package/dist/openbao/mfa-totp.d.ts +1 -1
- package/dist/openbao/mfa-totp.d.ts.map +1 -1
- package/dist/openbao/mfa-wire.d.ts +1 -1
- package/dist/openbao/mfa-wire.d.ts.map +1 -1
- package/dist/openbao/mount-move.d.ts +1 -1
- package/dist/openbao/mount-move.d.ts.map +1 -1
- package/dist/openbao/mount-reconcile.d.ts +1 -1
- package/dist/openbao/mount-reconcile.d.ts.map +1 -1
- package/dist/openbao/mount-wire.d.ts +4 -4
- package/dist/openbao/mount-wire.d.ts.map +1 -1
- package/dist/openbao/mount.d.ts +1 -1
- package/dist/openbao/mount.d.ts.map +1 -1
- package/dist/openbao/pki-role.d.ts +1 -1
- package/dist/openbao/pki-role.d.ts.map +1 -1
- package/dist/openbao/plugin-reconcile.d.ts +1 -1
- package/dist/openbao/plugin-reconcile.d.ts.map +1 -1
- package/dist/openbao/plugin-wire.d.ts +1 -1
- package/dist/openbao/plugin-wire.d.ts.map +1 -1
- package/dist/openbao/plugin.d.ts +1 -1
- package/dist/openbao/plugin.d.ts.map +1 -1
- package/dist/openbao/policy-identity.d.ts +1 -1
- package/dist/openbao/policy-identity.d.ts.map +1 -1
- package/dist/openbao/policy-wire.d.ts +4 -4
- package/dist/openbao/policy-wire.d.ts.map +1 -1
- package/dist/openbao/policy.d.ts +1 -1
- package/dist/openbao/policy.d.ts.map +1 -1
- package/dist/openbao/proxmox-role-wire.d.ts +1 -1
- package/dist/openbao/proxmox-role-wire.d.ts.map +1 -1
- package/dist/openbao/proxmox-role.d.ts +1 -1
- package/dist/openbao/proxmox-role.d.ts.map +1 -1
- package/dist/openbao/remount-wire.d.ts +1 -1
- package/dist/openbao/remount-wire.d.ts.map +1 -1
- package/dist/openbao/rename-identity.d.ts +1 -1
- package/dist/openbao/rename-identity.d.ts.map +1 -1
- package/dist/openbao/rename.d.ts +1 -1
- package/dist/openbao/rename.d.ts.map +1 -1
- package/dist/openbao/role-reconcile.d.ts +1 -1
- package/dist/openbao/role-reconcile.d.ts.map +1 -1
- package/dist/openbao/ssh-role.d.ts +1 -1
- package/dist/openbao/ssh-role.d.ts.map +1 -1
- package/dist/opnsense/alias.d.ts +5 -5
- package/dist/opnsense/alias.d.ts.map +1 -1
- package/dist/opnsense/category.d.ts +5 -5
- package/dist/opnsense/category.d.ts.map +1 -1
- package/dist/opnsense/fake-opnsense.d.ts +1 -1
- package/dist/opnsense/fake-opnsense.d.ts.map +1 -1
- package/dist/opnsense/group.d.ts +5 -5
- package/dist/opnsense/group.d.ts.map +1 -1
- package/dist/opnsense/index.js.map +1 -1
- package/dist/opnsense/providers.d.ts +1 -1
- package/dist/opnsense/providers.d.ts.map +1 -1
- package/dist/opnsense/resource.d.ts +1 -1
- package/dist/opnsense/resource.d.ts.map +1 -1
- package/dist/ownership/probe.d.ts.map +1 -1
- package/dist/paperless/custom-field.d.ts +5 -5
- package/dist/paperless/custom-field.d.ts.map +1 -1
- package/dist/paperless/document-type.d.ts +5 -5
- package/dist/paperless/document-type.d.ts.map +1 -1
- package/dist/paperless/fake-paperless.d.ts +1 -1
- package/dist/paperless/fake-paperless.d.ts.map +1 -1
- package/dist/paperless/matching-types.d.ts +1 -1
- package/dist/paperless/matching-types.d.ts.map +1 -1
- package/dist/paperless/matching.d.ts +4 -4
- package/dist/paperless/providers.d.ts +1 -1
- package/dist/paperless/providers.d.ts.map +1 -1
- package/dist/paperless/storage-path.d.ts +5 -5
- package/dist/paperless/storage-path.d.ts.map +1 -1
- package/dist/paperless/tag.d.ts +5 -5
- package/dist/paperless/tag.d.ts.map +1 -1
- package/dist/postgres/connection.d.ts +2 -2
- package/dist/postgres/connection.d.ts.map +1 -1
- package/dist/postgres/database-sql.d.ts +1 -1
- package/dist/postgres/database-sql.d.ts.map +1 -1
- package/dist/postgres/database.d.ts +1 -1
- package/dist/postgres/database.d.ts.map +1 -1
- package/dist/postgres/fake-grants-read.d.ts +1 -1
- package/dist/postgres/fake-grants-read.d.ts.map +1 -1
- package/dist/postgres/fake-grants-write.d.ts +1 -1
- package/dist/postgres/fake-grants-write.d.ts.map +1 -1
- package/dist/postgres/fake-role-sql.d.ts +1 -1
- package/dist/postgres/fake-role-sql.d.ts.map +1 -1
- package/dist/postgres/fake-schema-drop.d.ts +13 -0
- package/dist/postgres/fake-schema-drop.d.ts.map +1 -0
- package/dist/postgres/fake-schema-sql.d.ts +6 -1
- package/dist/postgres/fake-schema-sql.d.ts.map +1 -1
- package/dist/postgres/fake-sql.d.ts +4 -0
- package/dist/postgres/fake-sql.d.ts.map +1 -1
- package/dist/postgres/grants-existence.d.ts +1 -1
- package/dist/postgres/grants-existence.d.ts.map +1 -1
- package/dist/postgres/grants-ops.d.ts +1 -1
- package/dist/postgres/grants-ops.d.ts.map +1 -1
- package/dist/postgres/grants-ownership.d.ts +1 -1
- package/dist/postgres/grants-ownership.d.ts.map +1 -1
- package/dist/postgres/grants-read-defaults.d.ts +1 -1
- package/dist/postgres/grants-read-defaults.d.ts.map +1 -1
- package/dist/postgres/grants-read.d.ts +1 -1
- package/dist/postgres/grants-read.d.ts.map +1 -1
- package/dist/postgres/index.d.ts +2 -1
- package/dist/postgres/index.d.ts.map +1 -1
- package/dist/postgres/index.js +523 -324
- package/dist/postgres/index.js.map +26 -22
- package/dist/postgres/installed-classifier.d.ts +1 -1
- package/dist/postgres/installed-classifier.d.ts.map +1 -1
- package/dist/postgres/psql-executor.d.ts.map +1 -1
- package/dist/postgres/role-membership-sql.d.ts +1 -1
- package/dist/postgres/role-membership-sql.d.ts.map +1 -1
- package/dist/postgres/role-sql.d.ts +1 -1
- package/dist/postgres/role-sql.d.ts.map +1 -1
- package/dist/postgres/role.d.ts +1 -1
- package/dist/postgres/role.d.ts.map +1 -1
- package/dist/postgres/schema-assert.d.ts +1 -1
- package/dist/postgres/schema-assert.d.ts.map +1 -1
- package/dist/postgres/schema-closure-sql.d.ts +45 -0
- package/dist/postgres/schema-closure-sql.d.ts.map +1 -0
- package/dist/postgres/schema-delete.d.ts +18 -9
- package/dist/postgres/schema-delete.d.ts.map +1 -1
- package/dist/postgres/schema-drop-sql.d.ts +66 -0
- package/dist/postgres/schema-drop-sql.d.ts.map +1 -0
- package/dist/postgres/schema-errors.d.ts +19 -1
- package/dist/postgres/schema-errors.d.ts.map +1 -1
- package/dist/postgres/schema-reconcile.d.ts +1 -1
- package/dist/postgres/schema-reconcile.d.ts.map +1 -1
- package/dist/postgres/schema-sequence-error.d.ts +29 -0
- package/dist/postgres/schema-sequence-error.d.ts.map +1 -0
- package/dist/postgres/schema-sql.d.ts +17 -1
- package/dist/postgres/schema-sql.d.ts.map +1 -1
- package/dist/postgres/schema-test-kit.d.ts +3 -1
- package/dist/postgres/schema-test-kit.d.ts.map +1 -1
- package/dist/postgres/schema.d.ts +1 -1
- package/dist/postgres/schema.d.ts.map +1 -1
- package/dist/postgres/search-path.d.ts +38 -0
- package/dist/postgres/search-path.d.ts.map +1 -0
- package/dist/proxmox/acl.d.ts +1 -1
- package/dist/proxmox/acl.d.ts.map +1 -1
- package/dist/proxmox/api-token.d.ts +1 -1
- package/dist/proxmox/api-token.d.ts.map +1 -1
- package/dist/proxmox/backup-job-distilled.d.ts +2 -2
- package/dist/proxmox/backup-job-distilled.d.ts.map +1 -1
- package/dist/proxmox/backup-job.d.ts +1 -1
- package/dist/proxmox/backup-job.d.ts.map +1 -1
- package/dist/proxmox/ceph-daemon-wire.d.ts +3 -3
- package/dist/proxmox/ceph-daemon-wire.d.ts.map +1 -1
- package/dist/proxmox/ceph-daemon.d.ts +2 -2
- package/dist/proxmox/ceph-daemon.d.ts.map +1 -1
- package/dist/proxmox/ceph-flag-wire.d.ts +3 -3
- package/dist/proxmox/ceph-flag-wire.d.ts.map +1 -1
- package/dist/proxmox/ceph-flag.d.ts +1 -1
- package/dist/proxmox/ceph-flag.d.ts.map +1 -1
- package/dist/proxmox/ceph-fs-distilled.d.ts +3 -3
- package/dist/proxmox/ceph-fs-distilled.d.ts.map +1 -1
- package/dist/proxmox/ceph-fs.d.ts +1 -1
- package/dist/proxmox/ceph-fs.d.ts.map +1 -1
- package/dist/proxmox/ceph-osd-tree.d.ts +1 -1
- package/dist/proxmox/ceph-osd-tree.d.ts.map +1 -1
- package/dist/proxmox/ceph-osd-write.d.ts +2 -2
- package/dist/proxmox/ceph-osd-write.d.ts.map +1 -1
- package/dist/proxmox/ceph-osd.d.ts +1 -1
- package/dist/proxmox/ceph-osd.d.ts.map +1 -1
- package/dist/proxmox/ceph-pool-settle.d.ts +2 -2
- package/dist/proxmox/ceph-pool-settle.d.ts.map +1 -1
- package/dist/proxmox/ceph-pool-wire.d.ts +1 -1
- package/dist/proxmox/ceph-pool-wire.d.ts.map +1 -1
- package/dist/proxmox/ceph-pool.d.ts +1 -1
- package/dist/proxmox/ceph-pool.d.ts.map +1 -1
- package/dist/proxmox/client.d.ts +1 -1
- package/dist/proxmox/client.d.ts.map +1 -1
- package/dist/proxmox/distilled-pbs.d.ts +1 -1
- package/dist/proxmox/distilled-pbs.d.ts.map +1 -1
- package/dist/proxmox/distilled-pve.d.ts +1 -1
- package/dist/proxmox/distilled-pve.d.ts.map +1 -1
- package/dist/proxmox/fake-pbs-jobs.d.ts +1 -1
- package/dist/proxmox/fake-pve.d.ts +1 -1
- package/dist/proxmox/fake-pve.d.ts.map +1 -1
- package/dist/proxmox/firewall-alias-lifecycle.d.ts +6 -6
- package/dist/proxmox/firewall-alias-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/firewall-alias.d.ts +1 -1
- package/dist/proxmox/firewall-alias.d.ts.map +1 -1
- package/dist/proxmox/group-wire.d.ts +2 -2
- package/dist/proxmox/group-wire.d.ts.map +1 -1
- package/dist/proxmox/group.d.ts +1 -1
- package/dist/proxmox/group.d.ts.map +1 -1
- package/dist/proxmox/ha-resource.d.ts +1 -1
- package/dist/proxmox/ha-resource.d.ts.map +1 -1
- package/dist/proxmox/ha-rule.d.ts +1 -1
- package/dist/proxmox/ha-rule.d.ts.map +1 -1
- package/dist/proxmox/index.js +38 -17
- package/dist/proxmox/index.js.map +9 -9
- package/dist/proxmox/lease-cache.d.ts +2 -2
- package/dist/proxmox/lease-cache.d.ts.map +1 -1
- package/dist/proxmox/live-core-fixtures.d.ts +1 -1
- package/dist/proxmox/live-core-fixtures.d.ts.map +1 -1
- package/dist/proxmox/lxc-lifecycle.d.ts +3 -3
- package/dist/proxmox/lxc-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/lxc-read.d.ts +1 -1
- package/dist/proxmox/lxc-read.d.ts.map +1 -1
- package/dist/proxmox/lxc-task.d.ts +1 -1
- package/dist/proxmox/lxc-task.d.ts.map +1 -1
- package/dist/proxmox/lxc.d.ts +1 -1
- package/dist/proxmox/lxc.d.ts.map +1 -1
- package/dist/proxmox/members.d.ts +3 -3
- package/dist/proxmox/members.d.ts.map +1 -1
- package/dist/proxmox/metric-server-distilled.d.ts +3 -3
- package/dist/proxmox/metric-server-distilled.d.ts.map +1 -1
- package/dist/proxmox/metric-server.d.ts +1 -1
- package/dist/proxmox/metric-server.d.ts.map +1 -1
- package/dist/proxmox/mint.d.ts +1 -1
- package/dist/proxmox/mint.d.ts.map +1 -1
- package/dist/proxmox/network-apply-read.d.ts +3 -3
- package/dist/proxmox/network-apply-read.d.ts.map +1 -1
- package/dist/proxmox/network-apply-run.d.ts +1 -1
- package/dist/proxmox/network-apply-run.d.ts.map +1 -1
- package/dist/proxmox/network-apply.d.ts +1 -1
- package/dist/proxmox/network-apply.d.ts.map +1 -1
- package/dist/proxmox/node-network-wire.d.ts +2 -2
- package/dist/proxmox/node-network-wire.d.ts.map +1 -1
- package/dist/proxmox/node-network.d.ts +1 -1
- package/dist/proxmox/node-network.d.ts.map +1 -1
- package/dist/proxmox/notification-matcher-distilled.d.ts +4 -4
- package/dist/proxmox/notification-matcher-distilled.d.ts.map +1 -1
- package/dist/proxmox/notification-matcher-lifecycle.d.ts +4 -4
- package/dist/proxmox/notification-matcher.d.ts +1 -1
- package/dist/proxmox/notification-matcher.d.ts.map +1 -1
- package/dist/proxmox/notification-target-distilled.d.ts +4 -4
- package/dist/proxmox/notification-target-distilled.d.ts.map +1 -1
- package/dist/proxmox/notification-target-lifecycle.d.ts +4 -4
- package/dist/proxmox/notification-target.d.ts +1 -1
- package/dist/proxmox/notification-target.d.ts.map +1 -1
- package/dist/proxmox/pbs-datastore-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-datastore-wire.d.ts +4 -4
- package/dist/proxmox/pbs-datastore-wire.d.ts.map +1 -1
- package/dist/proxmox/pbs-datastore.d.ts +1 -1
- package/dist/proxmox/pbs-datastore.d.ts.map +1 -1
- package/dist/proxmox/pbs-notification-matcher-distilled.d.ts +4 -4
- package/dist/proxmox/pbs-notification-matcher-distilled.d.ts.map +1 -1
- package/dist/proxmox/pbs-notification-matcher.d.ts +1 -1
- package/dist/proxmox/pbs-notification-matcher.d.ts.map +1 -1
- package/dist/proxmox/pbs-notification-target-distilled.d.ts +4 -4
- package/dist/proxmox/pbs-notification-target-distilled.d.ts.map +1 -1
- package/dist/proxmox/pbs-notification-target-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-notification-target.d.ts +1 -1
- package/dist/proxmox/pbs-notification-target.d.ts.map +1 -1
- package/dist/proxmox/pbs-prune-job-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-prune-job-wire.d.ts +4 -4
- package/dist/proxmox/pbs-prune-job-wire.d.ts.map +1 -1
- package/dist/proxmox/pbs-prune-job.d.ts +1 -1
- package/dist/proxmox/pbs-prune-job.d.ts.map +1 -1
- package/dist/proxmox/pbs-sync-job-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-sync-job-wire.d.ts +4 -4
- package/dist/proxmox/pbs-sync-job-wire.d.ts.map +1 -1
- package/dist/proxmox/pbs-sync-job.d.ts +1 -1
- package/dist/proxmox/pbs-sync-job.d.ts.map +1 -1
- package/dist/proxmox/pbs-verify-job-lifecycle.d.ts +4 -4
- package/dist/proxmox/pbs-verify-job-wire.d.ts +4 -4
- package/dist/proxmox/pbs-verify-job-wire.d.ts.map +1 -1
- package/dist/proxmox/pbs-verify-job.d.ts +1 -1
- package/dist/proxmox/pbs-verify-job.d.ts.map +1 -1
- package/dist/proxmox/pool.d.ts +3 -3
- package/dist/proxmox/pool.d.ts.map +1 -1
- package/dist/proxmox/provision-declare.d.ts +1 -1
- package/dist/proxmox/provision-declare.d.ts.map +1 -1
- package/dist/proxmox/qemu-lifecycle.d.ts +3 -3
- package/dist/proxmox/qemu-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/qemu-read.d.ts +1 -1
- package/dist/proxmox/qemu-read.d.ts.map +1 -1
- package/dist/proxmox/qemu-resize.d.ts +1 -1
- package/dist/proxmox/qemu-resize.d.ts.map +1 -1
- package/dist/proxmox/qemu-task.d.ts +1 -1
- package/dist/proxmox/qemu-task.d.ts.map +1 -1
- package/dist/proxmox/qemu.d.ts +1 -1
- package/dist/proxmox/qemu.d.ts.map +1 -1
- package/dist/proxmox/replication-job-lifecycle.d.ts +6 -6
- package/dist/proxmox/replication-job-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/replication-job.d.ts +1 -1
- package/dist/proxmox/replication-job.d.ts.map +1 -1
- package/dist/proxmox/resource-spec.d.ts +1 -1
- package/dist/proxmox/resource-spec.d.ts.map +1 -1
- package/dist/proxmox/resource.d.ts +8 -8
- package/dist/proxmox/role.d.ts +1 -1
- package/dist/proxmox/role.d.ts.map +1 -1
- package/dist/proxmox/sdn-apply-read.d.ts +1 -1
- package/dist/proxmox/sdn-apply-read.d.ts.map +1 -1
- package/dist/proxmox/sdn-apply.d.ts +1 -1
- package/dist/proxmox/sdn-apply.d.ts.map +1 -1
- package/dist/proxmox/sdn-subnet.d.ts +1 -1
- package/dist/proxmox/sdn-subnet.d.ts.map +1 -1
- package/dist/proxmox/sdn-vnet.d.ts +1 -1
- package/dist/proxmox/sdn-vnet.d.ts.map +1 -1
- package/dist/proxmox/sdn-zone.d.ts +1 -1
- package/dist/proxmox/sdn-zone.d.ts.map +1 -1
- package/dist/proxmox/storage-download-lifecycle.d.ts +6 -6
- package/dist/proxmox/storage-download-lifecycle.d.ts.map +1 -1
- package/dist/proxmox/storage-download-task.d.ts +1 -1
- package/dist/proxmox/storage-download-task.d.ts.map +1 -1
- package/dist/proxmox/storage-download.d.ts +1 -1
- package/dist/proxmox/storage-download.d.ts.map +1 -1
- package/dist/proxmox/storage-wire.d.ts +2 -2
- package/dist/proxmox/storage-wire.d.ts.map +1 -1
- package/dist/proxmox/storage.d.ts +1 -1
- package/dist/proxmox/storage.d.ts.map +1 -1
- package/dist/proxmox/user-wire.d.ts +2 -2
- package/dist/proxmox/user-wire.d.ts.map +1 -1
- package/dist/proxmox/user.d.ts +1 -1
- package/dist/proxmox/user.d.ts.map +1 -1
- package/dist/proxmox/zfs-pool-form.d.ts +2 -2
- package/dist/proxmox/zfs-pool-form.d.ts.map +1 -1
- package/dist/proxmox/zfs-pool-wire.d.ts +2 -2
- package/dist/proxmox/zfs-pool-wire.d.ts.map +1 -1
- package/dist/proxmox/zfs-pool.d.ts +1 -1
- package/dist/proxmox/zfs-pool.d.ts.map +1 -1
- package/dist/release/binary.d.ts +1 -1
- package/dist/release/binary.d.ts.map +1 -1
- package/dist/release/download.d.ts +1 -1
- package/dist/release/download.d.ts.map +1 -1
- package/dist/release/index.js +6 -5
- package/dist/release/index.js.map +5 -5
- package/dist/talos/credentials-write.d.ts +1 -1
- package/dist/talos/credentials-write.d.ts.map +1 -1
- package/dist/talos/credentials.d.ts +1 -1
- package/dist/talos/credentials.d.ts.map +1 -1
- package/dist/talos/fake-process.d.ts +2 -2
- package/dist/talos/fake-process.d.ts.map +1 -1
- package/dist/talos/index.js +7 -7
- package/dist/talos/index.js.map +4 -4
- package/dist/talos/kubeconfig.d.ts +4 -4
- package/dist/talos/kubeconfig.d.ts.map +1 -1
- package/dist/talos/machine-config-fixtures.d.ts +1 -1
- package/dist/talos/machine-config-fixtures.d.ts.map +1 -1
- package/dist/talos/machine-config-read.d.ts +3 -3
- package/dist/talos/machine-config-read.d.ts.map +1 -1
- package/dist/talos/resource.d.ts +1 -1
- package/dist/talos/resource.d.ts.map +1 -1
- package/dist/talos/talos-bootstrap-etcd.d.ts +2 -2
- package/dist/talos/talos-bootstrap-etcd.d.ts.map +1 -1
- package/dist/talos/talos-bootstrap.d.ts +4 -4
- package/dist/talos/talos-bootstrap.d.ts.map +1 -1
- package/dist/talos/talos-cluster-health.d.ts +4 -4
- package/dist/talos/talos-cluster-health.d.ts.map +1 -1
- package/dist/talos/talos-machine-config.d.ts +2 -2
- package/dist/talos/talos-machine-config.d.ts.map +1 -1
- package/dist/talos/talosctl.d.ts +1 -1
- package/dist/talos/talosctl.d.ts.map +1 -1
- package/dist/telemetry/index.js +4 -4
- package/dist/telemetry/index.js.map +3 -3
- package/dist/telemetry/redact-serialization.d.ts +2 -2
- package/dist/telemetry/redact-serialization.d.ts.map +1 -1
- package/dist/unifi/acl-rule-ordering.d.ts +6 -6
- package/dist/unifi/acl-rule-ordering.d.ts.map +1 -1
- package/dist/unifi/acl-rule.d.ts +6 -6
- package/dist/unifi/acl-rule.d.ts.map +1 -1
- package/dist/unifi/dns-policy.d.ts +6 -6
- package/dist/unifi/dns-policy.d.ts.map +1 -1
- package/dist/unifi/fake-unifi.d.ts +1 -1
- package/dist/unifi/fake-unifi.d.ts.map +1 -1
- package/dist/unifi/firewall-policy-ordering.d.ts +6 -6
- package/dist/unifi/firewall-policy-ordering.d.ts.map +1 -1
- package/dist/unifi/firewall-policy.d.ts +6 -6
- package/dist/unifi/firewall-policy.d.ts.map +1 -1
- package/dist/unifi/firewall-zone.d.ts +6 -6
- package/dist/unifi/firewall-zone.d.ts.map +1 -1
- package/dist/unifi/index.js +2 -2
- package/dist/unifi/index.js.map +2 -2
- package/dist/unifi/network.d.ts +6 -6
- package/dist/unifi/network.d.ts.map +1 -1
- package/dist/unifi/providers.d.ts +1 -1
- package/dist/unifi/providers.d.ts.map +1 -1
- package/dist/unifi/resource.d.ts +1 -1
- package/dist/unifi/resource.d.ts.map +1 -1
- package/dist/unifi/traffic-matching-list.d.ts +6 -6
- package/dist/unifi/traffic-matching-list.d.ts.map +1 -1
- package/dist/unifi/wifi-broadcast.d.ts +6 -6
- package/dist/unifi/wifi-broadcast.d.ts.map +1 -1
- package/dist/verify/cli.js.map +1 -1
- package/dist/verify/index.js.map +1 -1
- package/docs/distilled-interim.md +1 -1
- package/docs/mesh-node.md +1 -1
- package/docs/paperless.md +1 -1
- package/docs/peers.md +8 -8
- package/docs/postgres-schema.md +22 -1
- package/docs/telemetry.md +1 -1
- package/package.json +20 -20
- package/src/argocd/fake-argocd.ts +1 -1
- package/src/argocd/resource.ts +1 -1
- package/src/caddy/admin-transport-scope.test.ts +2 -2
- package/src/caddy/admin.ts +1 -1
- package/src/caddy/caddy-http-client.ts +5 -5
- package/src/caddy/config-adopt.test.ts +2 -2
- package/src/caddy/format.ts +2 -2
- package/src/caddy/local-admin.test.ts +1 -1
- package/src/ceph/auth-entity.ts +1 -1
- package/src/ceph/ceph-auth-reconcile.ts +1 -1
- package/src/cloudflare/fake-mesh.ts +1 -1
- package/src/cloudflare/fake-r2-lock.ts +1 -1
- package/src/cloudflare/mesh-node-harness.ts +1 -1
- package/src/cloudflare/mesh-node.ts +1 -1
- package/src/cloudflare/r2-bucket-lock.ts +1 -1
- package/src/discord/fake-discord.ts +1 -1
- package/src/discord/resource.ts +1 -1
- package/src/forgejo/fake-forgejo.ts +1 -1
- package/src/forgejo/resource.ts +1 -1
- package/src/google-workspace/fake-google-workspace.ts +1 -1
- package/src/google-workspace/resource.ts +1 -1
- package/src/grafana/fake-grafana.ts +1 -1
- package/src/litellm/access-group.test.ts +1 -1
- package/src/litellm/credential-errors.ts +1 -1
- package/src/litellm/credential-guards.test.ts +1 -1
- package/src/litellm/credential-operations.ts +1 -1
- package/src/litellm/credential-rewrite.test.ts +1 -1
- package/src/litellm/fake-stack.ts +1 -1
- package/src/litellm/key-errors.ts +1 -1
- package/src/litellm/key-harness.ts +1 -1
- package/src/litellm/key-operations.ts +1 -1
- package/src/litellm/key.test.ts +2 -1
- package/src/litellm/mcp-server-handlers.test.ts +1 -1
- package/src/litellm/mcp-server-registry.test.ts +1 -1
- package/src/litellm/model-operations.test.ts +1 -1
- package/src/litellm/operations.ts +1 -1
- package/src/litellm/pass-through-endpoint-delete-swallow.test.ts +1 -1
- package/src/litellm/pass-through-endpoint.test.ts +1 -1
- package/src/litellm/pass-through-fetch-client.test.ts +2 -2
- package/src/litellm/policy-attachment.test.ts +1 -1
- package/src/litellm/policy.test.ts +1 -1
- package/src/litellm/team-members.test.ts +1 -1
- package/src/litellm/team-read.test.ts +1 -1
- package/src/litellm/tool-policy.test.ts +1 -1
- package/src/litellm/toolset.test.ts +1 -1
- package/src/netbox/fake-netbox.ts +1 -1
- package/src/netbox/resource.ts +1 -1
- package/src/openbao/adopt-core.test.ts +4 -1
- package/src/openbao/adopt-families.test.ts +4 -1
- package/src/openbao/adopt-holes.test.ts +1 -1
- package/src/openbao/adopt-recovery.test.ts +24 -0
- package/src/openbao/approle-login.ts +2 -2
- package/src/openbao/auth-method-reconcile.ts +1 -1
- package/src/openbao/auth-method.ts +1 -1
- package/src/openbao/auth-role-sdk.test.ts +1 -1
- package/src/openbao/auth-role.ts +1 -1
- package/src/openbao/bao-http.test.ts +3 -3
- package/src/openbao/bao-http.ts +4 -4
- package/src/openbao/bao-identity.ts +2 -2
- package/src/openbao/cloudflare-permission-groups.ts +1 -1
- package/src/openbao/cloudflare-role-wire.ts +1 -1
- package/src/openbao/cloudflare-role.ts +1 -1
- package/src/openbao/distilled-retry.test.ts +3 -3
- package/src/openbao/distilled.test.ts +3 -3
- package/src/openbao/distilled.ts +2 -2
- package/src/openbao/fake-bao.ts +2 -2
- package/src/openbao/fake-core.ts +1 -1
- package/src/openbao/fake-engines.ts +1 -1
- package/src/openbao/fake-families.ts +1 -1
- package/src/openbao/fake-stack.ts +13 -3
- package/src/openbao/jwt-config.ts +1 -1
- package/src/openbao/jwt-role.ts +1 -1
- package/src/openbao/kubernetes-role.ts +1 -1
- package/src/openbao/mfa-enforcement.ts +1 -1
- package/src/openbao/mfa-totp.ts +1 -1
- package/src/openbao/mfa-wire.ts +1 -1
- package/src/openbao/mount-move.ts +1 -1
- package/src/openbao/mount-reconcile.ts +1 -1
- package/src/openbao/mount.ts +1 -1
- package/src/openbao/pki-role.ts +1 -1
- package/src/openbao/plugin-reconcile.ts +1 -1
- package/src/openbao/plugin-wire.ts +1 -1
- package/src/openbao/plugin.ts +1 -1
- package/src/openbao/policy.ts +1 -1
- package/src/openbao/proxmox-role.ts +1 -1
- package/src/openbao/remount-wire.ts +1 -1
- package/src/openbao/rename-occupied.test.ts +1 -1
- package/src/openbao/role-reconcile.ts +1 -1
- package/src/openbao/role-rename.test.ts +1 -1
- package/src/openbao/ssh-role.ts +1 -1
- package/src/opnsense/fake-opnsense.ts +1 -1
- package/src/opnsense/resource.ts +1 -1
- package/src/ownership/probe.ts +51 -2
- package/src/paperless/fake-paperless.ts +1 -1
- package/src/paperless/matching-types.ts +1 -1
- package/src/postgres/connection.ts +11 -15
- package/src/postgres/database-bigint-serialization.test.ts +3 -3
- package/src/postgres/database-sql.ts +7 -7
- package/src/postgres/database.ts +1 -1
- package/src/postgres/fake-grants-read.ts +4 -4
- package/src/postgres/fake-grants-sql.ts +1 -1
- package/src/postgres/fake-grants-write.ts +1 -1
- package/src/postgres/fake-role-sql.ts +3 -3
- package/src/postgres/fake-schema-drop.ts +75 -0
- package/src/postgres/fake-schema-sql.ts +11 -2
- package/src/postgres/fake-sql.ts +11 -4
- package/src/postgres/grants-database.test.ts +5 -5
- package/src/postgres/grants-existence.ts +8 -8
- package/src/postgres/grants-ops.ts +1 -1
- package/src/postgres/grants-ownership.ts +6 -6
- package/src/postgres/grants-psql-lifecycle.test.ts +7 -3
- package/src/postgres/grants-read-defaults.ts +6 -6
- package/src/postgres/grants-read.ts +17 -17
- package/src/postgres/grants-relkind-wire.test.ts +6 -4
- package/src/postgres/index.ts +2 -0
- package/src/postgres/installed-classifier.ts +1 -1
- package/src/postgres/psql-executor-escaping.test.ts +3 -1
- package/src/postgres/psql-executor.test.ts +11 -5
- package/src/postgres/psql-executor.ts +5 -7
- package/src/postgres/role-adopt.test.ts +3 -1
- package/src/postgres/role-membership-options.test.ts +3 -1
- package/src/postgres/role-membership-repair.test.ts +3 -3
- package/src/postgres/role-membership-sql.ts +5 -5
- package/src/postgres/role-password-transports.test.ts +6 -4
- package/src/postgres/role-sql.ts +2 -2
- package/src/postgres/role.ts +1 -1
- package/src/postgres/schema-assert.ts +1 -1
- package/src/postgres/schema-closure-sql.ts +108 -0
- package/src/postgres/schema-delete-proofs.test.ts +7 -7
- package/src/postgres/schema-delete.ts +89 -47
- package/src/postgres/schema-drop-2bp01.test.ts +30 -18
- package/src/postgres/schema-drop-real.test.ts +190 -0
- package/src/postgres/schema-drop-sql.ts +135 -0
- package/src/postgres/schema-drop.test.ts +241 -0
- package/src/postgres/schema-errors.ts +26 -0
- package/src/postgres/schema-handlers.test.ts +21 -14
- package/src/postgres/schema-lifecycle.test.ts +6 -60
- package/src/postgres/schema-reconcile.ts +1 -1
- package/src/postgres/schema-sequence-error.ts +38 -0
- package/src/postgres/schema-socket.test.ts +20 -6
- package/src/postgres/schema-sql.ts +17 -12
- package/src/postgres/schema-takeover.test.ts +7 -4
- package/src/postgres/schema-test-kit.ts +18 -4
- package/src/postgres/search-path.test.ts +100 -0
- package/src/postgres/search-path.ts +62 -0
- package/src/proxmox/ceph-flag-wire.test.ts +1 -1
- package/src/proxmox/ceph-fs-destroy-sdk.test.ts +1 -1
- package/src/proxmox/ceph-pool-write.test.ts +1 -1
- package/src/proxmox/client.test.ts +2 -2
- package/src/proxmox/client.ts +2 -2
- package/src/proxmox/credentials.test.ts +1 -1
- package/src/proxmox/distilled-pbs.test.ts +1 -1
- package/src/proxmox/distilled-pbs.ts +1 -1
- package/src/proxmox/distilled-pve.test.ts +2 -2
- package/src/proxmox/distilled-pve.ts +1 -1
- package/src/proxmox/fake-pbs-jobs.ts +1 -1
- package/src/proxmox/fake-pve.ts +1 -1
- package/src/proxmox/lease-cache-mint.test.ts +1 -1
- package/src/proxmox/live-core-fixtures.ts +1 -1
- package/src/proxmox/lxc-distilled.test.ts +1 -1
- package/src/proxmox/lxc-harness.ts +1 -1
- package/src/proxmox/members-timeout.test.ts +3 -3
- package/src/proxmox/members.test.ts +1 -1
- package/src/proxmox/members.ts +4 -4
- package/src/proxmox/mint.ts +4 -4
- package/src/proxmox/node-network-read-failure.test.ts +1 -1
- package/src/proxmox/qemu-lifecycle.ts +1 -1
- package/src/proxmox/read-failure-propagation.test.ts +1 -1
- package/src/proxmox/resource-spec.ts +1 -1
- package/src/proxmox/storage-read-failure.test.ts +1 -1
- package/src/proxmox/typed-absence.test.ts +2 -2
- package/src/proxmox/unreadable-read.test.ts +1 -1
- package/src/proxmox/user.test.ts +1 -1
- package/src/proxmox/zfs-pool-read-failure.test.ts +1 -1
- package/src/release/adopt-parity.test.ts +3 -1
- package/src/release/apply-pins.test.ts +2 -2
- package/src/release/binary-root.test.ts +2 -2
- package/src/release/binary.ts +9 -2
- package/src/release/download.test.ts +3 -3
- package/src/release/download.ts +1 -1
- package/src/release/fake-deploy.ts +2 -2
- package/src/release/fake-engine.ts +2 -2
- package/src/release/fake-provider.ts +2 -2
- package/src/release/plan.test.ts +2 -2
- package/src/release/providers.ts +1 -1
- package/src/talos/credentials-write.test.ts +1 -1
- package/src/talos/credentials-write.ts +2 -2
- package/src/talos/credentials.test.ts +1 -1
- package/src/talos/credentials.ts +2 -2
- package/src/talos/fake-process.ts +2 -2
- package/src/talos/kubeconfig.test.ts +1 -1
- package/src/talos/machine-config-fixtures.ts +1 -1
- package/src/talos/resource.ts +1 -1
- package/src/talos/talos-bootstrap.test.ts +1 -1
- package/src/talos/talos-cluster-health.test.ts +1 -1
- package/src/talos/talosctl.ts +2 -2
- package/src/telemetry/http-client-sealing.test.ts +2 -2
- package/src/telemetry/layer.test.ts +3 -3
- package/src/telemetry/layer.ts +2 -2
- package/src/telemetry/redact-serialization.ts +2 -2
- package/src/unifi/fake-unifi.ts +1 -1
- package/src/unifi/get-only-guard.test.ts +3 -3
- package/src/unifi/resource.ts +1 -1
- package/src/verify/args.ts +1 -1
package/docs/telemetry.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`telemetryLayer` builds an OTLP/HTTP `Layer` for a stack's own `providers` — spans, logs and
|
|
4
4
|
metrics from `Effect.withSpan`, `HttpClient` calls and alchemy's own plan/apply engine, exported to
|
|
5
5
|
whatever OTLP collector a consumer names. Read 2026-09-26 against `alchemy@2.0.0-beta.79` and
|
|
6
|
-
`effect@4.0.0-rc.115`'s `effect/unstable/observability` module (this file names no estate host — see
|
|
6
|
+
`effect@4.0.0-rc.115`'s `effect/unstable/observability` module (now `effect/observability`, effect 4.0.1) (this file names no estate host — see
|
|
7
7
|
below). See `telemetry-spike.md` for what was actually measured arriving at a collector.
|
|
8
8
|
|
|
9
9
|
Bodies are sent **protobuf-encoded** (`content-type: application/x-protobuf`), not JSON — measured
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homeflare/alchemy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "Custom Alchemy providers for Cloudflare, Proxmox, OpenBao, Forgejo, Talos, launchd and Caddy, and a verifier that proves adoptions are no-ops.",
|
|
5
5
|
"homepage": "https://github.com/taslabs-net/homeflare-kit/tree/main/packages/alchemy#readme",
|
|
6
6
|
"bugs": "https://github.com/taslabs-net/homeflare-kit/issues",
|
|
@@ -130,27 +130,27 @@
|
|
|
130
130
|
"access": "public"
|
|
131
131
|
},
|
|
132
132
|
"dependencies": {
|
|
133
|
-
"@distilled.cloud/caddy": "npm:@homeflare/distilled-caddy@0.2.
|
|
134
|
-
"@distilled.cloud/grafana": "npm:@homeflare/distilled-grafana@0.2.
|
|
135
|
-
"@distilled.cloud/litellm": "npm:@homeflare/distilled-litellm@0.4.
|
|
136
|
-
"@distilled.cloud/netbox": "npm:@homeflare/distilled-netbox@0.3.
|
|
137
|
-
"@distilled.cloud/openbao": "npm:@homeflare/distilled-openbao@0.2.
|
|
138
|
-
"@distilled.cloud/opnsense": "npm:@homeflare/distilled-opnsense@0.3.
|
|
139
|
-
"@distilled.cloud/paperless-ngx": "npm:@homeflare/distilled-paperless-ngx@0.3.
|
|
140
|
-
"@distilled.cloud/proxmox": "npm:@homeflare/distilled-proxmox@0.3.
|
|
141
|
-
"@distilled.cloud/proxmox-backup": "npm:@homeflare/distilled-proxmox-backup@0.3.
|
|
142
|
-
"@distilled.cloud/unifi-network": "npm:@homeflare/distilled-unifi-network@0.4.
|
|
133
|
+
"@distilled.cloud/caddy": "npm:@homeflare/distilled-caddy@0.2.3",
|
|
134
|
+
"@distilled.cloud/grafana": "npm:@homeflare/distilled-grafana@0.2.1",
|
|
135
|
+
"@distilled.cloud/litellm": "npm:@homeflare/distilled-litellm@0.4.1",
|
|
136
|
+
"@distilled.cloud/netbox": "npm:@homeflare/distilled-netbox@0.3.1",
|
|
137
|
+
"@distilled.cloud/openbao": "npm:@homeflare/distilled-openbao@0.2.3",
|
|
138
|
+
"@distilled.cloud/opnsense": "npm:@homeflare/distilled-opnsense@0.3.1",
|
|
139
|
+
"@distilled.cloud/paperless-ngx": "npm:@homeflare/distilled-paperless-ngx@0.3.1",
|
|
140
|
+
"@distilled.cloud/proxmox": "npm:@homeflare/distilled-proxmox@0.3.5",
|
|
141
|
+
"@distilled.cloud/proxmox-backup": "npm:@homeflare/distilled-proxmox-backup@0.3.2",
|
|
142
|
+
"@distilled.cloud/unifi-network": "npm:@homeflare/distilled-unifi-network@0.4.1"
|
|
143
143
|
},
|
|
144
144
|
"peerDependencies": {
|
|
145
|
-
"@distilled.cloud/argocd": "1.0.0-rc.
|
|
146
|
-
"@distilled.cloud/cloudflare": "1.0.0-rc.
|
|
147
|
-
"@distilled.cloud/discord": "1.0.0-rc.
|
|
148
|
-
"@distilled.cloud/forgejo": "1.0.0-rc.
|
|
149
|
-
"@distilled.cloud/google-workspace": "1.0.0-rc.
|
|
150
|
-
"@effect/platform-node": "4.0.
|
|
151
|
-
"@effect/sql-pg": "4.0.
|
|
152
|
-
"alchemy": "2.0.0-beta.
|
|
153
|
-
"effect": "4.0.
|
|
145
|
+
"@distilled.cloud/argocd": "1.0.0-rc.13",
|
|
146
|
+
"@distilled.cloud/cloudflare": "1.0.0-rc.13",
|
|
147
|
+
"@distilled.cloud/discord": "1.0.0-rc.13",
|
|
148
|
+
"@distilled.cloud/forgejo": "1.0.0-rc.13",
|
|
149
|
+
"@distilled.cloud/google-workspace": "1.0.0-rc.13",
|
|
150
|
+
"@effect/platform-node": "4.0.1",
|
|
151
|
+
"@effect/sql-pg": "4.0.1",
|
|
152
|
+
"alchemy": "2.0.0-beta.81",
|
|
153
|
+
"effect": "4.0.1",
|
|
154
154
|
"mime": "4.1.0"
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type Credentials, fromToken } from '@distilled.cloud/argocd/Credentials';
|
|
13
13
|
import * as Layer from 'effect/Layer';
|
|
14
|
-
import * as FetchHttpClient from 'effect/
|
|
14
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
15
15
|
|
|
16
16
|
export const FAKE_BASE = 'https://argocd.example.com';
|
|
17
17
|
export const FAKE_TOKEN = 'placeholder-argocd-token';
|
package/src/argocd/resource.ts
CHANGED
|
@@ -22,7 +22,7 @@ import type { Input } from 'alchemy/Input';
|
|
|
22
22
|
import { CredentialsFromEnv } from '@distilled.cloud/argocd/Credentials';
|
|
23
23
|
import type { ArgocdOpContext } from '@distilled.cloud/argocd/Protocol';
|
|
24
24
|
import * as Effect from 'effect/Effect';
|
|
25
|
-
import type * as HttpClient from 'effect/
|
|
25
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
26
26
|
|
|
27
27
|
/** What every handler needs from the caller's runtime, once `argocdHandlers` bakes in credentials. */
|
|
28
28
|
export type ArgocdRequirements = HttpClient.HttpClient;
|
|
@@ -35,8 +35,8 @@ import { Resource } from 'alchemy';
|
|
|
35
35
|
import * as Provider from 'alchemy/Provider';
|
|
36
36
|
import * as Effect from 'effect/Effect';
|
|
37
37
|
import * as Layer from 'effect/Layer';
|
|
38
|
-
import * as HttpClient from 'effect/
|
|
39
|
-
import * as HttpClientResponse from 'effect/
|
|
38
|
+
import * as HttpClient from 'effect/http/HttpClient';
|
|
39
|
+
import * as HttpClientResponse from 'effect/http/HttpClientResponse';
|
|
40
40
|
import { engineOver } from '../verify/fake-engine.ts';
|
|
41
41
|
import { CaddyConfig } from './config.ts';
|
|
42
42
|
import { type FakeCaddy, fakeDefaultCaddy } from './fake-caddy.ts';
|
package/src/caddy/admin.ts
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* config.ts is the one place that `Effect.provide`s it, scoped to exactly the effects that call
|
|
31
31
|
* `@distilled.cloud/caddy`'s operations.
|
|
32
32
|
*/
|
|
33
|
-
import type * as HttpClient from 'effect/
|
|
33
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
34
34
|
import * as Context from 'effect/Context';
|
|
35
35
|
import * as Layer from 'effect/Layer';
|
|
36
36
|
import type { Credentials } from '@distilled.cloud/caddy';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* An Effect `HttpClient.HttpClient` over `node:http`, dialling a unix socket or loopback TCP
|
|
3
3
|
* directly — the SDK's own transport layer for `@distilled.cloud/caddy`'s typed operations.
|
|
4
4
|
*
|
|
5
|
-
* ★ node:http, NOT `effect/
|
|
5
|
+
* ★ node:http, NOT `effect/http/FetchHttpClient`. MEASURED 2026-09-21 on bun 1.4.0 and
|
|
6
6
|
* node 26.7.0 (local-admin.ts's history): node:http dials a unix socket on BOTH runtimes, while
|
|
7
7
|
* node's fetch has no `unix` option at all (only Bun's does) — `@effect/platform-node`'s own
|
|
8
8
|
* `FetchHttpClient`/`NodeHttpClient.makeNodeHttp` (node:http, but URL-only — no `socketPath` seam)
|
|
@@ -21,10 +21,10 @@ import * as Duration from 'effect/Duration';
|
|
|
21
21
|
import * as Effect from 'effect/Effect';
|
|
22
22
|
import * as Layer from 'effect/Layer';
|
|
23
23
|
import * as Result from 'effect/Result';
|
|
24
|
-
import * as HttpClient from 'effect/
|
|
25
|
-
import * as HttpClientError from 'effect/
|
|
26
|
-
import type * as HttpClientRequest from 'effect/
|
|
27
|
-
import * as HttpClientResponse from 'effect/
|
|
24
|
+
import * as HttpClient from 'effect/http/HttpClient';
|
|
25
|
+
import * as HttpClientError from 'effect/http/HttpClientError';
|
|
26
|
+
import type * as HttpClientRequest from 'effect/http/HttpClientRequest';
|
|
27
|
+
import * as HttpClientResponse from 'effect/http/HttpClientResponse';
|
|
28
28
|
import type { Target } from './admin-address.ts';
|
|
29
29
|
|
|
30
30
|
export type LocalHttpClientOptions = {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { afterEach, describe, expect, test } from 'bun:test';
|
|
11
11
|
import * as Effect from 'effect/Effect';
|
|
12
12
|
import * as Layer from 'effect/Layer';
|
|
13
|
-
import * as HttpClient from 'effect/
|
|
14
|
-
import * as HttpClientError from 'effect/
|
|
13
|
+
import * as HttpClient from 'effect/http/HttpClient';
|
|
14
|
+
import * as HttpClientError from 'effect/http/HttpClientError';
|
|
15
15
|
import type { CaddyTransport } from './admin.ts';
|
|
16
16
|
import { isUnreachable } from './caddy-http-client.ts';
|
|
17
17
|
import { probeLive } from './config-lifecycle.ts';
|
package/src/caddy/format.ts
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
*/
|
|
22
22
|
import * as Effect from 'effect/Effect';
|
|
23
23
|
import * as Stream from 'effect/Stream';
|
|
24
|
-
import * as ChildProcess from 'effect/
|
|
25
|
-
import * as ChildProcessSpawner from 'effect/
|
|
24
|
+
import * as ChildProcess from 'effect/process/ChildProcess';
|
|
25
|
+
import * as ChildProcessSpawner from 'effect/process/ChildProcessSpawner';
|
|
26
26
|
import type * as PlatformError from 'effect/PlatformError';
|
|
27
27
|
|
|
28
28
|
/** `caddy` resolved on `PATH`, unless the caller points at a specific build. */
|
|
@@ -7,7 +7,7 @@ import { rmSync } from 'node:fs';
|
|
|
7
7
|
import { createServer } from 'node:net';
|
|
8
8
|
import { tmpdir } from 'node:os';
|
|
9
9
|
import { join } from 'node:path';
|
|
10
|
-
import * as HttpClientError from 'effect/
|
|
10
|
+
import * as HttpClientError from 'effect/http/HttpClientError';
|
|
11
11
|
import { loadCaddyfile, readRunningConfig } from './admin-calls.ts';
|
|
12
12
|
import { isUnreachable } from './caddy-http-client.ts';
|
|
13
13
|
import { type FakeCaddy, fakeCaddy, runCaddy } from './fake-caddy.ts';
|
package/src/ceph/auth-entity.ts
CHANGED
|
@@ -24,7 +24,7 @@ import { Resource } from 'alchemy';
|
|
|
24
24
|
import { isResolved } from 'alchemy/Diff';
|
|
25
25
|
import * as Provider from 'alchemy/Provider';
|
|
26
26
|
import * as Effect from 'effect/Effect';
|
|
27
|
-
import type * as HttpClient from 'effect/
|
|
27
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
28
28
|
import type { CephAuthEntityAttributes, CephAuthEntityProps } from './ceph-auth-form.ts';
|
|
29
29
|
import { planCephAuthEntity } from './ceph-auth-form.ts';
|
|
30
30
|
import { reconcileCephAuthEntity } from './ceph-auth-reconcile.ts';
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* (openbao/rename-identity.ts) runs first in every `Bao.*` reconcile.
|
|
28
28
|
*/
|
|
29
29
|
import * as Effect from 'effect/Effect';
|
|
30
|
-
import type * as HttpClient from 'effect/
|
|
30
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
31
31
|
import { baoWrite } from '../openbao/bao-http.ts';
|
|
32
32
|
import { sha256 } from '../openbao/digest.ts';
|
|
33
33
|
import { authCapsArgv, authGetArgv, authGetOrCreateArgv } from './ceph-argv.ts';
|
|
@@ -19,7 +19,7 @@ import * as Cloudflare from 'alchemy/Cloudflare';
|
|
|
19
19
|
import * as Effect from 'effect/Effect';
|
|
20
20
|
import * as Layer from 'effect/Layer';
|
|
21
21
|
import * as Redacted from 'effect/Redacted';
|
|
22
|
-
import * as FetchHttpClient from 'effect/
|
|
22
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
23
23
|
|
|
24
24
|
export const FAKE_BASE = 'https://api.example.com/client/v4';
|
|
25
25
|
export const FAKE_ACCOUNT = '00000000000000000000000000000001';
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
import { type Credentials, fromApiToken } from '@distilled.cloud/cloudflare/Credentials';
|
|
21
21
|
import * as Layer from 'effect/Layer';
|
|
22
|
-
import * as FetchHttpClient from 'effect/
|
|
22
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
23
23
|
import type { R2LockRule } from './lock-rules.ts';
|
|
24
24
|
|
|
25
25
|
export const FAKE_BASE = 'https://api.example.com/client/v4';
|
|
@@ -14,7 +14,7 @@ import * as Cause from 'effect/Cause';
|
|
|
14
14
|
import * as Effect from 'effect/Effect';
|
|
15
15
|
import * as Exit from 'effect/Exit';
|
|
16
16
|
import * as Layer from 'effect/Layer';
|
|
17
|
-
import * as FetchHttpClient from 'effect/
|
|
17
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
18
18
|
import { type FakeMesh, fakeProviderLayer } from './fake-mesh.ts';
|
|
19
19
|
import { MeshNode, MeshNodeProvider } from './mesh-node.ts';
|
|
20
20
|
import type { MeshNodeAttributes, MeshNodeProps } from './mesh-node-form.ts';
|
|
@@ -18,7 +18,7 @@ import * as Provider from 'alchemy/Provider';
|
|
|
18
18
|
import { Resource, type ResourceClass } from 'alchemy/Resource';
|
|
19
19
|
import * as Context from 'effect/Context';
|
|
20
20
|
import * as Effect from 'effect/Effect';
|
|
21
|
-
import * as HttpClient from 'effect/
|
|
21
|
+
import * as HttpClient from 'effect/http/HttpClient';
|
|
22
22
|
import {
|
|
23
23
|
type MeshNodeAttributes,
|
|
24
24
|
type MeshNodeProps,
|
|
@@ -37,7 +37,7 @@ import { Credentials } from '@distilled.cloud/cloudflare/Credentials';
|
|
|
37
37
|
import * as r2 from '@distilled.cloud/cloudflare/r2';
|
|
38
38
|
import * as Context from 'effect/Context';
|
|
39
39
|
import * as Effect from 'effect/Effect';
|
|
40
|
-
import * as HttpClient from 'effect/
|
|
40
|
+
import * as HttpClient from 'effect/http/HttpClient';
|
|
41
41
|
import {
|
|
42
42
|
type Jurisdiction,
|
|
43
43
|
type R2LockRule,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type Credentials, credentials } from '@distilled.cloud/discord/Credentials';
|
|
13
13
|
import * as Layer from 'effect/Layer';
|
|
14
|
-
import * as FetchHttpClient from 'effect/
|
|
14
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
15
15
|
|
|
16
16
|
export const FAKE_BASE = 'https://discord.example.com';
|
|
17
17
|
export const FAKE_TOKEN = 'placeholder-discord-token';
|
package/src/discord/resource.ts
CHANGED
|
@@ -36,7 +36,7 @@ import { isResolved } from 'alchemy/Diff';
|
|
|
36
36
|
import type { Input } from 'alchemy/Input';
|
|
37
37
|
import type { DiscordOpContext } from '@distilled.cloud/discord/Protocol';
|
|
38
38
|
import * as Effect from 'effect/Effect';
|
|
39
|
-
import type * as HttpClient from 'effect/
|
|
39
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
40
40
|
import { CredentialsFromEnv } from './credentials.ts';
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { type Credentials, credentials } from '@distilled.cloud/forgejo/Credentials';
|
|
12
12
|
import * as Layer from 'effect/Layer';
|
|
13
|
-
import * as FetchHttpClient from 'effect/
|
|
13
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
14
14
|
|
|
15
15
|
export const FAKE_BASE = 'https://forgejo.example.com';
|
|
16
16
|
export const FAKE_TOKEN = 'placeholder-forgejo-token';
|
package/src/forgejo/resource.ts
CHANGED
|
@@ -41,7 +41,7 @@ import type { Input } from 'alchemy/Input';
|
|
|
41
41
|
import { CredentialsFromEnv } from '@distilled.cloud/forgejo/Credentials';
|
|
42
42
|
import type { ForgejoOpContext } from '@distilled.cloud/forgejo/Protocol';
|
|
43
43
|
import * as Effect from 'effect/Effect';
|
|
44
|
-
import type * as HttpClient from 'effect/
|
|
44
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* ★ WHAT EVERY HANDLER NEEDS FROM THE CALLER'S RUNTIME, after Credentials are provided below.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type Credentials, fromAccessToken } from '@distilled.cloud/google-workspace/Credentials';
|
|
13
13
|
import * as Layer from 'effect/Layer';
|
|
14
|
-
import * as FetchHttpClient from 'effect/
|
|
14
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
15
15
|
|
|
16
16
|
export const FAKE_TOKEN = 'placeholder-google-workspace-token';
|
|
17
17
|
|
|
@@ -30,7 +30,7 @@ import type { Input } from 'alchemy/Input';
|
|
|
30
30
|
import { CredentialsFromEnv } from '@distilled.cloud/google-workspace/Credentials';
|
|
31
31
|
import type { GoogleWorkspaceOpContext } from '@distilled.cloud/google-workspace/Protocol';
|
|
32
32
|
import * as Effect from 'effect/Effect';
|
|
33
|
-
import type * as HttpClient from 'effect/
|
|
33
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* ★ WHAT EVERY HANDLER NEEDS FROM THE CALLER'S RUNTIME, after Credentials are provided below.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type Credentials, fromApiKey } from '@distilled.cloud/grafana/Credentials';
|
|
13
13
|
import * as Layer from 'effect/Layer';
|
|
14
|
-
import * as FetchHttpClient from 'effect/
|
|
14
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
15
15
|
|
|
16
16
|
export const FAKE_BASE = 'https://grafana.example.com';
|
|
17
17
|
export const FAKE_TOKEN = 'placeholder-grafana-token';
|
|
@@ -9,7 +9,7 @@ import { expect, test } from 'bun:test';
|
|
|
9
9
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
10
10
|
import * as Effect from 'effect/Effect';
|
|
11
11
|
import * as Layer from 'effect/Layer';
|
|
12
|
-
import * as FetchHttpClient from 'effect/
|
|
12
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
13
13
|
import { LiteLLMAccessGroup } from './access-group.ts';
|
|
14
14
|
import { deleteAccessGroup } from './access-group-operations.ts';
|
|
15
15
|
import type { AccessGroupProps } from './access-group-types.ts';
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import type * as credentials from '@distilled.cloud/litellm/credential_management';
|
|
20
20
|
import * as Data from 'effect/Data';
|
|
21
|
-
import type { HttpClientErrorReason } from 'effect/
|
|
21
|
+
import type { HttpClientErrorReason } from 'effect/http/HttpClientError';
|
|
22
22
|
|
|
23
23
|
/** A declaration the resource refuses before any request: a combination nobody meant. */
|
|
24
24
|
export class LitellmCredentialInvalidError extends Data.TaggedError(
|
|
@@ -14,7 +14,7 @@ import { Retry } from '@distilled.cloud/litellm/Retry';
|
|
|
14
14
|
import * as Effect from 'effect/Effect';
|
|
15
15
|
import * as Layer from 'effect/Layer';
|
|
16
16
|
import * as Logger from 'effect/Logger';
|
|
17
|
-
import * as FetchHttpClient from 'effect/
|
|
17
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
18
18
|
import { credentialHandlers } from './credential.ts';
|
|
19
19
|
import type { CredentialProps } from './credential-types.ts';
|
|
20
20
|
import { resolveValues, sealValues } from './credential-values.ts';
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
import * as credentials from '@distilled.cloud/litellm/credential_management';
|
|
36
36
|
import * as Effect from 'effect/Effect';
|
|
37
37
|
import * as Predicate from 'effect/Predicate';
|
|
38
|
-
import { isHttpClientError } from 'effect/
|
|
38
|
+
import { isHttpClientError } from 'effect/http/HttpClientError';
|
|
39
39
|
import { isCredentialRow, toAttributes } from './credential-form.ts';
|
|
40
40
|
import type { CredentialAttributes } from './credential-types.ts';
|
|
41
41
|
import {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { afterEach, beforeEach, expect, test } from 'bun:test';
|
|
3
3
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
4
4
|
import * as Effect from 'effect/Effect';
|
|
5
|
-
import * as FetchHttpClient from 'effect/
|
|
5
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
6
6
|
import { type CredentialProps, LiteLLMCredential, credentialHandlers } from './credential.ts';
|
|
7
7
|
import { credentialRow, startFakeCredentialLitellm } from './fake-credential-litellm.ts';
|
|
8
8
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
@@ -20,7 +20,7 @@ import { provideFreshArtifactStore } from 'alchemy/Artifacts';
|
|
|
20
20
|
import { encodeState } from 'alchemy/State/StateEncoding';
|
|
21
21
|
import * as Effect from 'effect/Effect';
|
|
22
22
|
import * as Layer from 'effect/Layer';
|
|
23
|
-
import * as FetchHttpClient from 'effect/
|
|
23
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
24
24
|
import { litellmProviders } from './providers.ts';
|
|
25
25
|
|
|
26
26
|
/** The planned action for each resource, deletions included, keyed by FQN. */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type * as keys from '@distilled.cloud/litellm/key_management';
|
|
10
10
|
import * as Data from 'effect/Data';
|
|
11
|
-
import type { HttpClientErrorReason } from 'effect/
|
|
11
|
+
import type { HttpClientErrorReason } from 'effect/http/HttpClientError';
|
|
12
12
|
import type {
|
|
13
13
|
LitellmKeyCallbackMetadataDeclaredError,
|
|
14
14
|
LitellmKeyCallbackMetadataLiveError,
|
|
@@ -9,7 +9,7 @@ import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
|
9
9
|
import { Retry } from '@distilled.cloud/litellm/Retry';
|
|
10
10
|
import * as Effect from 'effect/Effect';
|
|
11
11
|
import * as Layer from 'effect/Layer';
|
|
12
|
-
import * as FetchHttpClient from 'effect/
|
|
12
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
13
13
|
import { FAKE_BASE, startFakeLitellm } from './fake-litellm.ts';
|
|
14
14
|
import { type FakeStack, fakeStack } from './fake-stack.ts';
|
|
15
15
|
import { LiteLLMKey } from './key.ts';
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
import * as keys from '@distilled.cloud/litellm/key_management';
|
|
30
30
|
import * as Effect from 'effect/Effect';
|
|
31
31
|
import * as Predicate from 'effect/Predicate';
|
|
32
|
-
import { isHttpClientError } from 'effect/
|
|
32
|
+
import { isHttpClientError } from 'effect/http/HttpClientError';
|
|
33
33
|
import {
|
|
34
34
|
LitellmKeyAliasEmptyError,
|
|
35
35
|
LitellmKeyAmbiguousAliasError,
|
package/src/litellm/key.test.ts
CHANGED
|
@@ -112,7 +112,8 @@ describe('adopt by alias', () => {
|
|
|
112
112
|
yield* LiteLLMKey('Seat', { keyAlias: 'seat-a', budgetId: tierRow.budgetId });
|
|
113
113
|
});
|
|
114
114
|
const message = await failureOf(keyStack(fake).deploy(body));
|
|
115
|
-
|
|
115
|
+
// ★ beta.81 probes at apply itself and refuses first; the kit's check is the backstop.
|
|
116
|
+
expect(message).toMatch(/already exists|Cannot adopt resource 'Seat'.*--adopt/s);
|
|
116
117
|
expect(fake.keys.writes()).toEqual([]);
|
|
117
118
|
await keyStack(fake).deploy(body, { adopt: true });
|
|
118
119
|
expect(paths(fake)).toEqual(['/key/update']);
|
|
@@ -12,7 +12,7 @@ import { afterEach, beforeEach, describe, expect, test } from 'bun:test';
|
|
|
12
12
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
13
13
|
import * as Effect from 'effect/Effect';
|
|
14
14
|
import * as Layer from 'effect/Layer';
|
|
15
|
-
import * as FetchHttpClient from 'effect/
|
|
15
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
16
16
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
17
17
|
import { serverRow, startFakeMcpLitellm } from './fake-mcp-litellm.ts';
|
|
18
18
|
import { mcpServerHandlers } from './mcp-server.ts';
|
|
@@ -14,7 +14,7 @@ import { describe, expect, test } from 'bun:test';
|
|
|
14
14
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
15
15
|
import * as Effect from 'effect/Effect';
|
|
16
16
|
import * as Layer from 'effect/Layer';
|
|
17
|
-
import * as FetchHttpClient from 'effect/
|
|
17
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
18
18
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
19
19
|
import {
|
|
20
20
|
type FakeMcpLitellm,
|
|
@@ -10,7 +10,7 @@ import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
|
10
10
|
import { describe, expect, test } from 'bun:test';
|
|
11
11
|
import * as Effect from 'effect/Effect';
|
|
12
12
|
import * as Layer from 'effect/Layer';
|
|
13
|
-
import * as FetchHttpClient from 'effect/
|
|
13
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
14
14
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
15
15
|
import { modelRow, startFakeModelLitellm } from './fake-model-litellm.ts';
|
|
16
16
|
import { deleteModel, listModels, readModelRow } from './model-operations.ts';
|
|
@@ -34,7 +34,7 @@ import type { LitellmOpContext } from '@distilled.cloud/litellm/Protocol';
|
|
|
34
34
|
import type { ConfigError } from '@distilled.cloud/litellm/Errors';
|
|
35
35
|
import * as Effect from 'effect/Effect';
|
|
36
36
|
import * as Semaphore from 'effect/Semaphore';
|
|
37
|
-
import * as FetchHttpClient from 'effect/
|
|
37
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
38
38
|
|
|
39
39
|
export type { LitellmOpContext } from '@distilled.cloud/litellm/Protocol';
|
|
40
40
|
export type LitellmRequirements = LitellmOpContext;
|
|
@@ -16,7 +16,7 @@ import { describe, expect, test } from 'bun:test';
|
|
|
16
16
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
17
17
|
import * as Effect from 'effect/Effect';
|
|
18
18
|
import * as Layer from 'effect/Layer';
|
|
19
|
-
import * as FetchHttpClient from 'effect/
|
|
19
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
20
20
|
import { FAKE_BASE, startFakeLitellm } from './fake-litellm.ts';
|
|
21
21
|
import {
|
|
22
22
|
type LitellmRequirements,
|
|
@@ -9,7 +9,7 @@ import { Stack } from 'alchemy/Stack';
|
|
|
9
9
|
import { Stage } from 'alchemy/Stage';
|
|
10
10
|
import * as Effect from 'effect/Effect';
|
|
11
11
|
import * as Layer from 'effect/Layer';
|
|
12
|
-
import * as FetchHttpClient from 'effect/
|
|
12
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
13
13
|
import { FAKE_BASE, type FakeLitellm, startFakeLitellm } from './fake-litellm.ts';
|
|
14
14
|
import { createPassThroughEndpoint } from './operations.ts';
|
|
15
15
|
import {
|
|
@@ -10,8 +10,8 @@ import { describe, expect, test } from 'bun:test';
|
|
|
10
10
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
11
11
|
import * as Effect from 'effect/Effect';
|
|
12
12
|
import * as Layer from 'effect/Layer';
|
|
13
|
-
import * as FetchHttpClient from 'effect/
|
|
14
|
-
import * as HttpClient from 'effect/
|
|
13
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
14
|
+
import * as HttpClient from 'effect/http/HttpClient';
|
|
15
15
|
import { FAKE_BASE, startFakeLitellm } from './fake-litellm.ts';
|
|
16
16
|
import { listPassThroughEndpoints } from './operations.ts';
|
|
17
17
|
|
|
@@ -10,7 +10,7 @@ import { expect, test } from 'bun:test';
|
|
|
10
10
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
11
11
|
import * as Effect from 'effect/Effect';
|
|
12
12
|
import * as Layer from 'effect/Layer';
|
|
13
|
-
import * as FetchHttpClient from 'effect/
|
|
13
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
14
14
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
15
15
|
import {
|
|
16
16
|
type FakePolicyAttachmentLitellm,
|
|
@@ -9,7 +9,7 @@ import { expect, test } from 'bun:test';
|
|
|
9
9
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
10
10
|
import * as Effect from 'effect/Effect';
|
|
11
11
|
import * as Layer from 'effect/Layer';
|
|
12
|
-
import * as FetchHttpClient from 'effect/
|
|
12
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
13
13
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
14
14
|
import { FAKE_KEY } from './fake-registry-base.ts';
|
|
15
15
|
import {
|
|
@@ -9,7 +9,7 @@ import { expect, test } from 'bun:test';
|
|
|
9
9
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
10
10
|
import * as Effect from 'effect/Effect';
|
|
11
11
|
import * as Layer from 'effect/Layer';
|
|
12
|
-
import * as FetchHttpClient from 'effect/
|
|
12
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
13
13
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
14
14
|
import { FAKE_KEY } from './fake-registry-base.ts';
|
|
15
15
|
import { type FakeTeamLitellm, startFakeTeamLitellm, teamRow } from './fake-team-litellm.ts';
|
|
@@ -9,7 +9,7 @@ import { expect, test } from 'bun:test';
|
|
|
9
9
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
10
10
|
import * as Effect from 'effect/Effect';
|
|
11
11
|
import * as Layer from 'effect/Layer';
|
|
12
|
-
import * as FetchHttpClient from 'effect/
|
|
12
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
13
13
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
14
14
|
import { FAKE_KEY } from './fake-registry-base.ts';
|
|
15
15
|
import { type FakeTeamLitellm, startFakeTeamLitellm, teamRow } from './fake-team-litellm.ts';
|
|
@@ -9,7 +9,7 @@ import { expect, test } from 'bun:test';
|
|
|
9
9
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
10
10
|
import * as Effect from 'effect/Effect';
|
|
11
11
|
import * as Layer from 'effect/Layer';
|
|
12
|
-
import * as FetchHttpClient from 'effect/
|
|
12
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
13
13
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
14
14
|
import { FAKE_KEY } from './fake-registry-base.ts';
|
|
15
15
|
import { type FakeToolLitellm, startFakeToolLitellm, toolRow } from './fake-tool-litellm.ts';
|
|
@@ -9,7 +9,7 @@ import { expect, test } from 'bun:test';
|
|
|
9
9
|
import { credentials } from '@distilled.cloud/litellm/Credentials';
|
|
10
10
|
import * as Effect from 'effect/Effect';
|
|
11
11
|
import * as Layer from 'effect/Layer';
|
|
12
|
-
import * as FetchHttpClient from 'effect/
|
|
12
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
13
13
|
import { FAKE_BASE } from './fake-litellm.ts';
|
|
14
14
|
import { FAKE_KEY } from './fake-registry-base.ts';
|
|
15
15
|
import {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type Credentials, credentials } from '@distilled.cloud/netbox/Credentials';
|
|
13
13
|
import * as Layer from 'effect/Layer';
|
|
14
|
-
import * as FetchHttpClient from 'effect/
|
|
14
|
+
import * as FetchHttpClient from 'effect/http/FetchHttpClient';
|
|
15
15
|
|
|
16
16
|
export const FAKE_BASE = 'https://netbox.example.com';
|
|
17
17
|
export const FAKE_TOKEN = 'placeholder-netbox-token';
|
package/src/netbox/resource.ts
CHANGED
|
@@ -36,7 +36,7 @@ import type { Input } from 'alchemy/Input';
|
|
|
36
36
|
import { CredentialsFromEnv } from '@distilled.cloud/netbox/Credentials';
|
|
37
37
|
import type { NetboxOpContext } from '@distilled.cloud/netbox/Protocol';
|
|
38
38
|
import * as Effect from 'effect/Effect';
|
|
39
|
-
import type * as HttpClient from 'effect/
|
|
39
|
+
import type * as HttpClient from 'effect/http/HttpClient';
|
|
40
40
|
import { guardBody } from './constraint-guard.ts';
|
|
41
41
|
import type { EndpointKey, NetboxBody } from './constraints.ts';
|
|
42
42
|
|
|
@@ -15,7 +15,10 @@ import { writesOf } from './fake-stack.ts';
|
|
|
15
15
|
import { BaoMount } from './mount.ts';
|
|
16
16
|
|
|
17
17
|
const NOT_OWNED = /Cannot adopt resource 'Z'.*not owned by this stack.*--adopt/s;
|
|
18
|
-
|
|
18
|
+
// ★ beta.81 probes a create with an Output prop at apply itself, so ITS refusal fires first; the
|
|
19
|
+
// kit's refuseTakeover is the backstop. Either way each test asserts nothing was written.
|
|
20
|
+
const TAKEOVER =
|
|
21
|
+
/Cannot adopt resource 'Z'.*--adopt|: already exists, and this stack holds no state for it.*Nothing was written/s;
|
|
19
22
|
|
|
20
23
|
/** `Z`, with its knob an Output until apply: an upstream AppRole's `tokenTtl`, created with it. */
|
|
21
24
|
const pending = (row: CoreRow) =>
|
|
@@ -19,7 +19,10 @@ import { FAMILIES, type Family, upstream, withEstate } from './fake-families.ts'
|
|
|
19
19
|
import { writesOf } from './fake-stack.ts';
|
|
20
20
|
|
|
21
21
|
const NOT_OWNED = /Cannot adopt resource 'Z'.*not owned by this stack.*--adopt/s;
|
|
22
|
-
|
|
22
|
+
// ★ beta.81 probes a create with an Output prop at apply itself, so ITS refusal fires first; the
|
|
23
|
+
// kit's refuseTakeover is the backstop. Either way each test asserts nothing was written.
|
|
24
|
+
const TAKEOVER =
|
|
25
|
+
/Cannot adopt resource 'Z'.*--adopt|: already exists, and this stack holds no state for it.*Nothing was written/s;
|
|
23
26
|
const STILL_REFUSED = /Cannot adopt resource 'Z'.*--adopt/s;
|
|
24
27
|
|
|
25
28
|
/** `Z` names `a`, with its knob an Output until apply: the upstream AppRole is created with it. */
|