@postplus/cli 0.1.25 → 0.1.27

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/LICENSE CHANGED
@@ -1,186 +1,95 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship made available under
36
- the License, as indicated by a copyright notice that is included in
37
- or attached to the work (an example is provided in the Appendix below).
38
-
39
- "Derivative Works" shall mean any work, whether in Source or Object
40
- form, that is based on (or derived from) the Work and for which the
41
- editorial revisions, annotations, elaborations, or other modifications
42
- represent, as a whole, an original work of authorship. For the purposes
43
- of this License, Derivative Works shall not include works that remain
44
- separable from, or merely link (or bind by name) to the interfaces of,
45
- the Work and Derivative Works thereof.
46
-
47
- "Contribution" shall mean, as submitted to the Licensor for inclusion
48
- in the Work by the copyright owner or by an individual or Legal Entity
49
- authorized to submit on behalf of the copyright owner. For the purposes
50
- of this definition, "submitted" means any form of electronic, verbal,
51
- or written communication sent to the Licensor or its representatives,
52
- including but not limited to communication on electronic mailing lists,
53
- source code control systems, and issue tracking systems that are managed
54
- by, or on behalf of, the Licensor for the purpose of discussing and
55
- improving the Work, but excluding communication that is conspicuously
56
- marked or designated in writing by the copyright owner as "Not a
57
- Contribution."
58
-
59
- "Contributor" shall mean Licensor and any Legal Entity on behalf of
60
- whom a Contribution has been received by the Licensor and incorporated
61
- within the Work.
62
-
63
- 2. Grant of Copyright License. Subject to the terms and conditions of
64
- this License, each Contributor hereby grants to You a perpetual,
65
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
66
- copyright license to reproduce, prepare Derivative Works of,
67
- publicly display, publicly perform, sublicense, and distribute the
68
- Work and such Derivative Works in Source or Object form.
69
-
70
- 3. Grant of Patent License. Subject to the terms and conditions of
71
- this License, each Contributor hereby grants to You a perpetual,
72
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
73
- (except as stated in this section) patent license to make, have made,
74
- use, offer to sell, sell, import, and otherwise transfer the Work,
75
- where such license applies only to those patent claims licensable
76
- by such Contributor that are necessarily infringed by their
77
- Contribution(s) alone or by combination of their Contribution(s)
78
- with the Work to which such Contribution(s) was submitted. If You
79
- institute patent litigation against any entity (including a cross-claim
80
- or counterclaim in a lawsuit) alleging that the Work or any
81
- Contribution embodied within the Work constitutes direct or
82
- contributory patent infringement, then any patent licenses granted
83
- to You under this License for that Work shall terminate as of the
84
- date such litigation is filed.
85
-
86
- 4. Redistribution. You may reproduce and distribute copies of the
87
- Work or Derivative Works thereof in any medium, with or without
88
- modifications, and in Source or Object form, provided that You
89
- meet the following conditions:
90
-
91
- (a) You must give any other recipients of the Work or Derivative
92
- Works a copy of this License; and
93
-
94
- (b) You must cause any modified files to carry prominent notices
95
- stating that You changed the files; and
96
-
97
- (c) You must retain, in the Source form of any Derivative Works
98
- that You distribute, all copyright, patent, trademark, and
99
- attribution notices from the Source form of the Work,
100
- excluding those notices that do not pertain to any part of
101
- the Derivative Works; and
102
-
103
- (d) If the Work includes a "NOTICE" text file as part of its
104
- distribution, You must include a readable copy of the
105
- attribution notices contained within such NOTICE file, in
106
- at least one of the following places: within a NOTICE text
107
- file distributed as part of the Derivative Works; within
108
- the Source form or documentation, if provided along with the
109
- Derivative Works; or, within a display generated by the
110
- Derivative Works, if and wherever such third-party notices
111
- normally appear. The contents of the NOTICE file are for
112
- informational purposes only and do not modify the License.
113
- You may add Your own attribution notices within Derivative
114
- Works that You distribute, alongside or as an addendum to
115
- the NOTICE text from the Work, provided that such additional
116
- attribution notices cannot be construed as modifying the
117
- License.
118
-
119
- You may add Your own license statement for Your modifications and
120
- may provide additional grant of rights to use, reproduce, modify,
121
- and distribute Your modifications, or for such Combined Works as a
122
- whole, under terms of Your choice, provided Your use, reproduction,
123
- modification, and distribution of the Work otherwise complies with
124
- the conditions stated in this License.
125
-
126
- 5. Submission of Contributions. Unless You explicitly state otherwise,
127
- any Contribution intentionally submitted for inclusion in the Work
128
- by You to the Licensor shall be under the terms and conditions of
129
- this License, without any additional terms or conditions.
130
- Notwithstanding the above, nothing herein shall supersede or modify
131
- the terms of any separate license agreement you may have executed
132
- with Licensor regarding such Contributions.
133
-
134
- 6. Trademarks. This License does not grant permission to use the trade
135
- names, trademarks, service marks, or product names of the Licensor,
136
- except as required for reasonable and customary use in describing the
137
- origin of the Work and reproducing the content of the NOTICE file.
138
-
139
- 7. Disclaimer of Warranty. Unless required by applicable law or
140
- agreed to in writing, Licensor provides the Work (and each
141
- Contributor provides its Contributions) on an "AS IS" BASIS,
142
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
143
- implied, including, without limitation, any warranties or conditions
144
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
145
- PARTICULAR PURPOSE. You are solely responsible for determining the
146
- appropriateness of using or reproducing the Work and assume any
147
- risks associated with Your exercise of permissions under this License.
148
-
149
- 8. Limitation of Liability. In no event and under no legal theory,
150
- whether in tort (including negligence), contract, or otherwise,
151
- unless required by applicable law (such as deliberate and grossly
152
- negligent acts) or agreed to in writing, shall any Contributor be
153
- liable to You for damages, including any direct, indirect, special,
154
- incidental, or exemplary damages of any character arising as a
155
- result of this License or out of the use or inability to use the
156
- Work (including but not limited to damages for loss of goodwill,
157
- work stoppage, computer failure or malfunction, or all other
158
- commercial damages or losses), even if such Contributor has been
159
- advised of the possibility of such damages.
160
-
161
- 9. Accepting Warranty or Additional Liability. While redistributing
162
- the Work or Derivative Works thereof, You may choose to offer,
163
- and charge a fee for, acceptance of support, warranty, indemnity,
164
- or other liability obligations and/or rights consistent with this
165
- License. However, in accepting such obligations, You may act only
166
- on Your own behalf and on Your sole responsibility, not on behalf
167
- of any other Contributor, and only if You agree to indemnify,
168
- defend, and hold each Contributor harmless for any liability
169
- incurred by, or claims asserted against, such Contributor by reason
170
- of your accepting any such warranty or additional liability.
171
-
172
- END OF TERMS AND CONDITIONS
173
-
174
- Copyright 2026 RealProductStudio
175
-
176
- Licensed under the Apache License, Version 2.0 (the "License");
177
- you may not use this file except in compliance with the License.
178
- You may obtain a copy of the License at
179
-
180
- http://www.apache.org/licenses/LICENSE-2.0
181
-
182
- Unless required by applicable law or agreed to in writing, software
183
- distributed under the License is distributed on an "AS IS" BASIS,
184
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
185
- See the License for the specific language governing permissions and
186
- limitations under the License.
1
+ # PolyForm Shield License 1.0.0
2
+
3
+ https://polyformproject.org/licenses/shield/1.0.0
4
+
5
+ ## Acceptance
6
+
7
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
8
+
9
+ ## Copyright License
10
+
11
+ The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to Distribution License and make changes or new works based on the software according to Changes and New Works License.
12
+
13
+ ## Distribution License
14
+
15
+ The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by Changes and New Works License.
16
+
17
+ ## Notices
18
+
19
+ You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software.
20
+
21
+ For example:
22
+
23
+ > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
24
+
25
+ ## Changes and New Works License
26
+
27
+ The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
28
+
29
+ ## Patent License
30
+
31
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
32
+
33
+ ## Noncompete
34
+
35
+ Any purpose is a permitted purpose, except for providing any product that competes with the software or any product the licensor or any of its affiliates provides using the software.
36
+
37
+ ## Competition
38
+
39
+ Goods and services compete even when they provide functionality through different kinds of interfaces or for different technical platforms. Applications can compete with services, libraries with plugins, frameworks with development tools, and so on, even if they're written in different programming languages or for different computer architectures. Goods and services compete even when provided free of charge.
40
+
41
+ If you market a product as a practical substitute for the software or another product, it definitely competes.
42
+
43
+ ## New Products
44
+
45
+ If you are using the software to provide a product that does not compete, but the licensor or any of its affiliates brings your product into competition by providing a new version of the software or another product using the software, you may continue using versions of the software available under these terms beforehand to provide your competing product, but not any later versions.
46
+
47
+ ## Discontinued Products
48
+
49
+ You may begin using the software to compete with a product or service that the licensor or any of its affiliates has stopped providing, unless the licensor includes a plain-text line beginning with `Licensor Line of Business:` with the software that mentions that line of business.
50
+
51
+ For example:
52
+
53
+ > Licensor Line of Business: YoyodyneCMS Content Management System (http://example.com/cms)
54
+
55
+ ## Sales of Business
56
+
57
+ If the licensor or any of its affiliates sells a line of business developing the software or using the software to provide a product, the buyer can also enforce Noncompete for that product.
58
+
59
+ ## Fair Use
60
+
61
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
62
+
63
+ ## No Other Rights
64
+
65
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
66
+
67
+ ## Patent Defense
68
+
69
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
70
+
71
+ ## Violations
72
+
73
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
74
+
75
+ ## No Liability
76
+
77
+ As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.
78
+
79
+ ## Definitions
80
+
81
+ The licensor is the individual or entity offering these terms, and the software is the software the licensor makes available under these terms.
82
+
83
+ A product can be a good or service, or a combination of them.
84
+
85
+ You refers to the individual or entity agreeing to these terms.
86
+
87
+ Your company is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all its affiliates.
88
+
89
+ Affiliates means the other organizations than an organization has control over, is under the control of, or is under common control with.
90
+
91
+ Control means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
92
+
93
+ Your licenses are all the licenses granted to you for the software under these terms.
94
+
95
+ Use means anything you do with the software requiring one of your licenses.
package/NOTICE CHANGED
@@ -1,7 +1,10 @@
1
1
  PostPlus CLI
2
- Copyright 2026 RealProductStudio
3
2
 
4
- This product is licensed under the Apache License, Version 2.0.
3
+ Required Notice: PostPlus CLI Copyright 2026 RealProductStudio.
4
+ Required Notice: PostPlus, RealProductStudio, and related names, logos, and marks are trademarks or product identifiers of RealProductStudio.
5
+ Licensor Line of Business: PostPlus marketing workflow automation, AI-agent skills, command-line tooling, hosted cloud capabilities, skill distribution, and related services.
6
+
7
+ This product is licensed under the PolyForm Shield License 1.0.0.
5
8
  See the LICENSE file for the full text.
6
9
 
7
10
  Third-Party Notices
package/README.md CHANGED
@@ -77,7 +77,7 @@ A skill can tell the agent:
77
77
 
78
78
  - when to use a workflow
79
79
  - what evidence to collect first
80
- - which tool or provider to call
80
+ - which PostPlus capability to use
81
81
  - how to normalize raw data
82
82
  - how to decide whether the result is good enough
83
83
  - what artifact to produce at the end
@@ -92,7 +92,7 @@ PostPlus is designed to reduce the risky parts of agent-based marketing work:
92
92
  - It separates routing, collection, synthesis, production, and publishing so each step has a clear job.
93
93
  - It keeps reusable rules in shared files instead of relying on one-off prompt memory.
94
94
  - It produces artifacts that can be inspected, reused, or handed to a teammate or client.
95
- - It makes external dependencies visible when a workflow needs a provider key, account, permission, or publishing destination.
95
+ - It makes external dependencies visible when a workflow needs an account, permission, local dependency, or publishing destination.
96
96
 
97
97
  The result should feel less like asking an agent to "do marketing" and more like giving a skilled operator a repeatable playbook.
98
98
 
@@ -323,7 +323,7 @@ Examples: transcription, subtitles, storyboard grids, reference decoding, B-roll
323
323
 
324
324
  For moving work into tools, reports, calendars, sheets, docs, social systems, or outreach channels.
325
325
 
326
- Examples: Feishu, Google Docs, Google Sheets, Postiz, Gmail outreach, customer folders, campaign reports.
326
+ Examples: Feishu, Google Docs, Google Sheets, social publishing, Gmail outreach, customer folders, campaign reports.
327
327
 
328
328
  ### 6. Grow and Optimize
329
329
 
@@ -347,10 +347,10 @@ This is not a full catalog. It is a practical map of the problems PostPlus is me
347
347
  | Find creators or KOL/KOC partners | Creator discovery, profile enrichment, content-fit scoring, shortlist building, contact signal extraction, outreach prep | TikTok creators, Instagram creators, Xiaohongshu accounts, X accounts, creator graph, follower bands, engagement proxy |
348
348
  | Decide whether a product is worth testing | Product selection, marketplace comparison, channel fit, price bands, review analysis, supply-side checks, sourcing judgment | Amazon, 1688, Google Trends, Xiaohongshu commerce, supplier ranking, SKU, MOQ, margin risk |
349
349
  | Turn references into creative direction | Reference decoding, hook analysis, visual grammar, benchmark-to-brief, persona packs, storyboard planning, prompt QA | TikTok videos, Reels, Xiaohongshu notes, short-form hooks, UGC, product demo, lifestyle, testimonial |
350
- | Produce media assets | Transcription, subtitles, frame extraction, B-roll planning, image generation, video generation, voice generation, edit packaging | Whisper, SRT/VTT/ASS, B-roll, storyboard grid, hosted media generation, image prompts, video requests |
350
+ | Produce media assets | Transcription, subtitles, frame extraction, B-roll planning, image generation, video generation, voice generation, edit packaging | Speech-to-text, SRT/VTT/ASS, B-roll, storyboard grid, hosted media generation, image prompts, video requests |
351
351
  | Plan content and messaging | Positioning, content strategy, copywriting, social content, email sequences, SEO, AI search, launch planning | Blog, landing page, LinkedIn, X, Xiaohongshu, cold email, content pillars, hooks, objections, offers |
352
352
  | Improve conversion or growth | CRO, signup flow, onboarding, paid creative, analytics, A/B tests, pricing, referrals, churn prevention, revenue operations | Landing page, signup, funnel, Google Ads, paid social, GA4, experiments, pricing page, lifecycle |
353
- | Package and hand off work | Client reports, campaign folders, Feishu docs, Google Sheets, social scheduling, Gmail outreach, publishing records | Feishu/Lark, Google Docs, Google Sheets, Postiz, Gmail, customer workspace, campaign report |
353
+ | Package and hand off work | Client reports, campaign folders, Feishu docs, Google Sheets, social scheduling, Gmail outreach, publishing records | Feishu/Lark, Google Docs, Google Sheets, social publishing, Gmail, customer workspace, campaign report |
354
354
 
355
355
  Most workflows combine two or three rows. For example, a creator campaign may start with TikTok research, move into creator discovery, produce an outreach shortlist, then publish the result into Feishu or Google Sheets.
356
356
 
@@ -392,3 +392,19 @@ The best first prompt includes:
392
392
  - the target platform if you already know it
393
393
  - any reference links, files, accounts, or assets
394
394
  - the artifact you want at the end
395
+
396
+ ## License
397
+
398
+ PostPlus CLI and PostPlus Skills are source-available under the PolyForm Shield
399
+ License 1.0.0.
400
+
401
+ You may use PostPlus, including for commercial work, to create your own
402
+ marketing research, strategy, media, reports, outreach lists, and other
403
+ deliverables.
404
+
405
+ You may not sell, host, distribute, repackage, rename, or provide PostPlus or a
406
+ competing product or service as a substitute for PostPlus.
407
+
408
+ Every copy or distribution must include the license terms and the Required
409
+ Notice lines provided with this repository. Contact RealProductStudio for a
410
+ separate commercial license if you need rights outside the public license.
@@ -60,6 +60,7 @@ export function formatPostPlusClientUpgradeError(payload) {
60
60
  typeof record.error === 'string' && record.error.trim().length > 0
61
61
  ? record.error.trim()
62
62
  : 'Your PostPlus CLI or PostPlus skills are out of date.',
63
+ 'If you are an agent, run both update commands now before retrying.',
63
64
  `Update CLI: ${cliCommand}.`,
64
65
  `Update skills: ${skillsCommand}.`,
65
66
  restart.trim(),
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@postplus/cli",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "packageManager": "pnpm@10.30.3+sha512.c961d1e0a2d8e354ecaa5166b822516668b7f44cb5bd95122d590dd81922f606f5473b6d23ec4a5be05e7fcd18e8488d47d978bbe981872f1145d06e9a740017",
5
5
  "type": "module",
6
6
  "description": "PostPlus CLI for PostPlus Cloud auth, status, and diagnostics.",
7
- "license": "Apache-2.0",
7
+ "license": "SEE LICENSE IN LICENSE",
8
8
  "files": [
9
9
  "build/auth-lifecycle.js",
10
10
  "build/auth-login.js",