artifactpass 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs CHANGED
@@ -31880,6 +31880,7 @@ var storageLifecycleForMaximumExpiry = (maximumExpirySeconds) => {
31880
31880
 
31881
31881
  // src/cloudflare/deployment.ts
31882
31882
  var approvedProductionPendingMigrationSets = [
31883
+ [],
31883
31884
  ["0009-cleanup-indexes.sql"],
31884
31885
  ["0007-public-auth.sql", "0008-private-deployment.sql", "0009-cleanup-indexes.sql"]
31885
31886
  ];
@@ -32732,8 +32733,10 @@ var deployArtifactShare = async (input, dependencies) => {
32732
32733
  );
32733
32734
  const location = containedUpload.headers.get("location");
32734
32735
  const accessHostname = new URL(`https://${organization.auth_domain}`).hostname;
32735
- if (![302, 303, 307, 401, 403].includes(containedUpload.status) || location !== null && new URL(location, baseUrl).hostname !== accessHostname) {
32736
- throw new Error(`Cloudflare Access did not retain the production upload boundary (${containedUpload.status})`);
32736
+ const retainedAccessBoundary = [302, 303, 307, 401, 403].includes(containedUpload.status) && (location === null || new URL(location, baseUrl).hostname === accessHostname);
32737
+ const retainedArtifactPassBoundary = isArtifactPassUploadRedirect(containedUpload, baseUrl);
32738
+ if (!retainedAccessBoundary && !retainedArtifactPassBoundary) {
32739
+ throw new Error(`Production upload boundary is not protected (${containedUpload.status})`);
32737
32740
  }
32738
32741
  return {
32739
32742
  baseUrl,
@@ -36166,7 +36169,7 @@ var runDoctor = async (deploymentRoot2, runner = runProcess) => {
36166
36169
  // package.json
36167
36170
  var package_default = {
36168
36171
  name: "artifactpass",
36169
- version: "0.1.3",
36172
+ version: "0.1.5",
36170
36173
  description: "Install and connect ArtifactPass for compatible AI agent systems.",
36171
36174
  repository: {
36172
36175
  type: "git",
@@ -32821,7 +32821,7 @@ var capabilityPath = /^\/a\/[A-Za-z0-9_-]{32,256}(?=\/|$)/u;
32821
32821
  var redactRequestPath = (pathname) => pathname.replace(capabilityPath, "/a/:capability");
32822
32822
  var package_default = {
32823
32823
  name: "artifactpass",
32824
- version: "0.1.3",
32824
+ version: "0.1.5",
32825
32825
  "private": true,
32826
32826
  type: "module",
32827
32827
  packageManager: "pnpm@10.11.0",
@@ -33091,7 +33091,7 @@ var TermsPage = ({ staging }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("s
33091
33091
  ]
33092
33092
  });
33093
33093
  var installCommandFor = (url) => {
33094
- return url.hostname === "artifactpass.com" ? `pnpm dlx artifactpass@${package_default.version}` : `pnpm dlx artifactpass@${package_default.version} --base-url ${url.origin}`;
33094
+ return url.hostname === "artifactpass.com" ? "pnpm dlx artifactpass" : `pnpm dlx artifactpass@${package_default.version} --base-url ${url.origin}`;
33095
33095
  };
33096
33096
  var pageContent = (page, url, configuration) => {
33097
33097
  const staging = url.hostname === "staging.artifactpass.com";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artifactpass",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "displayName": "ArtifactPass",
5
5
  "description": "Share local Markdown, HTML, and PDF artifacts through a private temporary link.",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artifactpass",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Share local Markdown, HTML, and PDF artifacts through a private temporary link.",
5
5
  "author": {
6
6
  "name": "Lorde Builds"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artifactpass",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "displayName": "ArtifactPass",
5
5
  "description": "Share local Markdown, HTML, and PDF artifacts through a private temporary link.",
6
6
  "longDescription": "Publishes a file from an explicitly allowed workspace through ArtifactPass and reads supported shared artifacts in bounded chunks.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artifactpass",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Install and connect ArtifactPass for compatible AI agent systems.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,8 +29,8 @@
29
29
  "@types/node": "^24.10.14",
30
30
  "typescript": "^7.0.2",
31
31
  "vitest": "^4.1.10",
32
- "agent-bridge": "0.0.0",
33
32
  "artifact-service": "0.0.0",
33
+ "agent-bridge": "0.0.0",
34
34
  "artifact-protocol": "0.0.0"
35
35
  },
36
36
  "scripts": {