@shipstatic/ship 0.9.5 → 0.9.6

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/dist/index.d.cts CHANGED
@@ -119,9 +119,14 @@ interface ShipClientOptions {
119
119
  * Used by orchestrators (e.g. n8n nodes processing many tenants from one
120
120
  * worker) so the API's rate-limit bucket keys per caller rather than per
121
121
  * shared IP. **Programmatic-only by design** — there is no `--caller`
122
- * CLI flag because the CLI is a single-user tool (`via: 'cli'` is hardcoded
123
- * in `performDeploy`); every CLI invocation belongs to one human, and
124
- * a per-tenant rate-limit bucket would defeat the purpose.
122
+ * CLI flag because every CLI invocation belongs to one human; a per-tenant
123
+ * rate-limit bucket would defeat the purpose.
124
+ *
125
+ * Distinct from `via` (the client identifier — `'cli'`, `'sdk'`, `'web'`,
126
+ * `'git'`, etc.). `via` is for analytics/origin tracking and is
127
+ * env-overridable via `SHIP_VIA` for integrations that wrap the CLI
128
+ * (GitHub Action, MCP). `caller` is for rate-limit isolation and stays
129
+ * programmatic-only.
125
130
  */
126
131
  caller?: string | undefined;
127
132
  /**
package/dist/index.d.ts CHANGED
@@ -119,9 +119,14 @@ interface ShipClientOptions {
119
119
  * Used by orchestrators (e.g. n8n nodes processing many tenants from one
120
120
  * worker) so the API's rate-limit bucket keys per caller rather than per
121
121
  * shared IP. **Programmatic-only by design** — there is no `--caller`
122
- * CLI flag because the CLI is a single-user tool (`via: 'cli'` is hardcoded
123
- * in `performDeploy`); every CLI invocation belongs to one human, and
124
- * a per-tenant rate-limit bucket would defeat the purpose.
122
+ * CLI flag because every CLI invocation belongs to one human; a per-tenant
123
+ * rate-limit bucket would defeat the purpose.
124
+ *
125
+ * Distinct from `via` (the client identifier — `'cli'`, `'sdk'`, `'web'`,
126
+ * `'git'`, etc.). `via` is for analytics/origin tracking and is
127
+ * env-overridable via `SHIP_VIA` for integrations that wrap the CLI
128
+ * (GitHub Action, MCP). `caller` is for rate-limit isolation and stays
129
+ * programmatic-only.
125
130
  */
126
131
  caller?: string | undefined;
127
132
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/ship",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "SDK & CLI for ShipStatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",