artifactpass 0.1.0-rc.2 → 0.1.0-rc.3
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 +51 -4
- package/dist/deployment/wrangler-template.json +2 -2
- 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 +5 -1
package/dist/cli.mjs
CHANGED
|
@@ -28956,7 +28956,7 @@ var claudePluginEntries = (value2) => {
|
|
|
28956
28956
|
}
|
|
28957
28957
|
return value2;
|
|
28958
28958
|
};
|
|
28959
|
-
var installPluginForHosts = async (hosts, marketplaceSource, runner = runProcess) => {
|
|
28959
|
+
var installPluginForHosts = async (hosts, marketplaceSource, binding, runner = runProcess) => {
|
|
28960
28960
|
const rollbackActions = [];
|
|
28961
28961
|
const rollback = async () => {
|
|
28962
28962
|
const errors = [];
|
|
@@ -28993,6 +28993,21 @@ var installPluginForHosts = async (hosts, marketplaceSource, runner = runProcess
|
|
|
28993
28993
|
if (hadPlugin) await runner("codex", ["plugin", "add", artifactpassPluginId, "--json"]);
|
|
28994
28994
|
});
|
|
28995
28995
|
await runner("codex", ["plugin", "add", artifactpassPluginId, "--json"]);
|
|
28996
|
+
await runner("codex", [
|
|
28997
|
+
"mcp",
|
|
28998
|
+
"add",
|
|
28999
|
+
"artifactpass",
|
|
29000
|
+
"--env",
|
|
29001
|
+
`ARTIFACTPASS_CONFIG_PATH=${binding.configPath}`,
|
|
29002
|
+
"--env",
|
|
29003
|
+
`ARTIFACTPASS_PROFILE=${binding.profileName}`,
|
|
29004
|
+
"--",
|
|
29005
|
+
process.execPath,
|
|
29006
|
+
binding.bridgePath
|
|
29007
|
+
]);
|
|
29008
|
+
rollbackActions.push(async () => {
|
|
29009
|
+
await runner("codex", ["mcp", "remove", "artifactpass"]);
|
|
29010
|
+
});
|
|
28996
29011
|
}
|
|
28997
29012
|
if (hosts.includes("claude")) {
|
|
28998
29013
|
const marketplaces = namedEntries(parseJson(
|
|
@@ -29039,6 +29054,23 @@ var installPluginForHosts = async (hosts, marketplaceSource, runner = runProcess
|
|
|
29039
29054
|
"--scope",
|
|
29040
29055
|
"user"
|
|
29041
29056
|
]);
|
|
29057
|
+
await runner("claude", [
|
|
29058
|
+
"mcp",
|
|
29059
|
+
"add",
|
|
29060
|
+
"--scope",
|
|
29061
|
+
"user",
|
|
29062
|
+
"artifactpass",
|
|
29063
|
+
"-e",
|
|
29064
|
+
`ARTIFACTPASS_CONFIG_PATH=${binding.configPath}`,
|
|
29065
|
+
"-e",
|
|
29066
|
+
`ARTIFACTPASS_PROFILE=${binding.profileName}`,
|
|
29067
|
+
"--",
|
|
29068
|
+
process.execPath,
|
|
29069
|
+
binding.bridgePath
|
|
29070
|
+
]);
|
|
29071
|
+
rollbackActions.push(async () => {
|
|
29072
|
+
await runner("claude", ["mcp", "remove", "artifactpass", "--scope", "user"]);
|
|
29073
|
+
});
|
|
29042
29074
|
}
|
|
29043
29075
|
return { hosts, rollback };
|
|
29044
29076
|
} catch (error51) {
|
|
@@ -29482,7 +29514,16 @@ var connectHost = async (input, dependencies) => {
|
|
|
29482
29514
|
sourceRoot: resolve5(input.marketplaceSource, "plugins/artifactpass")
|
|
29483
29515
|
}) : void 0;
|
|
29484
29516
|
const installAndVerify = async () => {
|
|
29485
|
-
const hostInstallation = installKnownHostAdapters && hosts.length > 0 ? await installPluginForHosts(hosts, input.marketplaceSource,
|
|
29517
|
+
const hostInstallation = installKnownHostAdapters && hosts.length > 0 ? await installPluginForHosts(hosts, input.marketplaceSource, {
|
|
29518
|
+
configPath,
|
|
29519
|
+
profileName,
|
|
29520
|
+
bridgePath: resolve5(
|
|
29521
|
+
input.hostBridgePath ?? resolve5(
|
|
29522
|
+
input.marketplaceSource,
|
|
29523
|
+
"plugins/artifactpass/dist/cli.mjs"
|
|
29524
|
+
)
|
|
29525
|
+
)
|
|
29526
|
+
}, runner) : void 0;
|
|
29486
29527
|
try {
|
|
29487
29528
|
await dependencies.verifyConnection?.({
|
|
29488
29529
|
configPath,
|
|
@@ -29726,8 +29767,12 @@ import { dirname as dirname6, join as join2, parse as parse3, resolve as resolve
|
|
|
29726
29767
|
// package.json
|
|
29727
29768
|
var package_default = {
|
|
29728
29769
|
name: "artifactpass",
|
|
29729
|
-
version: "0.1.0-rc.
|
|
29770
|
+
version: "0.1.0-rc.3",
|
|
29730
29771
|
description: "Install and connect ArtifactPass for compatible AI agent systems.",
|
|
29772
|
+
repository: {
|
|
29773
|
+
type: "git",
|
|
29774
|
+
url: "git+https://github.com/lordelogos/lordebuilds.artifact.pass.git"
|
|
29775
|
+
},
|
|
29731
29776
|
type: "module",
|
|
29732
29777
|
bin: {
|
|
29733
29778
|
artifactpass: "dist/cli.mjs"
|
|
@@ -29957,6 +30002,7 @@ var runArtifactpassInstall = async (input, dependencies) => {
|
|
|
29957
30002
|
profileName,
|
|
29958
30003
|
workspaceRoots: [workspaceRoot],
|
|
29959
30004
|
marketplaceSource: input.marketplaceSource,
|
|
30005
|
+
hostBridgePath: resolve6(portable.rootDirectory, "plugin/dist/cli.mjs"),
|
|
29960
30006
|
openDevelopment: input.openDevelopment === true,
|
|
29961
30007
|
installKnownHostAdapters: input.installKnownHostAdapters !== false,
|
|
29962
30008
|
...input.configPath === void 0 ? {} : { configPath }
|
|
@@ -30230,7 +30276,7 @@ ${url2}
|
|
|
30230
30276
|
}
|
|
30231
30277
|
const hosts = host === "both" ? void 0 : [host];
|
|
30232
30278
|
const marketplaceSource = optionalValue(args, "--marketplace") ?? defaultMarketplace;
|
|
30233
|
-
const portableIntegration =
|
|
30279
|
+
const portableIntegration = await installPortableIntegration({
|
|
30234
30280
|
sourceRoot: resolve7(marketplaceSource, "plugins/artifactpass")
|
|
30235
30281
|
});
|
|
30236
30282
|
const profileName = optionalValue(args, "--profile");
|
|
@@ -30241,6 +30287,7 @@ ${url2}
|
|
|
30241
30287
|
...hosts === void 0 ? {} : { hosts },
|
|
30242
30288
|
installKnownHostAdapters,
|
|
30243
30289
|
marketplaceSource,
|
|
30290
|
+
...installKnownHostAdapters ? { hostBridgePath: resolve7(portableIntegration.rootDirectory, "plugin/dist/cli.mjs") } : {},
|
|
30244
30291
|
openDevelopment: booleanFlag(args, "--open-development")
|
|
30245
30292
|
}, {
|
|
30246
30293
|
deviceFlowDependencies: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"configPath": "/
|
|
3
|
-
"userConfigPath": "/
|
|
2
|
+
"configPath": "/home/runner/work/lordebuilds.artifact.pass/lordebuilds.artifact.pass/apps/artifact-service/wrangler.jsonc",
|
|
3
|
+
"userConfigPath": "/home/runner/work/lordebuilds.artifact.pass/lordebuilds.artifact.pass/apps/artifact-service/wrangler.jsonc",
|
|
4
4
|
"topLevelName": "lordebuilds-artifacts-share",
|
|
5
5
|
"definedEnvironments": [],
|
|
6
6
|
"compatibility_date": "2026-08-16",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artifactpass",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.3",
|
|
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,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "artifactpass",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.3",
|
|
4
4
|
"description": "Install and connect ArtifactPass for compatible AI agent systems.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/lordelogos/lordebuilds.artifact.pass.git"
|
|
8
|
+
},
|
|
5
9
|
"type": "module",
|
|
6
10
|
"bin": {
|
|
7
11
|
"artifactpass": "dist/cli.mjs"
|