@promptframe/creation 0.2.6 → 0.2.7
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/.agents/plugins/marketplace.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +2 -2
- package/dist/cli.mjs +2 -1
- package/docs/installing.md +2 -2
- package/docs/releases/0.2.7.md +5 -0
- package/lib/host-context.mjs +1 -1
- package/lib/version.mjs +1 -1
- package/package.json +1 -1
- package/skills/creation-setup/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- creation-install-command -->
|
|
10
10
|
```bash
|
|
11
|
-
npx --yes @promptframe/creation@0.2.
|
|
11
|
+
npx --yes @promptframe/creation@0.2.7 connect --endpoint <Studio提供的API地址>
|
|
12
12
|
```
|
|
13
13
|
<!-- /creation-install-command -->
|
|
14
14
|
|
|
15
15
|
每次从 Studio 获取当前固定推荐版本;入口比较已安装版本,较新版本保留,不后台追踪 latest。入口检查环境、准备用户级版本、注册并核回 Codex 插件,复用有效凭据;首次 Token 在终端隐藏输入,不粘进聊天。完成后在同一主机开一个 **Local 新聊天**(CLI 开新 session),确认 `creation-setup`、`video-creation` 与 MCP 工具一起加载。可以选择独立的非 Git 创作目录,不需要产品源码或 Worktree;不必重新安装或获取 Token。安装本身不接管作品、不启动付费制作。`npx` 单独运行或目录连通不等于当前聊天已加载插件。
|
|
16
16
|
|
|
17
|
-
[0.2.6](docs/releases/0.2.6.md)统一安装指令的版本和固定 Git 来源诊断;[0.2.5](docs/releases/0.2.5.md)新增项目只读入门和 Skill 说明读取。安装版本以 Studio 的固定推荐为准,已安装的较新版本不会降级。0.2.4 的安装发现、登记异常处理和新聊天指引见[版本说明](docs/releases/0.2.4.md)。
|
|
17
|
+
[0.2.7](docs/releases/0.2.7.md)支持在 Studio 或另一聊天编辑作品时读取平台用量;[0.2.6](docs/releases/0.2.6.md)统一安装指令的版本和固定 Git 来源诊断;[0.2.5](docs/releases/0.2.5.md)新增项目只读入门和 Skill 说明读取。安装版本以 Studio 的固定推荐为准,已安装的较新版本不会降级。0.2.4 的安装发现、登记异常处理和新聊天指引见[版本说明](docs/releases/0.2.4.md)。
|
|
18
18
|
|
|
19
19
|
API 使用 Studio 实际可达 origin 和 `/api` 或 `/api/mcp`,没有内置生产/私有地址。远程客户端不要改成自己的 localhost。另一个环境或账号显式使用 `--profile <名称>`;新旧桥各固定凭据路径,不热切环境。有效 Token 不因升级、新作品或接管轮换。详细安装、升级保旧、卸载和排障见[安装说明](docs/installing.md)。Linux、WSL、macOS 使用0700目录/0600凭据;原生Windows ACL尚未验证。
|
|
20
20
|
|
package/dist/cli.mjs
CHANGED
|
@@ -7301,7 +7301,7 @@ var require_content_type = __commonJS({
|
|
|
7301
7301
|
});
|
|
7302
7302
|
|
|
7303
7303
|
// lib/version.mjs
|
|
7304
|
-
var CLIENT_VERSION = "0.2.
|
|
7304
|
+
var CLIENT_VERSION = "0.2.7";
|
|
7305
7305
|
var CLIENT_PROTOCOL = "creation-client/v1";
|
|
7306
7306
|
|
|
7307
7307
|
// lib/cli.mjs
|
|
@@ -19751,6 +19751,7 @@ var independentReads = /* @__PURE__ */ new Set([
|
|
|
19751
19751
|
"read_creative_plan",
|
|
19752
19752
|
"get_creative_plan",
|
|
19753
19753
|
"list_assets",
|
|
19754
|
+
"read_creation_consumption",
|
|
19754
19755
|
"skills_list",
|
|
19755
19756
|
"read_skill"
|
|
19756
19757
|
]);
|
package/docs/installing.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<!-- creation-install-command -->
|
|
8
8
|
```bash
|
|
9
|
-
npx --yes @promptframe/creation@0.2.
|
|
9
|
+
npx --yes @promptframe/creation@0.2.7 connect --endpoint <Studio提供的API地址>
|
|
10
10
|
```
|
|
11
11
|
<!-- /creation-install-command -->
|
|
12
12
|
|
|
@@ -28,7 +28,7 @@ npx --yes @promptframe/creation@0.2.6 connect --endpoint <Studio提供的API地
|
|
|
28
28
|
|
|
29
29
|
<!-- creation-install-command -->
|
|
30
30
|
```bash
|
|
31
|
-
npx --yes @promptframe/creation@0.2.
|
|
31
|
+
npx --yes @promptframe/creation@0.2.7 connect --profile work-account --endpoint <另一环境API地址>
|
|
32
32
|
```
|
|
33
33
|
<!-- /creation-install-command -->
|
|
34
34
|
|
package/lib/host-context.mjs
CHANGED
|
@@ -24,7 +24,7 @@ const controlled = new Set([
|
|
|
24
24
|
// Candidates only: the platform still checks its current registry isReadOnly
|
|
25
25
|
// flag and built-in allowlist. A model-supplied readOnly flag grants nothing.
|
|
26
26
|
const independentReads = new Set([
|
|
27
|
-
"read_spec", "read_creative_plan", "get_creative_plan", "list_assets",
|
|
27
|
+
"read_spec", "read_creative_plan", "get_creative_plan", "list_assets", "read_creation_consumption",
|
|
28
28
|
"skills_list", "read_skill",
|
|
29
29
|
]);
|
|
30
30
|
const isIndependentRead = (params) => independentReads.has(params.arguments.tool)
|
package/lib/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const CLIENT_VERSION = "0.2.
|
|
1
|
+
export const CLIENT_VERSION = "0.2.7";
|
|
2
2
|
export const CLIENT_PROTOCOL = "creation-client/v1";
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ description: 安装、连接或升级 PromptFrame Creation 的 Codex 插件,
|
|
|
8
8
|
使用 Studio“连接与授权”提供的完整 API 地址及公开安装入口。保留用户当前环境的 origin 和 `/api`,不替换成 localhost,不从旧聊天猜另一账号或环境。
|
|
9
9
|
|
|
10
10
|
<!-- creation-install-command -->
|
|
11
|
-
在用户本机终端运行 `npx --yes @promptframe/creation@0.2.
|
|
11
|
+
在用户本机终端运行 `npx --yes @promptframe/creation@0.2.7 connect --endpoint <Studio提供的API地址>`。需要隔离另一个环境或账号时显式加 `--profile <用户选择的名称>`;正在运行的桥不会切换。此命令管理用户级版本和 Codex 插件,不向当前项目安装依赖。优先使用 Studio 当前提供的固定推荐版本;每次重新进入此入口比较已安装版本,不后台追踪 latest,也不把旧聊天里的命令当最新版本。已安装更新版不默认降级。
|
|
12
12
|
<!-- /creation-install-command -->
|
|
13
13
|
|
|
14
14
|
命令会复用并验证有效凭据。首次授权或明确更换已失效凭据时,由用户在 Studio 登录并在终端的不回显输入框提供 Token;不要要求用户把 Token 粘进聊天,也不要把它写进命令参数、URL或日志。网络失败不等于授权失效,不自动轮换或覆盖凭据。
|