prompttest-mobile 1.5.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.
Files changed (64) hide show
  1. package/CONTRIBUTING.md +80 -0
  2. package/LICENSE +42 -0
  3. package/LICENSES.md +81 -0
  4. package/README.md +526 -0
  5. package/SECURITY.md +56 -0
  6. package/TERMS.md +138 -0
  7. package/dist/bin/prompttest.d.ts +2 -0
  8. package/dist/bin/prompttest.js +1418 -0
  9. package/dist/bin/server.d.ts +1 -0
  10. package/dist/constants/commands.d.ts +125 -0
  11. package/dist/engine.bundle.js +1039 -0
  12. package/dist/index.d.ts +143 -0
  13. package/dist/index.js +1039 -0
  14. package/dist/lib/adaptive-timing.d.ts +55 -0
  15. package/dist/lib/adb-provisioner.d.ts +55 -0
  16. package/dist/lib/adb.d.ts +448 -0
  17. package/dist/lib/ai/heuristic-resolver.d.ts +19 -0
  18. package/dist/lib/ai/index.d.ts +16 -0
  19. package/dist/lib/ai/llm-provider.d.ts +40 -0
  20. package/dist/lib/ai/types.d.ts +64 -0
  21. package/dist/lib/baseline.d.ts +159 -0
  22. package/dist/lib/benchmark.d.ts +100 -0
  23. package/dist/lib/checkpoint.d.ts +61 -0
  24. package/dist/lib/ci.d.ts +49 -0
  25. package/dist/lib/config-loader.d.ts +87 -0
  26. package/dist/lib/config.d.ts +136 -0
  27. package/dist/lib/crawler.d.ts +335 -0
  28. package/dist/lib/data-loader.d.ts +53 -0
  29. package/dist/lib/dfs-engine.d.ts +149 -0
  30. package/dist/lib/dictionary.d.ts +41 -0
  31. package/dist/lib/doctor.d.ts +45 -0
  32. package/dist/lib/driver-interface.d.ts +50 -0
  33. package/dist/lib/enterprise.d.ts +71 -0
  34. package/dist/lib/errors.d.ts +68 -0
  35. package/dist/lib/explorer.d.ts +165 -0
  36. package/dist/lib/feedback.d.ts +35 -0
  37. package/dist/lib/form-filler.d.ts +101 -0
  38. package/dist/lib/ios-driver.d.ts +38 -0
  39. package/dist/lib/jail-guard.d.ts +59 -0
  40. package/dist/lib/license.d.ts +51 -0
  41. package/dist/lib/live-server.d.ts +52 -0
  42. package/dist/lib/lock.d.ts +30 -0
  43. package/dist/lib/logger.d.ts +68 -0
  44. package/dist/lib/memory.d.ts +259 -0
  45. package/dist/lib/patterns.d.ts +202 -0
  46. package/dist/lib/profiler.d.ts +75 -0
  47. package/dist/lib/prompt-runner.d.ts +101 -0
  48. package/dist/lib/quiescence.d.ts +44 -0
  49. package/dist/lib/recorder.d.ts +155 -0
  50. package/dist/lib/repl.d.ts +29 -0
  51. package/dist/lib/reporter.d.ts +269 -0
  52. package/dist/lib/runner-utils.d.ts +316 -0
  53. package/dist/lib/scaffold.d.ts +53 -0
  54. package/dist/lib/step-handlers.d.ts +390 -0
  55. package/dist/lib/triage.d.ts +50 -0
  56. package/dist/lib/wizard.d.ts +42 -0
  57. package/dist/lib/zip-util.d.ts +36 -0
  58. package/docs/ARCHITECTURE.md +154 -0
  59. package/docs/CLI_CONTRACT.md +131 -0
  60. package/docs/CLI_STUDIO_CONTRACT.md +123 -0
  61. package/docs/PERFORMANCE_BASELINE.md +71 -0
  62. package/docs/PRODUCT_STATUS.md +56 -0
  63. package/docs/USER_MANUAL.md +764 -0
  64. package/package.json +66 -0
