@anna-ai/cli 0.1.46 → 0.1.47
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/{app-bundle-upload-BNBH9x6a.js → app-bundle-upload-CzWR9jxI.js} +1 -1
- package/dist/{apps-cut-BQHvzBpJ.js → apps-cut-DWodD5oE.js} +4 -4
- package/dist/{apps-discard-CFQWOr9x.js → apps-discard-5z0K4-o3.js} +4 -4
- package/dist/{apps-publish-DFKd-Egv.js → apps-publish-Ck-2BEu3.js} +4 -4
- package/dist/{apps-publish-zeKU-9TE.js → apps-publish-CrpTz6WY.js} +6 -6
- package/dist/{apps-push-Bpv100k_.js → apps-push-CNOI2ruX.js} +6 -6
- package/dist/{apps-release-Goi4Psmt.js → apps-release-DuaJI9iX.js} +1 -1
- package/dist/{apps-rename-slug-qKXdUDDn.js → apps-rename-slug-BGpitGyw.js} +1 -1
- package/dist/{apps-sync-meta-Ch3kECAO.js → apps-sync-meta-87RK1Usm.js} +2 -2
- package/dist/cli.js +10 -10
- package/dist/{executa-publish-DRK9wla1.js → executa-publish-6awuH4Ma.js} +3 -3
- package/dist/{executa-publish-DiyLvmyl.js → executa-publish-BKnsUoZq.js} +2 -2
- package/dist/{executa-upload-binaries-pCHYUcie.js → executa-upload-binaries-DwWQ18Dq.js} +1 -1
- package/dist/{executa-upload-binaries-BRjsS5Xx.js → executa-upload-binaries-FWM2yXfB.js} +2 -2
- package/dist/{listing-meta-DvxLn9NY.js → listing-meta-35VYXW5a.js} +1 -3
- package/dist/{manifest-DZyXkzg5.js → manifest-B_DjigtQ.js} +1 -2
- package/dist/{publish-D2c3F4GL.js → publish-Bg4TkKoX.js} +6 -6
- package/dist/{working-orchestration-Ny4fR7gv.js → working-orchestration-CKXkvXVC.js} +2 -2
- package/package.json +1 -1
- package/templates/minimal/app.json +1 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { finalizeBundle, finalizeWorkingBundle, getBundle, initBundle, initWorkingBundle, uploadBundleFile, uploadWorkingBundleFile } from "./apps-DlVsVHQ5.js";
|
|
2
2
|
import { CliError } from "./client-sMzq2PWG.js";
|
|
3
|
-
import { canonicalize } from "./executa-publish-
|
|
3
|
+
import { canonicalize } from "./executa-publish-BKnsUoZq.js";
|
|
4
4
|
import { join, relative, sep } from "node:path";
|
|
5
5
|
import { readFileSync, readdirSync, statSync } from "node:fs";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
@@ -5,15 +5,15 @@ import { CliError } from "./client-sMzq2PWG.js";
|
|
|
5
5
|
import { resolveClient, withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
6
6
|
import { readExecutaIdentity } from "./executa-cache-BFoUtb4J.js";
|
|
7
7
|
import { readExecutasLock, writeExecutasLock } from "./bundled-executas-BRyQkI9u.js";
|
|
8
|
-
import { loadAppManifest, loadExecutaManifest } from "./manifest-
|
|
8
|
+
import { loadAppManifest, loadExecutaManifest } from "./manifest-B_DjigtQ.js";
|
|
9
9
|
import "./executas-CvQY_w2U.js";
|
|
10
|
-
import "./executa-publish-
|
|
10
|
+
import "./executa-publish-BKnsUoZq.js";
|
|
11
11
|
import "./binary-upload-DVhQ0uY0.js";
|
|
12
|
-
import { uploadExecutaBinaries } from "./executa-upload-binaries-
|
|
12
|
+
import { uploadExecutaBinaries } from "./executa-upload-binaries-DwWQ18Dq.js";
|
|
13
13
|
import "./dev-ClCDRplP.js";
|
|
14
14
|
import "./executa-install-CM4x4doq.js";
|
|
15
15
|
import "./app-cache-Cr3tKbux.js";
|
|
16
|
-
import { resolveAppBySlugOrCache } from "./working-orchestration-
|
|
16
|
+
import { resolveAppBySlugOrCache } from "./working-orchestration-CKXkvXVC.js";
|
|
17
17
|
import { resolve } from "node:path";
|
|
18
18
|
import { existsSync } from "node:fs";
|
|
19
19
|
import { bold, cyan, dim, green, yellow } from "kleur/colors";
|
|
@@ -5,15 +5,15 @@ import "./client-sMzq2PWG.js";
|
|
|
5
5
|
import { resolveClient, withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
6
6
|
import "./executa-cache-BFoUtb4J.js";
|
|
7
7
|
import "./bundled-executas-BRyQkI9u.js";
|
|
8
|
-
import "./manifest-
|
|
8
|
+
import "./manifest-B_DjigtQ.js";
|
|
9
9
|
import "./executas-CvQY_w2U.js";
|
|
10
|
-
import "./executa-publish-
|
|
10
|
+
import "./executa-publish-BKnsUoZq.js";
|
|
11
11
|
import "./binary-upload-DVhQ0uY0.js";
|
|
12
|
-
import "./executa-upload-binaries-
|
|
12
|
+
import "./executa-upload-binaries-DwWQ18Dq.js";
|
|
13
13
|
import "./dev-ClCDRplP.js";
|
|
14
14
|
import "./executa-install-CM4x4doq.js";
|
|
15
15
|
import "./app-cache-Cr3tKbux.js";
|
|
16
|
-
import { resolveAppBySlugOrCache } from "./working-orchestration-
|
|
16
|
+
import { resolveAppBySlugOrCache } from "./working-orchestration-CKXkvXVC.js";
|
|
17
17
|
import { dim, green, yellow } from "kleur/colors";
|
|
18
18
|
|
|
19
19
|
//#region src/commands/apps-discard.ts
|
|
@@ -3,11 +3,11 @@ import { createApp, createVersion, findAppBySlug, getApp } from "./apps-DlVsVHQ5
|
|
|
3
3
|
import { CliError } from "./client-sMzq2PWG.js";
|
|
4
4
|
import { resolveClient, withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
5
5
|
import { parseExecutaIdOverrides, readExecutasLock, substituteBundledRefs, validateBundledHandles, writeBundleToolIdSidecar, writeExecutasLock } from "./bundled-executas-BRyQkI9u.js";
|
|
6
|
-
import { loadAppManifest } from "./manifest-
|
|
7
|
-
import { bumpVersion, bundleHash, manifestHash, rewriteVersion, runExecutaPublish } from "./executa-publish-
|
|
6
|
+
import { loadAppManifest } from "./manifest-B_DjigtQ.js";
|
|
7
|
+
import { bumpVersion, bundleHash, manifestHash, rewriteVersion, runExecutaPublish } from "./executa-publish-BKnsUoZq.js";
|
|
8
8
|
import { appCacheMatches, readAppIdentity, writeAppIdentity } from "./app-cache-Cr3tKbux.js";
|
|
9
|
-
import { syncAppListingMeta } from "./listing-meta-
|
|
10
|
-
import { isExistingDir, uploadAppBundle } from "./app-bundle-upload-
|
|
9
|
+
import { syncAppListingMeta } from "./listing-meta-35VYXW5a.js";
|
|
10
|
+
import { isExistingDir, uploadAppBundle } from "./app-bundle-upload-CzWR9jxI.js";
|
|
11
11
|
import { resolve } from "node:path";
|
|
12
12
|
import { bold, cyan, dim, green, yellow } from "kleur/colors";
|
|
13
13
|
|
|
@@ -4,14 +4,14 @@ import "./client-sMzq2PWG.js";
|
|
|
4
4
|
import "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
5
5
|
import "./executa-cache-BFoUtb4J.js";
|
|
6
6
|
import "./bundled-executas-BRyQkI9u.js";
|
|
7
|
-
import "./manifest-
|
|
7
|
+
import "./manifest-B_DjigtQ.js";
|
|
8
8
|
import "./executas-CvQY_w2U.js";
|
|
9
|
-
import "./executa-publish-
|
|
9
|
+
import "./executa-publish-BKnsUoZq.js";
|
|
10
10
|
import "./binary-upload-DVhQ0uY0.js";
|
|
11
|
-
import "./executa-upload-binaries-
|
|
11
|
+
import "./executa-upload-binaries-DwWQ18Dq.js";
|
|
12
12
|
import "./app-cache-Cr3tKbux.js";
|
|
13
|
-
import "./listing-meta-
|
|
14
|
-
import "./app-bundle-upload-
|
|
15
|
-
import { runAppsPublish } from "./apps-publish-
|
|
13
|
+
import "./listing-meta-35VYXW5a.js";
|
|
14
|
+
import "./app-bundle-upload-CzWR9jxI.js";
|
|
15
|
+
import { runAppsPublish } from "./apps-publish-Ck-2BEu3.js";
|
|
16
16
|
|
|
17
17
|
export { runAppsPublish };
|
|
@@ -5,17 +5,17 @@ import { CliError } from "./client-sMzq2PWG.js";
|
|
|
5
5
|
import { resolveClient, withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
6
6
|
import "./executa-cache-BFoUtb4J.js";
|
|
7
7
|
import "./bundled-executas-BRyQkI9u.js";
|
|
8
|
-
import { loadAppManifest } from "./manifest-
|
|
8
|
+
import { loadAppManifest } from "./manifest-B_DjigtQ.js";
|
|
9
9
|
import "./executas-CvQY_w2U.js";
|
|
10
|
-
import { bumpVersion, bundleHash, manifestHash, rewriteVersion } from "./executa-publish-
|
|
10
|
+
import { bumpVersion, bundleHash, manifestHash, rewriteVersion } from "./executa-publish-BKnsUoZq.js";
|
|
11
11
|
import "./binary-upload-DVhQ0uY0.js";
|
|
12
|
-
import "./executa-upload-binaries-
|
|
12
|
+
import "./executa-upload-binaries-DwWQ18Dq.js";
|
|
13
13
|
import "./dev-ClCDRplP.js";
|
|
14
14
|
import "./executa-install-CM4x4doq.js";
|
|
15
15
|
import "./app-cache-Cr3tKbux.js";
|
|
16
|
-
import { installLocalBundledShims, resolveAppIdentity, resolveBundledExecutas } from "./working-orchestration-
|
|
17
|
-
import { syncAppListingMeta } from "./listing-meta-
|
|
18
|
-
import { isExistingDir, uploadWorkingBundle } from "./app-bundle-upload-
|
|
16
|
+
import { installLocalBundledShims, resolveAppIdentity, resolveBundledExecutas } from "./working-orchestration-CKXkvXVC.js";
|
|
17
|
+
import { syncAppListingMeta } from "./listing-meta-35VYXW5a.js";
|
|
18
|
+
import { isExistingDir, uploadWorkingBundle } from "./app-bundle-upload-CzWR9jxI.js";
|
|
19
19
|
import { resolve } from "node:path";
|
|
20
20
|
import { bold, cyan, dim, green, yellow } from "kleur/colors";
|
|
21
21
|
|
|
@@ -59,7 +59,7 @@ async function runAppsRelease(opts) {
|
|
|
59
59
|
if (!target) {
|
|
60
60
|
if (opts.allowCreate) {
|
|
61
61
|
if (!opts.json) console.log(yellow(`version ${opts.version} not found remotely; running 'apps publish' first (--allow-create)…`));
|
|
62
|
-
const { runAppsPublish } = await import("./apps-publish-
|
|
62
|
+
const { runAppsPublish } = await import("./apps-publish-CrpTz6WY.js");
|
|
63
63
|
const code = await runAppsPublish({
|
|
64
64
|
cwd: opts.cwd,
|
|
65
65
|
account: opts.account,
|
|
@@ -2,7 +2,7 @@ import "./credentials-BTv2IfUZ.js";
|
|
|
2
2
|
import { findAppBySlug, patchApp } from "./apps-DlVsVHQ5.js";
|
|
3
3
|
import { CliError } from "./client-sMzq2PWG.js";
|
|
4
4
|
import { reportError, resolveClient } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
5
|
-
import { loadAppManifest } from "./manifest-
|
|
5
|
+
import { loadAppManifest } from "./manifest-B_DjigtQ.js";
|
|
6
6
|
import { readAppIdentity, writeAppIdentity } from "./app-cache-Cr3tKbux.js";
|
|
7
7
|
import { writeFileSync } from "node:fs";
|
|
8
8
|
import { bold, dim, green, red, yellow } from "kleur/colors";
|
|
@@ -2,9 +2,9 @@ import { canonicalHost } from "./credentials-BTv2IfUZ.js";
|
|
|
2
2
|
import { findAppBySlug, getApp } from "./apps-DlVsVHQ5.js";
|
|
3
3
|
import { CliError } from "./client-sMzq2PWG.js";
|
|
4
4
|
import { resolveClient, withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
5
|
-
import { loadAppManifest } from "./manifest-
|
|
5
|
+
import { loadAppManifest } from "./manifest-B_DjigtQ.js";
|
|
6
6
|
import { readAppIdentity } from "./app-cache-Cr3tKbux.js";
|
|
7
|
-
import { syncAppListingMeta } from "./listing-meta-
|
|
7
|
+
import { syncAppListingMeta } from "./listing-meta-35VYXW5a.js";
|
|
8
8
|
import { resolve } from "node:path";
|
|
9
9
|
import { bold, cyan, dim, green } from "kleur/colors";
|
|
10
10
|
|
package/dist/cli.js
CHANGED
|
@@ -653,7 +653,7 @@ apps.command("list").description("List the Anna Apps you authored, with lifecycl
|
|
|
653
653
|
}));
|
|
654
654
|
});
|
|
655
655
|
apps.command("rename-slug <new-slug>").description("Rename an app's public slug (DRAFT/REJECTED, never-published, zero installs only). Updates local app.json + .anna/app.json on success.").option("--cwd <dir>", "Project root (default: cwd)").option("--manifest <path>", "manifest.json path", "manifest.json").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (newSlug, opts) => {
|
|
656
|
-
const { runAppsRenameSlug } = await import("./apps-rename-slug-
|
|
656
|
+
const { runAppsRenameSlug } = await import("./apps-rename-slug-BGpitGyw.js");
|
|
657
657
|
process.exit(await runAppsRenameSlug({
|
|
658
658
|
newSlug,
|
|
659
659
|
cwd: opts.cwd,
|
|
@@ -671,7 +671,7 @@ apps.command("publish").description("Publish or update an Anna App (manifest.jso
|
|
|
671
671
|
console.error(`✗ --bump must be patch|minor|major (got: ${opts.bump})`);
|
|
672
672
|
process.exit(2);
|
|
673
673
|
}
|
|
674
|
-
const { runAppsPublish } = await import("./apps-publish-
|
|
674
|
+
const { runAppsPublish } = await import("./apps-publish-CrpTz6WY.js");
|
|
675
675
|
process.exit(await runAppsPublish({
|
|
676
676
|
cwd: opts.cwd,
|
|
677
677
|
manifest: opts.manifest,
|
|
@@ -705,7 +705,7 @@ apps.command("push").description("Upsert the mutable working draft (manifest + b
|
|
|
705
705
|
process.exit(2);
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
|
-
const { runAppsPush } = await import("./apps-push-
|
|
708
|
+
const { runAppsPush } = await import("./apps-push-CNOI2ruX.js");
|
|
709
709
|
process.exit(await runAppsPush({
|
|
710
710
|
cwd: opts.cwd,
|
|
711
711
|
manifest: opts.manifest,
|
|
@@ -725,7 +725,7 @@ apps.command("push").description("Upsert the mutable working draft (manifest + b
|
|
|
725
725
|
}));
|
|
726
726
|
});
|
|
727
727
|
apps.command("cut <version>").description("Snapshot the working draft into an immutable version (freeze deps)").option("--changelog <text>", "Override the working draft changelog for this version").option("--slug <slug>", "App slug (default: resolve from .anna/app.json cache)").option("--cwd <dir>", "Project root for identity cache (default: cwd)").option("--dry-run", "Resolve target but don't cut", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (version, opts) => {
|
|
728
|
-
const { runAppsCut } = await import("./apps-cut-
|
|
728
|
+
const { runAppsCut } = await import("./apps-cut-DWodD5oE.js");
|
|
729
729
|
process.exit(await runAppsCut({
|
|
730
730
|
version,
|
|
731
731
|
changelog: opts.changelog,
|
|
@@ -737,7 +737,7 @@ apps.command("cut <version>").description("Snapshot the working draft into an im
|
|
|
737
737
|
}));
|
|
738
738
|
});
|
|
739
739
|
apps.command("discard").description("Drop the mutable working draft (leaves cut versions intact)").option("--slug <slug>", "App slug (default: resolve from .anna/app.json cache)").option("--cwd <dir>", "Project root for identity cache (default: cwd)").option("--dry-run", "Resolve target but don't discard", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
740
|
-
const { runAppsDiscard } = await import("./apps-discard-
|
|
740
|
+
const { runAppsDiscard } = await import("./apps-discard-5z0K4-o3.js");
|
|
741
741
|
process.exit(await runAppsDiscard({
|
|
742
742
|
slug: opts.slug,
|
|
743
743
|
cwd: opts.cwd,
|
|
@@ -747,7 +747,7 @@ apps.command("discard").description("Drop the mutable working draft (leaves cut
|
|
|
747
747
|
}));
|
|
748
748
|
});
|
|
749
749
|
apps.command("release <version>").description("Freeze & publish an existing remote version (go live)").option("--slug <slug>", "App slug (default: resolve from .anna/app.json cache)").option("--cwd <dir>", "Project root for identity cache (default: cwd)").option("--allow-create", "If the version isn't on the server, run 'apps publish' first, then release", false).option("--dry-run", "Resolve target + pre-flight but don't publish", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (version, opts) => {
|
|
750
|
-
const { runAppsRelease } = await import("./apps-release-
|
|
750
|
+
const { runAppsRelease } = await import("./apps-release-DuaJI9iX.js");
|
|
751
751
|
process.exit(await runAppsRelease({
|
|
752
752
|
version,
|
|
753
753
|
slug: opts.slug,
|
|
@@ -759,7 +759,7 @@ apps.command("release <version>").description("Freeze & publish an existing remo
|
|
|
759
759
|
}));
|
|
760
760
|
});
|
|
761
761
|
apps.command("sync-meta").description("Push mutable store metadata (name/tagline/…) from the manifest").option("--cwd <dir>", "Project root (default: cwd)").option("--manifest <path>", "manifest.json path", "manifest.json").option("--logo <path>", "Local logo file to upload (overrides app.json logo_file)").option("--dry-run", "Print the metadata diff but don't PATCH", false).option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
762
|
-
const { runAppsSyncMeta } = await import("./apps-sync-meta-
|
|
762
|
+
const { runAppsSyncMeta } = await import("./apps-sync-meta-87RK1Usm.js");
|
|
763
763
|
process.exit(await runAppsSyncMeta({
|
|
764
764
|
cwd: opts.cwd,
|
|
765
765
|
manifest: opts.manifest,
|
|
@@ -873,7 +873,7 @@ executa.command("publish").description("Mint or update an Executa (executa.json
|
|
|
873
873
|
console.error(`✗ --bump must be patch|minor|major (got: ${opts.bump})`);
|
|
874
874
|
process.exit(2);
|
|
875
875
|
}
|
|
876
|
-
const { runExecutaPublish } = await import("./executa-publish-
|
|
876
|
+
const { runExecutaPublish } = await import("./executa-publish-6awuH4Ma.js");
|
|
877
877
|
process.exit(await runExecutaPublish({
|
|
878
878
|
cwd: opts.cwd,
|
|
879
879
|
manifest: opts.manifest,
|
|
@@ -887,7 +887,7 @@ executa.command("publish").description("Mint or update an Executa (executa.json
|
|
|
887
887
|
}));
|
|
888
888
|
});
|
|
889
889
|
executa.command("upload-binaries").description("Push the local binary_artifacts declared in executa.json straight to the platform CDN (no public source URL needed — works for private repos). Requires a minted identity (.anna/executa.json from `executa publish` / `apps push`) or --tool-id.").option("--dir <path>", "Executa project dir (default: CWD)").option("--dry-run", "Hash artifacts + validate the plan server-side without uploading", false).option("--oidc", "Mint the upload token from the GitHub Actions OIDC id-token instead of a PAT (zero long-term secrets; needs `permissions: id-token: write` and a registered trusted publisher)", false).option("--tool-id <id>", "Explicit tool_id (skip the identity cache)").option("--host <url>", "Nexus host (required with --oidc unless ANNA_APP_HOST is set)").option("--account <host>", "Saved account host (default: current)").option("--json", "Emit machine-readable JSON", false).action(async (opts) => {
|
|
890
|
-
const { runExecutaUploadBinaries } = await import("./executa-upload-binaries-
|
|
890
|
+
const { runExecutaUploadBinaries } = await import("./executa-upload-binaries-FWM2yXfB.js");
|
|
891
891
|
process.exit(await runExecutaUploadBinaries({
|
|
892
892
|
dir: opts.dir,
|
|
893
893
|
dryRun: opts.dryRun,
|
|
@@ -1001,7 +1001,7 @@ program.command("publish").description("Auto-detect cwd and publish (apps publis
|
|
|
1001
1001
|
console.error(`✗ --bump must be patch|minor|major (got: ${opts.bump})`);
|
|
1002
1002
|
process.exit(2);
|
|
1003
1003
|
}
|
|
1004
|
-
const { runTopLevelPublish } = await import("./publish-
|
|
1004
|
+
const { runTopLevelPublish } = await import("./publish-Bg4TkKoX.js");
|
|
1005
1005
|
process.exit(await runTopLevelPublish({
|
|
1006
1006
|
cwd: opts.cwd,
|
|
1007
1007
|
bump: opts.bump,
|
|
@@ -2,10 +2,10 @@ import "./credentials-BTv2IfUZ.js";
|
|
|
2
2
|
import "./client-sMzq2PWG.js";
|
|
3
3
|
import "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
4
4
|
import "./executa-cache-BFoUtb4J.js";
|
|
5
|
-
import "./manifest-
|
|
5
|
+
import "./manifest-B_DjigtQ.js";
|
|
6
6
|
import "./executas-CvQY_w2U.js";
|
|
7
|
-
import { runExecutaPublish } from "./executa-publish-
|
|
7
|
+
import { runExecutaPublish } from "./executa-publish-BKnsUoZq.js";
|
|
8
8
|
import "./binary-upload-DVhQ0uY0.js";
|
|
9
|
-
import "./executa-upload-binaries-
|
|
9
|
+
import "./executa-upload-binaries-DwWQ18Dq.js";
|
|
10
10
|
|
|
11
11
|
export { runExecutaPublish };
|
|
@@ -2,9 +2,9 @@ import { canonicalHost } from "./credentials-BTv2IfUZ.js";
|
|
|
2
2
|
import { CliError } from "./client-sMzq2PWG.js";
|
|
3
3
|
import { resolveClient, withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
4
4
|
import { executaCacheMatches, invalidateExecutaCache, mintIdempotencyKey, readExecutaIdentity, writeExecutaIdentity } from "./executa-cache-BFoUtb4J.js";
|
|
5
|
-
import { loadExecutaManifest } from "./manifest-
|
|
5
|
+
import { loadExecutaManifest } from "./manifest-B_DjigtQ.js";
|
|
6
6
|
import { commitDraft, createDraft, getMySkill, getMyTool, listToolVersions, publishToolVersion, setSkillVisibility, setToolVisibility, updateMySkill, updateMyTool } from "./executas-CvQY_w2U.js";
|
|
7
|
-
import { uploadExecutaBinaries } from "./executa-upload-binaries-
|
|
7
|
+
import { uploadExecutaBinaries } from "./executa-upload-binaries-DwWQ18Dq.js";
|
|
8
8
|
import { join, relative, resolve, sep } from "node:path";
|
|
9
9
|
import { readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
|
|
10
10
|
import { bold, cyan, dim, green, yellow } from "kleur/colors";
|
|
@@ -2,7 +2,7 @@ import { canonicalHost } from "./credentials-BTv2IfUZ.js";
|
|
|
2
2
|
import { CliError } from "./client-sMzq2PWG.js";
|
|
3
3
|
import { resolveClient, withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
4
4
|
import { readExecutaIdentity } from "./executa-cache-BFoUtb4J.js";
|
|
5
|
-
import { loadExecutaManifest } from "./manifest-
|
|
5
|
+
import { loadExecutaManifest } from "./manifest-B_DjigtQ.js";
|
|
6
6
|
import { fetchGitHubIdToken, finalizeBinaryUpload, initBinaryUpload, mintUploadSession, mintUploadSessionViaOidc, uploadBinaryPart } from "./binary-upload-DVhQ0uY0.js";
|
|
7
7
|
import { isAbsolute, resolve } from "node:path";
|
|
8
8
|
import { closeSync, createReadStream, existsSync, openSync, readSync, statSync } from "node:fs";
|
|
@@ -2,8 +2,8 @@ import "./credentials-BTv2IfUZ.js";
|
|
|
2
2
|
import "./client-sMzq2PWG.js";
|
|
3
3
|
import "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
4
4
|
import "./executa-cache-BFoUtb4J.js";
|
|
5
|
-
import "./manifest-
|
|
5
|
+
import "./manifest-B_DjigtQ.js";
|
|
6
6
|
import "./binary-upload-DVhQ0uY0.js";
|
|
7
|
-
import { expandArtifactPath, resolveArtifactPlan, runExecutaUploadBinaries, uploadExecutaBinaries, uploadPlannedParts } from "./executa-upload-binaries-
|
|
7
|
+
import { expandArtifactPath, resolveArtifactPlan, runExecutaUploadBinaries, uploadExecutaBinaries, uploadPlannedParts } from "./executa-upload-binaries-DwWQ18Dq.js";
|
|
8
8
|
|
|
9
9
|
export { runExecutaUploadBinaries };
|
|
@@ -39,8 +39,7 @@ const LISTING_META_LIMITS = {
|
|
|
39
39
|
cover_url: 500,
|
|
40
40
|
homepage_url: 500,
|
|
41
41
|
support_url: 500,
|
|
42
|
-
privacy_url: 500
|
|
43
|
-
pricing_model: 20
|
|
42
|
+
privacy_url: 500
|
|
44
43
|
};
|
|
45
44
|
function checkListingLimit(key, value) {
|
|
46
45
|
const max = LISTING_META_LIMITS[key];
|
|
@@ -74,7 +73,6 @@ function buildMeta(manifest) {
|
|
|
74
73
|
addClearable("homepage_url", manifest.homepageUrl);
|
|
75
74
|
addClearable("support_url", manifest.supportUrl);
|
|
76
75
|
addClearable("privacy_url", manifest.privacyUrl);
|
|
77
|
-
add("pricing_model", manifest.pricingModel);
|
|
78
76
|
return meta;
|
|
79
77
|
}
|
|
80
78
|
/**
|
|
@@ -78,8 +78,7 @@ function loadAppManifest(cwd, manifestPath) {
|
|
|
78
78
|
screenshots: pickMetaArray("screenshots"),
|
|
79
79
|
homepageUrl: pickClearableMeta("homepage_url"),
|
|
80
80
|
supportUrl: pickClearableMeta("support_url"),
|
|
81
|
-
privacyUrl: pickClearableMeta("privacy_url")
|
|
82
|
-
pricingModel: pickMeta("pricing_model")
|
|
81
|
+
privacyUrl: pickClearableMeta("privacy_url")
|
|
83
82
|
};
|
|
84
83
|
}
|
|
85
84
|
const HANDLE_RE = /^[a-z0-9][a-z0-9-]{0,62}$/;
|
|
@@ -4,15 +4,15 @@ import { CliError } from "./client-sMzq2PWG.js";
|
|
|
4
4
|
import { withErrorHandling } from "./_lifecycle-shared-_9BzQ9Y2.js";
|
|
5
5
|
import "./executa-cache-BFoUtb4J.js";
|
|
6
6
|
import "./bundled-executas-BRyQkI9u.js";
|
|
7
|
-
import "./manifest-
|
|
7
|
+
import "./manifest-B_DjigtQ.js";
|
|
8
8
|
import "./executas-CvQY_w2U.js";
|
|
9
|
-
import { runExecutaPublish } from "./executa-publish-
|
|
9
|
+
import { runExecutaPublish } from "./executa-publish-BKnsUoZq.js";
|
|
10
10
|
import "./binary-upload-DVhQ0uY0.js";
|
|
11
|
-
import "./executa-upload-binaries-
|
|
11
|
+
import "./executa-upload-binaries-DwWQ18Dq.js";
|
|
12
12
|
import "./app-cache-Cr3tKbux.js";
|
|
13
|
-
import "./listing-meta-
|
|
14
|
-
import "./app-bundle-upload-
|
|
15
|
-
import { runAppsPublish } from "./apps-publish-
|
|
13
|
+
import "./listing-meta-35VYXW5a.js";
|
|
14
|
+
import "./app-bundle-upload-CzWR9jxI.js";
|
|
15
|
+
import { runAppsPublish } from "./apps-publish-Ck-2BEu3.js";
|
|
16
16
|
import { resolve } from "node:path";
|
|
17
17
|
import { existsSync } from "node:fs";
|
|
18
18
|
import { red, yellow } from "kleur/colors";
|
|
@@ -2,8 +2,8 @@ import { canonicalHost } from "./credentials-BTv2IfUZ.js";
|
|
|
2
2
|
import { createApp, findAppBySlug, getApp } from "./apps-DlVsVHQ5.js";
|
|
3
3
|
import { CliError } from "./client-sMzq2PWG.js";
|
|
4
4
|
import { parseExecutaIdOverrides, readExecutasLock, substituteBundledRefs, validateBundledHandles, writeBundleToolIdSidecar, writeExecutasLock } from "./bundled-executas-BRyQkI9u.js";
|
|
5
|
-
import { loadExecutaManifest } from "./manifest-
|
|
6
|
-
import { runExecutaPublish } from "./executa-publish-
|
|
5
|
+
import { loadExecutaManifest } from "./manifest-B_DjigtQ.js";
|
|
6
|
+
import { runExecutaPublish } from "./executa-publish-BKnsUoZq.js";
|
|
7
7
|
import { runExecutaInstall } from "./executa-install-CM4x4doq.js";
|
|
8
8
|
import { appCacheMatches, readAppIdentity, writeAppIdentity } from "./app-cache-Cr3tKbux.js";
|
|
9
9
|
import { join, resolve } from "node:path";
|
package/package.json
CHANGED