artifactpass 0.1.9 → 0.1.10-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +20 -13
- package/dist/deployment/client/assets/main-D_UusR4h.js +72 -0
- package/dist/deployment/client/assets/{pdf-extraction-client-DokBgTo-.js → pdf-extraction-client-uAaiYy5M.js} +1 -1
- package/dist/deployment/client/upload.html +1 -2
- package/dist/deployment/index.js +20 -988
- package/dist/marketplace/plugins/artifactpass/.claude-plugin/plugin.json +1 -1
- package/dist/marketplace/plugins/artifactpass/.codex-plugin/plugin.json +1 -1
- package/dist/marketplace/plugins/artifactpass/plugin-metadata.json +1 -1
- package/package.json +13 -1
- package/dist/deployment/client/_headers +0 -20
- package/dist/deployment/client/assets/homepage-validation.js +0 -1
- package/dist/deployment/client/assets/main-DS8m6E8X.js +0 -72
- package/dist/deployment/client/index.html +0 -45
- package/dist/deployment/client/privacy.html +0 -30
- package/dist/deployment/client/robots.txt +0 -4
- package/dist/deployment/client/sitemap.xml +0 -6
- package/dist/deployment/client/terms.html +0 -30
package/dist/cli.mjs
CHANGED
|
@@ -31988,11 +31988,11 @@ var deploymentPlan = (input) => {
|
|
|
31988
31988
|
if (input.publicAuth !== void 0) {
|
|
31989
31989
|
return [
|
|
31990
31990
|
"verify the short-lived Cloudflare API token, selected zone, and Workers account subdomain",
|
|
31991
|
-
input.productionExistingResources === true ? "verify the approved existing Worker, D1 database, R2 bucket,
|
|
31991
|
+
input.productionExistingResources === true ? "verify the approved existing Worker, D1 database, R2 bucket, and Pages front door" : "reuse or create the private D1 database and R2 bucket",
|
|
31992
31992
|
"prepare the public Worker configuration with Google and GitHub OAuth secrets",
|
|
31993
31993
|
"apply D1 migrations and the R2 cleanup lifecycle",
|
|
31994
|
-
input.productionExistingResources === true ? "deploy code and OAuth secrets
|
|
31995
|
-
input.productionExistingResources === true ? "verify provider starts, health, and the
|
|
31994
|
+
input.productionExistingResources === true ? "deploy code and OAuth secrets behind the existing Pages front door" : "deploy the Worker and verify ArtifactPass authentication before removing the old Access gate",
|
|
31995
|
+
input.productionExistingResources === true ? "verify provider starts, health, and the ArtifactPass sign-in boundary" : "verify public sign-in, protected upload redirection, and health",
|
|
31996
31996
|
"print the public connection command without persisting provisioning credentials"
|
|
31997
31997
|
];
|
|
31998
31998
|
}
|
|
@@ -32180,10 +32180,9 @@ var approvalBinding = async (input, serviceName, dependencies) => {
|
|
|
32180
32180
|
const domain2 = domains.find((candidate) => candidate.hostname === input.hostname);
|
|
32181
32181
|
const serviceDomains = domains.filter((candidate) => candidate.service === serviceName);
|
|
32182
32182
|
const serviceRoutes = zoneRoutes.filter((candidate) => candidate.script === serviceName);
|
|
32183
|
-
|
|
32184
|
-
if (workersSubdomain?.subdomain !== input.workersSubdomain || zone.status !== "active" || input.hostname !== zone.name && !input.hostname.endsWith(`.${zone.name}`) || domain2?.service !== serviceName || database === null || bucket === null || worker === void 0 || application === void 0 || canonicalJson(destinations) !== canonicalJson(expectedDestinations(input.hostname)) || serviceDomains.length !== 1 || serviceRoutes.length !== 0 || workerSubdomain?.enabled !== false || workerSubdomain.previews_enabled !== false) {
|
|
32183
|
+
if (workersSubdomain?.subdomain !== input.workersSubdomain || zone.status !== "active" || input.hostname !== zone.name && !input.hostname.endsWith(`.${zone.name}`) || domain2 !== void 0 || database === null || bucket === null || worker === void 0 || serviceDomains.length !== 0 || serviceRoutes.length !== 0 || workerSubdomain?.enabled !== false || workerSubdomain.previews_enabled !== false) {
|
|
32185
32184
|
throw new Error(
|
|
32186
|
-
"Production requires the approved existing Worker, D1, R2,
|
|
32185
|
+
"Production requires the approved existing Worker, D1, R2, and Pages front door"
|
|
32187
32186
|
);
|
|
32188
32187
|
}
|
|
32189
32188
|
const localMigrations = (await readdir(resolve3(dependencies.deploymentRoot, "migrations"))).filter((name) => name.endsWith(".sql")).sort();
|
|
@@ -32539,7 +32538,7 @@ var deployArtifactShare = async (input, dependencies) => {
|
|
|
32539
32538
|
migrations_dir: resolve3(dependencies.deploymentRoot, "migrations")
|
|
32540
32539
|
};
|
|
32541
32540
|
template.r2_buckets[0] = { binding: "ARTIFACTS", bucket_name: serviceName };
|
|
32542
|
-
template.routes = [{ pattern: input.hostname, custom_domain: true }];
|
|
32541
|
+
template.routes = input.publicAuth !== void 0 && input.productionExistingResources === true ? [] : [{ pattern: input.hostname, custom_domain: true }];
|
|
32543
32542
|
template.workers_dev = false;
|
|
32544
32543
|
template.preview_urls = false;
|
|
32545
32544
|
if (input.publicAuth === void 0) {
|
|
@@ -32735,7 +32734,6 @@ var deployArtifactShare = async (input, dependencies) => {
|
|
|
32735
32734
|
}
|
|
32736
32735
|
}
|
|
32737
32736
|
if (input.productionExistingResources === true) {
|
|
32738
|
-
if (organization === null) throw new Error("Cloudflare Access organization is unavailable");
|
|
32739
32737
|
const containedUpload = await fetchAfterDeploymentPropagation(
|
|
32740
32738
|
fetchImplementation,
|
|
32741
32739
|
`${baseUrl}/upload`,
|
|
@@ -32743,11 +32741,8 @@ var deployArtifactShare = async (input, dependencies) => {
|
|
|
32743
32741
|
sleep2,
|
|
32744
32742
|
readinessTimeoutMilliseconds
|
|
32745
32743
|
);
|
|
32746
|
-
const location = containedUpload.headers.get("location");
|
|
32747
|
-
const accessHostname = new URL(`https://${organization.auth_domain}`).hostname;
|
|
32748
|
-
const retainedAccessBoundary = [302, 303, 307, 401, 403].includes(containedUpload.status) && (location === null || new URL(location, baseUrl).hostname === accessHostname);
|
|
32749
32744
|
const retainedArtifactPassBoundary = isArtifactPassUploadRedirect(containedUpload, baseUrl);
|
|
32750
|
-
if (!
|
|
32745
|
+
if (!retainedArtifactPassBoundary) {
|
|
32751
32746
|
throw new Error(`Production upload boundary is not protected (${containedUpload.status})`);
|
|
32752
32747
|
}
|
|
32753
32748
|
return {
|
|
@@ -36178,8 +36173,20 @@ var runDoctor = async (deploymentRoot2, runner = runProcess) => {
|
|
|
36178
36173
|
// package.json
|
|
36179
36174
|
var package_default = {
|
|
36180
36175
|
name: "artifactpass",
|
|
36181
|
-
version: "0.1.
|
|
36176
|
+
version: "0.1.10-rc.1",
|
|
36182
36177
|
description: "Install and connect ArtifactPass for compatible AI agent systems.",
|
|
36178
|
+
homepage: "https://artifactpass.com",
|
|
36179
|
+
keywords: [
|
|
36180
|
+
"artifact-sharing",
|
|
36181
|
+
"ai-agents",
|
|
36182
|
+
"mcp",
|
|
36183
|
+
"model-context-protocol",
|
|
36184
|
+
"temporary-file-sharing",
|
|
36185
|
+
"markdown",
|
|
36186
|
+
"html",
|
|
36187
|
+
"pdf",
|
|
36188
|
+
"cloudflare"
|
|
36189
|
+
],
|
|
36183
36190
|
repository: {
|
|
36184
36191
|
type: "git",
|
|
36185
36192
|
url: "git+https://github.com/lordelogos/lordebuilds.artifact.pass.git"
|