artifactpass 0.1.4 → 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
@@ -32733,8 +32733,10 @@ var deployArtifactShare = async (input, dependencies) => {
32733
32733
  );
32734
32734
  const location = containedUpload.headers.get("location");
32735
32735
  const accessHostname = new URL(`https://${organization.auth_domain}`).hostname;
32736
- if (![302, 303, 307, 401, 403].includes(containedUpload.status) || location !== null && new URL(location, baseUrl).hostname !== accessHostname) {
32737
- 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})`);
32738
32740
  }
32739
32741
  return {
32740
32742
  baseUrl,
@@ -36167,7 +36169,7 @@ var runDoctor = async (deploymentRoot2, runner = runProcess) => {
36167
36169
  // package.json
36168
36170
  var package_default = {
36169
36171
  name: "artifactpass",
36170
- version: "0.1.4",
36172
+ version: "0.1.5",
36171
36173
  description: "Install and connect ArtifactPass for compatible AI agent systems.",
36172
36174
  repository: {
36173
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.4",
32824
+ version: "0.1.5",
32825
32825
  "private": true,
32826
32826
  type: "module",
32827
32827
  packageManager: "pnpm@10.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artifactpass",
3
- "version": "0.1.4",
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.4",
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.4",
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.4",
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": {