@tenderprompt/cli 0.1.17 → 0.1.19

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.
Files changed (3) hide show
  1. package/README.md +29 -0
  2. package/dist/index.js +2340 -2077
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -39,6 +39,8 @@ session:
39
39
  - inspect artifact-scoped analytics without SQL or platform credentials
40
40
  - inspect artifact-scoped app database tables, schema, and bounded read-only
41
41
  query output
42
+ - share app setup between Tender accounts without copying customer data,
43
+ analytics history, app database rows, secrets, or release history
42
44
  - run server-validated chart specs and export aggregate rows
43
45
  - generate starter analytics suggestions
44
46
  - create, list, update, and delete saved analytics dashboards and charts, with
@@ -129,6 +131,9 @@ tender capabilities --json
129
131
  tender app list --json
130
132
  tender app create --name "Exit Intent Widget" --json
131
133
  tender app create --name "Exit Intent Widget" --init --dir ./widget --preview --json
134
+ tender app share create artifact_123 --expires 7d --claims 1 --json
135
+ tender app share inspect tok_share_123 --json
136
+ tender app claim tok_share_123 --dir ./widget --confirm source-and-setup --json
132
137
  tender app update artifact_123 --name "Sale Widget" --json
133
138
  tender app init artifact_123 --dir ./widget --preview --json
134
139
  tender app bindings outbound --id shopify --host admin.shopify.com --dry-run --json
@@ -145,6 +150,30 @@ tender app db query artifact_123 --env published --sql "select * from votes limi
145
150
  tender app db query artifact_123 --env published --sql "select * from votes order by created_at" --limit 50 --offset 50 --json
146
151
  ```
147
152
 
153
+ ## Shared app setup
154
+
155
+ Use this for agency-to-customer or collaborator handoffs where the recipient
156
+ should get the source and reusable setup, not the source account's data.
157
+
158
+ Agency side:
159
+
160
+ ```bash
161
+ tender app share create artifact_123 --expires 7d --claims 1 --json
162
+ ```
163
+
164
+ Recipient side:
165
+
166
+ ```bash
167
+ tender app share inspect tok_share_123 --json
168
+ tender app claim tok_share_123 --dir ./exit-intent-widget
169
+ tender app claim tok_share_123 --dir ./exit-intent-widget --confirm source-and-setup --json
170
+ ```
171
+
172
+ Claim copies source code, app setup, and analytics dashboard/chart definitions.
173
+ It does not copy analytics events, aggregates, exports, app database rows,
174
+ secrets, environment values, release history, or ongoing access to the source
175
+ artifact.
176
+
148
177
  ## Analytics
149
178
 
150
179
  Analytics commands are artifact-scoped and go through Tender's server-side