@promptframe/creation 0.2.7 → 0.3.1

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.
@@ -9,7 +9,7 @@
9
9
  "source": {
10
10
  "source": "npm",
11
11
  "package": "@promptframe/creation",
12
- "version": "0.2.7",
12
+ "version": "0.3.1",
13
13
  "registry": "https://registry.npmjs.org/"
14
14
  },
15
15
  "policy": {
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "promptframe": {
4
+ "command": "node",
5
+ "args": ["${CLAUDE_PLUGIN_ROOT}/bin/promptframe-creation.mjs", "bridge", "--host", "claude-code"]
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "promptframe-creation",
3
+ "owner": {"name": "PromptFrame"},
4
+ "plugins": [{"name": "promptframe-creation", "source": "./"}]
5
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "promptframe-creation",
3
+ "version": "0.3.1",
4
+ "description": "通过 PromptFrame 的共用工具、作品和任务创作视频。",
5
+ "author": {
6
+ "name": "PromptFrame"
7
+ },
8
+ "skills": "./skills/",
9
+ "mcpServers": "./.claude-mcp.json",
10
+ "hooks": {
11
+ "SessionStart": [
12
+ {
13
+ "matcher": "startup|resume|fork|clear|compact",
14
+ "hooks": [
15
+ {
16
+ "type": "command",
17
+ "command": "node",
18
+ "args": [
19
+ "${CLAUDE_PLUGIN_ROOT}/bin/promptframe-creation.mjs",
20
+ "claude-host-hook"
21
+ ],
22
+ "timeout": 5
23
+ }
24
+ ]
25
+ }
26
+ ],
27
+ "PreToolUse": [
28
+ {
29
+ "matcher": "^mcp__plugin_promptframe-creation_.*",
30
+ "hooks": [
31
+ {
32
+ "type": "command",
33
+ "command": "node",
34
+ "args": [
35
+ "${CLAUDE_PLUGIN_ROOT}/bin/promptframe-creation.mjs",
36
+ "claude-host-hook"
37
+ ],
38
+ "timeout": 5,
39
+ "onFailure": "block"
40
+ }
41
+ ]
42
+ }
43
+ ],
44
+ "SessionEnd": [
45
+ {
46
+ "hooks": [
47
+ {
48
+ "type": "command",
49
+ "command": "node",
50
+ "args": [
51
+ "${CLAUDE_PLUGIN_ROOT}/bin/promptframe-creation.mjs",
52
+ "claude-host-hook"
53
+ ],
54
+ "timeout": 5
55
+ }
56
+ ]
57
+ }
58
+ ]
59
+ }
60
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptframe-creation",
3
- "version": "0.2.7",
3
+ "version": "0.3.1",
4
4
  "description": "使用自己的推理,通过 PromptFrame 的共用工具、作品和任务创作视频。",
5
5
  "author": {
6
6
  "name": "PromptFrame"
package/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # PromptFrame Creation
2
2
 
3
- 通过自己的 Codex 推理,使用 PromptFrame 共用视频工具、作品、素材和持久任务,并与 Studio 接续同一作品。本仓是公开插件与薄桥;业务、权限、预算和账务由平台管理。
3
+ 在 Codex 或 Claude Code 中使用自己的推理,使用 PromptFrame 共用视频工具、作品、素材和持久任务,并与 Studio 接续同一作品。本仓是公开插件与薄桥;业务、权限、预算和账务由平台管理。
4
4
 
5
5
  ## 安装和连接
6
6
 
7
- 需要 Node.js 20+ 及支持插件的 Codex(最低0.160.0)。在 Studio 的“连接与授权”复制当前环境 API 地址,然后在本机终端执行:
7
+ 需要 Node.js 20+,以及支持插件的 Codex(最低0.160.0)或 Claude Code(最低2.1.295,提供结构化插件命令)。在 Studio 的“连接与授权”复制当前环境 API 地址,然后在本机终端执行:
8
8
 
9
9
  <!-- creation-install-command -->
10
10
  ```bash
11
- npx --yes @promptframe/creation@0.2.7 connect --endpoint <Studio提供的API地址>
11
+ npx --yes @promptframe/creation@0.3.1 connect --endpoint <Studio提供的API地址>
12
12
  ```
13
13
  <!-- /creation-install-command -->
14
14
 
15
- 每次从 Studio 获取当前固定推荐版本;入口比较已安装版本,较新版本保留,不后台追踪 latest。入口检查环境、准备用户级版本、注册并核回 Codex 插件,复用有效凭据;首次 Token 在终端隐藏输入,不粘进聊天。完成后在同一主机开一个 **Local 新聊天**(CLI 开新 session),确认 `creation-setup`、`video-creation` 与 MCP 工具一起加载。可以选择独立的非 Git 创作目录,不需要产品源码或 Worktree;不必重新安装或获取 Token。安装本身不接管作品、不启动付费制作。`npx` 单独运行或目录连通不等于当前聊天已加载插件。
15
+ Claude Code 使用同一安装入口并加 `--host claude-code`;桌面版远程连接 WSL 时在同一 WSL 执行。每次从 Studio 获取当前固定推荐版本;入口比较已安装版本,较新版本保留,不后台追踪 latest。入口检查环境、准备用户级版本、注册并核回 Codex 插件,复用有效凭据;首次 Token 在终端隐藏输入,不粘进聊天。完成后在同一主机开始新聊天:Codex 使用 **Local 新聊天**(CLI 开新 session),Claude Code 使用新 session。确认 `creation-setup`、`video-creation` 与 MCP 工具一起加载。可以选择独立的非 Git 创作目录,不需要产品源码或 Worktree;不必重新安装或获取 Token。安装本身不接管作品、不启动付费制作。`npx` 单独运行或目录连通不等于当前聊天已加载插件。
16
16
 
17
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
 
@@ -20,6 +20,8 @@ API 使用 Studio 实际可达 origin 和 `/api` 或 `/api/mcp`,没有内置
20
20
 
21
21
  ## 源码、包和宿主范围
22
22
 
23
+ [0.3.1](docs/releases/0.3.1.md)修复 Claude 会话身份更新;[0.3.0](docs/releases/0.3.0.md)增加 Claude Code 接入、平台动态工具发现、标准内容与版本化指引,以及新会话的兼容版本选择。已有0.2.x插件保持其安装来源;升级和新会话加载见[安装说明](docs/installing.md#claude-code接入)。
24
+
23
25
  | 版本或层次 | 适用范围 |
24
26
  | --- | --- |
25
27
  | 历史 npm0.1.1 / creation-v0.1.1 | 固定3da232e267117794fcbcbb1920cbdf9f3f294c14的基础setup/status/bridge;不是此版的聊天身份和插件安装功能 |
@@ -261,6 +261,65 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
261
261
 
262
262
  ---
263
263
 
264
+ tar@7.5.22 (BlueOak-1.0.0)
265
+ # Blue Oak Model License
266
+
267
+ Version 1.0.0
268
+
269
+ ## Purpose
270
+
271
+ This license gives everyone as much permission to work with
272
+ this software as possible, while protecting contributors
273
+ from liability.
274
+
275
+ ## Acceptance
276
+
277
+ In order to receive this license, you must agree to its
278
+ rules. The rules of this license are both obligations
279
+ under that agreement and conditions to your license.
280
+ You must not do anything with this software that triggers
281
+ a rule that you cannot or will not follow.
282
+
283
+ ## Copyright
284
+
285
+ Each contributor licenses you to do everything with this
286
+ software that would otherwise infringe that contributor's
287
+ copyright in it.
288
+
289
+ ## Notices
290
+
291
+ You must ensure that everyone who gets a copy of
292
+ any part of this software from you, with or without
293
+ changes, also gets the text of this license or a link to
294
+ <https://blueoakcouncil.org/license/1.0.0>.
295
+
296
+ ## Excuse
297
+
298
+ If anyone notifies you in writing that you have not
299
+ complied with [Notices](#notices), you can keep your
300
+ license by taking all practical steps to comply within 30
301
+ days after the notice. If you do not do so, your license
302
+ ends immediately.
303
+
304
+ ## Patent
305
+
306
+ Each contributor licenses you to do everything with this
307
+ software that would otherwise infringe any patent claims
308
+ they can license or become able to license.
309
+
310
+ ## Reliability
311
+
312
+ No contributor can revoke this license.
313
+
314
+ ## No Liability
315
+
316
+ ***As far as the law allows, this software comes as is,
317
+ without any warranty or condition, and no contributor
318
+ will be liable to anyone for any damages related to this
319
+ software or this license, under any kind of legal claim.***
320
+
321
+ ---
322
+
264
323
  zod@4.6.7 (MIT)
265
324
  MIT License
266
325