image-skill 0.1.39 → 0.1.40
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/CHANGELOG.md +10 -0
- package/bin/image-skill.mjs +14 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ This changelog tracks the public `image-skill` CLI package and public skill
|
|
|
4
4
|
mirror. The npm package metadata remains the authority for tarball integrity and
|
|
5
5
|
provenance; this file is the human- and agent-readable release map.
|
|
6
6
|
|
|
7
|
+
## 0.1.40 - 2026-06-11
|
|
8
|
+
|
|
9
|
+
- Fix (growth): the `IMAGE_SKILL_DISCOVERY_SOURCE` attribution slug now
|
|
10
|
+
survives the guide handoff — guide-emitted fresh-process replay commands
|
|
11
|
+
(including the signup `next_command`) carry the env assignment in their
|
|
12
|
+
shell prefix, the same fresh-process-env treatment as
|
|
13
|
+
`IMAGE_SKILL_CONFIG_PATH`. Without this, a slug provided at
|
|
14
|
+
`create --guide` was lost before signup, so channel attribution read zero
|
|
15
|
+
by construction.
|
|
16
|
+
|
|
7
17
|
## 0.1.39 - 2026-06-10
|
|
8
18
|
|
|
9
19
|
- Feature (growth): **`signup --discovery-source SLUG`** (or the
|
package/bin/image-skill.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { Readable } from "node:stream";
|
|
|
7
7
|
import { pipeline } from "node:stream/promises";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
|
|
10
|
-
const VERSION = "0.1.
|
|
10
|
+
const VERSION = "0.1.40";
|
|
11
11
|
const PACKAGE_NAME = "image-skill";
|
|
12
12
|
const DEFAULT_API_BASE_URL = "https://api.image-skill.com";
|
|
13
13
|
const DEFAULT_DOCS_BASE_URL = "https://image-skill.com";
|
|
@@ -3098,15 +3098,28 @@ function createGuideCommandPrefix(input = {}) {
|
|
|
3098
3098
|
input.configPath === undefined
|
|
3099
3099
|
? configuredImageSkillConfigPath()
|
|
3100
3100
|
: input.configPath;
|
|
3101
|
+
// Discovery-source attribution (#1814) must survive the guide handoff into
|
|
3102
|
+
// the fresh-process replay commands, or the slug dies before signup.
|
|
3103
|
+
const discoverySource = configuredDiscoverySource();
|
|
3101
3104
|
return renderShellEnvPrefixedCommand(
|
|
3102
3105
|
{
|
|
3103
3106
|
npm_config_update_notifier: "false",
|
|
3104
3107
|
...(configPath === null ? {} : { IMAGE_SKILL_CONFIG_PATH: configPath }),
|
|
3108
|
+
...(discoverySource === null
|
|
3109
|
+
? {}
|
|
3110
|
+
: { IMAGE_SKILL_DISCOVERY_SOURCE: discoverySource }),
|
|
3105
3111
|
},
|
|
3106
3112
|
"npx -y image-skill@latest",
|
|
3107
3113
|
);
|
|
3108
3114
|
}
|
|
3109
3115
|
|
|
3116
|
+
function configuredDiscoverySource() {
|
|
3117
|
+
const value = process.env.IMAGE_SKILL_DISCOVERY_SOURCE;
|
|
3118
|
+
return typeof value === "string" && value.trim().length > 0
|
|
3119
|
+
? value.trim()
|
|
3120
|
+
: null;
|
|
3121
|
+
}
|
|
3122
|
+
|
|
3110
3123
|
function configuredImageSkillConfigPath() {
|
|
3111
3124
|
const configPath = process.env.IMAGE_SKILL_CONFIG_PATH;
|
|
3112
3125
|
return typeof configPath === "string" && configPath.length > 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "image-skill",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.40",
|
|
4
4
|
"description": "Zero-setup durable creative-media CLI for agents (image + video + audio + 3D): guide-first creation, model and cost inspection, owned URLs, JSON recovery, payments, reusable assets, and feedback.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|