package/TERMS.md ADDED
@@ -0,0 +1,138 @@
1
+ # PromptTest Terms & Conditions
2
+
3
+ > **Status:** Draft for legal review. Have a qualified attorney review these terms
4
+ > before relying on them commercially. This document supplements — and does not
5
+ > replace — the [LICENSE](./LICENSE) (Business Source License 1.1).
6
+
7
+ Effective Date: 2026-09-20
8
+ Operator: PromptTest (Shriram Singh)
9
+ Contact: jairam.singh9@gmail.com
10
+
11
+ ---
12
+
13
+ ## 1. Definitions
14
+
15
+ - **"PromptTest CLI"** — the PromptTest command-line interface, SDK, and engine
16
+ distributed via npm under the BSL 1.1 license.
17
+ - **"PromptTest Studio"** — the PromptTest-branded web/desktop testing product with a
18
+ graphical user interface. Studio is a **separate commercial product** licensed under
19
+ its own agreement and is **not** governed by these terms or the BSL license.
20
+ - **"Commercial License"** — a paid license agreement signed with the Operator that
21
+ lifts the usage restrictions of the BSL 1.1 Additional Use Grant.
22
+ - **"License Key"** — a cryptographic token issued upon purchase that unlocks paid
23
+ tiers or removes free-tier usage limits.
24
+
25
+ ## 2. Use Tiers
26
+
27
+ ### 2.1 Free / Community Tier (BSL 1.1)
28
+
29
+ Use of the PromptTest CLI is free under the terms of the BSL 1.1 Additional Use Grant
30
+ for:
31
+
32
+ - Personal, educational, academic, and open-source purposes;
33
+ - Evaluation use; and
34
+ - Internal software testing within organizations with both (a) annual gross revenue
35
+ under $100,000 USD (or equivalent) and (b) fewer than 10 employees.
36
+
37
+ ### 2.2 Commercial Tier
38
+
39
+ Organizations exceeding the free-tier thresholds, testing agencies providing QA
40
+ services to third parties, and production commercial CI/CD deployments require a
41
+ paid Commercial License. Contact the Operator for pricing and terms.
42
+
43
+ ## 3. Acceptable Use
44
+
45
+ You agree **not** to:
46
+
47
+ 1. Circumvent, bypass, or attempt to defeat any license-key validation, feature
48
+ gating, or usage limits in the PromptTest CLI or Studio.
49
+ 2. Reverse-engineer, decompile, or extract source code, models, heuristics, or
50
+ proprietary logic from PromptTest Studio, except where such restriction is
51
+ prohibited by applicable law.
52
+ 3. Use PromptTest against applications you do not own or lack explicit permission to
53
+ test, or in violation of any applicable law (including computer misuse and
54
+ unauthorized-access statutes).
55
+ 4. Resell, sublicense, or redistribute PromptTest Studio or paid Commercial License
56
+ entitlements without written authorization.
57
+ 5. Offer PromptTest (modified or unmodified) as a hosted, managed, or cloud testing
58
+ service to third parties (this mirrors the BSL 1.1 Hosting & Managed Service
59
+ Restriction).
60
+ 6. Remove or obscure any license, copyright, or attribution notices.
61
+
62
+ ## 4. Intellectual Property & Trademarks
63
+
64
+ - All rights, title, and interest in PromptTest, PromptTest Studio, and associated
65
+ documentation remain with the Operator.
66
+ - The names "PromptTest" and "PromptTest Studio," logos, and brand assets are
67
+ trademarks of the Operator. You may refer to PromptTest nominatively (e.g., in
68
+ tutorials or CI configurations), but you may not use the marks to brand a
69
+ competing product or imply endorsement.
70
+ - Nothing in these terms transfers ownership of any intellectual property.
71
+
72
+ ## 5. License Keys & Paid Features
73
+
74
+ - License Keys are issued per organization/seat as specified in your order and are
75
+ non-transferable unless agreed in writing.
76
+ - Paid features unlocked by a License Key may be verified locally or require periodic
77
+ online validation; extended offline grace periods are available for air-gapped CI
78
+ environments on request.
79
+ - Sharing a License Key beyond its licensed scope is a material breach and will
80
+ terminate the license immediately.
81
+
82
+ ## 6. Data & Privacy
83
+
84
+ - The PromptTest CLI operates 100% locally and collects no telemetry by default (see
85
+ [SECURITY.md](./SECURITY.md)).
86
+ - External LLM providers are strictly opt-in; you are responsible for the data you
87
+ choose to send to third-party providers.
88
+ - PromptTest Studio's data handling is described in its own privacy policy at the
89
+ time of its release.
90
+
91
+ ## 7. Subscriptions, Billing & Refunds (Paid Products)
92
+
93
+ - Paid licenses and subscriptions are billed in advance per the pricing plan chosen
94
+ at purchase.
95
+ - Subscriptions renew automatically until cancelled; cancellation takes effect at the
96
+ end of the current billing period.
97
+ - Refunds are handled per the policy stated at the point of sale (default: 14-day
98
+ refund window for first-time purchases).
99
+
100
+ ## 8. Support & Service Levels
101
+
102
+ - Free-tier users receive community support via GitHub Issues only.
103
+ - Commercial and Enterprise customers receive support per their signed agreement
104
+ (response SLAs are defined in SECURITY.md for vulnerabilities and in the Commercial
105
+ License for general support).
106
+
107
+ ## 9. Disclaimers & Limitation of Liability
108
+
109
+ TO THE MAXIMUM EXTENT PERMITTED BY LAW, PROMPTTEST IS PROVIDED "AS IS" WITHOUT
110
+ WARRANTIES OF ANY KIND. THE OPERATOR IS NOT LIABLE FOR ANY INDIRECT, INCIDENTAL,
111
+ SPECIAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS OR DATA LOSS. TOTAL
112
+ AGGREGATE LIABILITY FOR PAID PRODUCTS IS LIMITED TO THE AMOUNTS PAID BY YOU IN THE
113
+ TWELVE (12) MONTHS PRECEDING THE CLAIM. (Note: this mirrors the BSL 1.1 warranty
114
+ disclaimer for the free CLI; negotiate specific terms in Commercial License
115
+ agreements.)
116
+
117
+ ## 10. Termination
118
+
119
+ - Use in violation of the LICENSE or these terms terminates all rights immediately
120
+ (BSL 1.1 also terminates rights across all versions on violation).
121
+ - Upon termination, you must cease use and delete all copies of the Licensed Work.
122
+
123
+ ## 11. Changes to These Terms
124
+
125
+ The Operator may update these terms; material changes will be announced via the
126
+ repository or the npm package notes at least 30 days before taking effect for
127
+ existing paid customers. Continued use after the effective date constitutes
128
+ acceptance.
129
+
130
+ ## 12. Governing Law
131
+
132
+ These terms are governed by the laws of India (or the jurisdiction specified in your
133
+ Commercial License agreement), without regard to conflict-of-law rules.
134
+
135
+ ---
136
+
137
+ _PromptTest Studio is developed and sold separately. This document does not grant
138
+ any rights to PromptTest Studio. See the Studio license agreement for details._
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};